Mercurial > hg > octave-kai > gnulib-hg
changeset 17014:dac0cd2e8030
passfd: fix comment on recvfd
* lib/passfd.c (recvfd): Fix comment.
Reported by Jann Horn <jannhorn@googlemail.com>.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Mon, 30 Jul 2012 06:20:26 -0600 |
parents | 12eb56636194 |
children | 5b5eb84f0f79 |
files | ChangeLog lib/passfd.c |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-07-30 Eric Blake <eblake@redhat.com> + + passfd: fix comment on recvfd + * lib/passfd.c (recvfd): Fix comment. + Reported by Jann Horn <jannhorn@googlemail.com>. + 2012-07-30 Jim Meyering <meyering@redhat.com> maint.mk: avoid a sub-shell
--- a/lib/passfd.c +++ b/lib/passfd.c @@ -101,7 +101,7 @@ /* recvfd receives a file descriptor through the socket. The flags are a bitmask, possibly including O_CLOEXEC (defined in <fcntl.h>). - Return 0 on success, or -1 with errno set in case of error. + Return the fd on success, or -1 with errno set in case of error. */ int recvfd (int sock, int flags)