OSDN Git Service

2009-07-29 Jeff Johnston <jjohnstn@redhat.com>
authorjjohnstn <jjohnstn>
Wed, 29 Jul 2009 22:33:40 +0000 (22:33 +0000)
committerjjohnstn <jjohnstn>
Wed, 29 Jul 2009 22:33:40 +0000 (22:33 +0000)
        * libc/stdlib/a64l.c: Fix to use 'a' instead of 'A' in calculation
        when a lower-case character is detected.

newlib/ChangeLog
newlib/libc/stdlib/a64l.c

index fe42b07..aaf4b53 100644 (file)
@@ -1,3 +1,8 @@
+2009-07-29  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/stdlib/a64l.c: Fix to use 'a' instead of 'A' in calculation
+       when a lower-case character is detected.
+
 2009-07-29  Corinna Vinschen  <corinna@vinschen.de>
 
        * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Rework UTF-16 surrogate
index 42fc2d2..ee3d40d 100644 (file)
@@ -172,7 +172,7 @@ _DEFUN (a64l, (input),
        case 'x':
        case 'y':
        case 'z':
-         digit = (ch - 'A') + 38;
+         digit = (ch - 'a') + 38;
          break;
        default:
          digit = 0;