Subject: CVS commit: [netbsd-1-6] basesrc/usr.sbin/pkg_install/create
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 06/28/2002 15:43:24
Module Name: basesrc
Committed By: lukem
Date: Fri Jun 28 12:43:23 UTC 2002
Modified Files:
basesrc/usr.sbin/pkg_install/create [netbsd-1-6]: main.c
Log Message:
Pull up revision 1.21 (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.20 -r1.20.2.1 basesrc/usr.sbin/pkg_install/create/main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.