On 17 Apr 2007 08:43:31 -0700, Thomas Hruska <[EMAIL PROTECTED]> wrote: > Paul Herring wrote: > > On 16 Apr 2007 10:21:58 -0700, Thomas Hruska <[EMAIL PROTECTED]> > > wrote: > >> [...] > >> While we are in "know-it-all" mode, BString has ConvertFromHex() and > >> doesn't use strtol() because strtol() depends on the source to be zero > >> terminated. > > > > Erm - no it doesn't - any unrecognised character will terminate the > > conversion, not just a NUL. > > Took me a bit to figure out you meant strtol().
Why did it take a while? I was addressing this part of your comment: # because strtol() depends on the source to be zero terminated. .. it doesn't. Didn't I cut enough of the quote? :) -- PJH Aio, quantitas magna frumentorum est
