[BACK]Return to lam.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / lam

Diff for /src/usr.bin/lam/lam.c between version 1.15 and 1.16

version 1.15, 2013/11/15 22:20:04 version 1.16, 2013/11/20 21:22:17
Line 110 
Line 110 
                         F = (ch == 'F');                          F = (ch == 'F');
                         /* Validate format string argument. */                          /* Validate format string argument. */
                         for (p = optarg; *p != '\0'; p++)                          for (p = optarg; *p != '\0'; p++)
                                 if (!isdigit(*p) && *p != '.' && *p != '-')                                  if (!isdigit((unsigned char)*p) &&
                                       *p != '.' && *p != '-')
                                         errx(1, "%s: invalid width specified",                                          errx(1, "%s: invalid width specified",
                                              optarg);                                               optarg);
                         /* '%' + width + 's' + '\0' */                          /* '%' + width + 's' + '\0' */

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16