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/lib Non-matching signature ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/063dae5c11f1
branches: trunk
changeset: 554357:063dae5c11f1
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Feb 13 13:17:41 2009 +0000
description:
Non-matching signature file name is not an hard error, so return 1.
diffstat:
pkgtools/pkg_install/files/lib/pkg_signature.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 540280532394 -r 063dae5c11f1 pkgtools/pkg_install/files/lib/pkg_signature.c
--- a/pkgtools/pkg_install/files/lib/pkg_signature.c Fri Feb 13 11:42:01 2009 +0000
+++ b/pkgtools/pkg_install/files/lib/pkg_signature.c Fri Feb 13 13:17:41 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pkg_signature.c,v 1.4 2009/02/13 11:21:07 joerg Exp $ */
+/* $NetBSD: pkg_signature.c,v 1.5 2009/02/13 13:17:41 joerg Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -7,7 +7,7 @@
#if HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
#endif
-__RCSID("$NetBSD: pkg_signature.c,v 1.4 2009/02/13 11:21:07 joerg Exp $");
+__RCSID("$NetBSD: pkg_signature.c,v 1.5 2009/02/13 13:17:41 joerg Exp $");
/*-
* Copyright (c) 2008 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -192,7 +192,7 @@
}
if (strcmp(fname, archive_entry_pathname(*entry)) != 0)
- return -1;
+ return 1;
if (archive_entry_size(*entry) > SSIZE_MAX - 1) {
warnx("signature too large to process");
Home |
Main Index |
Thread Index |
Old Index