Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.sbin/pkg_install/lib Pullup 1.41 [hubertf]:
details: https://anonhg.NetBSD.org/src/rev/a09bc06bd68c
branches: netbsd-1-5
changeset: 489733:a09bc06bd68c
user: tv <tv%NetBSD.org@localhost>
date: Mon Oct 16 21:16:52 2000 +0000
description:
Pullup 1.41 [hubertf]:
Check if $PKG_PATH is set AND contains something useful. Stops
pkg_info from spewing.
diffstat:
usr.sbin/pkg_install/lib/file.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 17de48f9c83a -r a09bc06bd68c usr.sbin/pkg_install/lib/file.c
--- a/usr.sbin/pkg_install/lib/file.c Sun Oct 15 18:34:48 2000 +0000
+++ b/usr.sbin/pkg_install/lib/file.c Mon Oct 16 21:16:52 2000 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: file.c,v 1.37.4.3 2000/10/04 16:44:05 hubertf Exp $ */
+/* $NetBSD: file.c,v 1.37.4.4 2000/10/16 21:16:52 tv Exp $ */
#include <sys/cdefs.h>
#ifndef lint
#if 0
static const char *rcsid = "from FreeBSD Id: file.c,v 1.29 1997/10/08 07:47:54 charnier Exp";
#else
-__RCSID("$NetBSD: file.c,v 1.37.4.3 2000/10/04 16:44:05 hubertf Exp $");
+__RCSID("$NetBSD: file.c,v 1.37.4.4 2000/10/16 21:16:52 tv Exp $");
#endif
#endif
@@ -405,7 +405,7 @@
}
cp = getenv("PKG_PATH");
- while (cp) {
+ while (cp && *cp) {
char *cp2 = strsep(&cp, ";");
if (Verbose)
Home |
Main Index |
Thread Index |
Old Index