fflush et al.: Document limitation on MSVC.
authorBruno Haible <bruno@clisp.org>
Sun, 25 Sep 2011 21:22:19 +0000 (23:22 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 25 Sep 2011 21:22:19 +0000 (23:22 +0200)
* doc/posix-functions/fflush.texi: Document possible crash in handling
mode other than DEFAULT_HANDLING.
* doc/posix-functions/fgetc.texi: Likewise.
* doc/posix-functions/fputc.texi: Likewise.
* doc/posix-functions/fread.texi: Likewise.
* doc/posix-functions/fwrite.texi: Likewise.

ChangeLog
doc/posix-functions/fflush.texi
doc/posix-functions/fgetc.texi
doc/posix-functions/fputc.texi
doc/posix-functions/fread.texi
doc/posix-functions/fwrite.texi

index 0bea9c59759e342c51f37f3f8d4450d16faa746c..27cdfcd5b03c3d53bd8207828d8300e10d489c5b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2011-09-25  Bruno Haible  <bruno@clisp.org>
+
+       fflush et al.: Document limitation on MSVC.
+       * doc/posix-functions/fflush.texi: Document possible crash in handling
+       mode other than DEFAULT_HANDLING.
+       * doc/posix-functions/fgetc.texi: Likewise.
+       * doc/posix-functions/fputc.texi: Likewise.
+       * doc/posix-functions/fread.texi: Likewise.
+       * doc/posix-functions/fwrite.texi: Likewise.
+
 2011-09-25  Bruno Haible  <bruno@clisp.org>
 
        msvc-inval: Allow three invalid parameter handling modes.
index c56d25e2e32926d6676affa6f8b473fcad8adda5..9ba3e8ef4beebfd8246514c853678fb2a470518c 100644 (file)
@@ -31,6 +31,12 @@ contains Unix line terminators (LF), on some platforms: mingw, MSVC 9.
 On Windows platforms (excluding Cygwin), this function does not set @code{errno}
 upon failure.
 @item
+This function crashes if the stream's file descriptor has already been
+closed, if @code{MSVC_INVALID_PARAMETER_HANDLING} is
+@code{HAIRY_LIBRARY_HANDLING} or @code{SANE_LIBRARY_HANDLING},
+on some platforms:
+MSVC 9.
+@item
 @code{fflush} on an input stream right after @code{ungetc} does not discard
 the @code{ungetc} buffer, on some platforms:
 AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11 2010-11, mingw, MSVC 9.
index ea3772e5f543592d1e2f55ffdabdf53fc6ab9338..acf7ad7d24d015f9daf711356a8d576ea6e64f55 100644 (file)
@@ -20,4 +20,10 @@ Portability problems not fixed by Gnulib:
 @item
 On Windows platforms (excluding Cygwin), this function does not set @code{errno}
 upon failure.
+@item
+This function crashes if the stream's file descriptor has already been
+closed, if @code{MSVC_INVALID_PARAMETER_HANDLING} is
+@code{HAIRY_LIBRARY_HANDLING} or @code{SANE_LIBRARY_HANDLING},
+on some platforms:
+MSVC 9.
 @end itemize
index 8822806c51e5298bbd1cbdb92e4f401b693f603c..8a9e5f2e65567a1d0c7de8066aae3091350090d1 100644 (file)
@@ -32,4 +32,10 @@ upon failure.
 On some platforms, this function does not set @code{errno} or the
 stream error indicator on attempts to write to a read-only stream:
 Cygwin 1.7.9.
+@item
+This function crashes if the stream's file descriptor has already been
+closed, if @code{MSVC_INVALID_PARAMETER_HANDLING} is
+@code{HAIRY_LIBRARY_HANDLING} or @code{SANE_LIBRARY_HANDLING},
+on some platforms:
+MSVC 9.
 @end itemize
index 31440dd0237e14358794d345a5440316c9082d5b..1d642495c9bf7ed78c39abb88189aff4170c9963 100644 (file)
@@ -20,4 +20,10 @@ Portability problems not fixed by Gnulib:
 @item
 On Windows platforms (excluding Cygwin), this function does not set @code{errno}
 upon failure.
+@item
+This function crashes if the stream's file descriptor has already been
+closed, if @code{MSVC_INVALID_PARAMETER_HANDLING} is
+@code{HAIRY_LIBRARY_HANDLING} or @code{SANE_LIBRARY_HANDLING},
+on some platforms:
+MSVC 9.
 @end itemize
index 409a7d4c895cb31787fd0aec535ce8f28915c017..73b5427ed5fad5be21af60a4bc97f385d4812ed3 100644 (file)
@@ -32,4 +32,10 @@ upon failure.
 On some platforms, this function does not set @code{errno} or the
 stream error indicator on attempts to write to a read-only stream:
 Cygwin 1.7.9.
+@item
+This function crashes if the stream's file descriptor has already been
+closed, if @code{MSVC_INVALID_PARAMETER_HANDLING} is
+@code{HAIRY_LIBRARY_HANDLING} or @code{SANE_LIBRARY_HANDLING},
+on some platforms:
+MSVC 9.
 @end itemize