Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 1995 11:04:48 +0200 (MET DST)
From:      Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de>
To:        bugs@freebsd.org
Subject:   `pkg_delete -v' dumps core + fix
Message-ID:  <199507260904.LAA10712@ghpc6.ihf.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help
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];




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507260904.LAA10712>