Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/usr.sbin/pkg_install/info Pull up revision 1.13 (reques...



details:   https://anonhg.NetBSD.org/src/rev/7dc3aae8eb0f
branches:  netbsd-1-6
changeset: 528268:7dc3aae8eb0f
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Jun 28 12:44:06 2002 +0000

description:
Pull up revision 1.13 (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@localhost> in PR 17323

diffstat:

 usr.sbin/pkg_install/info/info.h |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 2ee1299dc3ad -r 7dc3aae8eb0f usr.sbin/pkg_install/info/info.h
--- a/usr.sbin/pkg_install/info/info.h  Fri Jun 28 12:43:57 2002 +0000
+++ b/usr.sbin/pkg_install/info/info.h  Fri Jun 28 12:44:06 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: info.h,v 1.12 1999/11/29 19:48:46 hubertf Exp $ */
+/* $NetBSD: info.h,v 1.12.6.1 2002/06/28 12:44:06 lukem Exp $ */
 
 /* from FreeBSD Id: info.h,v 1.10 1997/02/22 16:09:40 peter Exp */
 
@@ -67,6 +67,5 @@
 extern void show_files(char *, package_t *);
 extern void show_depends(char *, package_t *);
 extern void show_index(char *, char *);
-extern int find_fn(const char *pkg, char *data);
 
 #endif                         /* _INST_INFO_H_INCLUDE */



Home | Main Index | Thread Index | Old Index