[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep-2.6.2 -Ff hangs on files with empty lines
From: |
Raphael Kimmig |
Subject: |
Re: grep-2.6.2 -Ff hangs on files with empty lines |
Date: |
Wed, 31 Mar 2010 11:42:26 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100301 Lightning/1.0b1 Shredder/3.0.3 |
I can trigger it with LANG='de_DE.utf8' but it doesn't happen with LC_ALL=C.
The blocking occurs in kwsearch.c (relevant commit:
6d952beebdac1d8f31ba20abb12a756a9877e50d ), if I revert that specific
patch the blocking is gone but now the output is incorrect, so this
doesn't seem to seems to be source of the error.
$ src/grep -Ff <(printf '\na') <(printf 'a\nb')
a
$ LC_ALL=C src/grep -Ff <(printf '\na') <(printf 'a\nb')
a
b
Regards,
Raphael Kimmig
- Re: grep-2.6.2 -Ff hangs on files with empty lines,
Raphael Kimmig <=