From owner-cvs-all Sat Nov 30 15:16:57 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D2E337B401; Sat, 30 Nov 2002 15:16:56 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D1B743EA9; Sat, 30 Nov 2002 15:16:56 -0800 (PST) (envelope-from fenner@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gAUNCxmV085526; Sat, 30 Nov 2002 15:12:59 -0800 (PST) (envelope-from fenner@repoman.freebsd.org) Received: (from fenner@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gAUNCxCM085525; Sat, 30 Nov 2002 15:12:59 -0800 (PST) Message-Id: <200211302312.gAUNCxCM085525@repoman.freebsd.org> From: Bill Fenner Date: Sat, 30 Nov 2002 15:12:59 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/xinstall xinstall.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG fenner 2002/11/30 15:12:59 PST Modified files: usr.bin/xinstall xinstall.c Log: If both the unlink and the open fail, return the errno from the unlink (very likely EPERM), since the errno from the open might be a confusing ETXTBSY. Approved by: re MFC After: 1 week Revision Changes Path 1.61 +8 -2 src/usr.bin/xinstall/xinstall.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message