From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76669 invoked by alias); 8 Dec 2015 20:44:36 -0000 Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org Received: (qmail 76627 invoked by uid 89); 8 Dec 2015 20:44:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail.ecoscentric.com Received: from albus.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.200) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 08 Dec 2015 20:44:33 +0000 Received: by mail.ecoscentric.com (Postfix, from userid 512) id 941D0A872A9; Tue, 8 Dec 2015 20:44:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.ecoscentric.com 941D0A872A9 From: bugzilla-daemon@ecoscentric.com Authentication-Results: mail.ecoscentric.com; dkim=permerror (bad message/signature format) To: unassigned@bugs.ecos.sourceware.org Subject: [Bug 1002110] vfscanf does not support "hh" conversion Date: Tue, 08 Dec 2015 20:44:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: C library X-Bugzilla-Version: 3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jifl@ecoscentric.com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cc resolution bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015/txt/msg00086.txt.bz2 Please do not reply to this email, use the link below. http://bugs.ecos.sourceware.org/show_bug.cgi?id=1002110 Jonathan Larmour changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|high |low Status|UNCONFIRMED |RESOLVED CC| |jifl@ecoscentric.com Resolution|--- |WONTFIX Severity|critical |enhancement --- Comment #1 from Jonathan Larmour --- The eCos C library was written to the ISO C 90 standard. The 'hh' size specifier was added in the C99 standard. We do not have C99 support in this and many other ways. So indeed %hhx would fail. Adding 'hh' support, along with other C99 additions would be quite an enhancement, and is considered a low priority at this time. I suggest you use %c with the first element of a two char string (so you can have a NULL terminator) followed by a call to strtoul() with base 16. I'm marking this WONTFIX for now, although I'd have no problem with a tested patch if one appeared. Jifl -- You are receiving this mail because: You are the assignee for the bug.