]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
Rename module stdio to stdio-h.
authorBruno Haible <bruno@clisp.org>
Fri, 27 Dec 2024 22:24:51 +0000 (23:24 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 27 Dec 2024 22:35:46 +0000 (23:35 +0100)
* modules/stdio-h: Renamed from modules/stdio.
* modules/stdio-h-tests: Renamed from modules/stdio-tests.
* modules/stdio-h-c++-tests: Renamed from modules/stdio-c++-tests.
* tests/test-stdio-h.c: Renamed from tests/test-stdio.c.
* tests/test-stdio-h-c++.cc: Renamed from tests/test-stdio-c++.cc.
* tests/test-stdio-h-c++2.cc: Renamed from tests/test-stdio-c++2.cc.
* doc/posix-headers/stdio.texi: Update.
* doc/posix-functions/fgetc.texi: Update.
* doc/posix-functions/fgets.texi: Update.
* doc/posix-functions/fprintf.texi: Update.
* doc/posix-functions/fputc.texi: Update.
* doc/posix-functions/fputs.texi: Update.
* doc/posix-functions/fread.texi: Update.
* doc/posix-functions/fscanf.texi: Update.
* doc/posix-functions/fwrite.texi: Update.
* doc/posix-functions/getc.texi: Update.
* doc/posix-functions/getchar.texi: Update.
* doc/posix-functions/printf.texi: Update.
* doc/posix-functions/putc.texi: Update.
* doc/posix-functions/putchar.texi: Update.
* doc/posix-functions/puts.texi: Update.
* doc/posix-functions/read.texi: Update.
* doc/posix-functions/scanf.texi: Update.
* doc/posix-functions/vfprintf.texi: Update.
* doc/posix-functions/vprintf.texi: Update.
* doc/posix-functions/write.texi: Update.
* modules/* (Depends-on): Update.
* modules/stdio: New file.

98 files changed:
ChangeLog
doc/posix-functions/fgetc.texi
doc/posix-functions/fgets.texi
doc/posix-functions/fprintf.texi
doc/posix-functions/fputc.texi
doc/posix-functions/fputs.texi
doc/posix-functions/fread.texi
doc/posix-functions/fscanf.texi
doc/posix-functions/fwrite.texi
doc/posix-functions/getc.texi
doc/posix-functions/getchar.texi
doc/posix-functions/printf.texi
doc/posix-functions/putc.texi
doc/posix-functions/putchar.texi
doc/posix-functions/puts.texi
doc/posix-functions/read.texi
doc/posix-functions/scanf.texi
doc/posix-functions/vfprintf.texi
doc/posix-functions/vprintf.texi
doc/posix-functions/write.texi
doc/posix-headers/stdio.texi
modules/argp
modules/c-snprintf
modules/c-snzprintf
modules/c-vasnprintf
modules/c-vasprintf
modules/c-vaszprintf
modules/c-vsnprintf
modules/c-vsnzprintf
modules/c-xvasprintf
modules/dfa
modules/dfa-tests
modules/dprintf
modules/dzprintf
modules/error
modules/fclose
modules/fdopen
modules/fflush
modules/fopen
modules/fprintf-posix
modules/fprintftime
modules/fpurge
modules/freopen
modules/fseek
modules/fseeko
modules/ftell
modules/ftello
modules/fzprintf
modules/getdelim
modules/getline
modules/ignore-value-tests
modules/libtextstyle-optional
modules/nonblocking
modules/obstack-printf
modules/obstack-printf-posix
modules/obstack-zprintf
modules/pclose
modules/perror
modules/popen
modules/posixcheck
modules/printf-posix
modules/remove
modules/rename
modules/renameatu
modules/sigpipe
modules/snprintf
modules/snzprintf
modules/sprintf-posix
modules/stdio
modules/stdio-c++-tests [deleted file]
modules/stdio-h [new file with mode: 0644]
modules/stdio-h-c++-tests [new file with mode: 0644]
modules/stdio-h-tests [moved from modules/stdio-tests with 67% similarity]
modules/szprintf
modules/tmpfile
modules/unicodeio
modules/vasnprintf
modules/vasnwprintf
modules/vasprintf
modules/vaszprintf
modules/vdprintf
modules/vdzprintf
modules/vfprintf-posix
modules/vfscanf
modules/vfzprintf
modules/vprintf-posix
modules/vscanf
modules/vsnprintf
modules/vsnzprintf
modules/vsprintf-posix
modules/vszprintf
modules/vzprintf
modules/xprintf
modules/xvasprintf
modules/zprintf
tests/test-stdio-h-c++.cc [moved from tests/test-stdio-c++.cc with 100% similarity]
tests/test-stdio-h-c++2.cc [moved from tests/test-stdio-c++2.cc with 100% similarity]
tests/test-stdio-h.c [moved from tests/test-stdio.c with 100% similarity]

index 8a58b0f233951c6464d973ba46ad0fe6a429e726..dbb65d5dd8a81f883bfb6ff615d0ca4f34e067b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,35 @@
+2024-12-27  Bruno Haible  <bruno@clisp.org>
+
+       Rename module stdio to stdio-h.
+       * modules/stdio-h: Renamed from modules/stdio.
+       * modules/stdio-h-tests: Renamed from modules/stdio-tests.
+       * modules/stdio-h-c++-tests: Renamed from modules/stdio-c++-tests.
+       * tests/test-stdio-h.c: Renamed from tests/test-stdio.c.
+       * tests/test-stdio-h-c++.cc: Renamed from tests/test-stdio-c++.cc.
+       * tests/test-stdio-h-c++2.cc: Renamed from tests/test-stdio-c++2.cc.
+       * doc/posix-headers/stdio.texi: Update.
+       * doc/posix-functions/fgetc.texi: Update.
+       * doc/posix-functions/fgets.texi: Update.
+       * doc/posix-functions/fprintf.texi: Update.
+       * doc/posix-functions/fputc.texi: Update.
+       * doc/posix-functions/fputs.texi: Update.
+       * doc/posix-functions/fread.texi: Update.
+       * doc/posix-functions/fscanf.texi: Update.
+       * doc/posix-functions/fwrite.texi: Update.
+       * doc/posix-functions/getc.texi: Update.
+       * doc/posix-functions/getchar.texi: Update.
+       * doc/posix-functions/printf.texi: Update.
+       * doc/posix-functions/putc.texi: Update.
+       * doc/posix-functions/putchar.texi: Update.
+       * doc/posix-functions/puts.texi: Update.
+       * doc/posix-functions/read.texi: Update.
+       * doc/posix-functions/scanf.texi: Update.
+       * doc/posix-functions/vfprintf.texi: Update.
+       * doc/posix-functions/vprintf.texi: Update.
+       * doc/posix-functions/write.texi: Update.
+       * modules/* (Depends-on): Update.
+       * modules/stdio: New file.
+
 2024-12-27  Bruno Haible  <bruno@clisp.org>
 
        Rename module stdint to stdint-h.
index 8240f925debe0225553297ba9b7fdcb505b7ce70..3740856c475366a87e86aa709f42e3cd69c93142 100644 (file)
@@ -4,11 +4,11 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/fgetc.html}
 
-Gnulib module: stdio, nonblocking
-@mindex stdio
+Gnulib module: stdio-h, nonblocking
+@mindex stdio-h
 @mindex nonblocking
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
 @itemize
 @item
 When reading from a non-blocking pipe whose buffer is empty, this function
index a66c3d1718508e3cc27e92348034709ca057acd2..287c55a2090a1f3d2ad776b64fa941b9b07f0bde 100644 (file)
@@ -4,11 +4,11 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/fgets.html}
 
-Gnulib module: stdio, nonblocking
-@mindex stdio
+Gnulib module: stdio-h, nonblocking
+@mindex stdio-h
 @mindex nonblocking
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
 @itemize
 @item
 When reading from a non-blocking pipe whose buffer is empty, this function
index 5d6063300fa3767478131ca2c0a1d5d84f9b26d1..5509008d820976681ded93dab5908c9857c4ae42 100644 (file)
@@ -4,10 +4,10 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/fprintf.html}
 
-Gnulib module: fprintf-posix or fprintf-gnu or stdio, nonblocking, sigpipe
+Gnulib module: fprintf-posix or fprintf-gnu or stdio-h, nonblocking, sigpipe
 @mindex fprintf-posix
 @mindex fprintf-gnu
-@mindex stdio
+@mindex stdio-h
 @mindex nonblocking
 @mindex sigpipe
 
@@ -104,7 +104,7 @@ glibc when used with @code{_FORTIFY_SOURCE >= 2} (set by default on Ubuntu),
 macOS 14, OpenBSD, MSVC 14, Android.
 @end itemize
 
-Portability problems fixed by Gnulib module @code{stdio} or @code{fprintf-posix} or @code{fprintf-gnu}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h} or @code{fprintf-posix} or @code{fprintf-gnu}, together with module @code{nonblocking}:
 @itemize
 @item
 When writing to a non-blocking pipe whose buffer is full, this function fails
@@ -113,7 +113,7 @@ platforms:
 mingw, MSVC 14.
 @end itemize
 
-Portability problems fixed by Gnulib module @code{stdio} or @code{fprintf-posix} or @code{fprintf-gnu}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h} or @code{fprintf-posix} or @code{fprintf-gnu}, together with module @code{sigpipe}:
 @itemize
 @item
 When writing to a pipe with no readers, this function fails, instead of
index f10735c958026b87a41affe1df9592c9116e9684..de80da596c3684c4090fe1e75c91c52e40157512 100644 (file)
@@ -4,12 +4,12 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/fputc.html}
 
-Gnulib module: stdio, nonblocking, sigpipe
-@mindex stdio
+Gnulib module: stdio-h, nonblocking, sigpipe
+@mindex stdio-h
 @mindex nonblocking
 @mindex sigpipe
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
 @itemize
 @item
 When writing to a non-blocking pipe whose buffer is full, this function fails
@@ -18,7 +18,7 @@ platforms:
 mingw, MSVC 14.
 @end itemize
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{sigpipe}:
 @itemize
 @item
 When writing to a pipe with no readers, this function fails, instead of
index f623e9f1fdf4f534d4ae06881b481c5fc24b4e05..e8808312ccf76743f341ae1ad76e446706ed3c32 100644 (file)
@@ -4,12 +4,12 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/fputs.html}
 
-Gnulib module: stdio, nonblocking, sigpipe
-@mindex stdio
+Gnulib module: stdio-h, nonblocking, sigpipe
+@mindex stdio-h
 @mindex nonblocking
 @mindex sigpipe
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
 @itemize
 @item
 When writing to a non-blocking pipe whose buffer is full, this function fails
@@ -18,7 +18,7 @@ platforms:
 mingw, MSVC 14.
 @end itemize
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{sigpipe}:
 @itemize
 @item
 When writing to a pipe with no readers, this function fails, instead of
index 6929238ab812a4b62bf8dd3efeeec6ee29fd5236..1ddf757041ab2f3ac79b3841cc930fe9a358ef9c 100644 (file)
@@ -4,11 +4,11 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/fread.html}
 
-Gnulib module: stdio, nonblocking
-@mindex stdio
+Gnulib module: stdio-h, nonblocking
+@mindex stdio-h
 @mindex nonblocking
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
 @itemize
 @item
 When reading from a non-blocking pipe whose buffer is empty, this function
index 7898463268b1798f4310a040c938b609a5197aea..de35d8d1d8ee308784b47467bcd61ce3aafd49af 100644 (file)
@@ -6,11 +6,11 @@ POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/fun
 
 LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-fscanf.html}
 
-Gnulib module: stdio, nonblocking
-@mindex stdio
+Gnulib module: stdio-h, nonblocking
+@mindex stdio-h
 @mindex nonblocking
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
 @itemize
 @item
 When reading from a non-blocking pipe whose buffer is empty, this function
index 8aa86b3a3a4aa1440afbf138339eca9664a8763b..5cd99e5940d9d337b42c64a95fb0843af73a6d34 100644 (file)
@@ -4,12 +4,12 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/fwrite.html}
 
-Gnulib module: stdio, nonblocking, sigpipe
-@mindex stdio
+Gnulib module: stdio-h, nonblocking, sigpipe
+@mindex stdio-h
 @mindex nonblocking
 @mindex sigpipe
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
 @itemize
 @item
 When writing to a non-blocking pipe whose buffer is full, this function fails
@@ -18,7 +18,7 @@ platforms:
 mingw, MSVC 14.
 @end itemize
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{sigpipe}:
 @itemize
 @item
 When writing to a pipe with no readers, this function fails, instead of
index 3ae40fed5261d463344d190569be498f99a97f4e..8b6cc112dc99b7407811af0acd9152f4345df32f 100644 (file)
@@ -4,11 +4,11 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/getc.html}
 
-Gnulib module: stdio, nonblocking
-@mindex stdio
+Gnulib module: stdio-h, nonblocking
+@mindex stdio-h
 @mindex nonblocking
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
 @itemize
 @item
 When reading from a non-blocking pipe whose buffer is empty, this function
index 8c8f661350c51f358970ccd1f24a75a4ec1a6601..4bc3c3068f1921f1d5329e0390356f736b1252a4 100644 (file)
@@ -4,11 +4,11 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/getchar.html}
 
-Gnulib module: stdio, nonblocking
-@mindex stdio
+Gnulib module: stdio-h, nonblocking
+@mindex stdio-h
 @mindex nonblocking
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
 @itemize
 @item
 When reading from a non-blocking pipe whose buffer is empty, this function
index 2f7a961580483a6a7a2dde39d3f71065a0d9caca..aba01687b8349d992f2db3850b582d8f042a95aa 100644 (file)
@@ -4,10 +4,10 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/printf.html}
 
-Gnulib module: printf-posix or printf-gnu or stdio, nonblocking, sigpipe
+Gnulib module: printf-posix or printf-gnu or stdio-h, nonblocking, sigpipe
 @mindex printf-posix
 @mindex printf-gnu
-@mindex stdio
+@mindex stdio-h
 @mindex nonblocking
 @mindex sigpipe
 
@@ -104,7 +104,7 @@ glibc when used with @code{_FORTIFY_SOURCE >= 2} (set by default on Ubuntu),
 macOS 14, OpenBSD, MSVC 14, Android.
 @end itemize
 
-Portability problems fixed by Gnulib module @code{stdio} or @code{printf-posix} or @code{printf-gnu}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h} or @code{printf-posix} or @code{printf-gnu}, together with module @code{nonblocking}:
 @itemize
 @item
 When writing to a non-blocking pipe whose buffer is full, this function fails
@@ -113,7 +113,7 @@ platforms:
 mingw, MSVC 14.
 @end itemize
 
-Portability problems fixed by Gnulib module @code{stdio} or @code{printf-posix} or @code{printf-gnu}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h} or @code{printf-posix} or @code{printf-gnu}, together with module @code{sigpipe}:
 @itemize
 @item
 When writing to a pipe with no readers, this function fails, instead of
index 5c3c567de9ad3837daf112659f92ff1605f5fd22..aec5b7e7d802c3c151cf2024169948cb742747f8 100644 (file)
@@ -4,12 +4,12 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/putc.html}
 
-Gnulib module: stdio, nonblocking, sigpipe
-@mindex stdio
+Gnulib module: stdio-h, nonblocking, sigpipe
+@mindex stdio-h
 @mindex nonblocking
 @mindex sigpipe
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
 @itemize
 @item
 When writing to a non-blocking pipe whose buffer is full, this function fails
@@ -18,7 +18,7 @@ platforms:
 mingw, MSVC 14.
 @end itemize
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{sigpipe}:
 @itemize
 @item
 When writing to a pipe with no readers, this function fails, instead of
index b2947985e976f5fda5d1933f9dfe9372dc6f8dd1..130514553427c502e56ee8a5a6ad1b4fc2687f41 100644 (file)
@@ -4,12 +4,12 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/putchar.html}
 
-Gnulib module: stdio, nonblocking, sigpipe
-@mindex stdio
+Gnulib module: stdio-h, nonblocking, sigpipe
+@mindex stdio-h
 @mindex nonblocking
 @mindex sigpipe
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
 @itemize
 @item
 When writing to a non-blocking pipe whose buffer is full, this function fails
@@ -18,7 +18,7 @@ platforms:
 mingw, MSVC 14.
 @end itemize
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{sigpipe}:
 @itemize
 @item
 When writing to a pipe with no readers, this function fails, instead of
index 1c492e8d2b2789622d9727b8a00850a3f69e1ee5..91e316f40ccc88e6a859251db9c900c064b668d9 100644 (file)
@@ -4,12 +4,12 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/puts.html}
 
-Gnulib module: stdio, nonblocking, sigpipe
-@mindex stdio
+Gnulib module: stdio-h, nonblocking, sigpipe
+@mindex stdio-h
 @mindex nonblocking
 @mindex sigpipe
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
 @itemize
 @item
 When writing to a non-blocking pipe whose buffer is full, this function fails
@@ -18,7 +18,7 @@ platforms:
 mingw, MSVC 14.
 @end itemize
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{sigpipe}:
 @itemize
 @item
 When writing to a pipe with no readers, this function fails, instead of
index 855f6ffd19fe90641078be9b187fe62b96da1450..47ac707931339c50dc1a24e0e553686b3c4d0a0b 100644 (file)
@@ -4,9 +4,9 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/read.html}
 
-Gnulib module: read, stdio, nonblocking
+Gnulib module: read, stdio-h, nonblocking
 @mindex read
-@mindex stdio
+@mindex stdio-h
 @mindex nonblocking
 
 Portability problems fixed by Gnulib module @code{read}:
@@ -20,7 +20,7 @@ This function crashes when invoked with invalid arguments on some platforms:
 MSVC 14.
 @end itemize
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
 @itemize
 @item
 When reading from a non-blocking pipe whose buffer is empty, this function
index acdcb89dd0946faf7e3fae0330fed4d1642e1454..ded9a5422c79faa9b5550272b9ffdd3f4731a013 100644 (file)
@@ -6,11 +6,11 @@ POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/fun
 
 LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-scanf.html}
 
-Gnulib module: stdio, nonblocking
-@mindex stdio
+Gnulib module: stdio-h, nonblocking
+@mindex stdio-h
 @mindex nonblocking
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
 @itemize
 @item
 When reading from a non-blocking pipe whose buffer is empty, this function
index 042c8958d3c2b8b790d157a7a98d8f26a077f788..ffebd0983d87e3de01a921242f4557cffa948882 100644 (file)
@@ -4,10 +4,10 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/vfprintf.html}
 
-Gnulib module: vfprintf-posix or vfprintf-gnu or stdio, nonblocking, sigpipe
+Gnulib module: vfprintf-posix or vfprintf-gnu or stdio-h, nonblocking, sigpipe
 @mindex vfprintf-posix
 @mindex vfprintf-gnu
-@mindex stdio
+@mindex stdio-h
 @mindex nonblocking
 @mindex sigpipe
 
@@ -104,7 +104,7 @@ glibc when used with @code{_FORTIFY_SOURCE >= 2} (set by default on Ubuntu),
 macOS 14, OpenBSD, MSVC 14, Android.
 @end itemize
 
-Portability problems fixed by Gnulib module @code{stdio} or @code{vfprintf-posix} or @code{vfprintf-gnu}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h} or @code{vfprintf-posix} or @code{vfprintf-gnu}, together with module @code{nonblocking}:
 @itemize
 @item
 When writing to a non-blocking pipe whose buffer is full, this function fails
@@ -113,7 +113,7 @@ platforms:
 mingw, MSVC 14.
 @end itemize
 
-Portability problems fixed by Gnulib module @code{stdio} or @code{vfprintf-posix} or @code{vfprintf-gnu}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h} or @code{vfprintf-posix} or @code{vfprintf-gnu}, together with module @code{sigpipe}:
 @itemize
 @item
 When writing to a pipe with no readers, this function fails, instead of
index 6534e2e23ec60b3cb84ef4b972d803830d058abc..85bdf6977d3f935cd68d8c07e40ab8e6cf458d31 100644 (file)
@@ -4,10 +4,10 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/vprintf.html}
 
-Gnulib module: vprintf-posix or vprintf-gnu or stdio, nonblocking, sigpipe
+Gnulib module: vprintf-posix or vprintf-gnu or stdio-h, nonblocking, sigpipe
 @mindex vprintf-posix
 @mindex vprintf-gnu
-@mindex stdio
+@mindex stdio-h
 @mindex nonblocking
 @mindex sigpipe
 
@@ -104,7 +104,7 @@ glibc when used with @code{_FORTIFY_SOURCE >= 2} (set by default on Ubuntu),
 macOS 14, OpenBSD, MSVC 14, Android.
 @end itemize
 
-Portability problems fixed by Gnulib module @code{stdio} or @code{vprintf-posix} or @code{vprintf-gnu}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h} or @code{vprintf-posix} or @code{vprintf-gnu}, together with module @code{nonblocking}:
 @itemize
 @item
 When writing to a non-blocking pipe whose buffer is full, this function fails
@@ -113,7 +113,7 @@ platforms:
 mingw, MSVC 14.
 @end itemize
 
-Portability problems fixed by Gnulib module @code{stdio} or @code{vprintf-posix} or @code{vprintf-gnu}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h} or @code{vprintf-posix} or @code{vprintf-gnu}, together with module @code{sigpipe}:
 @itemize
 @item
 When writing to a pipe with no readers, this function fails, instead of
index a3735af34b523a5ae18d62f4d75664a577ee0e9a..a5e869ac1c9097beb4034387b062609d728fd4ff 100644 (file)
@@ -20,7 +20,7 @@ This function crashes when invoked with invalid arguments on some platforms:
 MSVC 14.
 @end itemize
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{nonblocking}:
 @itemize
 @item
 When writing to a non-blocking pipe whose buffer is full, this function fails
@@ -35,7 +35,7 @@ write into the pipe buffer, on some platforms:
 mingw, MSVC 14.
 @end itemize
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{sigpipe}:
+Portability problems fixed by Gnulib module @code{stdio-h}, together with module @code{sigpipe}:
 @itemize
 @item
 When writing to a pipe with no readers, this function fails with error
index 9e7611b055dbb82f2c29a42bd83b45bd7a7f9c52..4b6f4295fcd340c8e561ef1edb568480fc8c1026 100644 (file)
@@ -3,8 +3,8 @@
 
 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/stdio.h.html}
 
-Gnulib module: stdio
-@mindex stdio
+Gnulib module: stdio-h
+@mindex stdio-h
 
 Portability problems fixed by Gnulib:
 @itemize
index 925993428367a0a925cd893964e5d2dad9a37f4d..a4b0183a87510ff4e97547e4c286d9895e4533c7 100644 (file)
@@ -33,7 +33,7 @@ extensions
 vsnprintf
 sleep
 stdbool-h
-stdio
+stdio-h
 strerror
 memchr
 memmove
index d3fe2fa03dc56f9748782e4ec59b6fb6503a4982..e0eb9d20780ebd814b4e9f02721d57934365b4e8 100644 (file)
@@ -7,7 +7,7 @@ lib/c-snprintf.c
 
 Depends-on:
 stdint-h
-stdio
+stdio-h
 c-vsnzprintf
 
 configure.ac:
index 69bedfdb5db807614948c29030662631017d8fda..f50db7fe0f218054939b5e68a05fea2e65e17cad 100644 (file)
@@ -8,7 +8,7 @@ lib/c-snzprintf.c
 
 Depends-on:
 stdint-h
-stdio
+stdio-h
 c-vasnprintf
 
 configure.ac:
index 245769ca573453ff7cce5ba34cb5cfe1619081c8..eebaf3aed8a24454f17ab509d894b86438d09a85 100644 (file)
@@ -25,7 +25,7 @@ assert-h
 attribute
 limits-h
 stdint-h
-stdio
+stdio-h
 mixin/printf-posix
 free-posix
 nocrash
index e36252078175d1dcc4582955c4f99487c2040311..852af1d7b4bb03b507be0d8bd6b6777c0cbc417d 100644 (file)
@@ -8,7 +8,7 @@ lib/c-vasprintf.c
 
 Depends-on:
 stdint-h
-stdio
+stdio-h
 c-vasnprintf
 
 configure.ac:
index c5b77a54ee2e8666dfc50fc28901ea75b7b64be5..43fa9e40c93ed660728ed536d3db7597db0fe8b7 100644 (file)
@@ -8,7 +8,7 @@ lib/c-vaszprintf.c
 
 Depends-on:
 stdint-h
-stdio
+stdio-h
 c-vasnprintf
 
 configure.ac:
index 8e5a9131a3343ff0af5a9d4e7fd8283c8faec09a..e4a0875d786e50157204f2fe7b44729af55e3689 100644 (file)
@@ -8,7 +8,7 @@ lib/c-vsnprintf.c
 
 Depends-on:
 stdint-h
-stdio
+stdio-h
 c-vsnzprintf
 
 configure.ac:
index e2e7e0a26161c597994f0f017c0352eeabf2edbb..5782a4e43b601966ab332858d2c3949fd9dcfbaf 100644 (file)
@@ -8,7 +8,7 @@ lib/c-vsnzprintf.c
 
 Depends-on:
 stdint-h
-stdio
+stdio-h
 c-vasnprintf
 
 configure.ac:
index a46e418544f1302e4defa006eeadb2f82345c737..981e339bb1d7aea46e749b665ca0ba07e279c27b 100644 (file)
@@ -9,7 +9,7 @@ m4/strerrorname_np.m4
 
 Depends-on:
 extensions
-stdio
+stdio-h
 c-vaszprintf
 xalloc-die
 
index 2fb58c3b97ca3ca0711643d3294b6abb62a34f49..874235ea7cdc8f33f6950e95de69a5ecc7c993ce 100644 (file)
@@ -28,7 +28,7 @@ regex
 stdbool-h
 stddef-h
 stdint-h
-stdio
+stdio-h
 stdlib
 string
 uchar
index d27113168aab9f5768fc0e589b296c9e62b273e8..8d60a5750314ebd631f6d9aea732b06b26d866e8 100644 (file)
@@ -6,7 +6,7 @@ tests/test-dfa-invalid-merge.sh
 
 Depends-on:
 binary-io
-stdio
+stdio-h
 stdlib
 string
 unistd
index fb1cb408a03b0363300e39551e8374b7671ee258..0c60a94e7f0cd4d231108f527d5afee17c6c5efe 100644 (file)
@@ -6,7 +6,7 @@ lib/dprintf.c
 m4/dprintf.m4
 
 Depends-on:
-stdio
+stdio-h
 vdzprintf       [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1]
 intprops        [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1]
 errno-h         [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1]
index d1908574f3278d641e5ed6ce9c5e8b7b43a958bc..862915078e304c1cf57a08fe551be4d0ed410de6 100644 (file)
@@ -6,7 +6,7 @@ Files:
 lib/dzprintf.c
 
 Depends-on:
-stdio
+stdio-h
 vasnprintf
 intprops
 free-posix
index 86ff70048327ff2f2b82a0d815e78e4fba041bbc..e3b8a654498ca15272a7d14a1db22dbe77e73019 100644 (file)
@@ -8,7 +8,7 @@ m4/error.m4
 Depends-on:
 error-h
 stddef-h
-stdio
+stdio-h
 getprogname     [test $COMPILE_ERROR_C = 1]
 gettext-h       [test $COMPILE_ERROR_C = 1]
 gnulib-i18n     [test $COMPILE_ERROR_C = 1]
index 0ef34bdfd9cc73872b960bfd9d2d472e74025ea8..6de425d8962c407052c937b83899fd37bbd022b5 100644 (file)
@@ -6,7 +6,7 @@ lib/fclose.c
 m4/fclose.m4
 
 Depends-on:
-stdio
+stdio-h
 close           [test $REPLACE_FCLOSE = 1]
 fflush          [test $REPLACE_FCLOSE = 1]
 freading        [test $REPLACE_FCLOSE = 1]
index c3af75a013f16252f7c4cb1c5fc86342316f0b8d..ad5898a25eaf276199eb352cca4d10ec279e801c 100644 (file)
@@ -6,7 +6,7 @@ lib/fdopen.c
 m4/fdopen.m4
 
 Depends-on:
-stdio
+stdio-h
 msvc-inval      [test $REPLACE_FDOPEN = 1]
 
 configure.ac:
index c12ab70138bf6c86523cf1ae0d342b10f9bbf75e..0f76f0d6699722b9015bc21e2ae331fac83e0a2c 100644 (file)
@@ -7,7 +7,7 @@ lib/stdio-impl.h
 m4/fflush.m4
 
 Depends-on:
-stdio
+stdio-h
 fpurge                    [test $REPLACE_FFLUSH = 1]
 ftello                    [test $REPLACE_FFLUSH = 1]
 freading                  [test $REPLACE_FFLUSH = 1]
index d5bdef57334d5e8698d84b5e3ee5c1e2afeb5ad6..6bfb4c08c524f516ff3b6c6019edfc1a0ee4e1b2 100644 (file)
@@ -8,7 +8,7 @@ m4/fclose.m4
 m4/fflush.m4
 
 Depends-on:
-stdio
+stdio-h
 largefile
 fcntl-h         [test $REPLACE_FOPEN = 1]
 stdbool-h       [test $REPLACE_FOPEN = 1]
index ce34fcbb723c60b48d21bf3184a48ae309b0fb63..703ce7519ad40286911de80f3b806acba0045902 100644 (file)
@@ -14,7 +14,7 @@ m4/printf.m4
 m4/math_h.m4
 
 Depends-on:
-stdio
+stdio-h
 nocrash
 printf-safe
 errno-h
index 12c289794e666377b70520c9a3e3d76582f8d258..2ebd38377fcef406019d3c4d794e11a903dfc992 100644 (file)
@@ -7,7 +7,7 @@ lib/fprintftime.c
 lib/strftime.c
 
 Depends-on:
-stdio
+stdio-h
 nstrftime
 time_rz
 
index 4834e41916bd1595b48809bb54d4cdc6bb0306ea..c2abb16a73463849b55f955d997dc019b125085e 100644 (file)
@@ -7,7 +7,7 @@ lib/stdio-impl.h
 m4/fpurge.m4
 
 Depends-on:
-stdio
+stdio-h
 
 configure.ac:
 gl_FUNC_FPURGE
index c7bcdc04e62bde0e272bc68f47fb0d205b4a1385..6bf857bb9c228e684f28a21cd882683469edb8dc 100644 (file)
@@ -8,7 +8,7 @@ m4/freopen.m4
 Depends-on:
 fcntl-h        [test $REPLACE_FREOPEN = 1]
 open           [test $REPLACE_FREOPEN = 1]
-stdio
+stdio-h
 largefile
 
 configure.ac:
index 64b9a9a56b85b0159791dde1f7e7bd4de7f7786d..8b2af1645d5e2c48673c256f6107d1a072cbcb2d 100644 (file)
@@ -6,7 +6,7 @@ lib/fseek.c
 m4/fseek.m4
 
 Depends-on:
-stdio
+stdio-h
 fseeko          [test $REPLACE_FSEEK = 1]
 
 configure.ac:
index d47763f24e82eceaba59a45df1f907307840ba26..58f50d6abe6de2ee17eb529301f2a26c8688d375 100644 (file)
@@ -10,7 +10,7 @@ Depends-on:
 extensions
 largefile
 lseek
-stdio
+stdio-h
 sys_types
 # Just to guarantee consistency between fseek() and fseeko().
 fseek
index cfd1ad1596dfb4f26ea9c87f414c924207438ea0..32ab47e13b9713fa49516e8c266e2dc2b3a30d2a 100644 (file)
@@ -6,7 +6,7 @@ lib/ftell.c
 m4/ftell.m4
 
 Depends-on:
-stdio
+stdio-h
 errno-h
 ftello          [test $REPLACE_FTELL = 1]
 
index f85c4e8b1d7de77eb6fe950b75b57369310f18f9..24f765d9a2dd4d439d039322ce978a324d0d0701 100644 (file)
@@ -9,7 +9,7 @@ m4/ftello.m4
 m4/ungetc.m4
 
 Depends-on:
-stdio
+stdio-h
 extensions
 largefile
 sys_types
index a6e2f2d0650d2be6ef8364c703f35fc1dcb2225c..41b13f9930151e8ee87cc374afcd483baab4739c 100644 (file)
@@ -6,7 +6,7 @@ Files:
 lib/fzprintf.c
 
 Depends-on:
-stdio
+stdio-h
 vasnprintf
 intprops
 free-posix
index d773c2d94bb8a85bcd42b2f576db395310d76134..4d61074c2bd48c31b1e71cccb0a9350048cd9e87 100644 (file)
@@ -6,7 +6,7 @@ lib/getdelim.c
 m4/getdelim.m4
 
 Depends-on:
-stdio
+stdio-h
 extensions
 limits-h        [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1]
 stdint-h        [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1]
index cde088e62e73594c6c9a1d50c6ba630034934e4a..0bcc23a479d3cd99c75b2853212f26a22e5476f0 100644 (file)
@@ -6,7 +6,7 @@ lib/getline.c
 m4/getline.m4
 
 Depends-on:
-stdio
+stdio-h
 extensions
 getdelim        [test $REPLACE_GETLINE = 1]
 
index 855d77193668e3e3d7797bbef116f1d0e291285e..e9a7c610e3dc5820fae37034ef48a0401ac7fe78 100644 (file)
@@ -3,7 +3,7 @@ tests/test-ignore-value.c
 
 Depends-on:
 attribute
-stdio
+stdio-h
 
 configure.ac:
 
index a1b6c721858488fc87957543b0d3e7d7d5c9c606..8f757224be2bcf2f7e9562970cd294671c45441f 100644 (file)
@@ -9,7 +9,7 @@ Depends-on:
 gen-header
 libtextstyle
 stdbool-h
-stdio
+stdio-h
 unistd
 fsync
 vasprintf-posix
index 4e5c78d24747ea0c6a0e0e3ac19fd11a17a599d4..933c6f4a7e47c84b201de71c73e9f8b893e3f178 100644 (file)
@@ -14,7 +14,7 @@ fcntl-h
 ioctl
 msvc-nothrow
 stdbool-h
-stdio
+stdio-h
 sys_socket
 unistd
 
index 324dde6889a23fa834023d8a2b3621f6f3f486ef..9802bf8bf3bb6114727a3889939b76b9a2d0fbce 100644 (file)
@@ -7,7 +7,7 @@ lib/obstack_printf.c
 
 Depends-on:
 obstack
-stdio
+stdio-h
 vasnprintf
 extensions
 
index 12b44997a31a3f5900115dde85ad0375b1540740..39402c2a8cb69df4b90b1e84dd8f937abc2b48b2 100644 (file)
@@ -16,7 +16,7 @@ lib/obstack_printf.c
 
 Depends-on:
 obstack
-stdio
+stdio-h
 vasnprintf-posix
 extensions
 
index d78196f4d509422fb0d283337334d8f08b17be66..18ec3a17ed82fb9ed6269a03f2e1f885db5a4d73 100644 (file)
@@ -7,7 +7,7 @@ lib/obstack_printf.c
 
 Depends-on:
 obstack
-stdio
+stdio-h
 vasnprintf
 
 configure.ac:
index e5ec82f7677ab2163b4553c25dc3f6598608070b..ff9099ab426603a2369c906bcec7a843602d4ee9 100644 (file)
@@ -6,7 +6,7 @@ lib/pclose.c
 m4/pclose.m4
 
 Depends-on:
-stdio
+stdio-h
 
 configure.ac:
 gl_FUNC_PCLOSE
index 4fca4318a5071e134992640ce5cefc2bd486dc4c..c67c317c056e65f1cd1dab8979ef3618bd6c835d 100644 (file)
@@ -6,7 +6,7 @@ lib/perror.c
 m4/perror.m4
 
 Depends-on:
-stdio
+stdio-h
 errno-h          [test $REPLACE_PERROR = 1]
 strerror-override [test $REPLACE_PERROR = 1]
 strerror_r-posix [test $REPLACE_PERROR = 1]
index 6dbb4f3ed6a979729281cd34618143504d330ca6..494081105e3f2d6dca5a11672d11b3f7dca1c617 100644 (file)
@@ -6,7 +6,7 @@ lib/popen.c
 m4/popen.m4
 
 Depends-on:
-stdio
+stdio-h
 open            [test $HAVE_POPEN = 0 || test $REPLACE_POPEN = 1]
 
 configure.ac:
index 48791e56791cb2d57512ee7cfde903cce155816a..1c8565bf848533eba1eea8f894da868ecb9df59a 100644 (file)
@@ -28,7 +28,7 @@ sched-h
 search-h
 signal-h
 spawn-h
-stdio
+stdio-h
 stdlib
 string
 strings
index 8ad5c7581019b59728f7d3cb9c7baaeafd555317..40cd6fd6eed77b31270ff7a264629b91a6d01ad3 100644 (file)
@@ -14,7 +14,7 @@ m4/printf.m4
 m4/asm-underscore.m4
 
 Depends-on:
-stdio
+stdio-h
 printf-safe
 vfprintf-posix  [test $REPLACE_PRINTF = 1]
 
index 7961af8b04536eaa2fef43b3efbbd77db35ba78e..cfbdeb24bdc3a28db98714922dcefc750d955ac1 100644 (file)
@@ -6,7 +6,7 @@ lib/remove.c
 m4/remove.m4
 
 Depends-on:
-stdio
+stdio-h
 rmdir           [test $REPLACE_REMOVE = 1]
 unlink          [test $REPLACE_REMOVE = 1]
 
index 44b14179efd44949db374852bf3f902886f68176..f9fef59c5583f24d18d954b8b807a6c8f2b744c6 100644 (file)
@@ -6,7 +6,7 @@ lib/rename.c
 m4/rename.m4
 
 Depends-on:
-stdio
+stdio-h
 canonicalize-lgpl [test $REPLACE_RENAME = 1]
 chdir             [test $REPLACE_RENAME = 1]
 dirname-lgpl      [test $REPLACE_RENAME = 1]
index 0568a3fefea930f8ac3d08274d44363eb07ecd01..49c2bd98820a57e848c507f19cb367360ba3f4d3 100644 (file)
@@ -8,7 +8,7 @@ lib/renameatu.h
 m4/renameat.m4
 
 Depends-on:
-stdio
+stdio-h
 extensions
 fcntl-h
 filenamecat-lgpl [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
index 2cb22d5c58014e9ab04d9d2077c3fb2f04a81f80..2e67f072185c12ae48c4d66447835de8ab0e84a9 100644 (file)
@@ -16,7 +16,7 @@ msvc-nothrow
 raise
 signal-h
 sigprocmask
-stdio
+stdio-h
 unistd
 
 configure.ac:
index 72c36bc72c5b46d4cf6636eef866db2530ad7c3c..3925439950c840d293df15ee98f22d4320ac211a 100644 (file)
@@ -7,7 +7,7 @@ m4/snprintf.m4
 m4/printf.m4
 
 Depends-on:
-stdio
+stdio-h
 errno-h         [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
 stdint-h        [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
 vsnzprintf      [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
index 51fb6b4bae8b01a097fe3a1feacb1ea240277b0d..d2ad26f5c25899011c5a9f05fe75fcf922156c65 100644 (file)
@@ -6,7 +6,7 @@ Files:
 lib/snzprintf.c
 
 Depends-on:
-stdio
+stdio-h
 vasnprintf
 errno-h
 stdint-h
index e6d1b58e173dc408a70301f93e9bcab4e882c420..032722c849155a503c1bac2d9f8ab3652338c7e8 100644 (file)
@@ -14,7 +14,7 @@ m4/printf.m4
 m4/math_h.m4
 
 Depends-on:
-stdio
+stdio-h
 nocrash
 printf-safe
 multiarch
index dfae001260a847dd68d2d77f1219564b2f344f1d..979aa09d56f9b4c1458c327f20cad1596aac92f0 100644 (file)
 Description:
 A GNU-like <stdio.h>.
 
+Status:
+deprecated
+
+Notice:
+This module is deprecated. Use the module 'stdio-h' instead.
+
 Files:
-lib/stdio.in.h
-lib/stdio-read.c
-lib/stdio-write.c
-m4/stdio_h.m4
-m4/musl.m4
 
 Depends-on:
-extensions
-gen-header
-include_next
-snippet/arg-nonnull
-snippet/c++defs
-snippet/warn-on-use
-ssize_t
-stddef-h
-sys_types
-
-configure.ac-early:
-gl_STDIO_H_EARLY
+stdio-h
 
 configure.ac:
-gl_STDIO_H
-gl_STDIO_H_REQUIRE_DEFAULTS
-AC_PROG_MKDIR_P
-gl_CONDITIONAL([GL_COND_OBJ_STDIO_READ], [test $REPLACE_STDIO_READ_FUNCS = 1])
-gl_CONDITIONAL([GL_COND_OBJ_STDIO_WRITE], [test $REPLACE_STDIO_WRITE_FUNCS = 1])
-
-dnl No need to create extra modules for these functions. Everyone who uses
-dnl <stdio.h> likely needs them.
-gl_STDIO_MODULE_INDICATOR([fscanf])
-gl_MODULE_INDICATOR([fscanf])
-gl_STDIO_MODULE_INDICATOR([scanf])
-gl_MODULE_INDICATOR([scanf])
-gl_STDIO_MODULE_INDICATOR([fgetc])
-gl_STDIO_MODULE_INDICATOR([getc])
-gl_STDIO_MODULE_INDICATOR([getchar])
-gl_STDIO_MODULE_INDICATOR([fgets])
-gl_STDIO_MODULE_INDICATOR([fread])
-
-dnl No need to create extra modules for these functions. Everyone who uses
-dnl <stdio.h> likely needs them.
-gl_STDIO_MODULE_INDICATOR([fprintf])
-gl_STDIO_MODULE_INDICATOR([printf])
-gl_STDIO_MODULE_INDICATOR([vfprintf])
-gl_STDIO_MODULE_INDICATOR([vprintf])
-gl_STDIO_MODULE_INDICATOR([fputc])
-gl_STDIO_MODULE_INDICATOR([putc])
-gl_STDIO_MODULE_INDICATOR([putchar])
-gl_STDIO_MODULE_INDICATOR([fputs])
-gl_STDIO_MODULE_INDICATOR([puts])
-gl_STDIO_MODULE_INDICATOR([fwrite])
 
 Makefile.am:
-BUILT_SOURCES += stdio.h
-
-# We need the following in order to create <stdio.h> when the system
-# doesn't have one that works with the given compiler.
-stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
-@NMD@  $(AM_V_GEN)$(MKDIR_P) '%reldir%'
-       $(gl_V_at)$(SED_HEADER_STDOUT) \
-             -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-             -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-             -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
-             -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
-             -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
-             -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
-             -e 's/@''GNULIB_DZPRINTF''@/$(GNULIB_DZPRINTF)/g' \
-             -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
-             -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
-             -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
-             -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
-             -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
-             -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
-             -e 's/@''GNULIB_FOPEN_GNU''@/$(GNULIB_FOPEN_GNU)/g' \
-             -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
-             -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
-             -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
-             -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
-             -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
-             -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
-             -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
-             -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
-             -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
-             -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
-             -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
-             -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
-             -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
-             -e 's/@''GNULIB_FZPRINTF''@/$(GNULIB_FZPRINTF)/g' \
-             -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
-             -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
-             -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
-             -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
-             -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
-             -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
-             -e 's/@''GNULIB_OBSTACK_ZPRINTF''@/$(GNULIB_OBSTACK_ZPRINTF)/g' \
-             -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
-             -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
-             -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
-             -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
-             -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
-             -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
-             -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
-             -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
-             -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
-             -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
-             -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
-             -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
-             -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
-             -e 's/@''GNULIB_SNZPRINTF''@/$(GNULIB_SNZPRINTF)/g' \
-             -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
-             -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
-             -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
-             -e 's/@''GNULIB_SZPRINTF''@/$(GNULIB_SZPRINTF)/g' \
-             -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
-             -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
-             -e 's/@''GNULIB_VASZPRINTF''@/$(GNULIB_VASZPRINTF)/g' \
-             -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
-             -e 's/@''GNULIB_VDZPRINTF''@/$(GNULIB_VDZPRINTF)/g' \
-             -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
-             -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
-             -e 's/@''GNULIB_VFZPRINTF''@/$(GNULIB_VFZPRINTF)/g' \
-             -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
-             -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
-             -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
-             -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
-             -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
-             -e 's/@''GNULIB_VSNZPRINTF''@/$(GNULIB_VSNZPRINTF)/g' \
-             -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
-             -e 's/@''GNULIB_VSZPRINTF''@/$(GNULIB_VSZPRINTF)/g' \
-             -e 's/@''GNULIB_VZPRINTF''@/$(GNULIB_VZPRINTF)/g' \
-             -e 's/@''GNULIB_ZPRINTF''@/$(GNULIB_ZPRINTF)/g' \
-             -e 's/@''GNULIB_MDA_FCLOSEALL''@/$(GNULIB_MDA_FCLOSEALL)/g' \
-             -e 's/@''GNULIB_MDA_FDOPEN''@/$(GNULIB_MDA_FDOPEN)/g' \
-             -e 's/@''GNULIB_MDA_FILENO''@/$(GNULIB_MDA_FILENO)/g' \
-             -e 's/@''GNULIB_MDA_GETW''@/$(GNULIB_MDA_GETW)/g' \
-             -e 's/@''GNULIB_MDA_PUTW''@/$(GNULIB_MDA_PUTW)/g' \
-             -e 's/@''GNULIB_MDA_TEMPNAM''@/$(GNULIB_MDA_TEMPNAM)/g' \
-             < $(srcdir)/stdio.in.h > $@-t1
-       $(AM_V_at)sed \
-             -e 's|@''HAVE_DECL_FCLOSEALL''@|$(HAVE_DECL_FCLOSEALL)|g' \
-             -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
-             -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
-             -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
-             -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
-             -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
-             -e 's|@''HAVE_DECL_GETW''@|$(HAVE_DECL_GETW)|g' \
-             -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
-             -e 's|@''HAVE_DECL_PUTW''@|$(HAVE_DECL_PUTW)|g' \
-             -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
-             -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
-             -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
-             -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
-             -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
-             -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
-             -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
-             -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
-             -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
-             -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
-             < $@-t1 > $@-t2
-       $(AM_V_at)sed \
-             -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
-             -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
-             -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
-             -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
-             -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
-             -e 's|@''REPLACE_FOPEN_FOR_FOPEN_GNU''@|$(REPLACE_FOPEN_FOR_FOPEN_GNU)|g' \
-             -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
-             -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
-             -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
-             -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
-             -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
-             -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
-             -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
-             -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
-             -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
-             -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
-             -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
-             -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
-             -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
-             -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
-             -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
-             -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
-             -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
-             -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
-             -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
-             -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
-             -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
-             -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
-             -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
-             -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
-             -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
-             -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
-             -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
-             -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
-             -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
-             -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
-             -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
-             < $@-t2 > $@-t3
-       $(AM_V_at)rm -f $@-t1 $@-t2
-       $(AM_V_at)mv $@-t3 $@
-MOSTLYCLEANFILES += stdio.h stdio.h-t1 stdio.h-t2 stdio.h-t3
-
-if GL_COND_OBJ_STDIO_READ
-lib_SOURCES += stdio-read.c
-endif
-if GL_COND_OBJ_STDIO_WRITE
-lib_SOURCES += stdio-write.c
-endif
 
 Include:
 <stdio.h>
@@ -218,4 +23,3 @@ License:
 LGPLv2+
 
 Maintainer:
-all
diff --git a/modules/stdio-c++-tests b/modules/stdio-c++-tests
deleted file mode 100644 (file)
index f13f22b..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-Files:
-tests/test-stdio-c++.cc
-tests/test-stdio-c++2.cc
-tests/signature.h
-
-Status:
-c++-test
-
-Depends-on:
-ansi-c++-opt
-
-configure.ac:
-
-Makefile.am:
-if ANSICXX
-TESTS += test-stdio-c++
-check_PROGRAMS += test-stdio-c++
-test_stdio_c___SOURCES = test-stdio-c++.cc test-stdio-c++2.cc
-test_stdio_c___LDADD = $(LDADD) $(LIBINTL) $(NANOSLEEP_LIB) $(EUIDACCESS_LIBGEN) $(GETRANDOM_LIB)
-endif
diff --git a/modules/stdio-h b/modules/stdio-h
new file mode 100644 (file)
index 0000000..dfae001
--- /dev/null
@@ -0,0 +1,221 @@
+Description:
+A GNU-like <stdio.h>.
+
+Files:
+lib/stdio.in.h
+lib/stdio-read.c
+lib/stdio-write.c
+m4/stdio_h.m4
+m4/musl.m4
+
+Depends-on:
+extensions
+gen-header
+include_next
+snippet/arg-nonnull
+snippet/c++defs
+snippet/warn-on-use
+ssize_t
+stddef-h
+sys_types
+
+configure.ac-early:
+gl_STDIO_H_EARLY
+
+configure.ac:
+gl_STDIO_H
+gl_STDIO_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
+gl_CONDITIONAL([GL_COND_OBJ_STDIO_READ], [test $REPLACE_STDIO_READ_FUNCS = 1])
+gl_CONDITIONAL([GL_COND_OBJ_STDIO_WRITE], [test $REPLACE_STDIO_WRITE_FUNCS = 1])
+
+dnl No need to create extra modules for these functions. Everyone who uses
+dnl <stdio.h> likely needs them.
+gl_STDIO_MODULE_INDICATOR([fscanf])
+gl_MODULE_INDICATOR([fscanf])
+gl_STDIO_MODULE_INDICATOR([scanf])
+gl_MODULE_INDICATOR([scanf])
+gl_STDIO_MODULE_INDICATOR([fgetc])
+gl_STDIO_MODULE_INDICATOR([getc])
+gl_STDIO_MODULE_INDICATOR([getchar])
+gl_STDIO_MODULE_INDICATOR([fgets])
+gl_STDIO_MODULE_INDICATOR([fread])
+
+dnl No need to create extra modules for these functions. Everyone who uses
+dnl <stdio.h> likely needs them.
+gl_STDIO_MODULE_INDICATOR([fprintf])
+gl_STDIO_MODULE_INDICATOR([printf])
+gl_STDIO_MODULE_INDICATOR([vfprintf])
+gl_STDIO_MODULE_INDICATOR([vprintf])
+gl_STDIO_MODULE_INDICATOR([fputc])
+gl_STDIO_MODULE_INDICATOR([putc])
+gl_STDIO_MODULE_INDICATOR([putchar])
+gl_STDIO_MODULE_INDICATOR([fputs])
+gl_STDIO_MODULE_INDICATOR([puts])
+gl_STDIO_MODULE_INDICATOR([fwrite])
+
+Makefile.am:
+BUILT_SOURCES += stdio.h
+
+# We need the following in order to create <stdio.h> when the system
+# doesn't have one that works with the given compiler.
+stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
+@NMD@  $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+       $(gl_V_at)$(SED_HEADER_STDOUT) \
+             -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
+             -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+             -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
+             -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
+             -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
+             -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
+             -e 's/@''GNULIB_DZPRINTF''@/$(GNULIB_DZPRINTF)/g' \
+             -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
+             -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
+             -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
+             -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
+             -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
+             -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
+             -e 's/@''GNULIB_FOPEN_GNU''@/$(GNULIB_FOPEN_GNU)/g' \
+             -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
+             -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
+             -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
+             -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
+             -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
+             -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
+             -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
+             -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
+             -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
+             -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
+             -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
+             -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
+             -e 's/@''GNULIB_FZPRINTF''@/$(GNULIB_FZPRINTF)/g' \
+             -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
+             -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
+             -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
+             -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
+             -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
+             -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_OBSTACK_ZPRINTF''@/$(GNULIB_OBSTACK_ZPRINTF)/g' \
+             -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
+             -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
+             -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
+             -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
+             -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
+             -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
+             -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
+             -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
+             -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
+             -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
+             -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
+             -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
+             -e 's/@''GNULIB_SNZPRINTF''@/$(GNULIB_SNZPRINTF)/g' \
+             -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
+             -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
+             -e 's/@''GNULIB_SZPRINTF''@/$(GNULIB_SZPRINTF)/g' \
+             -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
+             -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
+             -e 's/@''GNULIB_VASZPRINTF''@/$(GNULIB_VASZPRINTF)/g' \
+             -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
+             -e 's/@''GNULIB_VDZPRINTF''@/$(GNULIB_VDZPRINTF)/g' \
+             -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
+             -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_VFZPRINTF''@/$(GNULIB_VFZPRINTF)/g' \
+             -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
+             -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
+             -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
+             -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
+             -e 's/@''GNULIB_VSNZPRINTF''@/$(GNULIB_VSNZPRINTF)/g' \
+             -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_VSZPRINTF''@/$(GNULIB_VSZPRINTF)/g' \
+             -e 's/@''GNULIB_VZPRINTF''@/$(GNULIB_VZPRINTF)/g' \
+             -e 's/@''GNULIB_ZPRINTF''@/$(GNULIB_ZPRINTF)/g' \
+             -e 's/@''GNULIB_MDA_FCLOSEALL''@/$(GNULIB_MDA_FCLOSEALL)/g' \
+             -e 's/@''GNULIB_MDA_FDOPEN''@/$(GNULIB_MDA_FDOPEN)/g' \
+             -e 's/@''GNULIB_MDA_FILENO''@/$(GNULIB_MDA_FILENO)/g' \
+             -e 's/@''GNULIB_MDA_GETW''@/$(GNULIB_MDA_GETW)/g' \
+             -e 's/@''GNULIB_MDA_PUTW''@/$(GNULIB_MDA_PUTW)/g' \
+             -e 's/@''GNULIB_MDA_TEMPNAM''@/$(GNULIB_MDA_TEMPNAM)/g' \
+             < $(srcdir)/stdio.in.h > $@-t1
+       $(AM_V_at)sed \
+             -e 's|@''HAVE_DECL_FCLOSEALL''@|$(HAVE_DECL_FCLOSEALL)|g' \
+             -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
+             -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
+             -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
+             -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
+             -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
+             -e 's|@''HAVE_DECL_GETW''@|$(HAVE_DECL_GETW)|g' \
+             -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
+             -e 's|@''HAVE_DECL_PUTW''@|$(HAVE_DECL_PUTW)|g' \
+             -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
+             -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
+             -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
+             -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
+             -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
+             -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
+             -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
+             -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
+             -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
+             -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
+             < $@-t1 > $@-t2
+       $(AM_V_at)sed \
+             -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
+             -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
+             -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
+             -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
+             -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
+             -e 's|@''REPLACE_FOPEN_FOR_FOPEN_GNU''@|$(REPLACE_FOPEN_FOR_FOPEN_GNU)|g' \
+             -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
+             -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
+             -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
+             -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
+             -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
+             -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
+             -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
+             -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
+             -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
+             -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
+             -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
+             -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
+             -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
+             -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
+             -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
+             -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
+             -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
+             -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
+             -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
+             -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
+             -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
+             -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
+             -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
+             -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
+             -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
+             -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
+             -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
+             -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
+             -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
+             -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
+             -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
+             < $@-t2 > $@-t3
+       $(AM_V_at)rm -f $@-t1 $@-t2
+       $(AM_V_at)mv $@-t3 $@
+MOSTLYCLEANFILES += stdio.h stdio.h-t1 stdio.h-t2 stdio.h-t3
+
+if GL_COND_OBJ_STDIO_READ
+lib_SOURCES += stdio-read.c
+endif
+if GL_COND_OBJ_STDIO_WRITE
+lib_SOURCES += stdio-write.c
+endif
+
+Include:
+<stdio.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+all
diff --git a/modules/stdio-h-c++-tests b/modules/stdio-h-c++-tests
new file mode 100644 (file)
index 0000000..47df024
--- /dev/null
@@ -0,0 +1,20 @@
+Files:
+tests/test-stdio-h-c++.cc
+tests/test-stdio-h-c++2.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-stdio-h-c++
+check_PROGRAMS += test-stdio-h-c++
+test_stdio_h_c___SOURCES = test-stdio-h-c++.cc test-stdio-h-c++2.cc
+test_stdio_h_c___LDADD = $(LDADD) $(LIBINTL) $(NANOSLEEP_LIB) $(EUIDACCESS_LIBGEN) $(GETRANDOM_LIB)
+endif
similarity index 67%
rename from modules/stdio-tests
rename to modules/stdio-h-tests
index 0e6d85593f105db61e18881b0e1588f7afa1ff6e..33419f47b27fea6d514e5350e000e5b1bae7260a 100644 (file)
@@ -1,5 +1,5 @@
 Files:
-tests/test-stdio.c
+tests/test-stdio-h.c
 tests/macros.h
 m4/exponentd.m4
 
@@ -7,7 +7,7 @@ Depends-on:
 assert-h
 signed-nan
 signed-snan
-stdio-c++-tests
+stdio-h-c++-tests
 fgetc-tests
 fputc-tests
 fread-tests
@@ -17,5 +17,5 @@ configure.ac:
 gl_DOUBLE_EXPONENT_LOCATION
 
 Makefile.am:
-TESTS += test-stdio
-check_PROGRAMS += test-stdio
+TESTS += test-stdio-h
+check_PROGRAMS += test-stdio-h
index a578fe7bc8cb189d2f15de442579a943a5935978..2b53c11ba28821c11b9bb98d5204f8227b6ce935 100644 (file)
@@ -6,7 +6,7 @@ Files:
 lib/szprintf.c
 
 Depends-on:
-stdio
+stdio-h
 vasnprintf
 errno-h
 stdint-h
index 426d9fb6cc9db0b276f0f63d63328a04da204e42..aa4fc94ded96f07ec5acebc37e4e0068e3a77707 100644 (file)
@@ -6,7 +6,7 @@ lib/tmpfile.c
 m4/tmpfile.m4
 
 Depends-on:
-stdio
+stdio-h
 largefile
 pathmax         [test $REPLACE_TMPFILE = 1]
 stdbool-h       [test $REPLACE_TMPFILE = 1]
index ccf1f5f88d8014bff7ffeac72a1b2b86ec542aa9..ada2e48b06127c3c997732e19e70d7ac93344f6e 100644 (file)
@@ -15,7 +15,7 @@ gettext-h
 gnulib-i18n
 localcharset
 error
-stdio
+stdio-h
 
 configure.ac:
 gl_UNICODEIO
index 7062704afe5a11b4e68bfea433215cbb131d3557..98ac72ada0069356865f26c22aa1dc1c2fa1ec86 100644 (file)
@@ -20,7 +20,7 @@ m4/math_h.m4
 m4/exponentd.m4
 
 Depends-on:
-stdio
+stdio-h
 alloca-opt
 attribute
 float-h
index 73b9afc8263244fa42a19581d696dbc0eed91cf3..0bf89666c25fbcad3911bc5ae77c66d43a261346 100644 (file)
@@ -24,7 +24,7 @@ m4/exponentd.m4
 m4/musl.m4
 
 Depends-on:
-stdio
+stdio-h
 alloca-opt
 attribute
 float-h
index 6c7f04f6ac9cb5001106ccb62ff479666f8e94d3..84b59107a8bc0c9d3a0a42a8fd85bc941810d679 100644 (file)
@@ -7,7 +7,7 @@ lib/asprintf.c
 m4/vasprintf.m4
 
 Depends-on:
-stdio
+stdio-h
 extensions
 vasnprintf      [test $HAVE_VASPRINTF = 0 || test $REPLACE_VASPRINTF = 1]
 errno-h         [test $HAVE_VASPRINTF = 0 || test $REPLACE_VASPRINTF = 1]
index 2c172e039e2675a2a6b5b08d20bab9cf428e0d60..5b30daf5eeeeb087838754a3b31eee7a3f25623c 100644 (file)
@@ -6,7 +6,7 @@ lib/vaszprintf.c
 lib/aszprintf.c
 
 Depends-on:
-stdio
+stdio-h
 vasnprintf
 errno-h
 stdint-h
index 51539cdbc1a24c51f14033909133bafebd860eb4..b400d054826cc0f984c9022bcbcf6b7e6c14e8b9 100644 (file)
@@ -6,7 +6,7 @@ lib/vdprintf.c
 m4/vdprintf.m4
 
 Depends-on:
-stdio
+stdio-h
 vdzprintf       [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1]
 intprops        [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1]
 errno-h         [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1]
index 852c70b794df8e497bb4411fb55f704044a310a7..dd24cab2d434f34ab7193e381e0a5afe5c995365 100644 (file)
@@ -6,7 +6,7 @@ Files:
 lib/vdzprintf.c
 
 Depends-on:
-stdio
+stdio-h
 vasnprintf
 intprops
 free-posix
index d9283dee84555d5687e646efba3bdab5745c2ed1..5e7fc66798285a96344381944e3a7077f951df7f 100644 (file)
@@ -14,7 +14,7 @@ m4/printf.m4
 m4/math_h.m4
 
 Depends-on:
-stdio
+stdio-h
 nocrash
 printf-safe
 multiarch
index 24ef6011c3a7b1d1d60327c4619acc3a70634434..db60d75f72cb3257d912047331ab5370316b5948 100644 (file)
@@ -4,7 +4,7 @@ vfscanf() function: parse formatted text from a stream
 Files:
 
 Depends-on:
-stdio
+stdio-h
 
 configure.ac:
 gl_STDIO_MODULE_INDICATOR([vfscanf])
index dac58b64ef94fb3215a748595a2d824127c327c2..d432179f072c67556f7f17da461c21c16306f711 100644 (file)
@@ -6,7 +6,7 @@ Files:
 lib/vfzprintf.c
 
 Depends-on:
-stdio
+stdio-h
 vasnprintf
 intprops
 free-posix
index afa2de235533bc0ab12b92628efc1e696535b5af..08ba81881c45cd63fba2648a7f0655832f0e3b6a 100644 (file)
@@ -13,7 +13,7 @@ m4/vprintf-posix.m4
 m4/printf.m4
 
 Depends-on:
-stdio
+stdio-h
 printf-safe
 vfprintf-posix  [test $REPLACE_VPRINTF = 1]
 
index 37392fed2f2d2c09f449ec558f06e1d68e50d27d..9a4daec12b4bf11afa84db37d21eb338b5dd0731 100644 (file)
@@ -4,7 +4,7 @@ vscanf() function: parse formatted text from standard input
 Files:
 
 Depends-on:
-stdio
+stdio-h
 
 configure.ac:
 gl_STDIO_MODULE_INDICATOR([vscanf])
index b0d5a5954ad8107e0590a786368753bdedc1cd37..cd8fa7d3c3fce602d19f5056c05049323fe6c883 100644 (file)
@@ -8,7 +8,7 @@ m4/vsnprintf.m4
 m4/printf.m4
 
 Depends-on:
-stdio
+stdio-h
 errno-h         [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
 stdint-h        [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
 vsnzprintf      [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
index 15fcf4bcaa1b0a99b01d48cba313f1c8eba5a215..63875da5740f5a185d0cc95c41f49854fde01125 100644 (file)
@@ -6,7 +6,7 @@ Files:
 lib/vsnzprintf.c
 
 Depends-on:
-stdio
+stdio-h
 vasnprintf
 errno-h
 stdint-h
index 06af25f5a2e87c670f70cadcc60183573be8acd9..1ba5fb626328b42066479314b7e8402e0addb77a 100644 (file)
@@ -14,7 +14,7 @@ m4/printf.m4
 m4/math_h.m4
 
 Depends-on:
-stdio
+stdio-h
 nocrash
 printf-safe
 multiarch
index b3064695b87dcabf67bb08d3cc1f5de5ca8471dd..da433264e396107c22a2d5a93bf69083c0e1718b 100644 (file)
@@ -6,7 +6,7 @@ Files:
 lib/vszprintf.c
 
 Depends-on:
-stdio
+stdio-h
 vasnprintf
 errno-h
 stdint-h
index be88f208c28c034bc1b1d911d277e244cae32e36..369bd2ee6631eb3b10595fe71faf255c2bc14724 100644 (file)
@@ -6,7 +6,7 @@ Files:
 lib/vzprintf.c
 
 Depends-on:
-stdio
+stdio-h
 vfzprintf
 
 configure.ac:
index e92080a17097cab761d341766df77a9a6387db0d..323f83883ae558b636e70adb127ee1547b829b59 100644 (file)
@@ -7,7 +7,7 @@ lib/xprintf.h
 lib/xprintf.c
 
 Depends-on:
-stdio
+stdio-h
 error
 exitfail
 gettext-h
index 4f4acaf2973248dc2f457d56cb924e20911d5c62..fbee31d1e5911088631878945d5a9c90c937c186 100644 (file)
@@ -11,7 +11,7 @@ m4/strerrorname_np.m4
 
 Depends-on:
 extensions
-stdio
+stdio-h
 vaszprintf
 xalloc
 xalloc-die
index d4acca63557ee367756f881094af63296f805d93..5df7fb7c518d3665647be9b49001f14d3aaa0311 100644 (file)
@@ -6,7 +6,7 @@ Files:
 lib/zprintf.c
 
 Depends-on:
-stdio
+stdio-h
 vfzprintf
 
 configure.ac:
similarity index 100%
rename from tests/test-stdio.c
rename to tests/test-stdio-h.c