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

Diff of /code/trunk/pgrep.c

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

revision 23 by nigel, Sat Feb 24 21:38:41 2007 UTC revision 25 by nigel, Sat Feb 24 21:38:45 2007 UTC
# Line 172  if (i >= argc) return usage(0); Line 172  if (i >= argc) return usage(0);
172    
173  /* Compile the regular expression. */  /* Compile the regular expression. */
174    
175  pattern = pcre_compile(argv[i++], options, &error, &errptr);  pattern = pcre_compile(argv[i++], options, &error, &errptr, NULL);
176  if (pattern == NULL)  if (pattern == NULL)
177    {    {
178    fprintf(stderr, "pgrep: error in regex at offset %d: %s\n", errptr, error);    fprintf(stderr, "pgrep: error in regex at offset %d: %s\n", errptr, error);

Legend:
Removed from v.23  
changed lines
  Added in v.25

  ViewVC Help
Powered by ViewVC 1.1.5