lkml.org 
[lkml]   [1998]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectBug in simple_strtoul. (kinda of...)
Date
From
While working on some untar support, I ran into a kludge when converting
from user to kernel functions.

Originally strtoul with a base 8 was called to convert the file size, etc from
the tar header struct. The problem is that the 'string' contains it's value
on the rightward side, and pads the left most space with spaces (0x20).

The real strtoul can apparently handle this. Maybe simple_strtoul should
as well for compatablity?? (I'll do it if the gods say yes.)

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