|
From: | Paul Jarc |
Subject: | Re: [bug-grep] [patch] getting '--devices=skip' to work |
Date: | Fri, 19 Nov 2004 13:28:48 -0500 |
User-agent: | Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
Tim Waugh <address@hidden> wrote: > I *think* it was that read() would set errno to EAGAIN unless the > requested data was actually in memory: i.e. it wouldn't necessarily > take steps to read from disk. Ok, so changing the descriptor back to blocking mode after opening would probably work. > I believe it was still within POSIX, the idea being to actually > support O_NONBLOCK properly for regular files. That sounds potentially useful. Programs will just have to make sure they ask for what they really want. paul
[Prev in Thread] | Current Thread | [Next in Thread] |