Re: glibc strstr is no longer quadratic

2008-05-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 5/15/2008 3:42 PM: | Bruno Haible clisp.org> writes: | |> Eric Blake wrote: |>> http://sourceware.org/bugzilla/show_bug.cgi?id=5514 was finally closed, so |>> the next release of glibc will no longer have a quadratic strstr

Re: gcc 4.3.0 and stddef.h

2008-05-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [adding bug-gnulib] According to Karl Berry on 5/15/2008 10:18 AM: | Hi Eric (and Sergey), | | m4 1.11.1 (and tar 1.20, as I previously reported) doesn't compile with | gcc 4.3.0, which I installed from the original sources. | | Here's the m4 error:

Re: portable use of 'dd'

2008-05-15 Thread Paul Eggert
[EMAIL PROTECTED] (Karl Berry) writes: > I've never thought of that list in Utilities in Makefiles as being all > "utilities whose existence can be assumed everywhere", but rather > "utilities which need to exist to bootstrap a system". In practice I think it means "utilities whose existence are

Re: glibc strstr is no longer quadratic

2008-05-15 Thread Eric Blake
Bruno Haible clisp.org> writes: > > Eric Blake wrote: > > http://sourceware.org/bugzilla/show_bug.cgi?id=5514 was finally closed, so > > the next release of glibc will no longer have a quadratic strstr/memmem. > > Congratulations! I'm updating the guesses for cross-compiles. Cygwin 1.7.0 also

Re: stdbool.h with AIX C-compiler

2008-05-15 Thread Bruno Haible
Hi Eric, I agree with your explanations and patch so far. > maybe it IS worth a change to gnulib's stdbool, to > use 'int' rather than 'signed char' as the replacement, when is > broken, if only so that implicit conversion to bool does not also cause > truncation and thus your observed silent

Re: glibc strstr is no longer quadratic

2008-05-15 Thread Bruno Haible
Eric Blake wrote: > http://sourceware.org/bugzilla/show_bug.cgi?id=5514 was finally closed, so > the next release of glibc will no longer have a quadratic strstr/memmem. Congratulations! I'm updating the guesses for cross-compiles. 2008-05-15 Bruno Haible <[EMAIL PROTECTED]> * m4/memme

Re: stdbool.h with AIX C-compiler

2008-05-15 Thread Eric Blake
Heinrich Mislik univie.ac.at> writes: > > # cc bool.c -E > #line 3 "bool.c" > static pbool(_Bool b) As a followup: Obviously, your compiler provides at least some support for _Bool. But it must have failed at least one of the C99 tests for whether its is fully compliant. It would be inter

Re: module linebreak doesn't exist

2008-05-15 Thread Bruno Haible
Karl Berry wrote: > gnulib-tool: module linebreak doesn't exist Oops, I forgot to update MODULES.html.sh. Now done as follows: 2008-05-15 Bruno Haible <[EMAIL PROTECTED]> * MODULES.html.sh (Internationalization functions): Remove linebreak. (Unicode string functions): Add unilb

Re: stdbool.h with AIX C-compiler

2008-05-15 Thread Eric Blake
Eric Blake byu.net> writes: > +2008-05-15 Eric Blake byu.net> > + > + Fix violation of replacement in regex. > + * lib/regcomp.c (re_compile_internal): Avoid implicit cast to bool. > + Reported by Heinrich Mislik univie.ac.at>. regexec.c also needed a similar patch, now pushed.

Re: stdbool.h with AIX C-compiler

2008-05-15 Thread Eric Blake
Heinrich Mislik univie.ac.at> writes: Hello Heinrich, and thanks for the report. > here is a problem with stdbool.h from gnulib: > pbool(256); Inherently non-portable when attempted with a C89 compiler. And Gnulib's replacement documents it as one of the limitations of using the replace

stdbool.h with AIX C-compiler

2008-05-15 Thread Heinrich Mislik
Hi, here is a problem with stdbool.h from gnulib: # cat bool.c #include static pbool(bool b) { if(b) printf("true\n"); else printf("false\n"); } main() { pbool(256); } # cc bool.c # ./a.out true # cc bool.c -I findutils-4.4.0/gnulib/lib/ # ./a.out false # cc bool.c -E #line 3

module linebreak doesn't exist

2008-05-15 Thread Karl Berry
Running ./MODULES.html.sh --cvs-urls this comes out: gnulib-tool: module linebreak doesn't exist (several times)

glibc strstr is no longer quadratic

2008-05-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://sourceware.org/bugzilla/show_bug.cgi?id=5514 was finally closed, so the next release of glibc will no longer have a quadratic strstr/memmem. I'm committing this to document the last slow release. - -- Don't work too hard, make some time for fu