Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.sbin/pkg_install/lib Pull up revision 1.5 (requeste...
details: https://anonhg.NetBSD.org/src/rev/bebd824eab4a
branches: netbsd-1-4
changeset: 469960:bebd824eab4a
user: he <he%NetBSD.org@localhost>
date: Mon Dec 20 23:46:46 1999 +0000
description:
Pull up revision 1.5 (requested by hubertf):
Initialize some values for the db(3) routines.
diffstat:
usr.sbin/pkg_install/lib/pkgdb.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 74c05e48ef65 -r bebd824eab4a usr.sbin/pkg_install/lib/pkgdb.c
--- a/usr.sbin/pkg_install/lib/pkgdb.c Mon Dec 20 23:36:09 1999 +0000
+++ b/usr.sbin/pkg_install/lib/pkgdb.c Mon Dec 20 23:46:46 1999 +0000
@@ -1,8 +1,8 @@
-/* $NetBSD: pkgdb.c,v 1.3.2.1 1999/09/13 22:35:32 he Exp $ */
+/* $NetBSD: pkgdb.c,v 1.3.2.2 1999/12/20 23:46:46 he Exp $ */
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: pkgdb.c,v 1.3.2.1 1999/09/13 22:35:32 he Exp $");
+__RCSID("$NetBSD: pkgdb.c,v 1.3.2.2 1999/12/20 23:46:46 he Exp $");
#endif
/*
@@ -131,6 +131,8 @@
keyd.size = strlen(key) + 1;
errno = 0; /* to be sure it's 0 if the key doesn't match anything */
+ vald.data = (void *)NULL;
+ vald.size = 0;
status = (pkgdbp->get) (pkgdbp, &keyd, &vald, 0);
if (status) {
vald.data = NULL;
Home |
Main Index |
Thread Index |
Old Index