lkml.org 
[lkml]   [2008]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] lib: pull base-guessing logic to helper function
On Wed, 17 Sep 2008 11:22:02 -0700
Harvey Harrison <harvey.harrison@gmail.com> wrote:

> There is a small behavior change in this patch, previously, when
> no base was specified and the string began with 0x? the base would
> be guessed as 8, unless isxdigit(?) was true. This would then return
> 0 as 'x' was larger than 8. Now, the base is always guessed as 16 if
> the string starts with '0x'

hm. I'd call that a bugfix.


\
 
 \ /
  Last update: 2008-09-18 01:09    [W:0.048 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site