This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1002110] vfscanf does not support "hh" conversion


Please do not reply to this email, use the link below.

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1002110

Jonathan Larmour <jifl@ecoscentric.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|high                        |low
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jifl@ecoscentric.com
         Resolution|---                         |WONTFIX
           Severity|critical                    |enhancement

--- Comment #1 from Jonathan Larmour <jifl@ecoscentric.com> ---
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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]