Re: Linux 2.4.9-ac13

From: Paul (set@pobox.com)
Date: Fri Sep 21 2001 - 18:48:00 EST


        It looks to me like fmt got incremented once too much.
(seems to have fixed the sscanf failures I otherwise had.)

Paul
set@pobox.com

--- 2.4.9-ac13-user/lib/vsprintf.c.old Fri Sep 21 19:42:25 2001
+++ 2.4.9-ac13-user/lib/vsprintf.c Fri Sep 21 19:37:38 2001
@@ -526,7 +526,7 @@
 
                 /* anything that is not a conversion must match exactly */
                 if (*fmt != '%') {
- if (*fmt++ != *str++)
+ if (*fmt != *str++)
                                 return num;
                         continue;
                 }
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 23 2001 - 21:00:46 EST