Re: [bug-gnulib] FYI: strndup portability fix [was Re: coreutils 6.2

2006-09-28 Thread Bruno Haible
Jim Meyering wrote: > > The above makes me think your tools have incomplete "weak_alias" support, > > so that lib/strndup.o ends up with a definition for a function > > named __strndup, rather than rpl_strndup. Huh? 'weak_alias' should never be defined, except inside glibc (i.e. if _LIBC). > No o

FYI: strndup portability fix [was Re: coreutils 6.2

2006-09-28 Thread Jim Meyering
Jim Meyering <[EMAIL PROTECTED]> wrote: > "Gabor Z. Papp" <[EMAIL PROTECTED]> wrote: > ... >> gcc -std=gnu99 -g -O2 -Wl,--as-needed -o cp cp.o copy.o cp-hash.o >> ../lib/libcoreutils.a ../lib/libcoreutils.a >> ../lib/libcoreutils.a(xstrndup.o): In function `xstrndup': >> /home/gzp/src/coreutil