This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.15-196-gebaf36e
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 19 Feb 2012 02:02:26 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-196-gebaf36e
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via ebaf36ebd838cec73c00433e7b3d41c9d126fe47 (commit)
from 71c254a6e656512b6d69972ec20b674901d9eebf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ebaf36ebd838cec73c00433e7b3d41c9d126fe47
commit ebaf36ebd838cec73c00433e7b3d41c9d126fe47
Author: Joseph Myers <joseph@codesourcery.com>
Date: Sun Feb 19 02:02:10 2012 +0000
Fix parameter name in strnlen documentation.
diff --git a/ChangeLog b/ChangeLog
index aa0561e..906b3ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2012-02-19 Joseph Myers <joseph@codesourcery.com>
+ [BZ #9739]
+ * manual/string.texi (strnlen): Use correct parameter name in
+ equivalent expression.
+
+2012-02-19 Joseph Myers <joseph@codesourcery.com>
+
[BZ #11174]
* manual/users.texi (seteuid): Consistently use neweuid for
argument name.
diff --git a/NEWS b/NEWS
index 4cf68ba..5e2bc91 100644
--- a/NEWS
+++ b/NEWS
@@ -9,10 +9,10 @@ Version 2.16
* The following bugs are resolved with this release:
- 174, 350, 411, 3335, 4026, 4596, 4822, 5077, 5805, 5993, 6884, 6907, 9902,
- 10140, 10210, 11174, 11322, 11494, 12047, 13058, 13525, 13526, 13527,
- 13528, 13529, 13530, 13531, 13532, 13533, 13547, 13551, 13552, 13553,
- 13555, 13559, 13583, 13618, 13704
+ 174, 350, 411, 3335, 4026, 4596, 4822, 5077, 5805, 5993, 6884, 6907, 9739,
+ 9902, 10140, 10210, 11174, 11322, 11494, 12047, 13058, 13525, 13526,
+ 13527, 13528, 13529, 13530, 13531, 13532, 13533, 13547, 13551, 13552,
+ 13553, 13555, 13559, 13583, 13618, 13704
* ISO C11 support:
diff --git a/manual/string.texi b/manual/string.texi
index abfb079..e02c17f 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -303,7 +303,8 @@ This function was introduced in @w{Amendment 1} to @w{ISO C90}.
The @code{strnlen} function returns the length of the string @var{s} in
bytes if this length is smaller than @var{maxlen} bytes. Otherwise it
returns @var{maxlen}. Therefore this function is equivalent to
-@code{(strlen (@var{s}) < n ? strlen (@var{s}) : @var{maxlen})} but it
+@code{(strlen (@var{s}) < @var{maxlen} ? strlen (@var{s}) : @var{maxlen})}
+but it
is more efficient and works even if the string @var{s} is not
null-terminated.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
NEWS | 8 ++++----
manual/string.texi | 3 ++-
3 files changed, 12 insertions(+), 5 deletions(-)
hooks/post-receive
--
GNU C Library master sources