/[pcre]/code/trunk/pcregrep.c
ViewVC logotype

Diff of /code/trunk/pcregrep.c

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

revision 151 by ph10, Tue Apr 17 15:07:29 2007 UTC revision 152 by ph10, Tue Apr 17 15:55:53 2007 UTC
# Line 1644  for (i = 1; i < argc; i++) Line 1644  for (i = 1; i < argc; i++)
1644          char buff2[24];          char buff2[24];
1645          int baselen = opbra - op->long_name;          int baselen = opbra - op->long_name;
1646          sprintf(buff1, "%.*s", baselen, op->long_name);          sprintf(buff1, "%.*s", baselen, op->long_name);
1647          sprintf(buff2, "%s%.*s", buff1,          sprintf(buff2, "%s%.*s", buff1,
1648            (int)strlen(op->long_name) - baselen - 2, opbra + 1);            (int)strlen(op->long_name) - baselen - 2, opbra + 1);
1649          if (strcmp(arg, buff1) == 0 || strcmp(arg, buff2) == 0)          if (strcmp(arg, buff1) == 0 || strcmp(arg, buff2) == 0)
1650            break;            break;

Legend:
Removed from v.151  
changed lines
  Added in v.152

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12