Date: Mon, 18 Jun 2001 23:21:06 +0200 From: Rocco Lucia <rlucia@iscanet.com> To: freebsd-stable@freebsd.org Cc: pirzyk@freebsd.org Subject: make world breakage in src/usr.sbin/pkg_install/add/main.c Message-ID: <p05100e0bb7541f329f96@[10.0.0.1]>
next in thread | raw e-mail | index | archive | help
Hi,
I installed a fresh system copy from 4.3-R CDROM and cvsuped
to -STABLE. Make world breaks in usr.sbin/pkg_install/add/main.c
This should fix:
----------------------------------- CUT HERE -----------------------------------
--- main.c.orig Mon Jun 18 18:16:14 2001
+++ main.c Mon Jun 18 23:07:56 2001
@@ -144,9 +144,8 @@
if (fexists(*argv)) /* refers to a file directly */
pkgs[ch] = realpath(*argv, pkgnames[ch]);
else { /* look for the file in the expected places */
- if (!(cp = fileFindByPath(NULL, *argv)))
+ if ((cp = fileFindByPath(NULL, *argv)))
/* let pkg_do() fail later, so that error is reported */
- else
pkgs[ch] = strcpy(pkgnames[ch], cp);
}
}
--------------------------------------------------------------------------------
--
Rocco Lucia - rlucia@iscanet.com Iscanet Internet Services
http://elisa.utopianet.net/~rlucia System and Network Admin
C6E6 AC9A 1361 FB38 B47A 2792 9FC4 C52F 7A68 4468
Free unices for a free world. Support *BSD.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05100e0bb7541f329f96>
