Commit Graph

6 Commits

Author SHA1 Message Date
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
adam
774b86ec49 complete err() changes, actually use warn() in most instances 1996-08-26 20:37:48 +00:00
peter
66ebc3e085 Dont forget to #include <err.h> 1996-08-25 21:14:19 +00:00
peter
e9abd98fe4 Fix some bogons:
- timeval in select loop was depending on not having the remaining time
  returned from select(), causing a busy spin on an implementation that
  does implement it.
- the err() usage was pretty bogus, some of the error messages had
  strerror attached manually and then reattached by err().
1996-08-25 21:03:50 +00:00
adam
e9c7931207 one file somehow slipped by me in the previous commit
tidy up
1996-07-30 15:44:30 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00