This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Bug in stdlib/a64l.c
- From: Brooks Moses <brooks at codesourcery dot com>
- To: newlib at sourceware dot org
- Date: Wed, 29 Jul 2009 14:48:32 -0700
- Subject: Bug in stdlib/a64l.c
Hi,
I just noticed what looks like a bug in stdlib/a64l.c, when I happened
to be looking at it just now. I apologize for not having time to do up
a proper patch to fix it (much less add test coverage, etc.), but
thought I should at least send an email.
Towards the end of the function, there are the following lines:
> case 'x':
> case 'y':
> case 'z':
> digit = (ch - 'A') + 38;
That should, I believe, be (ch - 'a'), with a lowercase 'a'.
- Brooks