diff options
author | Eric Blake <eblake@redhat.com> | 2011-04-08 10:52:55 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2011-04-08 11:58:06 -0600 |
commit | 0568a6e8985cc2ae9c57cb03fc81f5305458b7d2 (patch) | |
tree | 84c98eeb4c8d9c61431a1821c154ad9d09e46803 /modules/pipe2 | |
parent | b277764ab1e0a68b1db0bf254ea4dbe8e16c0603 (diff) | |
download | gnulib-0568a6e8985cc2ae9c57cb03fc81f5305458b7d2.tar.gz |
pipe2: fix O_NONBLOCK support on mingw
* modules/pipe2 (Depends-on): Add nonblocking.
* lib/pipe2.c (pipe2) [WIN32]: Add O_NONBLOCK support.
* tests/test-pipe2.c (is_nonblocking): Adjust test accordingly.
* tests/test-nonblocking.c (main): Likewise.
* modules/pipe2-tests (Makefile.am): Avoid link failure.
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'modules/pipe2')
-rw-r--r-- | modules/pipe2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/pipe2 b/modules/pipe2 index 1183657659..ca722168a7 100644 --- a/modules/pipe2 +++ b/modules/pipe2 @@ -10,6 +10,7 @@ unistd fcntl-h binary-io extensions +nonblocking configure.ac: gl_FUNC_PIPE2 |