]> Savannah Git Hosting - gnulib.git/commitdiff
Document setvbuf _IOLBF problem
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 23 Jun 2019 22:36:49 +0000 (15:36 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 23 Jun 2019 22:40:32 +0000 (15:40 -0700)
* doc/posix-functions/setvbuf.texi (setvbuf):
Document MS-Windows portability problem with _IOLBF.

ChangeLog
doc/posix-functions/setvbuf.texi

index cf0bbb396b3a5333c6e40f307b2b1964969fa5ca..a25be21d2ff7c845c7c838795ee2dd50eb580d60 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2019-06-23  Paul Eggert  <eggert@cs.ucla.edu>
 
+       Document setvbuf _IOLBF problem
+       * doc/posix-functions/setvbuf.texi (setvbuf):
+       Document MS-Windows portability problem with _IOLBF.
+
        Document lseek SEEK_DATA/SEEK_HOLE
        * doc/posix-functions/lseek.texi (lseek):
        Document some systems that do not support SEEK_DATA and SEEK_HOLE.
index ec3252c38583f4bc519588f214b6529bff56a1e1..247f75253d6684a0b0c7b409e4dbbcb60f4b9ea0 100644 (file)
@@ -15,4 +15,8 @@ Portability problems not fixed by Gnulib:
 @item
 On Windows platforms (excluding Cygwin), this function does not set @code{errno}
 upon failure.
+@item
+On Windows platforms (excluding Cygwin), @code{_IOLBF} (line-buffering)
+is treated as if it were @code{_IOFBF} (full buffering),
+possibly with a warning generated.
 @end itemize