diff options
author | Bruno Haible <bruno@clisp.org> | 2011-03-13 15:36:47 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-03-13 17:13:45 +0100 |
commit | c18d3b0d509d2636fe6c8f4f19eda17031041206 (patch) | |
tree | 609605cb6b33421dee21ee697e3c4f7d44a36465 /modules/passfd | |
parent | ee195dafe32fed7ec44fb0cbf775e1638e668b9b (diff) | |
download | gnulib-c18d3b0d509d2636fe6c8f4f19eda17031041206.tar.gz |
passfd module, part 2, tweaks.
* modules/passfd (Files): Reorder.
(Depends-on): Remove errno.
(Include): Remove <sys/socket.h>, <sys/un.h>.
* lib/passfd.h: Use a GPLv3+ header. Make C++ safe.
* lib/passfd.c: Untabify. Use a GPLv3+ header. Really include the
specification header. Include <sys/socket.h> always. Don't include
<winsock2.h>. Use "#if HAVE_..." instead of "#ifdef HAVE_...".
(sendfd): Clarify that it sets errno when it fails.
(recvfd): Fix specification.
Diffstat (limited to 'modules/passfd')
-rw-r--r-- | modules/passfd | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/modules/passfd b/modules/passfd index 43922e17d0..dc1e68cf01 100644 --- a/modules/passfd +++ b/modules/passfd @@ -2,13 +2,12 @@ Description: Passfile descriptors along Unix (socket/stream) file descriptors Files: -m4/sockpfaf.m4 -m4/afunix.m4 -lib/passfd.c lib/passfd.h +lib/passfd.c +m4/afunix.m4 +m4/sockpfaf.m4 Depends-on: -errno sys_socket extensions @@ -19,8 +18,6 @@ Makefile.am: lib_SOURCES += passfd.c Include: -<sys/socket.h> -<sys/un.h> "passfd.h" License: |