Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Alistair G. Crooks <agc@netbsd.org>
List: source-changes
Date: 08/19/1999 07:12:35
Module Name:	basesrc
Committed By:	agc
Date:		Thu Aug 19 14:12:35 UTC 1999

Modified Files:
	basesrc/usr.sbin/pkg_install/add: main.c perform.c
	basesrc/usr.sbin/pkg_install/info: perform.c
	basesrc/usr.sbin/pkg_install/lib: file.c lib.h

Log Message:
Consolidate URL handling into a table of valid leading strings for
URLs, and an access function (URLlength) - saves having various
hardcoded strings all over the place. Delete isURL, and use URLlength
in its place. Also use URLlength when parsing a filename for host
and filename part.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 basesrc/usr.sbin/pkg_install/add/main.c
cvs rdiff -r1.34 -r1.35 basesrc/usr.sbin/pkg_install/add/perform.c
cvs rdiff -r1.24 -r1.25 basesrc/usr.sbin/pkg_install/info/perform.c
cvs rdiff -r1.28 -r1.29 basesrc/usr.sbin/pkg_install/lib/file.c
cvs rdiff -r1.21 -r1.22 basesrc/usr.sbin/pkg_install/lib/lib.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.