From owner-cvs-all Sun Sep 6 13:43:27 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA23433 for cvs-all-outgoing; Sun, 6 Sep 1998 13:43:27 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA23428; Sun, 6 Sep 1998 13:43:26 -0700 (PDT) (envelope-from jdp@FreeBSD.org) From: John Polstra Received: (from jdp@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id NAA07151; Sun, 6 Sep 1998 13:43:26 -0700 (PDT) Date: Sun, 6 Sep 1998 13:43:26 -0700 (PDT) Message-Id: <199809062043.NAA07151@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sbin/ldconfig ldconfig.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 Revision Changes Path 1.27 +11 -11 src/sbin/ldconfig/ldconfig.c