[lkml]   [1996]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Possible /etc/hosts parsing bug?

Heh. Leading 0 means 'decode as octal'. Octal 016 equal decimal 14. Heh.
Try adding a leading 0x for even more fun.

Gee, I dunno about whether /etc/hosts numbers are implicit
decimal or not- I suspect so, but still, I would call it
a bug to user strtol with an implicit base.

----- Begin Included Message -----

 \ /
  Last update: 2005-03-22 13:37    [W:0.027 / U:6.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site