Commit replaces unhandled strtol() calls with appropriate str2*() functions and wrappers. Reported-by: Duncan Idaho