[PATCH] priv-set: fix comments

2010-08-23 Thread Paul Eggert
* lib/priv-set.c (priv_set_remove, priv_set_restore): Fix comments to match code, as suggested by David Bartley in: http://lists.gnu.org/archive/html/bug-tar/2010-08/msg00018.html --- ChangeLog |7 +++ lib/priv-set.c |5 ++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff

[PATCH] stdbool: avoid rejecting clang

2010-08-23 Thread Eric Blake
* m4/stdbool.m4 (AC_HEADER_STDBOOL): Resync with autoconf. * tests/test-stdbool.c: Enable more tests if using the system instead of the gnulib replacement. (main): Move xlc bug test to a runtime test for all compilers. Reported by Anders Kaseorg. Signed-off-by: Eric Blake --- Here's the gnulib

Re: AC_HEADER_STDBOOL fails with clang

2010-08-23 Thread Ralf Wildenhues
* Eric Blake wrote on Mon, Aug 23, 2010 at 07:36:01PM CEST: > I'm still trying to get access to AIX myself (can anyone help in > that regards?) but know that Ralf has access, based on his recent > attempts to help resolve an m4 build issue. I can look at it, but it'll be a couple of days. Thanks,

Re: AC_HEADER_STDBOOL fails with clang

2010-08-23 Thread Eric Blake
[adding bug-gnulib] On 08/23/2010 11:20 AM, Paul Eggert wrote: On 08/23/10 09:36, Eric Blake wrote: gcc, where we know that the extension is supported, to make sure we don't introduce a future regression that could have been detected by gcc (and in case the AIX compiler is ever fixed). Well,

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

2010-08-23 Thread Gary V. Vaughan
Hi Eric, Thanks for the feedback. On 23 Aug 2010, at 21:47, Eric Blake wrote: > On 08/22/2010 08:54 AM, Gary V. Vaughan wrote: >> 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

Re: [PATCH] Fix syntax for cygwin-cross

2010-08-23 Thread Eric Blake
[adding bug-gnulib] On 08/22/2010 11:34 PM, Ralf Wildenhues wrote: Hi Charles, * Charles Wilson wrote on Mon, Aug 23, 2010 at 07:18:18AM CEST: libltdl/m4/argz.m4: Add quotes around variable, which may contain the multiword value 'guessing no'. OK, thanks! This should probably also go upstr

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

2010-08-23 Thread Eric Blake
On 08/22/2010 08:54 AM, Gary V. Vaughan wrote: 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 dec

Re: debugging M4 on AIX 5.3

2010-08-23 Thread Eric Blake
On 08/21/2010 02:42 AM, Ralf Wildenhues wrote: I'm trying to debug the recent regression of git branch-1.4 M4 over M4 1.4.14 on AIX. First the gnulib stuff. Notes: - 2 gnulib test failures in M4: test-strtod, test-rmdir. I inserted one fprintf in test-strtod.c, for the "0xp" input asserting o

Re: [PATCH] poll, select: handle ERROR_BROKEN_PIPE.

2010-08-23 Thread Erik Faye-Lund
On Mon, Aug 23, 2010 at 9:46 AM, Paolo Bonzini wrote: > Hi Erik, this is what I'm applying. > > * lib/poll.c (win32_compute_revents): Return POLLHUP when > PeekNamedPipe fails with ERROR_BROKEN_PIPE. > * lib/select.c (win32_compute_revents): Do not mark a pipe > as writeable if PeekNamedPipe fails

Re: how to print size_t in LGPLv2+ program

2010-08-23 Thread Paolo Bonzini
[removed libvirt mailing list] On 08/17/2010 11:17 PM, Eric Blake wrote: Is it worth relaxing the license on the *printf-posix family of modules to LGPLv2+ from their current LGPLv3+, or is this too big of a request? Ultimately, this is the nicest - %zu would just work. Personally, I don't t

[PATCH] poll, select: handle ERROR_BROKEN_PIPE.

2010-08-23 Thread Paolo Bonzini
Hi Erik, this is what I'm applying. * lib/poll.c (win32_compute_revents): Return POLLHUP when PeekNamedPipe fails with ERROR_BROKEN_PIPE. * lib/select.c (win32_compute_revents): Do not mark a pipe as writeable if PeekNamedPipe fails with ERROR_BROKEN_PIPE. --- ChangeLog|9 + lib/p