diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-07-23 13:14:33 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-07-23 13:14:33 +0000 |
commit | f57734e5260a6aa92634a8d4e74c9c4159e0079d (patch) | |
tree | 19c08f23215ed09129ba0f07f80512dceeb52fec /sys/arch/i386/isa/isa_machdep.c | |
parent | 6e3bc9589afeebb2fef21dedbe55e5bdd022c83d (diff) |
- Use strtol() instead of atoi() so head(1) will complain when given bad
number specifications like: head -123foobar456. Also, check for ERANGE and
abort if strtol() returned LONG_MAX or LONG_MIN.
- Don't exit() when encountering a filename in argv[] that can't be open;
instead just continue.
- Don't keep decrementing `linecnt' if we've hit the end of the file.
millert@ ok
Diffstat (limited to 'sys/arch/i386/isa/isa_machdep.c')
0 files changed, 0 insertions, 0 deletions