[PATCH] test-readtokens.c: avoid const-related compilation warnings

2012-03-07 Thread Jim Meyering
With the warnings enabled by coreutils and its -Werror, I saw this: test-readtokens.c: In function 'basic': test-readtokens.c:33:20: error: initialization discards 'const' qualifier from pointer target type [-Werror] test-readtokens.c: In function 'main': test-readtokens.c:80:13: error: a

Re: [PATCH] frexp-nolibm-tests: include required test-frexp.h

2012-03-07 Thread Jim Meyering
Bruno Haible wrote: > Hi Jim, > >> I tried to build coreutils using the latest from gnulib >> and saw compilation failures in the new tests: >> >> test-frexp.c:59:24: fatal error: test-frexp.h: No such file or directory >> compilation terminated. >> test-frexpl.c:66:24: fatal error: test-frex

Re: [PATCH] frexp-nolibm-tests: include required test-frexp.h

2012-03-07 Thread Bruno Haible
Hi Jim, > I tried to build coreutils using the latest from gnulib > and saw compilation failures in the new tests: > > test-frexp.c:59:24: fatal error: test-frexp.h: No such file or directory > compilation terminated. > test-frexpl.c:66:24: fatal error: test-frexp.h: No such file or directo

copysignf: don't override undeclared system function

2012-03-07 Thread Bruno Haible
On IRIX 6.5, copysignf() exists in libm (at least for certain target ABIs) but is not unconditionally declared in the header files. As a result, gnulib did not detect this function and provided a replacement - but without the rpl_ prefix. Instead the system function can be used. This patch does it

[PATCH] frexp-nolibm-tests: include required test-frexp.h

2012-03-07 Thread Jim Meyering
Hi Bruno, I tried to build coreutils using the latest from gnulib and saw compilation failures in the new tests: test-frexp.c:59:24: fatal error: test-frexp.h: No such file or directory compilation terminated. test-frexpl.c:66:24: fatal error: test-frexp.h: No such file or directory compi

[PATCH] quotearg: the module must now include quote.h

2012-03-07 Thread Jim Meyering
FYI, Without this, a package using only the quotearg module would fail to compile due to the lack of the now-required "quote.h". >From 825091834f1fca679e1547665edcbc083be85c35 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 7 Mar 2012 15:44:33 +0100 Subject: [PATCH] quotearg: the module mu

Re: [PATCH] quote: fuse into quotearg

2012-03-07 Thread Bruno Haible
Paul Eggert wrote: > --- a/modules/quote > +++ b/modules/quote > @@ -3,7 +3,6 @@ Quote arguments for use in error messages. > > Files: > lib/quote.h > -lib/quote.c > m4/quote.m4 > > Depends-on: > @@ -12,9 +11,6 @@ quotearg > configure.ac: > gl_QUOTE > > -Makefile.am: > -lib_SOURCES += q