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? 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 > > You may want to check which libc version your host has installed, maybe > they fixed strnlen semantics in some revision (lslpp -L). The one I > tested on has: > > bos.rte.libc 5.1.0.68 C F libc Library
The latest is 5.1.0.70. I downloaded 5.1.0.68, 5.1.0.69, and 5.1.0.70 to review the differences: diff 5.1.0.69 5.1.0.70 IY75214 2 Daylight Saving Time default changing in 2007 IY75857 5 UTMP ROUTINES VULNERABLE TO SIGNALS IY79479 6 Remove implicit mkstemp definition under _LARGE_FILES IY79986 2 TIME BASED LOGINRESTRICTIONS DO NOT WORK ON 64-BIT SYSTEMS diff 5.1.0.68 5.1.0.69 IY69983 3 automountd core dumps randomly with NIS IY69679 2 Coredump in libc due to fclose() and exit() synchronization IY70589 2 ftok dumps core IY75232 2 setlocale() fails to restore locale IY71467 2 file descriptor leak in getpwuid() with PAMfiles IY75015 2 getenv() dumps core when no '=' in the string passed to putenv IY75206 2 pg on non-existing file displays Error 0 IY72266 2 lsuser ALL does not display registry=KRB5Afiles IY70491 2 getpwnam() core dumps in _fseek_using_idx() IY75014 2 freehostent has memory leak IY67450 2 hostmibd dumped core on _findiop function IY73547 2 _load_secmethod does not unlock _sec_rmutex for KRB5A module IY72109 2 syslog_r() does not set errno to EINVAL IY75013 2 Problem with wordexp() when SIGCHLD is caught IY74171 1 libmemops.a doesn't support 64 bit applications. IY74088 3 The memcpy() subroutine fails for data more than 4G. -- albert chin ([EMAIL PROTECTED])