bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* [PATCH 1/2] Document lseek SEEK_DATA/SEEK_HOLE
@ 2019-06-23 22:41 Paul Eggert
  2019-06-23 22:41 ` [PATCH 2/2] Document setvbuf _IOLBF problem Paul Eggert
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Eggert @ 2019-06-23 22:41 UTC (permalink / raw)
  To: bug-gnulib; +Cc: Paul Eggert

* doc/posix-functions/lseek.texi (lseek):
Document some systems that do not support SEEK_DATA and SEEK_HOLE.
---
 ChangeLog                      | 6 ++++++
 doc/posix-functions/lseek.texi | 3 +++
 2 files changed, 9 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index cdc2b3d7a..cf0bbb396 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-06-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+	Document lseek SEEK_DATA/SEEK_HOLE
+	* doc/posix-functions/lseek.texi (lseek):
+	Document some systems that do not support SEEK_DATA and SEEK_HOLE.
+
 2019-06-22  Akim Demaille  <akim@lrde.epita.fr>
 
 	argmatch: put all the docs member last.
diff --git a/doc/posix-functions/lseek.texi b/doc/posix-functions/lseek.texi
index 813bdd9b6..b4d03f528 100644
--- a/doc/posix-functions/lseek.texi
+++ b/doc/posix-functions/lseek.texi
@@ -31,4 +31,7 @@ When the @code{lseek} function fails, POSIX says that the file offset remains
 unchanged.  But on some platforms, attempting to set a negative file offset
 fails and sets the file offset to 0:
 BeOS.
+@item
+Some systems do not support @code{SEEK_DATA} and @code{SEEK_HOLE}:
+AIX, HP-UX, Microsoft Windows, NetBSD, OpenBSD.
 @end itemize
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 2/2] Document setvbuf _IOLBF problem
  2019-06-23 22:41 [PATCH 1/2] Document lseek SEEK_DATA/SEEK_HOLE Paul Eggert
@ 2019-06-23 22:41 ` Paul Eggert
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggert @ 2019-06-23 22:41 UTC (permalink / raw)
  To: bug-gnulib; +Cc: Paul Eggert

* 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  <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.
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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-23 22:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-23 22:41 [PATCH 1/2] Document lseek SEEK_DATA/SEEK_HOLE Paul Eggert
2019-06-23 22:41 ` [PATCH 2/2] Document setvbuf _IOLBF problem Paul Eggert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).