summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-07-08 02:52:09 +0200
committerBruno Haible <bruno@clisp.org>2020-07-08 03:12:47 +0200
commitcfcb5fc6b95ca04bd3c8637d4027641d07c15cbe (patch)
tree11bd6a12dd42597de1210e3f08726e0692cbe64d /doc
parent8e867216109f764c195790a53f67bf1bc925b27f (diff)
downloadgnulib-cfcb5fc6b95ca04bd3c8637d4027641d07c15cbe.tar.gz
dup2: Remove support for some very old platforms.
* m4/dup2-obsolete.m4: Remove file. * modules/dup2-obsolete: Remove file. * m4/dup2.m4 (gl_FUNC_DUP2): Assume module 'dup2-obsolete' is absent. Don't define HAVE_DUP2. * lib/unistd.in.h (dup2): Assume HAVE_DUP2 is 1. * lib/dup2.c: Likewise. * modules/dup2 (Depends-on, configure.ac): Likewise. (Depends-on): Remove dup2-obsolete. * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Don't initialize HAVE_DUP2. * modules/unistd (Makefile.am): Don't substitute HAVE_DUP2. * doc/posix-functions/dup2.texi: Don't mention module 'dup2-obsolete'.
Diffstat (limited to 'doc')
-rw-r--r--doc/posix-functions/dup2.texi10
1 files changed, 2 insertions, 8 deletions
diff --git a/doc/posix-functions/dup2.texi b/doc/posix-functions/dup2.texi
index 8635e6c089..d81def5cdd 100644
--- a/doc/posix-functions/dup2.texi
+++ b/doc/posix-functions/dup2.texi
@@ -4,9 +4,9 @@
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/dup2.html}
-Gnulib module: dup2 or dup2-obsolete
+Gnulib module: dup2
-Portability problems fixed by either Gnulib module @code{dup2} or @code{dup2-obsolete}:
+Portability problems fixed by Gnulib:
@itemize
@item
This function is declared in a different header file (namely, @code{<io.h>})
@@ -53,12 +53,6 @@ large targets, which interferes with using
AIX 7.1, FreeBSD 6.1, Cygwin 1.5.
@end itemize
-Portability problems fixed by Gnulib module @code{dup2-obsolete}:
-@itemize
-@item
-This function is missing on some older platforms.
-@end itemize
-
Portability problems not fixed by Gnulib:
@itemize
@end itemize