Re: [PATCH 3/4] Add a CLOEXEC recvfd

2011-03-14 Thread Bruno Haible
Bastien ROUCARIES wrote: > recvfd exist under plan9 and I will prefer to use it in order to be > compatible In order to be compatible, we would also need to have header files called and [1], which we don't have. Plan9 compatibility has never been a goal for gnulib, and Plan9 is not one of t

Re: [PATCH 3/4] Add a CLOEXEC recvfd

2011-03-14 Thread Bastien ROUCARIES
On Sun, Mar 13, 2011 at 5:16 PM, Bruno Haible wrote: > Hi Bastien, > >> In order to avoid a race add a recvfd(int fd, int flags). flags could be >> O_CLOEXEC. >> --- >>  lib/passfd.c   |   58 >> +++- >>  lib/passfd.h   |    1 + >>  m4/afunix.m4

Re: [PATCH 3/4] Add a CLOEXEC recvfd

2011-03-13 Thread Bruno Haible
Hi Bastien, > In order to avoid a race add a recvfd(int fd, int flags). flags could be > O_CLOEXEC. > --- > lib/passfd.c | 58 > +++- > lib/passfd.h |1 + > m4/afunix.m4 | 22 + > modules/passfd |1 + This