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/lib Pull up revision 1.2 (requeste...



details:   https://anonhg.NetBSD.org/src/rev/b789d807faa3
branches:  netbsd-1-6
changeset: 529503:b789d807faa3
user:      tron <tron%NetBSD.org@localhost>
date:      Sun Nov 24 22:22:49 2002 +0000

description:
Pull up revision 1.2 (requested by jschauma in ticket #1011):
Introduce path_prepend_from_pkgname() and path_remove_first() and
use in pkg_add to ensure the location of the package being added is
checked first for any additional packages.

diffstat:

 usr.sbin/pkg_install/lib/path.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 6d61c0fc7213 -r b789d807faa3 usr.sbin/pkg_install/lib/path.h
--- a/usr.sbin/pkg_install/lib/path.h   Sun Nov 24 22:22:42 2002 +0000
+++ b/usr.sbin/pkg_install/lib/path.h   Sun Nov 24 22:22:49 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: path.h,v 1.1.2.2 2002/07/21 04:42:55 lukem Exp $       */
+/*     $NetBSD: path.h,v 1.1.2.3 2002/11/24 22:22:49 tron Exp $        */
 
 /*-
  * Copyright (c)2002 YAMAMOTO Takashi,
@@ -35,4 +35,6 @@
 extern struct pathhead PkgPath;
 void path_create(const char *);
 void path_free(void);
+void path_prepend_from_pkgname(const char *);
+void path_remove_first(void);
 void path_setenv(const char *);



Home | Main Index | Thread Index | Old Index