pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkg_install-renovation]: pkgsrc/pkgtools/pkg_install/files/info Make ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9c7446de3d1b
branches: pkg_install-renovation
changeset: 541547:9c7446de3d1b
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri May 23 15:36:48 2008 +0000
description:
Make sure to close the archive when not all required files where found.
diffstat:
pkgtools/pkg_install/files/info/perform.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 994da94280ca -r 9c7446de3d1b pkgtools/pkg_install/files/info/perform.c
--- a/pkgtools/pkg_install/files/info/perform.c Wed May 21 20:29:24 2008 +0000
+++ b/pkgtools/pkg_install/files/info/perform.c Fri May 23 15:36:48 2008 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: perform.c,v 1.46.2.1 2008/04/26 17:44:23 joerg Exp $ */
+/* $NetBSD: perform.c,v 1.46.2.2 2008/05/23 15:36:48 joerg Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -17,7 +17,7 @@
#if 0
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.23 1997/10/13 15:03:53 jkh Exp";
#else
-__RCSID("$NetBSD: perform.c,v 1.46.2.1 2008/04/26 17:44:23 joerg Exp $");
+__RCSID("$NetBSD: perform.c,v 1.46.2.2 2008/05/23 15:36:48 joerg Exp $");
#endif
#endif
@@ -236,7 +236,7 @@
}
if (found_required != 0) {
free_pkg_meta(meta);
- return NULL;
+ meta = NULL;
}
archive_read_finish(archive);
Home |
Main Index |
Thread Index |
Old Index