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.24-367-g9601d3a
- From: zack at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 14 Nov 2016 17:35:55 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.24-367-g9601d3a
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 9601d3ad787729c74f3971814426fc9e64571d80 (commit)
from 809b72df6c90303aa3622a28f2837ec6c518290d (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=9601d3ad787729c74f3971814426fc9e64571d80
commit 9601d3ad787729c74f3971814426fc9e64571d80
Author: Zack Weinberg <zackw@panix.com>
Date: Mon Nov 14 12:35:10 2016 -0500
Fix typo in string/bits/string2.h.
The comment above the bzero() macro in this file appears to have been
copied verbatim from the comment above the memset() prototype in
string.h proper. bzero() has no 'c' argument and can only set memory
contents to 0. (The comment above the prototype of bzero() in
string.h proper does not make the same mistake.)
* string/bits/string2.h: Fix typo in comment.
diff --git a/ChangeLog b/ChangeLog
index f2b6683..ca424ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2016-11-14 Zack Weinberg <zackw@panix.com>
+ * string/bits/string2.h: Fix typo in comment.
+
+2016-11-14 Zack Weinberg <zackw@panix.com>
+
* misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
(__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
(__SYSMACROS_FST_IMPL_TEMPL): Delete.
diff --git a/string/bits/string2.h b/string/bits/string2.h
index 8098760..ca1eda9 100644
--- a/string/bits/string2.h
+++ b/string/bits/string2.h
@@ -52,7 +52,7 @@
#define __string2_1bptr_p(__x) \
((size_t)(const void *)((__x) + 1) - (size_t)(const void *)(__x) == 1)
-/* Set N bytes of S to C. */
+/* Set N bytes of S to 0. */
#if !defined _HAVE_STRING_ARCH_memset
# define __bzero(s, n) __builtin_memset (s, '\0', n)
#endif
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
string/bits/string2.h | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources