Re: regex-quote.c syntax support

2011-03-07 Thread Reuben Thomas
On 6 March 2011 13:51, Reuben Thomas wrote: > On 6 March 2011 13:41, Bruno Haible wrote: >> >>> RE_NO_BK_REFS -> [:digit:] >> >> I don't know what you mean by that? '[' and ']' are already in the list of >> characters to be escaped. So no need to look at RE_NO_BK_REFS, right? > > I'm not sure wha

Re: [PATCH 2/3] sendfd, recvf pass file descriptors along Unix domain sockets

2011-03-07 Thread Eric Blake
On 03/06/2011 02:43 AM, Bastien ROUCARIES wrote: > Le jeudi 3 mars 2011 22:33:21, Eric Blake a écrit : >> On 03/01/2011 07:04 AM, Bastien ROUCARIES wrote: >>> Recvfd and sendfd can be used to pass an open file descriptor over a Unix >>> domain socket from one process to another. >> >> >> Again, mem

[PATCH 4/4] Add test for passfd

2011-03-07 Thread Bastien ROUCARIES
Add simple testing for passfd --- modules/passfd-tests | 11 + tests/test-passfd.c | 112 ++ 2 files changed, 123 insertions(+), 0 deletions(-) create mode 100644 modules/passfd-tests create mode 100644 tests/test-passfd.c diff --git a/mod

[V4] Passfd

2011-03-07 Thread Bastien ROUCARIES
Fourth try of the passfd api a la plan 9. V4: - add cloexec api - fix style mistake - use memcpy instead of typ prunning V3: correct git commit mistake V2: style change Note that for implementing under mingw I will need to port socketpair.

[PATCH 3/4] Add a CLOEXEC recvfd

2011-03-07 Thread Bastien ROUCARIES
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 + 4 files changed, 81 insertions(+),

[PATCH 2/4] sendfd, recvf pass file descriptors along Unix domain sockets

2011-03-07 Thread Bastien ROUCARIES
Recvfd and sendfd can be used to pass an open file descriptor over a Unix domain socket from one process to another. --- lib/passfd.c | 147 lib/passfd.h | 21 modules/passfd | 30 +++ 3 files changed, 198 insertio

[PATCH 1/4] Add AF_UNIX test of socket familly

2011-03-07 Thread Bastien ROUCARIES
Test availability of AF_UNIX socket familly. It will be used by sendfd/receivefd. --- m4/afunix.m4 | 96 m4/sockpfaf.m4 | 23 +- 2 files changed, 118 insertions(+), 1 deletions(-) create mode 100644 m4/afunix.m4 diff --g

Re: autoreconf, autopoint, and gnulib

2011-03-07 Thread Bruno Haible
Hello Ralf, > By the way, do I understand correctly that this whole thing would > become less of an issue once the pot-primary branch of git Automake > is implemented and merged? Actually the problem is that the following files are installed by both autopoint and gnulib-tool: m4/codeset.m4 m