FYI, this fails on a vanilla debian x86 testing system: gnulib-tool --with-tests --test vsprintf-posix
Here is the debug backlog: [EMAIL PROTECTED]:~/src/gnulib/testdir12690/build/gltests master$ gdb ./test-vsprintf-posix GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... (gdb) r Starting program: /home/jas/src/gnulib/testdir12690/build/gltests/test-vsprintf-posix Program received signal SIGABRT, Aborted. 0xb7f74424 in __kernel_vsyscall () (gdb) bt #0 0xb7f74424 in __kernel_vsyscall () #1 0xb7e25640 in raise () from /lib/i686/cmov/libc.so.6 #2 0xb7e27018 in abort () from /lib/i686/cmov/libc.so.6 #3 0x0805b5fd in vasnprintf (resultbuf=0xbff8dfe8 "-0XC.91P-2 33", lengthp=0xbff8b6e0, format=0x805dbab "%La %d", args=0xbff8b718 "") at ../../gllib/vasnprintf.c:4425 #4 0x0805afec in rpl_vsprintf (str=0xbff8dfe8 "-0XC.91P-2 33", format=0x805dbab "%La %d", args=0xbff8b718 "") at ../../gllib/vsprintf.c:56 #5 0x0805af9f in my_sprintf (str=0xbff8dfe8 "-0XC.91P-2 33", format=0x805dbab "%La %d") at ../../gltests/test-vsprintf-posix.c:53 #6 0x08049d4f in test_function (my_sprintf=0x805af80 <my_sprintf>) at ../../gltests/test-sprintf-posix.h:425 #7 0x0805af6b in main () at ../../gltests/test-vsprintf-posix.c:61 (gdb) Thanks, /Simon