Date: Sun, 6 Sep 1998 13:43:26 -0700 (PDT) From: John Polstra <jdp@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sbin/ldconfig ldconfig.c Message-ID: <199809062043.NAA07151@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jdp 1998/09/06 13:43:26 PDT
Modified files:
sbin/ldconfig ldconfig.c
Log:
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>
Revision Changes Path
1.27 +11 -11 src/sbin/ldconfig/ldconfig.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809062043.NAA07151>
