diff options
author | jdp <jdp@FreeBSD.org> | 1998-09-06 20:43:25 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1998-09-06 20:43:25 +0000 |
commit | 705eaef8b847e2fe924e76b18cb4d5064650d3ce (patch) | |
tree | 5b26cb83bc9d9d206d9df630e428f33d560585c7 /bin/sh/cd.c | |
parent | e08529ca69b292c3c8e18e47ed49bfa82f03fbef (diff) | |
download | FreeBSD-src-705eaef8b847e2fe924e76b18cb4d5064650d3ce.zip FreeBSD-src-705eaef8b847e2fe924e76b18cb4d5064650d3ce.tar.gz |
Fix calls to mmap. It returns void *, and on failure it returns
MAP_FAILED.
Don't try to extend the mapping in place if it is too short.
There's no guarantee it will be possible. Remap the file instead.
Put in a few style fixes.
Submitted by: Bruce Evans <bde>
Diffstat (limited to 'bin/sh/cd.c')
0 files changed, 0 insertions, 0 deletions