/[grep]/grep/src/grep.c
ViewVC logotype

Diff of /grep/src/grep.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.93 by kasal, Mon Feb 7 09:30:44 2005 UTC revision 1.94 by kasal, Sat Feb 26 15:20:00 2005 UTC
# Line 1297  get_nondigit_option (int argc, char *con Line 1297  get_nondigit_option (int argc, char *con
1297           diagnostic on strings like 00000000000.  */           diagnostic on strings like 00000000000.  */
1298        p -= buf[0] == '0';        p -= buf[0] == '0';
1299    
       *p++ = opt;  
1300        if (p == buf + sizeof buf - 4)        if (p == buf + sizeof buf - 4)
1301          {          {
1302            /* Too many digits.  Append "..." to make context_length_arg            /* Too many digits.  Append "..." to make context_length_arg
# Line 1307  get_nondigit_option (int argc, char *con Line 1306  get_nondigit_option (int argc, char *con
1306            p += 3;            p += 3;
1307            break;            break;
1308          }          }
1309          *p++ = opt;
1310      }      }
1311    if (p != buf)    if (p != buf)
1312      {      {

Legend:
Removed from v.1.93  
changed lines
  Added in v.1.94

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26