On Tue, Jan 24, 2012 at 03:07:45AM +0000, David Holland wrote: > On Mon, Jan 23, 2012 at 09:28:48PM -0500, Christos Zoulas wrote: > > [stuff] > > One thing jumps out at me: if it's a file-level flag, shouldn't it be > sufficient to use F_GETFL / F_SETFL to manipulate it, rather than > adding new fcntls?
You want to be careful with that because of all the idiots who F_SETFL to O_NONBLOCK without getting the old value first. :-/ Thor
