From 4dad7bab2b223caea7d0b66b7d8d1c168f722f16 Mon Sep 17 00:00:00 2001 From: Robert Millan Date: Fri, 6 Apr 2012 21:38:42 +0200 Subject: [PATCH] Fix typo in manual lseek refers to WHENCE when it really means OFFSET --- ChangeLog | 6 ++++++ NEWS | 4 ++-- manual/llio.texi | 6 +++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 10288ce..6a800cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-04-06 Robert Millan + + [BZ #6486] + * manual/llio.texi (File Position Primitive): lseek + refers to WHENCE when it really means OFFSET. + 2012-04-06 Andreas Jaeger * nss/nss_db/db-initgroups.c: Include for strlen and diff --git a/NEWS b/NEWS index 8218731..2aa68df 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 b33909f..1da612a 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 -- 2.7.4