[BACK]Return to date.y CVS log [TXT][DIR] Up to [local] / src / usr.bin / cvs

Diff for /src/usr.bin/cvs/date.y between version 1.17 and 1.18

version 1.17, 2007/10/06 12:55:48 version 1.18, 2008/02/16 01:00:00
Line 485 
Line 485 
 static int  static int
 yyerror(const char *s)  yyerror(const char *s)
 {  {
   #if !defined(TEST)
         char *str;          char *str;
   
         if (isspace(yyInput[0]) || !isprint(yyInput[0]))          (void)xasprintf(&str, "parsing date string: %s", s);
                 (void)xasprintf(&str,  
                     "%s: unexpected char 0x%02x in date string", s, yyInput[0]);  
         else  
                 (void)xasprintf(&str, "%s: unexpected %s in date string",  
                     s, yyInput);  
   
         cvs_log(LP_ERR, "%s", str);          cvs_log(LP_ERR, "%s", str);
         xfree(str);          xfree(str);
   #endif
         return (0);          return (0);
 }  }
   

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18