From owner-cvs-usrbin Sun Sep 14 01:26:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA00347 for cvs-usrbin-outgoing; Sun, 14 Sep 1997 01:26:52 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA00239; Sun, 14 Sep 1997 01:25:03 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id BAA18122; Sun, 14 Sep 1997 01:21:44 -0700 (PDT) Date: Sun, 14 Sep 1997 01:21:44 -0700 (PDT) Message-Id: <199709140821.BAA18122@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/xinstall xinstall.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/09/14 01:21:44 PDT Modified files: usr.bin/xinstall xinstall.c Log: When calling strip, temporarily close the file, call strip and then reopen it after strip has finished. This makes it work when /usr/bin/strip replaces the file rather than doing an in-place edit (such as the binutils-2.8 strip, which is a variation of objcopy). This is necessary if install(1) and strip(1) are going to cooperate on an ELF system. Revision Changes Path 1.25 +10 -2 src/usr.bin/xinstall/xinstall.c