Re: CVS commit: src/usr.bin/grep

2011-02-17 Thread David Laight
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 &&

Re: CVS commit: src/usr.bin/grep

2011-02-16 Thread enami tsugutomo
> In which sense? The meaning of `... + wflag' was to skip 7 chars. enami.

Re: CVS commit: src/usr.bin/grep

2011-02-16 Thread Joerg Sonnenberger
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

Re: CVS commit: src/usr.bin/grep

2011-02-16 Thread enami tsugutomo
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