]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Update from gnulib.
authorJim Meyering <jim@meyering.net>
Sun, 6 Jun 2004 19:03:01 +0000 (19:03 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 6 Jun 2004 19:03:01 +0000 (19:03 +0000)
lib/getdate.y

index 52ed8530ba64fdf59e4de885e11f03ed2262ec27..5784b6ccdc9bad4e44fd9478633bd09838512699 100644 (file)
@@ -844,7 +844,8 @@ yylex (YYSTYPE *lvalp, parser_control *pc)
          if (c == '-' || c == '+')
            {
              sign = c == '-' ? -1 : 1;
-             c = *++pc->input;
+             while (c = *++pc->input, ISSPACE (c))
+               continue;
              if (! ISDIGIT (c))
                /* skip the '-' sign */
                continue;