summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/isa_machdep.c
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-07-23 13:14:33 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-07-23 13:14:33 +0000
commitf57734e5260a6aa92634a8d4e74c9c4159e0079d (patch)
tree19c08f23215ed09129ba0f07f80512dceeb52fec /sys/arch/i386/isa/isa_machdep.c
parent6e3bc9589afeebb2fef21dedbe55e5bdd022c83d (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