summaryrefslogtreecommitdiff
path: root/builtin-verify-pack.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <rene.scharfe@lsrfire.ath.cx>2008-12-21 02:28:48 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-12-21 01:48:26 -0800
commitc55fae43c4e10e2779e4fb7d70d6f6e4a7645a63 (patch)
treea2bb72cf0cd0d027a050276dcf2b77aee1986b4b /builtin-verify-pack.c
parentconnect.c: stricter port validation, silence compiler warning (diff)
downloadtgif-c55fae43c4e10e2779e4fb7d70d6f6e4a7645a63.tar.xz
fast-import.c: stricter strtoul check, silence compiler warning
Store the return value of strtoul() in order to avoid compiler warnings on Ubuntu 8.10. Also check errno after each call, which is the only way to notice an overflow without making ULONG_MAX an illegal date. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-verify-pack.c')
0 files changed, 0 insertions, 0 deletions