Mercurial > hg > octave-nkf > gnulib-hg
changeset 14663:d426501f792a
passfd: Add comments.
* lib/passfd.c: Add comments about platforms.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 30 Apr 2011 14:05:52 +0200 |
parents | 69ca6b2ea292 |
children | cc7810c91628 |
files | ChangeLog lib/passfd.c |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-04-30 Bruno Haible <bruno@clisp.org> + + passfd: Add comments. + * lib/passfd.c: Add comments about platforms. + 2011-04-30 Bruno Haible <bruno@clisp.org> sys_uio: Make <sys/uio.h> self-contained.
--- a/lib/passfd.c +++ b/lib/passfd.c @@ -30,6 +30,12 @@ #include "cloexec.h" +/* The code that uses CMSG_FIRSTHDR is enabled on + Linux, MacOS X, FreeBSD, OpenBSD, NetBSD, AIX, OSF/1, Cygwin. + The code that uses HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS is enabled on + HP-UX, IRIX, Solaris. */ + +/* MSG_CMSG_CLOEXEC is defined only on Linux, as of 2011. */ #ifndef MSG_CMSG_CLOEXEC # define MSG_CMSG_CLOEXEC 0 #endif