From: Jim Meyering Date: Wed, 15 Jul 1998 12:39:58 +0000 (+0000) Subject: (check_format): Add `5' to the list of digits. X-Git-Tag: FILEUTILS-3_16s~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d4d2c4cf4b6863a21fa8cf269f9b6c071f6928d;p=thirdparty%2Fcoreutils.git (check_format): Add `5' to the list of digits. Reported by Donni Erpel. --- diff --git a/src/seq.c b/src/seq.c index 887b64655b..d1317a776b 100644 --- a/src/seq.c +++ b/src/seq.c @@ -276,7 +276,7 @@ check_format (const char *fmt) fmt += strspn (fmt, "-+#0"); if (ISDIGIT (*fmt)) { - fmt += strspn (fmt, "012345789"); + fmt += strspn (fmt, "0123456789"); if (*fmt == '.') fmt += strspn (++fmt, "0123456789");