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.34 (request...
details: https://anonhg.NetBSD.org/src/rev/b872d2183c6d
branches: netbsd-1-6
changeset: 528514:b872d2183c6d
user: lukem <lukem%NetBSD.org@localhost>
date: Sun Jul 21 04:43:11 2002 +0000
description:
Pull up revision 1.34 (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/lib/plist.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r d8a0bb4f18ae -r b872d2183c6d usr.sbin/pkg_install/lib/plist.c
--- a/usr.sbin/pkg_install/lib/plist.c Sun Jul 21 04:43:03 2002 +0000
+++ b/usr.sbin/pkg_install/lib/plist.c Sun Jul 21 04:43:11 2002 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: plist.c,v 1.32.2.1 2002/06/28 12:42:32 lukem Exp $ */
+/* $NetBSD: plist.c,v 1.32.2.2 2002/07/21 04:43:11 lukem Exp $ */
#include <sys/cdefs.h>
#ifndef lint
#if 0
static const char *rcsid = "from FreeBSD Id: plist.c,v 1.24 1997/10/08 07:48:15 charnier Exp";
#else
-__RCSID("$NetBSD: plist.c,v 1.32.2.1 2002/06/28 12:42:32 lukem Exp $");
+__RCSID("$NetBSD: plist.c,v 1.32.2.2 2002/07/21 04:43:11 lukem Exp $");
#endif
#endif
@@ -70,7 +70,7 @@
* Add an item to the end of a packing list
*/
void
-add_plist(package_t *p, pl_ent_t type, char *arg)
+add_plist(package_t *p, pl_ent_t type, const char *arg)
{
plist_t *tmp;
@@ -90,7 +90,7 @@
* Add an item to the start of a packing list
*/
void
-add_plist_top(package_t *p, pl_ent_t type, char *arg)
+add_plist_top(package_t *p, pl_ent_t type, const char *arg)
{
plist_t *tmp;
Home |
Main Index |
Thread Index |
Old Index