diff options
author | Bruno Haible <bruno@clisp.org> | 2012-06-22 12:36:47 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-06-22 12:36:47 +0200 |
commit | 74ccd5f4fb8bad9f914da3ba44b3d5cbfbc93f8e (patch) | |
tree | 6d7fcd86e38fbf440b1d983aa7f0e7daa1da6b7a /doc | |
parent | e8dd490b46444e82673618f34b4ef1b3bf0bf382 (diff) | |
download | gnulib-74ccd5f4fb8bad9f914da3ba44b3d5cbfbc93f8e.tar.gz |
grantpt: Relax requirement regarding invalid file descriptors.
* lib/grantpt.c: Don't include <fcntl.h>.
(grantpt): Don't verify the validity of the file descriptor.
* modules/grantpt (Depends-on): Remove fcntl-h.
* tests/test-grantpt.c (main): Allow grantpt to succeed for invalid
file descriptors.
* doc/posix-functions/grantpt.texi: Document more platforms on which
grantpt succeeds for invalid file descriptors.
Reported by Rich Felker <dalias@aerifal.cx>.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/posix-functions/grantpt.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/posix-functions/grantpt.texi b/doc/posix-functions/grantpt.texi index eaba7f0706..b431853cc9 100644 --- a/doc/posix-functions/grantpt.texi +++ b/doc/posix-functions/grantpt.texi @@ -20,5 +20,5 @@ This function is not declared on some platforms: IRIX 5.3. @item This function reports success for invalid file descriptors on some platforms: -Cygwin 1.7.9. +OpenBSD, Cygwin 1.7.9, musl libc. @end itemize |