[PATCH 1/2] Parse hex and octal strings correctly in __strtoul_internal

Siddhesh Poyarekar siddhesh@redhat.com
Fri Apr 20 06:36:00 GMT 2012


On Thu, 19 Apr 2012 21:18:49 -0700, Paul wrote:
> As far as I can tell, the patch handles 0xabcdef, but not 0xABCDEF.
> 
> Please consider handling either case; not doing that is sure to
> surprise somebody down the line.
> 

Right, thanks for catching that; not sure how I missed it. Updated
patch attached, also with Copyright years updated.

--
Siddhesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Parse-hexadecimal-and-octal-strings-correctly.patch
Type: text/x-patch
Size: 1271 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120420/e1dfd1ac/attachment.bin>


More information about the Libc-alpha mailing list