summaryrefslogtreecommitdiff
path: root/modules/grantpt
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-06-22 12:36:47 +0200
committerBruno Haible <bruno@clisp.org>2012-06-22 12:36:47 +0200
commit74ccd5f4fb8bad9f914da3ba44b3d5cbfbc93f8e (patch)
tree6d7fcd86e38fbf440b1d983aa7f0e7daa1da6b7a /modules/grantpt
parente8dd490b46444e82673618f34b4ef1b3bf0bf382 (diff)
downloadgnulib-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 'modules/grantpt')
-rw-r--r--modules/grantpt1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/grantpt b/modules/grantpt
index 77c7bc332c..2d63d2f77d 100644
--- a/modules/grantpt
+++ b/modules/grantpt
@@ -9,7 +9,6 @@ m4/grantpt.m4
Depends-on:
stdlib
extensions
-fcntl-h [test $HAVE_GRANTPT = 0]
pt_chown [test $HAVE_GRANTPT = 0]
waitpid [test $HAVE_GRANTPT = 0]
configmake [test $HAVE_GRANTPT = 0]