summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/files/admin
diff options
context:
space:
mode:
authorjoerg <joerg>2008-08-10 22:08:16 +0000
committerjoerg <joerg>2008-08-10 22:08:16 +0000
commitbccbed3ce7bde9294fcd33f4858f67090536636c (patch)
treea2b5c7fb3791cc2881f7a61466e12701118435bf /pkgtools/pkg_install/files/admin
parent5afbec477b4bfd031448d2e6b191496e9569d35c (diff)
downloadpkgsrc-bccbed3ce7bde9294fcd33f4858f67090536636c.tar.gz
Push init of plist into read_plist.
Diffstat (limited to 'pkgtools/pkg_install/files/admin')
-rw-r--r--pkgtools/pkg_install/files/admin/check.c5
-rw-r--r--pkgtools/pkg_install/files/admin/main.c5
2 files changed, 4 insertions, 6 deletions
diff --git a/pkgtools/pkg_install/files/admin/check.c b/pkgtools/pkg_install/files/admin/check.c
index d2b835f6c4e..38f55ba3aea 100644
--- a/pkgtools/pkg_install/files/admin/check.c
+++ b/pkgtools/pkg_install/files/admin/check.c
@@ -1,4 +1,4 @@
-/* $NetBSD: check.c,v 1.2.4.3 2008/08/02 20:33:50 joerg Exp $ */
+/* $NetBSD: check.c,v 1.2.4.4 2008/08/10 22:08:16 joerg Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -8,7 +8,7 @@
#include <sys/cdefs.h>
#endif
#ifndef lint
-__RCSID("$NetBSD: check.c,v 1.2.4.3 2008/08/02 20:33:50 joerg Exp $");
+__RCSID("$NetBSD: check.c,v 1.2.4.4 2008/08/10 22:08:16 joerg Exp $");
#endif
/*-
@@ -98,7 +98,6 @@ check1pkg(const char *pkgdir, int *filecnt, int *pkgcnt)
err(EXIT_FAILURE, "can't open %s", content);
free(content);
- Plist.head = Plist.tail = NULL;
read_plist(&Plist, f);
p = find_plist(&Plist, PLIST_NAME);
if (p == NULL)
diff --git a/pkgtools/pkg_install/files/admin/main.c b/pkgtools/pkg_install/files/admin/main.c
index 19cb7bfc8d6..555e653df03 100644
--- a/pkgtools/pkg_install/files/admin/main.c
+++ b/pkgtools/pkg_install/files/admin/main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.42.2.6 2008/08/02 20:33:50 joerg Exp $ */
+/* $NetBSD: main.c,v 1.42.2.7 2008/08/10 22:08:16 joerg Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -8,7 +8,7 @@
#include <sys/cdefs.h>
#endif
#ifndef lint
-__RCSID("$NetBSD: main.c,v 1.42.2.6 2008/08/02 20:33:50 joerg Exp $");
+__RCSID("$NetBSD: main.c,v 1.42.2.7 2008/08/10 22:08:16 joerg Exp $");
#endif
/*-
@@ -149,7 +149,6 @@ add_pkg(const char *pkgdir, void *vp)
errx(EXIT_FAILURE, "%s: can't open `%s'", pkgdir, CONTENTS_FNAME);
free(contents);
- Plist.head = Plist.tail = NULL;
read_plist(&Plist, f);
if ((p = find_plist(&Plist, PLIST_NAME)) == NULL) {
errx(EXIT_FAILURE, "Package `%s' has no @name, aborting.", pkgdir);