bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/2] Document setvbuf _IOLBF problem


From: Paul Eggert
Subject: [PATCH 2/2] Document setvbuf _IOLBF problem
Date: Sun, 23 Jun 2019 15:41:30 -0700

* doc/posix-functions/setvbuf.texi (setvbuf):
Document MS-Windows portability problem with _IOLBF.
---
 ChangeLog                        | 4 ++++
 doc/posix-functions/setvbuf.texi | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index cf0bbb396..a25be21d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2019-06-23  Paul Eggert  <address@hidden>
 
+       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.
diff --git a/doc/posix-functions/setvbuf.texi b/doc/posix-functions/setvbuf.texi
index ec3252c38..247f75253 100644
--- a/doc/posix-functions/setvbuf.texi
+++ b/doc/posix-functions/setvbuf.texi
@@ -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
-- 
2.21.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]