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/admin Pull up revision 1.27 (reque...



details:   https://anonhg.NetBSD.org/src/rev/88bc60fee96e
branches:  netbsd-1-6
changeset: 528503:88bc60fee96e
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Jul 21 04:41:30 2002 +0000

description:
Pull up revision 1.27 (requested by yamt in ticket #530):
- remove handling of PKG_ADD_BASE.
- don't search current directory if PKG_PATH is set.
- don't prefer local directories.
- constify and cleanup.
discussed on tech-pkg.

diffstat:

 usr.sbin/pkg_install/admin/main.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 762a75cc8df0 -r 88bc60fee96e usr.sbin/pkg_install/admin/main.c
--- a/usr.sbin/pkg_install/admin/main.c Sun Jul 21 04:41:22 2002 +0000
+++ b/usr.sbin/pkg_install/admin/main.c Sun Jul 21 04:41:30 2002 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: main.c,v 1.24.2.1 2002/06/28 12:43:15 lukem Exp $      */
+/*     $NetBSD: main.c,v 1.24.2.2 2002/07/21 04:41:30 lukem Exp $      */
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: main.c,v 1.24.2.1 2002/06/28 12:43:15 lukem Exp $");
+__RCSID("$NetBSD: main.c,v 1.24.2.2 2002/07/21 04:41:30 lukem Exp $");
 #endif
 
 /*
@@ -420,7 +420,7 @@
                while (*argv != NULL) {
                        /* args specified */
                        int     rc;
-                       char *basep, *dir;
+                       const char *basep, *dir;
                        char *cwd;
                        char base[FILENAME_MAX];
 
@@ -458,7 +458,7 @@
                while (*argv != NULL) {
                        /* args specified */
                        int     rc;
-                       char *basep, *dir;
+                       const char *basep, *dir;
                        char *cwd;
                        char base[FILENAME_MAX];
                        char *p;



Home | Main Index | Thread Index | Old Index