Re: extended stdio API on DragonFly

2008-04-21 Thread Bruno Haible
> | One of the main DragonFly developers provided a patch, see > | http://leaf.dragonflybsd.org/mailarchive/users/2008-04/msg00044.html Thanks. Matthew Dillon added the __sreadahead function just a few days ago. It is equivalent to gnulib's freadahead function, except that freadahead returns 0 if

Re: build problems on old Linux libc5

2008-04-21 Thread Bruno Haible
Alain Guibert wrote: > But there are 4 collisions between libintl.so.8.0.2 and libc.so.5.4.33: > > | 00031088 T _nl_expand_alias > | 000302c8 T _nl_explode_name > | 00030514 T _nl_make_l10nflist > | 00030a04 T _nl_normalize_codeset > > Only -lintl -lc fails; -liconv -lc works. This NULL setlocale

xstrtol: fix test failure on mingw

2008-04-21 Thread Bruno Haible
The tests test-xstrtol.sh, test-xstrtoimax.sh, test-xstrtoumax.sh, for two reasons: 1) The test wants to filter out the program name from the error message, but this does not work on mingw: when the error message is c:\work space\gltests\test-xstrtol.exe: invalid X argument it is

argp: fix test failure on mingw

2008-04-21 Thread Bruno Haible
This fixes a test failure on mingw, in the cygwin development environment. 2008-04-21 Bruno Haible <[EMAIL PROTECTED]> Fix test failure on mingw. * tests/test-argp-2.sh (func_compare): Remove CRs from sed's output. --- tests/test-argp-2.sh.orig 2008-04-22 00:30:20.0 +

Re: localename.c update

2008-04-21 Thread Bruno Haible
Oops, that patch did not even compile on mingw. With this, it does: 2008-04-21 Bruno Haible <[EMAIL PROTECTED]> * lib/localename.c (SUBLANG_TIBETAN_PRC, SUBLANG_TIBETAN_BHUTAN): Actually assign a value. --- lib/localename.c.orig 2008-04-22 00:13:34.0 +0200 +++ lib

Re: verify.h

2008-04-21 Thread Bruno Haible
Jim Meyering wrote: > Considering that verify.h is just these few lines But these lines are far from trivial. They are as much art (and therefore copyrightable) as an emperor's signature. > What do you think about changing the license to be LGPLv2+? If Paul doesn't speak up, I don't think you ne

Re: mkdir on mingw

2008-04-21 Thread Bruno Haible
Jim Meyering wrote: > > OK to commit this fix (assuming it passes my tests tomorrow)? > > Ok by me. Applied, with some modification: the #include lib/sys_stat.in.h was missing in a particular #if branch. Bruno

Re: conflict between 'canonicalize' and 'canonicalize-lgpl'

2008-04-21 Thread Bruno Haible
Jim Meyering wrote: > Go ahead and commit/push. Committed.

Re: isapipe: port to mingw

2008-04-21 Thread Bruno Haible
Jim Meyering wrote: > You're welcome to commit that. Committed. It compiles fine. Whether it works (or whether under some circumstances pipes can also be of FILE_TYPE_CHAR), could be determined if there was a unit test for this module... Bruno

Re: gc-gnulib.c on mingw

2008-04-21 Thread Bruno Haible
> Hi Bruno. Yes, please do. Applied.

Re: fpurge.c error when building m4 1.4.11

2008-04-21 Thread Bruno Haible
Eric Blake wrote: > Unless you're claiming that the compiler might warn about the > explicit shift by 32 bits on platforms where my patch below now > compiles the shift (in a dead code branch) where it was > previously omitted by the #if, but that's okay with me Yes, that's what I meant. And it's

Re: fpurge.c error when building m4 1.4.11

2008-04-21 Thread Eric Blake
> > This is due to the gcc 2.7.2.1 preprocessor unable to calculate or > > compare long longs. > > Yes, your analysis is correct. Last year, Paul Eggert decided that > we had long enough supported compilers with pre-C99 preprocessors. > Yes, we want to use UINTMAX_MAX in preprocessor expressions.

Re: build problems on old Linux libc5

2008-04-21 Thread Alain Guibert
On Saturday, April 19, 2008 at 21:49:42 +0200, Bruno Haible wrote: > Alain Guibert wrote: | FAIL: test-c-strcase.sh >> LC_ALL=fr_FR setlocale(LC_ALL, "") returns NULL > Weird. It looks as if some symbols from libintl (or its dependencies: > libiconv) would be affecting/overriding the behaviou

m4-1.4.11: build failure on DragonFly

2008-04-21 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Thomas Klausner on 4/21/2008 4:46 AM: | Hi! | | I don't have a DragonFly box myself, but apparently m4-1.4.11 doesn't | compile on it. Thanks for the report. Adding bug-gnulib, since this patch should be applied there to affect multiple

Re: fyi, strftime on Windows doesn't support %e

2008-04-21 Thread Simon Josefsson
Micah Cowan <[EMAIL PROTECTED]> writes: > Simon Josefsson wrote: http://www.opengroup.org/onlinepubs/009695399/functions/strftime.html that specifier was not part of SUS. >>> Um, I see it on that page, don't you? >> >> Yes, so that makes it part of POSIX. Further down on that page

Re: gc-gnulib.c on mingw

2008-04-21 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: > Hi Simon, > > Trying to compile the crypto/gc module on mingw (cross from cygwin), I got > this compilation error: ... > This simple modification fixed it for me. OK to apply? Hi Bruno. Yes, please do. Thanks, Simon > 2008-04-20 Bruno Haible <[EMAIL