version 1.46, 2013/05/04 00:26:20 |
version 1.47, 2013/11/26 13:21:16 |
|
|
* Process an individual line in a file. Return non-zero if it matches. |
* Process an individual line in a file. Return non-zero if it matches. |
*/ |
*/ |
|
|
#define isword(x) (isalnum(x) || (x) == '_') |
#define isword(x) (isalnum((unsigned char)x) || (x) == '_') |
|
|
static int |
static int |
procline(str_t *l, int nottext) |
procline(str_t *l, int nottext) |
|
|
|
|
#ifndef SMALL |
#ifndef SMALL |
void |
void |
fgrepcomp(fastgrep_t *fg, const char *pattern) |
fgrepcomp(fastgrep_t *fg, const unsigned char *pattern) |
{ |
{ |
int i; |
int i; |
|
|