Re: [bug-gnulib] AIX tests failures

2006-05-30 Thread Albert Chin
On Tue, May 30, 2006 at 10:27:48PM +0200, Bruno Haible wrote: > Ralf Wildenhues wrote: > > > Hmm? My results for AIX 5.1 differ: On AIX 5.1.0.0 I get > > > > > > checking whether strndup is declared... yes > > > checking for working strndup... no > > > checking whether strnlen is declared... yes >

Re: [bug-gnulib] AIX tests failures

2006-05-30 Thread Albert Chin
On Tue, May 30, 2006 at 09:48:24PM +0200, Ralf Wildenhues wrote: > * Bruno Haible wrote on Tue, May 30, 2006 at 09:29:37PM CEST: > > Ralf Wildenhues wrote: > > > Tested on AIX 4.3.3, 5.1, 5.2 (first has strnlen and strndup broken, > > > second has strnlen fixed, last has both fixed) > > > > Hmm? M

Re: [bug-gnulib] AIX tests failures

2006-05-30 Thread Bruno Haible
Ralf Wildenhues wrote: > > Hmm? My results for AIX 5.1 differ: On AIX 5.1.0.0 I get > > > > checking whether strndup is declared... yes > > checking for working strndup... no > > checking whether strnlen is declared... yes > > checking for working strnlen... no > > (lslpp -L). The one I tested on

Re: [bug-gnulib] AIX tests failures

2006-05-30 Thread Ralf Wildenhues
* Bruno Haible wrote on Tue, May 30, 2006 at 09:29:37PM CEST: > Ralf Wildenhues wrote: > > Tested on AIX 4.3.3, 5.1, 5.2 (first has strnlen and strndup broken, > > second has strnlen fixed, last has both fixed) > > Hmm? My results for AIX 5.1 differ: On AIX 5.1.0.0 I get > > checking whether strn

Re: [bug-gnulib] Re: AIX tests failures

2006-05-30 Thread Ralf Wildenhues
Hi Bruno, * Bruno Haible wrote on Tue, May 30, 2006 at 09:11:04PM CEST: > > I added your patch to gnulib, with 4 modifications: Thanks for applying, your modifications are all good. > > + test $gl_cv_func_strndup = no && > > + if test $gl_cv_func_strndup = no; then > > Was this intended redu

Re: [bug-gnulib] AIX tests failures

2006-05-30 Thread Bruno Haible
Ralf Wildenhues wrote: > Tested on AIX 4.3.3, 5.1, 5.2 (first has strnlen and strndup broken, > second has strnlen fixed, last has both fixed) Hmm? My results for AIX 5.1 differ: On AIX 5.1.0.0 I get checking whether strndup is declared... yes checking for working strndup... no checking whether s

Re: [bug-gnulib] Re: AIX tests failures

2006-05-30 Thread Bruno Haible
Ralf Wildenhues wrote: > Not sure if I have much motivation for fighting this into glibc, but > here you go. I'm unsure if conditionalizing away the #undef __strndup > is wrong for some system. > > Tested on AIX 4.3.3, 5.1, 5.2 (first has strnlen and strndup broken, > second has strnlen fixed, las

Re: AIX tests failures

2006-05-28 Thread Paul Eggert
Ralf Wildenhues <[EMAIL PROTECTED]> writes: > I only saw Paul's message after mostly finishing this one, so feel free > to decide as you like. (I don't know whether Gnulib intends to target > systems that are apparently not of interest to coreutils any more.) The general rule I use with gnulib-l

Re: AIX tests failures

2006-05-28 Thread Ralf Wildenhues
[ Cc:ing bug-gnulib ] * Jim Meyering wrote on Sun, May 28, 2006 at 07:58:24PM CEST: > Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > > > > ... AIX strndup is severely broken, at least on 4.3.3 and 5.1, similar > > to its strnlen; see also[1]. See for example this test: > I have to confess that I w