Re: porting to NeXTstep

2011-10-14 Thread Daniel Richard G.
Oh, that subject line is *so* overselling this... On Sat, 2011 Oct 15 02:08+0200, Bruno Haible wrote: > > Thanks for these two. I committed them in your name: Much obliged! > In git log, your committer name comes out as > "Daniel Richard G " > aithough I used the option --author="Daniel Richard

Re: new module 'integer_length'

2011-10-14 Thread Bruno Haible
There were no comments. So I added these new modules now: 2011-10-14 Bruno Haible New module 'integer_length_ll'. * lib/integer_length_ll.c: New file. * modules/integer_length_ll: New file. New module 'integer_length_l'. * lib/integer_length_l.c: New f

Re: porting to NeXTstep

2011-10-14 Thread Bruno Haible
Hi Daniel, > Also, the test program needs string.h and stdlib.h (for strerror() and > getenv(), respectively) > > * Fixed apparent typos in shell test(1) logic in modules/popen Thanks for these two. I committed them in your name: 2011-10-14 Daniel Richard G.(tiny change) popen:

Re: test-readlink failure on GNU/Linux

2011-10-14 Thread Eric Blake
On 10/14/2011 04:25 PM, Ludovic Courtès wrote: Hello, ‘test-readlink’ from GNU M4 1.4.16 fails on GNU/Linux with Linux 3.0.4 and GNU libc 2.13 with an assertion failure at test-readlink.h:41: 40: ASSERT (func ("", buf, sizeof buf) == -1); 41: ASSERT (errno == ENOENT); It turns out th

test-readlink failure on GNU/Linux

2011-10-14 Thread Ludovic Courtès
Hello, ‘test-readlink’ from GNU M4 1.4.16 fails on GNU/Linux with Linux 3.0.4 and GNU libc 2.13 with an assertion failure at test-readlink.h:41: 40: ASSERT (func ("", buf, sizeof buf) == -1); 41: ASSERT (errno == ENOENT); It turns out that errno is set to EINVAL instead of ENOENT, which

Re: ffsl: optimization for non-GCC

2011-10-14 Thread Bruno Haible
> 2011-10-13 Bruno Haible > > ffsl: Optimize on 32-bit platforms. > * lib/ffsl.h (FUNC): If TYPE has the same representation as 'int', just > use ffs() without a loop. The other frequent case is that sizeof (TYPE) == 2 * sizeof (int). This means, the loop is executed just twi