pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/info sync with src:
details: https://anonhg.NetBSD.org/pkgsrc/rev/40b6d6c623c7
branches: trunk
changeset: 489415:40b6d6c623c7
user: grant <grant%pkgsrc.org@localhost>
date: Mon Feb 21 01:21:39 2005 +0000
description:
sync with src:
initialise a variable before using it. pkg_info binpkg.tgz would pass
garbage on the command line to tar(1).
diffstat:
pkgtools/pkg_install/files/info/perform.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a4e8cff37c0b -r 40b6d6c623c7 pkgtools/pkg_install/files/info/perform.c
--- a/pkgtools/pkg_install/files/info/perform.c Mon Feb 21 00:06:40 2005 +0000
+++ b/pkgtools/pkg_install/files/info/perform.c Mon Feb 21 01:21:39 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: perform.c,v 1.20 2005/02/10 23:51:18 grant Exp $ */
+/* $NetBSD: perform.c,v 1.21 2005/02/21 01:21:39 grant Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -11,7 +11,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.20 2005/02/10 23:51:18 grant Exp $");
+__RCSID("$NetBSD: perform.c,v 1.21 2005/02/21 01:21:39 grant Exp $");
#endif
#endif
@@ -69,7 +69,7 @@
struct stat sb;
char *cp = NULL;
int code = 0;
- char flist[sizeof(ALL_FNAMES)];
+ char flist[sizeof(ALL_FNAMES)] = "\0";
if (IS_URL(pkg)) {
if ((cp = fileGetURL(pkg)) != NULL) {
Home |
Main Index |
Thread Index |
Old Index