Hello, In the Debian BSP in Zurich, I prepared a NMU to correct a rc-bug.
You will find the diff in attachment: The program use "%as" to scan lines. The problem is that not so new C99 use "%a" for floating point, and no more as GNU extension "auto malloc". ciao cate PS: I'll push the package in delayed queue
diff -u genext2fs-1.4.1/debian/changelog genext2fs-1.4.1/debian/changelog --- genext2fs-1.4.1/debian/changelog +++ genext2fs-1.4.1/debian/changelog @@ -1,3 +1,11 @@ +genext2fs (1.4.1-2.1) unstable; urgency=low + + * Non-Maintainer Upload, at BSP in Zurich + * in sscanf the "a" could mean "malloc" or the new C99 floating, + so don't use it, not to have surprises. + + -- Giacomo Catenazzi <[EMAIL PROTECTED]> Sat, 12 Jan 2008 23:03:59 +0100 + genext2fs (1.4.1-2) unstable; urgency=low * configure.in: Change AC_CONFIG_HEADER to AM_CONFIG_HEADER. only in patch2: unchanged: --- genext2fs-1.4.1.orig/genext2fs.c +++ genext2fs-1.4.1/genext2fs.c @@ -286,7 +286,9 @@ // older solaris. Note that this is still not very portable, in that // the return value cannot be trusted. -#if SCANF_CAN_MALLOC +#if 0 // SCANF_CAN_MALLOC +// C99 define "a" for floating point, so you can have runtime surprise +// according the library versions # define SCANF_PREFIX "a" # define SCANF_STRING(s) (&s) #else