[newlib-cygwin/topic/posix_acl_funcs] * newlib/libc/stdio/nano-vfscanf.c: Fix '%F', '%G' and '%E' specifiers processing
Corinna Vinschen
corinna@sourceware.org
Mon Feb 8 14:54:00 GMT 2016
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=fa08ba8b23ce78b177b0883bd5d8a9b22ded4ed7
commit fa08ba8b23ce78b177b0883bd5d8a9b22ded4ed7
Author: Igor Venevtsev <igor.venevtsev@gmail.com>
Date: Tue Feb 2 13:50:09 2016 +0300
* newlib/libc/stdio/nano-vfscanf.c: Fix '%F', '%G' and '%E' specifiers processing
Diff:
---
newlib/libc/stdio/nano-vfscanf.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/newlib/libc/stdio/nano-vfscanf.c b/newlib/libc/stdio/nano-vfscanf.c
index 6a82756..cc2fdf1 100644
--- a/newlib/libc/stdio/nano-vfscanf.c
+++ b/newlib/libc/stdio/nano-vfscanf.c
@@ -423,9 +423,9 @@ _DEFUN(__SVFSCANF_R, (rptr, fp, fmt0, ap),
return EOF;
#ifdef FLOATING_POINT
- case 'e':
- case 'f':
- case 'g':
+ case 'e': case 'E':
+ case 'f': case 'F':
+ case 'g': case 'G':
scan_data.code = CT_FLOAT;
break;
#endif
More information about the Newlib-cvs
mailing list