pipe-filter: drop O_NONBLOCK workarounds
authorEric Blake <eblake@redhat.com>
Fri, 8 Apr 2011 16:44:53 +0000 (10:44 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 8 Apr 2011 16:59:24 +0000 (10:59 -0600)
* modules/pipe-filter-gi (Depends-on): Add fcntl-h.
* modules/pipe-filter-ii (Depends-on): Likewise.
* lib/pipe-filter-aux.h (O_NONBLOCK): Delete workaround.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/pipe-filter-aux.h
modules/pipe-filter-gi
modules/pipe-filter-ii

index 1af3b71..fe0a886 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-04-08  Eric Blake  <eblake@redhat.com>
 
+       pipe-filter: drop O_NONBLOCK workarounds
+       * modules/pipe-filter-gi (Depends-on): Add fcntl-h.
+       * modules/pipe-filter-ii (Depends-on): Likewise.
+       * lib/pipe-filter-aux.h (O_NONBLOCK): Delete workaround.
+
        nonblocking: provide O_NONBLOCK for mingw
        * modules/nonblocking (Depends-on): Add open.
        (configure.ac): Set new witness macro.
index 118970b..8c6cb74 100644 (file)
@@ -102,9 +102,6 @@ nonintr_select (int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
 #endif
 
 /* Non-blocking I/O.  */
-#ifndef O_NONBLOCK
-# define O_NONBLOCK O_NDELAY
-#endif
 #if HAVE_SELECT
 # define IS_EAGAIN(errcode) 0
 #else
index 7122c1a..f2e6fc0 100644 (file)
@@ -11,6 +11,7 @@ spawn-pipe
 wait-process
 error
 exit
+fcntl-h
 gettext-h
 stdbool
 stdint
index f845a8f..5f7d05b 100644 (file)
@@ -11,6 +11,7 @@ spawn-pipe
 wait-process
 error
 exit
+fcntl-h
 gettext-h
 stdbool
 stdint