Re: lib/poll.c, win32 SIGHUP on pipes

2010-08-22 Thread Paolo Bonzini
On 08/23/2010 01:30 AM, Erik Faye-Lund wrote: On Mon, Aug 23, 2010 at 12:32 AM, Erik Faye-Lund wrote: I've recently looked into replacing the poll-emulation in Git for Windows with the code from gnulib, due to the improved pipe-support in gnulib. However, I've noticed that win32_compute_revent

Re: lib/poll.c, win32 SIGHUP on pipes

2010-08-22 Thread Erik Faye-Lund
On Mon, Aug 23, 2010 at 12:32 AM, Erik Faye-Lund wrote: > I've recently looked into replacing the poll-emulation in Git for > Windows with the code from gnulib, due to the improved pipe-support in > gnulib. > > However, I've noticed that win32_compute_revents() never returns > SIGHUP for FILE_TYPE

lib/poll.c, win32 SIGHUP on pipes

2010-08-22 Thread Erik Faye-Lund
I've recently looked into replacing the poll-emulation in Git for Windows with the code from gnulib, due to the improved pipe-support in gnulib. However, I've noticed that win32_compute_revents() never returns SIGHUP for FILE_TYPE_PIPE, which is something the code I'm trying to port currently depe

sys-socket.in.h/alignof.h usage problem with C++

2010-08-22 Thread Gary V. Vaughan
While trying to compile a C++ package, and using the gnulib socket modules to paper over the differences between various vendor implementations, I tripped over the following error on Solaris 2.6 and 7: "lib/alignof.h", line 28: Error: Template declarations cannot have extern "C" linkage. 1 Erro

Re: [PATCH] fts: allow compilation with C++

2010-08-22 Thread Jim Meyering
Giuseppe Scrivano wrote: > this patch fixes a linker problem when the file is used with C++, > forcing a C linkage. I got this problem under mingw. > > Also, I could not use extern "C" around because it breaks > verify.h: > > In file included from ../lib/i-ring.h:18, > from ../li

Re: debugging M4 on AIX 5.3

2010-08-22 Thread Paul Eggert
On 08/21/2010 01:42 AM, Ralf Wildenhues wrote: Any hints as to what could make the tests fail when run as part of the M4 git tree and not otherwise? I don't envy you debugging that, but I have seen similar discrepancies for directory-style tests when my two source trees are in different file s

Re: Fix gnulib-tool sed script de-commentation for AIX sed.

2010-08-22 Thread Paul Eggert
On 08/20/2010 10:23 PM, Ralf Wildenhues wrote: Fix gnulib-tool sed script de-commentation for AIX sed. This patch, and the corresponding documentation patch, both look good. Thanks, and please push them.