From owner-freebsd-bugs Wed Jul 26 02:05:10 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id CAA11756 for bugs-outgoing; Wed, 26 Jul 1995 02:05:10 -0700 Received: from ghpc6.ihf.rwth-aachen.de (ghpc6.ihf.RWTH-Aachen.DE [134.130.90.6]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id CAA11750 for ; Wed, 26 Jul 1995 02:05:04 -0700 Received: (from thomas@localhost) by ghpc6.ihf.rwth-aachen.de (8.6.11/8.6.9) id LAA10712 for bugs@freebsd.org; Wed, 26 Jul 1995 11:04:49 +0200 From: Thomas Gellekum Message-Id: <199507260904.LAA10712@ghpc6.ihf.rwth-aachen.de> Subject: `pkg_delete -v' dumps core + fix To: bugs@freebsd.org Date: Wed, 26 Jul 1995 11:04:48 +0200 (MET DST) Organization: Institut f. Hochfrequenztechnik, RWTH Aachen X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 708 Sender: bugs-owner@freebsd.org Precedence: bulk Moin moin, as the subject says: `pkg_delete -v' gets a SIGSEGV. The fix is attached below. As an aside: /usr/src/usr.sbin/pkg_install/ contains all the object files and the executables (2.0.5R src tree). Probably just an oversight but I thought I'd mention it anyway. tg --- /usr/src/usr.sbin/pkg_install/lib/plist.c.orig Tue May 30 05:50:07 1995 +++ /usr/src/usr.sbin/pkg_install/lib/plist.c Tue Jul 25 20:39:13 1995 @@ -359,7 +359,7 @@ if (p->type == PLIST_CWD) { Where = p->name; if (Verbose) - printf("Change working directory to %s\n", CMD_CHAR, Where); + printf("Change working directory to %s\n", Where); } else if (p->type == PLIST_UNEXEC) { char cmd[FILENAME_MAX];