[uClibc-cvs] uClibc/libc/stdio scanf.c,1.25,1.26

Manuel Novoa III mjn3 at uclibc.org
Fri May 23 15:04:47 UTC 2003


Update of /var/cvs/uClibc/libc/stdio
In directory winder:/tmp/cvs-serv7813

Modified Files:
	scanf.c 
Log Message:
Sorry.  Changed this while fixing the last bug and forgot to change it
back.  Unfortunately, none of my test cases caught it.


Index: scanf.c
===================================================================
RCS file: /var/cvs/uClibc/libc/stdio/scanf.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- scanf.c	15 May 2003 21:32:31 -0000	1.25
+++ scanf.c	23 May 2003 15:04:43 -0000	1.26
@@ -350,7 +350,7 @@
 				if (p-spec < 5) { /* [,c,s - string conversions */
 					invert = 0;
 					if (*p == 'c') {
-						invert = 0;
+						invert = 1;
 						if (sc.width == INT_MAX) {
 							sc.width = 1;
 						}



More information about the uClibc-cvs mailing list