On Mon Mar 11 18:56:04 EDT 2013, ba...@bitblocks.com wrote:
> On Mon, 11 Mar 2013 15:44:05 PDT Steven Stallion <sstall...@gmail.com> wrote:
> > from atof(2):
> > 
> >      BUGS
> >           Atoi, atol, and atoll accept octal and hexadecimal numbers
> >           in the style of C, contrary to the ANSI specification.
> 
> This BUG is obviously very easy to fix but it hasn't been....
> Any good reason for this or just laziness?  Anyway, more cruft
> to remember (and debug when porting software).

there is a deep-seated assumption on the system that strtou?ll? accept
hex and octal.  the fact that it's in the BUG section rather than fixed
means there are good reasons for not fixing it.

if you were to make this change, i would be surprised if you could
boot your kernel.

- erik

Reply via email to