[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.15 and 1.16

version 1.15, 2010/01/23 00:32:12 version 1.16, 2013/11/23 17:30:29
Line 139 
Line 139 
                         ++p;                          ++p;
                         setautostart = 1;                          setautostart = 1;
                 }                  }
                 if (isdigit(*p)) {                  if (isdigit((unsigned char)*p)) {
                         start = stop = strtol(p, &p, 10);                          start = stop = strtol(p, &p, 10);
                         if (setautostart && start > autostart)                          if (setautostart && start > autostart)
                                 autostart = start;                                  autostart = start;
                 }                  }
                 if (*p == '-') {                  if (*p == '-') {
                         if (isdigit(p[1]))                          if (isdigit((unsigned char)p[1]))
                                 stop = strtol(p + 1, &p, 10);                                  stop = strtol(p + 1, &p, 10);
                         if (*p == '-') {                          if (*p == '-') {
                                 ++p;                                  ++p;

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