[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: Jim Meyering
Subject: Re: grep-2.6.2 -Ff hangs on files with empty lines
Date: Wed, 31 Mar 2010 20:52:00 +0200

Raphael Kimmig wrote:

> 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

Paolo fixed it with this:


reply via email to

[Prev in Thread] Current Thread [Next in Thread]