From: René Scharfe Date: Sun, 21 Dec 2008 01:28:48 +0000 (+0100) Subject: fast-import.c: stricter strtoul check, silence compiler warning X-Git-Tag: v1.6.1-rc4~10 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/c55fae43c4e10e2779e4fb7d70d6f6e4a7645a63?ds=inline;hp=c55fae43c4e10e2779e4fb7d70d6f6e4a7645a63 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 Signed-off-by: Junio C Hamano ---