summaryrefslogtreecommitdiff
path: root/modules/pipe2
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-06-03 00:10:00 +0200
committerBruno Haible <bruno@clisp.org>2011-06-04 10:59:53 +0200
commit64e338384bc99dfb49c4f46648b3fa0c50e8491d (patch)
tree0fc0fc10079262643c99b1d45f2036fd69dc9ec3 /modules/pipe2
parent1b20f727196f5f3361c2edf5ca28ac0032425706 (diff)
downloadgnulib-64e338384bc99dfb49c4f46648b3fa0c50e8491d.tar.gz
pipe2: Remove dependency on 'nonblocking' module.
* lib/pipe2.c: Include verify.h. Include nonblocking.h only if O_NONBLOCK is defined by gnulib. (pipe2) [WIN32]: If O_NONBLOCK is not defined by gnulib, verify that it is zero. * modules/pipe2 (Depends-on): Add verify. Remove nonblocking. * tests/test-pipe2.c: Include nonblocking.h only if O_NONBLOCK is defined by gnulib. (get_nonblocking_flag): New function. (main): Test O_NONBLOCK flag only if it is nonzero.
Diffstat (limited to 'modules/pipe2')
-rw-r--r--modules/pipe22
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pipe2 b/modules/pipe2
index ca722168a7..62872a2255 100644
--- a/modules/pipe2
+++ b/modules/pipe2
@@ -10,7 +10,7 @@ unistd
fcntl-h
binary-io
extensions
-nonblocking
+verify
configure.ac:
gl_FUNC_PIPE2