Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/usr.sbin/pkg_install/add Pull up revision 1.73 (request...
details: https://anonhg.NetBSD.org/src/rev/d1b9fdd24186
branches: netbsd-1-6
changeset: 529506:d1b9fdd24186
user: tron <tron%NetBSD.org@localhost>
date: Sun Nov 24 22:23:34 2002 +0000
description:
Pull up revision 1.73 (requested by jschauma in ticket #1011):
Do not prepend '.' to path when looking for dependencies for a package
specified without any path components. (Pointed out by Takashi Yamamoto)
Rename path_remove_first() to path_prepend_clear().
diffstat:
usr.sbin/pkg_install/add/perform.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 20887339e02d -r d1b9fdd24186 usr.sbin/pkg_install/add/perform.c
--- a/usr.sbin/pkg_install/add/perform.c Sun Nov 24 22:23:09 2002 +0000
+++ b/usr.sbin/pkg_install/add/perform.c Sun Nov 24 22:23:34 2002 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: perform.c,v 1.63.2.7 2002/11/24 22:22:42 tron Exp $ */
+/* $NetBSD: perform.c,v 1.63.2.8 2002/11/24 22:23:34 tron Exp $ */
#include <sys/cdefs.h>
#ifndef lint
#if 0
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.44 1997/10/13 15:03:46 jkh Exp";
#else
-__RCSID("$NetBSD: perform.c,v 1.63.2.7 2002/11/24 22:22:42 tron Exp $");
+__RCSID("$NetBSD: perform.c,v 1.63.2.8 2002/11/24 22:23:34 tron Exp $");
#endif
#endif
@@ -720,7 +720,7 @@
while ((lpp = TAILQ_FIRST(pkgs)) != NULL) {
path_prepend_from_pkgname(lpp->lp_name);
err_cnt += pkg_do(lpp->lp_name);
- path_remove_first();
+ path_prepend_clear();
TAILQ_REMOVE(pkgs, lpp, lp_link);
free_lpkg(lpp);
}
Home |
Main Index |
Thread Index |
Old Index