bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Certain bug with parameter -m


From: Benno Schulenberg
Subject: Re: Certain bug with parameter -m
Date: Tue, 26 Jun 2007 19:43:29 +0200
User-agent: KMail/1.9.7

Benno Schulenberg wrote:
> My system is an up-to-date Gentoo one, but an Ubuntu Feisty
> exhibits the same error.  So the most likely cause is some 
> patch applied by most distributions, because when running
> /suse/bin/grep it uses the libc from my Gentoo system.

Ouch, ouch, ouch!  This bug is caused by my own patch.  :(

_Reversely apply attached patch to your grep, and the bug will 
be fixed.  Or ask your distro not to apply that patch to their 
grep.

I made this patch three years ago because when searching in my 
home dir for a file that contains certain words, I would search 
for it with 'grep -irs "some words" .', which would inevitably 
hang on the socket symlinks in the ,kde subdir.

If anyone can come up with a patch that avoids both problems, 
hanging of fifos and forgetting where it stopped reading, I'd
be very grateful.

Benno

Attachment: grep-2.5.1-fix-devices-skip.patch
Description: Text Data


reply via email to

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