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.19-590-g3d7c00e
- From: schwab at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 16 Jun 2014 08:22:14 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.19-590-g3d7c00e
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 3d7c00e3a944e07a74fc1c18e342ed7f38b2d88e (commit)
from 6957fb3150410b3b64fd508901b5e006173156b4 (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=3d7c00e3a944e07a74fc1c18e342ed7f38b2d88e
commit 3d7c00e3a944e07a74fc1c18e342ed7f38b2d88e
Author: Andreas Schwab <schwab@suse.de>
Date: Thu Jun 12 14:42:57 2014 +0200
Update feature guard for strdup/strndup in <bits/string2.h>
diff --git a/ChangeLog b/ChangeLog
index 3e519fd..ccc05a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-06-16 Andreas Schwab <schwab@suse.de>
+
+ * string/bits/string2.h (strdup, strndup): Update feature guard.
+
2014-06-14 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/fpu/libm-test-ulps: Update.
diff --git a/string/bits/string2.h b/string/bits/string2.h
index 1b6a1ef..0523a27 100644
--- a/string/bits/string2.h
+++ b/string/bits/string2.h
@@ -1287,7 +1287,7 @@ extern char *__strdup (const char *__string) __THROW __attribute_malloc__;
__retval; })) \
: __strdup (s)))
-# if defined __USE_MISC || defined __USE_XOPEN_EXTENDED
+# if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
# define strdup(s) __strdup (s)
# endif
# endif
@@ -1315,7 +1315,7 @@ extern char *__strndup (const char *__string, size_t __n)
__retval; })) \
: __strndup (s, n)))
-# ifdef __USE_GNU
+# ifdef __USE_XOPEN2K8
# define strndup(s, n) __strndup (s, n)
# endif
# endif
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
string/bits/string2.h | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources