/[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 77 by nigel, Sat Feb 24 21:40:45 2007 UTC revision 85 by nigel, Sat Feb 24 21:41:13 2007 UTC
# Line 55  POSSIBILITY OF SUCH DAMAGE. Line 55  POSSIBILITY OF SUCH DAMAGE.
55    
56  typedef int BOOL;  typedef int BOOL;
57    
58  #define VERSION "4.0 07-Jun-2005"  #define VERSION "4.1 05-Sep-2005"
59  #define MAX_PATTERN_COUNT 100  #define MAX_PATTERN_COUNT 100
60    
61  #if BUFSIZ > 8192  #if BUFSIZ > 8192
# Line 531  while (ptr < endptr) Line 531  while (ptr < endptr)
531          }          }
532    
533        /* Now print the matching line(s); ensure we set hyphenpending at the end        /* Now print the matching line(s); ensure we set hyphenpending at the end
534        of the file. */        of the file if any context lines are being output. */
535    
536          if (after_context > 0 || before_context > 0)
537            endhyphenpending = TRUE;
538    
       endhyphenpending = TRUE;  
539        if (printname != NULL) fprintf(stdout, "%s:", printname);        if (printname != NULL) fprintf(stdout, "%s:", printname);
540        if (number) fprintf(stdout, "%d:", linenumber);        if (number) fprintf(stdout, "%d:", linenumber);
541    

Legend:
Removed from v.77  
changed lines
  Added in v.85

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12