Public bug reported: Binary package hint: libc6-dev
There is a typo in <stdio.h> in Ubuntu 8.04 and 8.10 which makes it unpossible to use vscanf() for development (it calls vfscanf, which segfaults because of the missing file parameter). The fix is from http://sourceware.org/ml/libc-hacker/2008-05/msg00000.html : 2008-05-24 Jakub Jelinek <[EMAIL PROTECTED]> * libio/stdio.h (vscanf): Fix -std=c99 redirect. * stdio-common/Makefile (tests): Add scanf16 and scanf17. (CFLAGS-scanf17.c): New. * stdio-common/scanf14.c (main): Add fscanf and scanf tests. * stdio-common/scanf15.c (main): Likewise. * stdio-common/scanf16.c: New test. * stdio-common/scanf17.c: New test. --- libc/libio/stdio.h.jj 2008-05-24 09:50:53.000000000 +0200 +++ libc/libio/stdio.h 2008-05-24 09:50:53.000000000 +0200 @@ -475,7 +475,7 @@ extern int __REDIRECT (vfscanf, __isoc99_vfscanf) __attribute__ ((__format__ (__scanf__, 2, 0))) __wur; extern int __REDIRECT (vscanf, (__const char *__restrict __format, - _G_va_list __arg), __isoc99_vfscanf) + _G_va_list __arg), __isoc99_vscanf) __attribute__ ((__format__ (__scanf__, 1, 0))) __wur; extern int __REDIRECT (vsscanf, (__const char *__restrict __s, ** Affects: glibc (Ubuntu) Importance: Undecided Status: New -- vscanf bug in <stdio.h> https://bugs.launchpad.net/bugs/296287 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs