Re: fnmatch_loop.c sync from libc

2007-01-23 Thread Paul Eggert
[EMAIL PROTECTED] (Bob Proulx) writes: > cc -I. -Ae -O -c fnmatch.c > cc: "fnmatch_loop.c", line 604: error 1588: "is_seqval" undefined. Thanks for catching that; I installed this obvious patch. 2007-01-23 Paul Eggert <[EMAIL PROTECTED]> * lib/fnmatch_loop.c (interna

Re: an autoconf expert challenge

2007-01-23 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > Here is a proposed patch that should fix all 11 problems. The dependencies > to gl_GETADDRINFO and gl_SAVE_CWD can be removed, since the module > dependencies > already ensure the macros get called. That sounds like a win. > For the other 9 cases, invo

Re: fnmatch_loop.c sync from libc

2007-01-23 Thread Bob Proulx
Paul Eggert wrote: > 2007-01-23 Paul Eggert <[EMAIL PROTECTED]> > Import the following changes from libc. > 2004-12-01 Jakub Jelinek <[EMAIL PROTECTED]> > * lib/fnmatch_loop.c (internal_fnmatch): Clear is_seqval after > normal_bracket label. > ... > @@ -592,6 +599,9 @@ F

Re: new module c-strcaseeq

2007-01-23 Thread Bruno Haible
And this provides the first use of this module. 2007-01-23 Bruno Haible <[EMAIL PROTECTED]> * lib/striconveh.c: Include c-strcaseeq.h. (mem_iconveh, str_iconveh): Use STRCASEEQ instead of c_strcasecmp. * modules/striconveh (Depends-on): Add c-strcaseeq. *** lib/striconv

new module c-strcaseeq

2007-01-23 Thread Bruno Haible
This provides an optimized case-insensitive string comparison. So that for example c_strcasecmp (s, "UTF-8") can be executed without a function call, fully inlined. === modules/c-strcaseeq = Description: Optimized case-insensitive string

new module 'streq'

2007-01-23 Thread Bruno Haible
This module provided optimized comparison with literal strings, for cases when a function call is considered expensive. = modules/streq === Description: Optimized string comparison. Files: lib/streq.h Depends-on: configure.ac: Makefile.am: I

Re: an autoconf expert challenge

2007-01-23 Thread Bruno Haible
Hello Ralf, > Dunno if the general issue is still relevant for gnulib. Yes, absolutely! Each of the 11 warnings that you found would be a problem for people who use 2 instances of gnulib from within the same configure file. (Simon's and my projects do this.) > > Does anyone know how to write an

striconveha: add support for transliteration

2007-01-23 Thread Bruno Haible
This adds one more option to the string iconv modules: support for transliteration, as implemented in glibc and GNU libiconv. 2007-01-23 Bruno Haible <[EMAIL PROTECTED]> * lib/striconveha.h: Include . (mem_iconveha, str_iconveha): Add 'transliterate' argument. * lib/stri

striconveha module: bug fixes

2007-01-23 Thread Bruno Haible
This fixes two bugs in the new striconveha module. 2007-01-23 Bruno Haible <[EMAIL PROTECTED]> * lib/striconveha.c (mem_iconveha): Fix endless recursion. Try all encodings without forgiving before trying any encoding with handler. (str_iconveha): Try all encodings withou

fnmatch_loop.c sync from libc

2007-01-23 Thread Paul Eggert
I installed this: 2007-01-23 Paul Eggert <[EMAIL PROTECTED]> Import the following changes from libc. 2005-10-14 Ulrich Drepper <[EMAIL PROTECTED]> * lib/fnmatch_loop.c: Adjust for changed secondary hash function. 2004-12-01 Jakub Jelinek <[EMAIL PROTECTED]

Re: an autoconf expert challenge

2007-01-23 Thread Ralf Wildenhues
Hello Bruno, is an older message and I assume obsolete, now that the specific problem has been fixed in a different manner, but I just stumbled over it again with a solution in mind. Dunno if the general issue is still relevant for gnulib.

Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys".

2007-01-23 Thread Ralf Wildenhues
* Paul Eggert wrote on Tue, Jan 23, 2007 at 12:00:35AM CET: > > Thanks, please apply, except please change this comment: [...] > to this (just rewording): Done, thanks. For autoconf-patches records, here's what I committed. Cheers, Ralf 2007-01-23 Ralf Wildenhues <[EMAIL PROTECTED]>

Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys".

2007-01-23 Thread James Youngman
On 1/22/07, Bruno Haible <[EMAIL PROTECTED]> wrote: > > 2007-01-22 James Youngman <[EMAIL PROTECTED]> > > > > * m4/gnulib-common.m4 (AC_PROG_MKDIR_P): If AC_PROG_MKDIR_P > > is already provided, call AC_SUBST on MKDIR_P anyway, since > > the version of AC_PROG_MKDIR_P in