Re: [bug-gnulib] regex problems

2005-08-15 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > This patch should work. No version of g++ in the 3.2.*, 3.3.*, 3.4.*, > 4.0.[01] series supports the [__restrict] syntax. Thanks. I installed that patch, along with the corresponding change to srclist.txt, and some commentary improvements there. I also

Re: more support for multithread-safe libraries

2005-08-15 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > Some multithread-safe libraries need not only locking, but also per-thread > storage. I propose to add this module that provides TLS. That sounds like a nice thing to add. Thanks. One quibble: > # define gl_tls_key_init(NAME, DESTRUCTOR) \ > if (p

Re: [bug-gnulib] some headers prevent later code from using __attribute__

2005-08-15 Thread Paul Eggert
Ben Pfaff <[EMAIL PROTECTED]> writes: >> Do you know anybody still seriously using a GCC version < 2.95 ? > > I do not. Is this a serious argument against doing the right > thing? I think the problem is that we cannot seriously test any changes here. Also, there are probably some backward-compat

Re: [PATCH]: strcasestr GnuLib module

2005-08-15 Thread Bruno Haible
Yoann Vandoorselaere wrote: > As you can see from the code, this strcasestr implementation rely on > strcasecmp (I did not bothered to use the GLIBC implementation). > > Thus, wouldn't it be wise to fix strcasecmp itself, and include it > unconditionally in GnuLib ? Yes. Here's a patch to that ef

Re: [bug-gnulib] [PATCH]: strcasestr GnuLib module

2005-08-15 Thread Yoann Vandoorselaere
On Mon, 2005-08-15 at 13:28 +0200, Bruno Haible wrote: > Hi, > > Yoann Vandoorselaere wrote: > > Attached is a patch that implement strcasestr() in GNUlib. > > Your implementation, like the one in glibc, does not work correctly in > multibyte locales. > > I'm not sure it's useful to add more fun

Re: ssize_t

2005-08-15 Thread Simon Josefsson
[EMAIL PROTECTED] (Karl Berry) writes: > dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. > dnl This file is free software; the Free Software Foundation > dnl gives unlimited permission to copy and/or distribute it, > dnl with or without modifications, as long as this not

Re: Non-standard types in public header files

2005-08-15 Thread Simon Josefsson
Albert Chin <[EMAIL PROTECTED]> writes: > On Fri, Aug 12, 2005 at 06:45:16PM +0200, Simon Josefsson wrote: >> >> Now that I think about this, one solution may be to avoid defining >> ssize_t altogether. Instead: >> >> @SSIZE_T@ gnutls_record_send( gnutls_session_t session, const void *data, >>

Re: [bug-gnulib] [PATCH]: strcasestr GnuLib module

2005-08-15 Thread Bruno Haible
Hi, Yoann Vandoorselaere wrote: > Attached is a patch that implement strcasestr() in GNUlib. Your implementation, like the one in glibc, does not work correctly in multibyte locales. I'm not sure it's useful to add more functions to gnulib that do not work correctly in multibyte locales. Yes we

Re: [bug-gnulib] gettext compilation problem on FreeBSD

2005-08-15 Thread Bruno Haible
Oskar Liljeblad wrote: > I'm having a little problem compiling gettext support using recent Gnulib > gettext module on FreeBSD 5.4. Or should I say: A user of one of my > programs has this problem, not me. > > Here's some snippets from the build log: > > checking build system type... i386-unknown-f