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

Diff of /grep/src/search.c

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

revision 1.38 by charles_levert, Thu Nov 10 19:57:54 2005 UTC revision 1.39 by charles_levert, Fri Nov 11 10:21:25 2005 UTC
# Line 627  COMPILE_FCT(Pcompile) Line 627  COMPILE_FCT(Pcompile)
627    char const *p;    char const *p;
628    char const *pnul;    char const *pnul;
629    
630    /* FIXME: Remove this restriction.  */    /* FIXME: Remove these restrictions.  */
631    if (eolbyte != '\n')    if (eolbyte != '\n')
632      error (2, 0, _("The -P and -z options cannot be combined"));      error (2, 0, _("The -P and -z options cannot be combined"));
633      if (memchr(pattern, '\n', size))
634        error (2, 0, _("The -P option only supports a single pattern"));
635    
636    *n = '\0';    *n = '\0';
637    if (match_lines)    if (match_lines)

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

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