changeset 14533:7c084dd61825

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. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Fri, 08 Apr 2011 10:44:53 -0600
parents 0b3f0c54fbc8
children 2078181e301c
files ChangeLog lib/pipe-filter-aux.h modules/pipe-filter-gi modules/pipe-filter-ii
diffstat 4 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/lib/pipe-filter-aux.h
+++ b/lib/pipe-filter-aux.h
@@ -102,9 +102,6 @@
 #endif
 
 /* Non-blocking I/O.  */
-#ifndef O_NONBLOCK
-# define O_NONBLOCK O_NDELAY
-#endif
 #if HAVE_SELECT
 # define IS_EAGAIN(errcode) 0
 #else
--- a/modules/pipe-filter-gi
+++ b/modules/pipe-filter-gi
@@ -11,6 +11,7 @@
 wait-process
 error
 exit
+fcntl-h
 gettext-h
 stdbool
 stdint
--- a/modules/pipe-filter-ii
+++ b/modules/pipe-filter-ii
@@ -11,6 +11,7 @@
 wait-process
 error
 exit
+fcntl-h
 gettext-h
 stdbool
 stdint