about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--NEWS4
-rw-r--r--manual/llio.texi6
3 files changed, 11 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 10288cea35..6a800cb3da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-04-06  Robert Millan  <rmh@gnu.org>
+
+	[BZ #6486]
+	* manual/llio.texi (File Position Primitive): lseek
+	refers to WHENCE when it really means OFFSET.
+
 2012-04-06  Andreas Jaeger  <aj@suse.de>
 
 	* nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
diff --git a/NEWS b/NEWS
index 8218731a41..2aa68df77f 100644
--- a/NEWS
+++ b/NEWS
@@ -11,8 +11,8 @@ Version 2.16
 
   174, 350, 369, 411, 2541, 2547, 2548, 2551, 2552, 2553, 2554, 2562, 2563,
   2565, 2566, 2576, 2678, 3335, 3866, 3868, 3976, 3992, 4026, 4108, 4596,
-  4822, 5077, 5461, 5805, 5993, 6471, 6730, 6770, 6884, 6907, 6911, 9739,
-  9902, 10110, 10135, 10140, 10210, 10346, 10545, 10716, 11174, 11322,
+  4822, 5077, 5461, 5805, 5993, 6486, 6471, 6730, 6770, 6884, 6907, 6911,
+  9739, 9902, 10110, 10135, 10140, 10210, 10346, 10545, 10716, 11174, 11322,
   11365, 11451, 11494, 12047, 12340, 13058, 13525, 13526, 13527, 13528,
   13529, 13530, 13531, 13532, 13533, 13547, 13551, 13552, 13553, 13555,
   13559, 13566, 13583, 13592, 13618, 13637, 13656, 13658, 13673, 13691,
diff --git a/manual/llio.texi b/manual/llio.texi
index b33909fac8..1da612accb 100644
--- a/manual/llio.texi
+++ b/manual/llio.texi
@@ -634,15 +634,15 @@ be one of the symbolic constants @code{SEEK_SET}, @code{SEEK_CUR}, or
 
 @table @code
 @item SEEK_SET
-Specifies that @var{whence} is a count of characters from the beginning
+Specifies that @var{offset} is a count of characters from the beginning
 of the file.
 
 @item SEEK_CUR
-Specifies that @var{whence} is a count of characters from the current
+Specifies that @var{offset} is a count of characters from the current
 file position.  This count may be positive or negative.
 
 @item SEEK_END
-Specifies that @var{whence} is a count of characters from the end of
+Specifies that @var{offset} is a count of characters from the end of
 the file.  A negative count specifies a position within the current
 extent of the file; a positive count specifies a position past the
 current end.  If you set the position past the current end, and