| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
PR: 3850, 3855
|
| |
|
|
|
|
| |
posix standard on the topic.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
|
|
|
|
|
|
| |
page-aligned. cmp(1) should know about this flaw, and work around it.
While i was at it, fixed an uninitialized variable as reported by
-Wall.
|
|
|
|
|
| |
go much more quickly when file input is really done. Of course, the
fully cached case will make no difference.
|
|
|
|
| |
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
|
|
|
|
|
|
| |
the time, even with -s. Make cmp SHUT UP about non-existant files
when run with -s.
Submitted by: jkh
|
|
|