From: Jim Meyering Date: Sun, 6 Jun 2004 19:03:01 +0000 (+0000) Subject: Update from gnulib. X-Git-Tag: v5.3.0~1398 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12c6cc38c23bc840c73e97b070cd094025fcb686;p=thirdparty%2Fcoreutils.git Update from gnulib. --- diff --git a/lib/getdate.y b/lib/getdate.y index 52ed8530ba..5784b6ccdc 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -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;