[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-grep] [patch] getting '--devices=skip' to work
From: |
Stepan Kasal |
Subject: |
Re: [bug-grep] [patch] getting '--devices=skip' to work |
Date: |
Fri, 19 Nov 2004 08:36:03 +0100 |
User-agent: |
Mutt/1.4.1i |
Hello Tim,
> > > while ((desc = open (file, O_RDONLY | O_NONBLOCK)) < 0
> > > && errno == EINTR)
my intuition was that it's safer to find out that we don't want to grep
the file before we try to open it.
> Stop the bus! There is a kernel change to do with opening normal
> files with O_NONBLOCK having unexpected consequences. It's best
> avoided.
Together with this comment from Tim, O_NONBLOCK is out of question.
But I'll probably check in Benno's patch.
Yours,
Stepan
- [bug-grep] [patch] getting '--devices=skip' to work, Benno Schulenberg, 2004/11/17
- Re: [bug-grep] [patch] getting '--devices=skip' to work, Tony Abou-Assaleh, 2004/11/17
- Re: [bug-grep] [patch] getting '--devices=skip' to work, Jim Meyering, 2004/11/18
- Re: [bug-grep] [patch] getting '--devices=skip' to work, Paul Jarc, 2004/11/19
- Re: [bug-grep] [patch] getting '--devices=skip' to work, Tim Waugh, 2004/11/19
- Re: [bug-grep] [patch] getting '--devices=skip' to work, Paul Jarc, 2004/11/19
- Re: [bug-grep] [patch] getting '--devices=skip' to work, Jim Meyering, 2004/11/19
- Re: [bug-grep] [patch] getting '--devices=skip' to work, Paul Eggert, 2004/11/19
- Re: [bug-grep] [patch] getting '--devices=skip' to work, Tim Waugh, 2004/11/23
- Re: [bug-grep] [patch] getting '--devices=skip' to work, Paul Eggert, 2004/11/24
- Re: [bug-grep] [patch] getting '--devices=skip' to work, Tim Waugh, 2004/11/24