From: Jim Meyering Date: Wed, 19 Oct 1994 02:45:36 +0000 (+0000) Subject: . X-Git-Tag: textutils-1_12_1~517 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6a76abbf9c911e179a4d6fbd38940077ad1a0f3a;p=thirdparty%2Fcoreutils.git . --- diff --git a/src/od.c b/src/od.c index 9f3c02871d..287bbf7180 100644 --- a/src/od.c +++ b/src/od.c @@ -421,6 +421,7 @@ my_strtoul (s, base, val, allow_bkm_suffix) assert (0 <= base && base <= 36); + errno = 0; tmp = strtoul (s, &p, base); if (errno != 0) return UINT_OVERFLOW;