symbol namespace collisions (was: Re: memrchr speed)

2008-04-28 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: > Also, the memrchr module does not support the renaming in config.h that > is used to guarantee namespace cleanliness of shared libraries. E.g. > #define memrchr libfoo_memrchr Interesting, are you using such renaming in some project? Can gnulib genera

Re: memrchr speed

2008-04-27 Thread Bruno Haible
Also, the memrchr module does not support the renaming in config.h that is used to guarantee namespace cleanliness of shared libraries. E.g. #define memrchr libfoo_memrchr Fixed like this: 2008-04-27 Bruno Haible <[EMAIL PROTECTED]> Allow local renaming in config.h. * lib/me

Re: memrchr speed

2008-04-27 Thread Bruno Haible
Eric Blake wrote: > And to memrchr like this: Good point, the variable 'i' should better be unsigned, to avoid gcc warnings. 2008-04-27 Bruno Haible <[EMAIL PROTECTED]> * lib/memchr.c (__memchr): Change type of 'i'. * lib/memchr2.c (memchr2): Likewise. --- lib/memchr.c.orig

Re: memrchr speed

2008-04-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 4/26/2008 4:38 AM: | Eric Blake asked: |> Also, is anyone interested in making gnulib's memchr and strchrnul more |> efficient by copying the optimizations learned in memchr2? | | Checked in like this: | | 2008-04-26 Eric