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 > > > checking for working strnlen... no > > > > (lslpp -L). The one I tested on has: > > > > bos.rte.libc 5.1.0.68 C F libc Library > > That's it. Mine is older: > > bos.rte.libc 5.1.0.55 C F libc Library > > So they fixed strnlen between these library versions.
Looking at the bos.rte.libc fixed bugs list: IY62952 2 strnlen can return results longer than the limit I have no idea which revision of bos.rte.libc this is in or if the above is the fix. -- albert chin ([EMAIL PROTECTED])