grep: fix -o match with empty string (suggested by Colin Watson <cjwatson@ubuntu...
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 23 Aug 2010 00:39:47 +0000 (02:39 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 23 Aug 2010 00:39:47 +0000 (02:39 +0200)
commit3d8b96d58d74d775e34de8d19a03db5380eb8f2c
treec836d8788edcc5af94d8782857f70d9aca5b18a1
parentb276e418351612341e31da6385edbc3c91d2f6e8
grep: fix -o match with empty string (suggested by Colin Watson <cjwatson@ubuntu.com>)

function                                             old     new   delta
grep_file                                           1216    1251     +35

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
findutils/grep.c
testsuite/grep.tests