From fa08ba8b23ce78b177b0883bd5d8a9b22ded4ed7 Mon Sep 17 00:00:00 2001 From: Igor Venevtsev Date: Tue, 2 Feb 2016 13:50:09 +0300 Subject: [PATCH] * newlib/libc/stdio/nano-vfscanf.c: Fix '%F', '%G' and '%E' specifiers processing --- 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 6a827567a..cc2fdf195 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