This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/22347] getrandom() returns the number of bytes that were copied to the buffer even though the comments say "Return 0 on success and -1 on failure."
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 23 Dec 2017 14:37:12 +0000
- Subject: [Bug libc/22347] getrandom() returns the number of bytes that were copied to the buffer even though the comments say "Return 0 on success and -1 on failure."
- Auto-submitted: auto-generated
- References: <bug-22347-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22347
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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 a47ad79afa454192224214a3db2499de12baf93e (commit)
from f5c558f3ecdf1d635f5614f5b49cd630786df46a (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 -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a47ad79afa454192224214a3db2499de12baf93e
commit a47ad79afa454192224214a3db2499de12baf93e
Author: Dmitry V. Levin <ldv@altlinux.org>
Date: Sat Dec 23 14:27:30 2017 +0000
getrandom: fix comment [BZ #22347]
* stdlib/getrandom.c (getrandom): Fix comment.
* sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
stdlib/getrandom.c | 4 ++--
sysdeps/unix/sysv/linux/getrandom.c | 4 ++--
3 files changed, 10 insertions(+), 4 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.