Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.sbin/pkg_install/add Pullup 1.9-1.10:
details: https://anonhg.NetBSD.org/src/rev/5963ac597b21
branches: netbsd-1-4
changeset: 469259:5963ac597b21
user: he <he%NetBSD.org@localhost>
date: Sun Aug 22 17:27:23 1999 +0000
description:
Pullup 1.9-1.10:
Clean up URL handling. (hubertf)
diffstat:
usr.sbin/pkg_install/add/main.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 019cf0f87b39 -r 5963ac597b21 usr.sbin/pkg_install/add/main.c
--- a/usr.sbin/pkg_install/add/main.c Sun Aug 22 17:25:06 1999 +0000
+++ b/usr.sbin/pkg_install/add/main.c Sun Aug 22 17:27:23 1999 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: main.c,v 1.9 1999/03/22 05:02:39 hubertf Exp $ */
+/* $NetBSD: main.c,v 1.9.2.1 1999/08/22 17:27:23 he Exp $ */
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char *rcsid = "from FreeBSD Id: main.c,v 1.16 1997/10/08 07:45:43 charnier Exp";
#else
-__RCSID("$NetBSD: main.c,v 1.9 1999/03/22 05:02:39 hubertf Exp $");
+__RCSID("$NetBSD: main.c,v 1.9.2.1 1999/08/22 17:27:23 he Exp $");
#endif
#endif
@@ -123,7 +123,7 @@
for (ch = 0; *argv; ch++, argv++) {
if (!strcmp(*argv, "-")) /* stdin? */
lpp = alloc_lpkg("-");
- else if (isURL(*argv)) /* preserve URLs */
+ else if (URLlength(*argv) > 0) /* preserve URLs */
lpp = alloc_lpkg(*argv);
else { /* expand all pathnames to fullnames */
char *s;
Home |
Main Index |
Thread Index |
Old Index