[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: |
Tim Waugh |
Subject: |
Re: [bug-grep] [patch] getting '--devices=skip' to work |
Date: |
Thu, 18 Nov 2004 23:36:23 +0000 |
User-agent: |
Mutt/1.4.1i |
On Thu, Nov 18, 2004 at 10:01:03PM +0100, Benno Schulenberg wrote:
> Jim Meyering wrote:
> > Another way to keep open from blocking on fifos is
> > to use the O_NONBLOCK flag:
> >
> > while ((desc = open (file, O_RDONLY | O_NONBLOCK)) < 0
> > && errno == EINTR)
>
> Thanks, that's much simpler, and it works too.
>
> Stepan, can this go into cvs?
Stop the bus! There is a kernel change to do with opening normal
files with O_NONBLOCK having unexpected consequences. It's best
avoided.
Tim.
*/
pgpuD2fMmAceS.pgp
Description: PGP signature
- [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