Re: glibc's snprintf is a pig; fix or replace ?

2010-11-06 Thread Jim Meyering
Jim Meyering wrote: > Did you know that glibc's snprintf can fail due to ENOMEM? FYI, this is because glibc's snprintf is a thin wrapper around vasnprintf, and as its name implies, that latter may well allocate heap storage. However, "fixing" this problem in glibc would mean adapting or cloning t

Re: [coreutils] Re: Builds of coreutils-8.6.19-1369f

2010-11-06 Thread Jim Meyering
Ralf Wildenhues wrote: > Hello, > > * Jim Meyering wrote on Sat, Nov 06, 2010 at 02:55:47PM CET: >> Jim Meyering wrote: >> > Andreas Schwab wrote: >> >> Jim Meyering writes: >> >>> cat <<\EOF > init.cfg >> >>> f() >> >>> { >> >>> case $IFS in '') exit 91;; esac >> >>> local s=$IFS >> >>> cas

Re: [coreutils] Re: Builds of coreutils-8.6.19-1369f

2010-11-06 Thread Ralf Wildenhues
Hello, * Jim Meyering wrote on Sat, Nov 06, 2010 at 02:55:47PM CET: > Jim Meyering wrote: > > Andreas Schwab wrote: > >> Jim Meyering writes: > >>> cat <<\EOF > init.cfg > >>> f() > >>> { > >>> case $IFS in '') exit 91;; esac > >>> local s=$IFS > >>> case $s in '') exit 97;; esac > >>> } > >

Re: [coreutils] Re: Builds of coreutils-8.6.19-1369f

2010-11-06 Thread Jim Meyering
Jim Meyering wrote: > Andreas Schwab wrote: >> Jim Meyering writes: >> >>> For the record, I reduced it to this, >>> where /bin/sh is /usr/local/bin/bash, which is 4.1.7: > > Actually, /bin/sh is *not* bash on that particular system. > Rather, it's simply FreeBSD 8.1's /bin/sh. > That requires a