bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12087: Wrong comment in passfd.c?


From: Jann Horn
Subject: bug#12087: Wrong comment in passfd.c?
Date: Sun, 29 Jul 2012 22:14:15 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hello,
it looks to me like this comment is wrong:

gnulib/lib/passfd.c:
101 /* recvfd receives a file descriptor through the socket.
102    The flags are a bitmask, possibly including O_CLOEXEC (defined in 
<fcntl.h>).
103 
104    Return 0 on success, or -1 with errno set in case of error.
105 */
106 int
107 recvfd (int sock, int flags)

It returns the fd, not 0, on success, right?

Jann

Attachment: pgp1gUAdbuZns.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]