public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/topic/posix_acl_funcs] * newlib/libc/stdio/nano-vfscanf.c: Fix '%X' specifier procesing
@ 2016-02-08 14:54 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2016-02-08 14:54 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=7c9651e3ccea4f8bbc5fe50d0ed266f8976a3328

commit 7c9651e3ccea4f8bbc5fe50d0ed266f8976a3328
Author: Igor Venevtsev <igor.venevtsev@gmail.com>
Date:   Mon Feb 1 17:31:43 2016 +0300

    * newlib/libc/stdio/nano-vfscanf.c: Fix '%X' specifier procesing

Diff:
---
 newlib/libc/stdio/nano-vfscanf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/newlib/libc/stdio/nano-vfscanf.c b/newlib/libc/stdio/nano-vfscanf.c
index cc2fdf1..5ba00f7 100644
--- a/newlib/libc/stdio/nano-vfscanf.c
+++ b/newlib/libc/stdio/nano-vfscanf.c
@@ -375,6 +375,7 @@ _DEFUN(__SVFSCANF_R, (rptr, fp, fmt0, ap),
 	case 'p':
 	  scan_data.flags |= POINTER;
 	case 'x':
+	case 'X':
 	  scan_data.flags |= PFXOK;
 	  scan_data.base = 16;
 	  goto number;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-08 14:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-08 14:54 [newlib-cygwin/topic/posix_acl_funcs] * newlib/libc/stdio/nano-vfscanf.c: Fix '%X' specifier procesing Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).