Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2001 01:34:55 +0100 (WEST)
From:      Nuno Teixeira <nuno.mailinglists@pt-quorum.com>
To:        <freebsd-stable@FreeBSD.ORG>
Subject:   Re: make world breakage in src/usr.sbin/pkg_install/add/main.c
Message-ID:  <20010619013314.R22681-100000@gateway.bogus>
In-Reply-To: <p05100e0bb7541f329f96@[10.0.0.1]>

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




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