==> Regarding Re: [bug-grep] [patch] getting '--devices=skip' to work; [EMAIL PROTECTED] adds:
P> Paul Eggert wrote: >> Tim Waugh <[EMAIL PROTECTED]> writes: >> >> >>> https://bugzilla.redhat.com/beta/show_bug.cgi?id=135942 P> FYI this also could be a dupe: P> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=135905 >> Of the coreutils programs that use O_NONBLOCK: >> >> chown and touch don't do I/O. dd uses O_NONBLOCK only when the user >> asks for it explicitly. shred uses it only on /dev/random. stty uses >> it only on its argument, which is supposed to be a device. (There is a >> FIXME that this assumption should be checked, but there's more to be >> fixed here than O_NONBLOCK.) tail does nonblocking reads in some cases >> but doesn't use select() or poll(). >> >> None of these uses would run afoul of the bug that you mentioned, as far >> as I can tell. >> >> POSIX is pretty vague about what O_NONBLOCK does, except for pipes, >> fifos, and sockets. So if we limited ourselves to what POSIX required, >> coreutils would require several changes. I wouldn't bother with this, >> though, unless there's a real problem. P> So did the following change make it into redhat kernel-2.6.8-1.624 P> http://www.ussg.iu.edu/hypermail/linux/kernel/0410.0/index.html#0210 and P> was then subsequently removed? Note I don't ever see it going into the P> official kernel. Yes, the change was reverted, and no, it will not go into the upstream kernel. -Jeff _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-coreutils
