Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Hubert Feyrer <hubertf@netbsd.org>
List: source-changes
Date: 04/28/2001 23:55:35
Module Name:	basesrc
Committed By:	hubertf
Date:		Sat Apr 28 20:55:35 UTC 2001

Modified Files:
	basesrc/usr.sbin/pkg_install/lib: ftpio.c lib.h str.c

Log Message:
 * add function strip_txz() to strip off any .tgz, .tbz, .t[bg]z from a
   given filename.
 * Use strip_txz() inside the FTP-wildcard-depends handling code to
   prevent it handing a combination of glob and dewey pattern to pmatch(),
   which our pattern matching code currently does not handle. Bugfix!

XXX The other places that could be changed to use strip_txz() are not
    touched in this commit to keep the impact of this change small in the
    light of the approaching 1.5.1 release. I'll revisit them.


To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 basesrc/usr.sbin/pkg_install/lib/ftpio.c
cvs rdiff -r1.33 -r1.34 basesrc/usr.sbin/pkg_install/lib/lib.h
cvs rdiff -r1.28 -r1.29 basesrc/usr.sbin/pkg_install/lib/str.c

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