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 |
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 |
|
|