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

Diff for /src/usr.bin/cut/cut.c between version 1.14 and 1.15

version 1.14, 2009/10/27 23:59:37 version 1.15, 2010/01/23 00:32:12
Line 154 
Line 154 
                         }                          }
                 }                  }
                 if (*p)                  if (*p)
                         errx(1, "[-cf] list: illegal list value");                          errx(1, "[-bcf] list: illegal list value");
                 if (!stop || !start)                  if (!stop || !start)
                         errx(1, "[-cf] list: values may not include zero");                          errx(1, "[-bcf] list: values may not include zero");
                 if (stop > _POSIX2_LINE_MAX)                  if (stop > _POSIX2_LINE_MAX)
                         errx(1, "[-cf] list: %d too large (max %d)",                          errx(1, "[-bcf] list: %d too large (max %d)",
                             stop, _POSIX2_LINE_MAX);                              stop, _POSIX2_LINE_MAX);
                 if (maxval < stop)                  if (maxval < stop)
                         maxval = stop;                          maxval = stop;

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