bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/4] pipe-filter: drop O_NONBLOCK workarounds


From: Eric Blake
Subject: [PATCH 2/4] pipe-filter: drop O_NONBLOCK workarounds
Date: Fri, 8 Apr 2011 11:33:01 -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 <address@hidden>
---
 ChangeLog              |    5 +++++
 lib/pipe-filter-aux.h  |    3 ---
 modules/pipe-filter-gi |    1 +
 modules/pipe-filter-ii |    1 +
 4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1af3b71..fe0a886 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-04-08  Eric Blake  <address@hidden>

+       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.
diff --git a/lib/pipe-filter-aux.h b/lib/pipe-filter-aux.h
index 118970b..8c6cb74 100644
--- a/lib/pipe-filter-aux.h
+++ b/lib/pipe-filter-aux.h
@@ -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
diff --git a/modules/pipe-filter-gi b/modules/pipe-filter-gi
index 7122c1a..f2e6fc0 100644
--- a/modules/pipe-filter-gi
+++ b/modules/pipe-filter-gi
@@ -11,6 +11,7 @@ spawn-pipe
 wait-process
 error
 exit
+fcntl-h
 gettext-h
 stdbool
 stdint
diff --git a/modules/pipe-filter-ii b/modules/pipe-filter-ii
index f845a8f..5f7d05b 100644
--- a/modules/pipe-filter-ii
+++ b/modules/pipe-filter-ii
@@ -11,6 +11,7 @@ spawn-pipe
 wait-process
 error
 exit
+fcntl-h
 gettext-h
 stdbool
 stdint
-- 
1.7.4.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]