]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(check_format): Add `5' to the list of digits.
authorJim Meyering <jim@meyering.net>
Wed, 15 Jul 1998 12:39:58 +0000 (12:39 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 15 Jul 1998 12:39:58 +0000 (12:39 +0000)
Reported by Donni Erpel.

src/seq.c

index 887b64655b95a0ef2a1f082feac071a7d8ecac2e..d1317a776b17d8c11587ac5405eb784e735af725 100644 (file)
--- 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");