Commit Graph

10 Commits

Author SHA1 Message Date
jkh
5936a00188 revert: The warning was supposed to irritate someone into fixing this. 1997-09-15 11:02:10 +00:00
jkh
e5bfd4a0c7 unsigned char -> caddr_t for mmap's return value. 1997-09-15 08:31:20 +00:00
charnier
6ea857cf25 Use err(3) instead of local redefinition. 1997-07-23 06:46:10 +00:00
imp
cd84ece5fd compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
peter
cf1e7e3f26 Merge from Lite2 1997-03-11 13:43:33 +00:00
alex
ee019a53dc Sweep through the tree fixing mmap() usage:
- Use MAP_FAILED instead of the constant -1 to indicate
    failure (required by POSIX).
  - Removed flag arguments of '0' (required by POSIX).
  - Fixed code which expected an error return of 0.
  - Fixed code which thought any address with the high bit set
    was an error.
  - Check for failure where no checks were present.

Discussed with:	bde
1997-01-16 21:58:40 +00:00
mpp
3af6efec9f Use the .At macro where appropriate. 1996-08-23 01:06:24 +00:00
ache
62c3456c62 Make it works with 8bit charsets
Add setlocale LC_CTYPE
1995-10-29 00:20:05 +00:00
rgrimes
79e59e9123 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00