Commit Briefs

99fd9ff4bf Omar Polo

always cast ctype' is*() arguments to unsigned char

ok stsp@


438d0cc30b Omar Polo

fix snprintf error handling

follow the "proper secure idiom" described in the CAVEATS section of printf(3). reminded by tb@ and millert@


336075a42a Omar Polo

build with -Wmissing-prototypes

ok stsp@


f024663dea Stefan Sperling

move pkt code used by got-fetch-pack and got-send-pack to a common file

The Git protocol uses a simple packet framing format. The got-fetch-pack and got-send-pack programs contained identical copies of functions to support this format. Move related functions to new file lib/pkt.c and link both programs against this common implementation. No functional change.