Bug in simple_strtoul. (kinda of...)

Dave Cinege (dcinege@psychosis.com)
Fri, 9 Jan 1998 21:14:53 -0500 (EST)


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.)