Fix typo in manual
authorRobert Millan <rmh@gnu.org>
Fri, 6 Apr 2012 19:38:42 +0000 (21:38 +0200)
committerAndreas Jaeger <aj@suse.de>
Fri, 6 Apr 2012 19:38:42 +0000 (21:38 +0200)
lseek refers to WHENCE when it really means OFFSET

ChangeLog
NEWS
manual/llio.texi

index 10288ce..6a800cb 100644 (file)
--- 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 8218731..2aa68df 100644 (file)
--- 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,
index b33909f..1da612a 100644 (file)
@@ -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