Subject: CVS commit: [netbsd-1-6] basesrc/usr.sbin/pkg_install/add
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 06/28/2002 15:42:49
Module Name:	basesrc
Committed By:	lukem
Date:		Fri Jun 28 12:42:49 UTC 2002

Modified Files:
	basesrc/usr.sbin/pkg_install/add [netbsd-1-6]: main.c

Log Message:
Pull up revision 1.24 (requested by taca in ticket #369):
- fix buffer size checks
- define PKG_PATTEN_MAX and PKG_SUFFIX_MAX and
  use them instead of constants like 255.
- add asserts and buffer size checks.
- constify and make WARNS=2 clean.
- Fixes provided by Stoned Elipot <seb@script.jussieu.fr> in PR 17323


To generate a diff of this commit:
cvs rdiff -r1.23 -r1.23.2.1 basesrc/usr.sbin/pkg_install/add/main.c

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