Robinson, Mark wrote: > hi > > Compiled bash version 3.1.16 on Solaris 9 (AIX 5.1 also shows problem) > after configuring without parameters. Got this error: > > % ./bash --version > GNU bash, version 3.1.16(3)-release (sparc-sun-solaris2.9) > Copyright (C) 2005 Free Software Foundation, Inc. > % ./bash -c 'printf "%0.5d\n" 1' > 1
It's a bug in bash's asprintf/snprintf replacement. This will happen on all systems without an asprintf() in libc. I will fix it. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ( ``Discere est Dolere'' -- chet ) Live Strong. No day but today. Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/ _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash