Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 1995 01:13:04 -0700
From:      asami@CS.Berkeley.EDU (Satoshi Asami)
To:        jkh@FreeBSD.org, gpalmer@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   fix to /usr/src/usr.sbin/pkg_install/add/perform.c
Message-ID:  <199506100813.BAA03717@silvia.HIP.Berkeley.EDU>

next in thread | raw e-mail | index | archive | help
I believe this fixes PR ports/422.  This is a HIGHLY critical bug, as
as far as I can tell, it will prevent pkg_add from finding any of the
dependencies (kinda defeats the purpose of recording dependencies in
packages, huh? :).

Jordan or Gary, can you review and commit it?  I'll be gone again
early tomorrow morning, BTW.

Satoshi
=======
--- ./add/perform.c.org	Tue May 30 04:21:28 1995
+++ ./add/perform.c	Sat Jun 10 01:00:41 1995
@@ -213,7 +213,7 @@
 		if (Verbose)
 		    printf(" which is not currently loaded");
 		if (!isURL(p->name)) {
-		    snprintf(path, FILENAME_MAX, "%s/%s", Home, p->name);
+		    snprintf(path, FILENAME_MAX, "%s/%s.tgz", Home, p->name);
 		    if (fexists(path))
 			cp = path;
 		    else



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