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.7 (requeste...



details:   https://anonhg.NetBSD.org/src/rev/86a53b9ea857
branches:  netbsd-1-4
changeset: 470834:86a53b9ea857
user:      he <he%NetBSD.org@localhost>
date:      Mon Jul 31 18:19:10 2000 +0000

description:
Pull up revision 1.7 (requested by hubertf):
  Update pkg_install tools by bringing in bug fixes and feature
  additions since the last release.  Fixes PR#10083 and PR#10687
  and a number of problems not formally reported.

diffstat:

 usr.sbin/pkg_install/lib/pkgdb.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r a9869d178679 -r 86a53b9ea857 usr.sbin/pkg_install/lib/pkgdb.c
--- a/usr.sbin/pkg_install/lib/pkgdb.c  Mon Jul 31 18:19:07 2000 +0000
+++ b/usr.sbin/pkg_install/lib/pkgdb.c  Mon Jul 31 18:19:10 2000 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: pkgdb.c,v 1.3.2.3 2000/02/22 22:51:28 he Exp $ */
+/*     $NetBSD: pkgdb.c,v 1.3.2.4 2000/07/31 18:19:10 he Exp $ */
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: pkgdb.c,v 1.3.2.3 2000/02/22 22:51:28 he Exp $");
+__RCSID("$NetBSD: pkgdb.c,v 1.3.2.4 2000/07/31 18:19:10 he Exp $");
 #endif
 
 /*
@@ -83,8 +83,10 @@
 void
 pkgdb_close(void)
 {
-       if (pkgdbp != NULL)
+       if (pkgdbp != NULL) {
                (void) (pkgdbp->close) (pkgdbp);
+               pkgdbp = NULL;
+       }
 }
 
 /*



Home | Main Index | Thread Index | Old Index