Move the support of O_NONBLOCK in open() to the 'open' module.
authorBruno Haible <bruno@clisp.org>
Tue, 19 Apr 2011 08:38:30 +0000 (10:38 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 19 Apr 2011 08:38:30 +0000 (10:38 +0200)
commit12856373f8fd28a9d4453d6df97b2fdd17ced398
tree7db287a79567ebffbc8bf225499d8dac7e742308
parent05414bd22e5c18afd876aa481fb6648458bad6b5
Move the support of O_NONBLOCK in open() to the 'open' module.

* modules/nonblocking (Depends-on): Remove 'open'.
* m4/nonblocking.m4 (gl_NONBLOCKING_IO_BODY): Set
gl_cv_have_open_O_NONBLOCK.
* m4/open.m4 (gl_FUNC_OPEN): Replace open() also when required for
O_NONBLOCK support.
* doc/posix-functions/open.texi: Document support for O_NONBLOCK.
ChangeLog
doc/posix-functions/open.texi
m4/nonblocking.m4
m4/open.m4
modules/nonblocking