1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-23 09:52:23 +03:00
Files
gnulib/doc/posix-functions
Eric Blake fd33cbeb2a test-perror: relax test to ignore cygwin bug
glibc was not the only platform where fprintf(fopen(,"r"))
fails to detect errors; cygwin 1.7.9 is another culprit
(although it will be fixed for 1.7.10), and I suspect that
several other platforms were failing perror2 for the same
reason.

At this point, there are so many functions affected, and
the way to avoid the bug is easy enough (don't pass bogus
streams to output-producing functions), that I'm not worried
about fixing things other than to document them.

* tests/test-perror2.c (main): Relax test on requiring detection
of stream errors, and use unbuffered stream.
* doc/posix-functions/dprintf.texi (dprintf): Document bug.
* doc/posix-functions/fprintf.texi (fprintf): Likewise.
* doc/posix-functions/fputc.texi (fputc): Likewise.
* doc/posix-functions/fputs.texi (fputs): Likewise.
* doc/posix-functions/fputws.texi (fputws): Likewise.
* doc/posix-functions/fwprintf.texi (fwprintf): Likewise.
* doc/posix-functions/fwrite.texi (fwrite): Likewise.
* doc/posix-functions/getopt.texi (getopt): Likewise.
* doc/posix-functions/perror.texi (perror): Likewise.
* doc/posix-functions/printf.texi (printf): Likewise.
* doc/posix-functions/psiginfo.texi (psiginfo): Likewise.
* doc/posix-functions/psignal.texi (psignal): Likewise.
* doc/posix-functions/putc.texi (putc): Likewise.
* doc/posix-functions/putc_unlocked.texi (putc_unlocked):
Likewise.
* doc/posix-functions/putchar.texi (putchar): Likewise.
* doc/posix-functions/putchar_unlocked.texi (putchar_unlocked):
Likewise.
* doc/posix-functions/puts.texi (puts): Likewise.
* doc/posix-functions/putwc.texi (putwc): Likewise.
* doc/posix-functions/putwchar.texi (putwchar): Likewise.
* doc/posix-functions/vdprintf.texi (vdprintf): Likewise.
* doc/posix-functions/vfprintf.texi (vfprintf): Likewise.
* doc/posix-functions/vfwprintf.texi (vfwprintf): Likewise.
* doc/posix-functions/vprintf.texi (vprintf): Likewise.
* doc/posix-functions/vwprintf.texi (vwprintf): Likewise.
* doc/posix-functions/wordexp.texi (wordexp): Likewise.
* doc/posix-functions/wprintf.texi (wprintf): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
2011-06-07 16:48:54 -06:00
..
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-11-21 21:31:19 +01:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-12-21 22:46:57 +01:00
2010-12-21 17:30:27 +01:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-11-21 21:31:19 +01:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-11-21 21:31:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 18:43:19 +01:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-11-21 21:31:19 +01:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-11-21 21:31:19 +01:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-10-08 09:02:50 -06:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2011-02-04 21:59:36 -07:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-21 22:46:56 +01:00
2010-12-21 17:30:27 +01:00
2010-12-21 22:49:52 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 21:31:19 +01:00
2011-03-29 14:54:31 +02:00
2011-05-25 15:19:16 -06:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 18:43:19 +01:00
2010-12-04 11:38:40 +01:00
2011-04-09 14:45:22 -07:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-20 03:28:45 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2011-02-09 20:54:31 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2011-02-13 18:23:20 +01:00
2010-12-04 11:38:40 +01:00
2011-02-22 14:32:18 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2011-04-28 00:05:08 +02:00
2010-11-21 18:43:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2011-06-04 10:59:53 +02:00
2010-11-21 21:31:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-12-10 15:42:08 -07:00
2010-11-21 21:31:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 21:31:19 +01:00
2011-01-01 01:50:01 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 21:31:19 +01:00
2010-12-21 22:49:36 +01:00
2010-12-21 22:46:47 +01:00
2010-12-21 22:50:17 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 18:43:19 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 21:31:19 +01:00
2010-10-02 11:44:20 +02:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 21:31:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-11-21 18:43:19 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2011-02-09 20:54:32 +01:00
2010-12-04 11:38:40 +01:00
2010-12-04 11:38:40 +01:00
2010-12-21 22:48:06 +01:00
2010-12-21 17:30:27 +01:00
2010-11-21 21:31:19 +01:00
2010-12-04 11:38:40 +01:00
2010-11-21 21:31:19 +01:00
2011-04-30 14:53:35 +02:00
2011-04-30 14:53:35 +02:00
2010-12-04 11:38:40 +01:00
2011-02-07 23:36:05 +01:00
2011-02-07 23:36:04 +01:00
2011-02-07 23:36:06 +01:00
2011-02-07 23:36:04 +01:00
2010-12-04 11:38:40 +01:00
2011-02-07 23:36:05 +01:00
2011-02-07 23:36:03 +01:00
2011-02-07 23:36:07 +01:00
2011-02-07 23:36:06 +01:00
2011-02-07 23:36:03 +01:00
2011-02-07 23:36:05 +01:00
2011-02-07 23:36:04 +01:00
2011-02-07 23:36:05 +01:00
2011-02-07 23:36:04 +01:00
2011-02-07 23:36:03 +01:00
2010-12-04 11:38:40 +01:00
2011-02-07 23:36:07 +01:00
2011-02-07 23:36:06 +01:00
2011-02-07 23:36:07 +01:00
2011-02-07 23:36:07 +01:00
2011-02-07 23:36:08 +01:00
2011-02-07 23:36:08 +01:00
2010-12-04 11:38:40 +01:00
2011-02-07 23:36:06 +01:00
2011-02-22 14:32:27 +01:00
2010-12-04 11:38:40 +01:00
2011-02-09 20:54:32 +01:00
2010-12-04 11:38:40 +01:00
2011-02-09 20:54:31 +01:00
2011-02-05 12:25:13 +01:00
2011-02-07 23:36:01 +01:00
2011-02-07 23:36:02 +01:00
2011-02-07 23:36:02 +01:00
2011-02-07 23:36:02 +01:00