Message71681
The problem appears to be that on Solaris, the isxdigit function (which
is supposed to check whether a character is a valid hex digit) returns
true for Unicode fullwidth digits. On other systems I have access to,
isxdigit just returns true for the ASCII hex digits, and you use the C99
iswxdigit function if you want to allow other Unicode digits.
One could argue that these fullwidth digits should be permitted, but I
don't know any quick way to convert a unicode digit to its value. For
now, it just seems simplest to replace the isxdigit call with an
explicit check for the ASCII 7-bit characters '0' through '9', 'a'
through 'f'. |
|
Date |
User |
Action |
Args |
2008-08-21 21:12:29 | mark.dickinson | set | recipients:
+ mark.dickinson, pitrou, benjamin.peterson |
2008-08-21 21:12:29 | mark.dickinson | set | messageid: <1219353149.26.0.688636164101.issue3633@psf.upfronthosting.co.za> |
2008-08-21 21:12:27 | mark.dickinson | link | issue3633 messages |
2008-08-21 21:12:27 | mark.dickinson | create | |
|