On Thu, Feb 17, 2011 at 12:06:30PM +0900, enami tsugutomo wrote:
>
> I just did `more fastgrep.c' and found following piece of code. The
> usage of wflag is an obvious regression from OpenBSD code.
>
> | if (fg->len >= 14 &&
> | strncmp(pat + (fg->bol ? 1 : 0), "[[:<:]]", 7) == 0 &&
> In which sense?
The meaning of `... + wflag' was to skip 7 chars.
enami.
On Thu, Feb 17, 2011 at 12:06:30PM +0900, enami tsugutomo wrote:
> Joerg Sonnenberger writes:
>
> > Module Name:src
> > Committed By: joerg
> > Date: Wed Feb 16 01:31:34 UTC 2011
> >
> > Modified Files:
> > src/usr.bin/grep: Makefile file.c grep.1 grep.c grep.h qu
Joerg Sonnenberger writes:
> Module Name: src
> Committed By: joerg
> Date: Wed Feb 16 01:31:34 UTC 2011
>
> Modified Files:
> src/usr.bin/grep: Makefile file.c grep.1 grep.c grep.h queue.c util.c
> Added Files:
> src/usr.bin/grep: fastgrep.c
I just did `more fastgrep.c' an