From owner-freebsd-stable Mon Jun 18 17:32:20 2001 Delivered-To: freebsd-stable@freebsd.org Received: from pt-quorum.com (pt-quorum.com [209.10.167.210]) by hub.freebsd.org (Postfix) with ESMTP id 2F7CB37B403 for ; Mon, 18 Jun 2001 17:32:17 -0700 (PDT) (envelope-from nuno.mailinglists@pt-quorum.com) Received: from p231-237.netc.pt ([213.30.47.231]) by pt-quorum.com (8.9.3/8.9.3) with ESMTP id BAA29123 for ; Tue, 19 Jun 2001 01:25:28 +0100 Date: Tue, 19 Jun 2001 01:34:55 +0100 (WEST) From: Nuno Teixeira To: Subject: Re: make world breakage in src/usr.sbin/pkg_install/add/main.c In-Reply-To: Message-ID: <20010619013314.R22681-100000@gateway.bogus> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Yes, you right. I have the same problem today. I'll be waiting for a fix. Bye, - -- Nuno Teixeira Dir. Técnico pt-quorum.com On Mon, 18 Jun 2001, Rocco Lucia wrote: > 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 > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: Made with pgp4pine 1.76 iD8DBQE7Lp46jwdyCmOgT8cRAt/zAKDv9kIOSiEjq5lrUsCLL0obvpOdUwCggZrD 4xKqpMup63PjHgmbc9skXF4= =0abm -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message