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-572-ga851999
- From: fw at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 31 Dec 2016 17:51:57 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.24-572-ga851999
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 a851999f61ad7ceabc2a945a3c31c60e8c914a4b (commit)
from ed19993b5b0d05d62cc883571519a67dae481a14 (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=a851999f61ad7ceabc2a945a3c31c60e8c914a4b
commit a851999f61ad7ceabc2a945a3c31c60e8c914a4b
Author: Florian Weimer <fweimer@redhat.com>
Date: Sat Dec 31 15:11:29 2016 +0100
getentropy: Declare it in <unistd.h> for __USE_MISC [BZ #17252]
diff --git a/ChangeLog b/ChangeLog
index 309b13c..9685fde 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-12-31 Florian Weimer <fweimer@redhat.com>
+
+ [BZ #17252]
+ * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
+ __USE_GNU.
+
2016-12-31 Torvald Riegel <triegel@redhat.com>
[BZ #13165]
diff --git a/posix/unistd.h b/posix/unistd.h
index 70b10c6..a8c9aa9 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -1157,7 +1157,7 @@ extern int pthread_atfork (void (*__prepare) (void),
void (*__child) (void)) __THROW;
#endif
-#ifdef __USE_GNU
+#ifdef __USE_MISC
/* Write LENGTH bytes of randomness starting at BUFFER. Return 0 on
success or -1 on error. */
int getentropy (void *__buffer, size_t __length) __wur;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
posix/unistd.h | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources