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/delete pkg_delete: add miss...
details: https://anonhg.NetBSD.org/pkgsrc/rev/90e934295fce
branches: trunk
changeset: 556418:90e934295fce
user: tnn <tnn%pkgsrc.org@localhost>
date: Sat Mar 21 16:43:50 2009 +0000
description:
pkg_delete: add missing setprogname(argv[0]);
diffstat:
pkgtools/pkg_install/files/delete/pkg_delete.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r fc4f291b19d3 -r 90e934295fce pkgtools/pkg_install/files/delete/pkg_delete.c
--- a/pkgtools/pkg_install/files/delete/pkg_delete.c Sat Mar 21 16:41:06 2009 +0000
+++ b/pkgtools/pkg_install/files/delete/pkg_delete.c Sat Mar 21 16:43:50 2009 +0000
@@ -34,7 +34,7 @@
#if HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
#endif
-__RCSID("$NetBSD: pkg_delete.c,v 1.2 2009/03/02 15:15:06 joerg Exp $");
+__RCSID("$NetBSD: pkg_delete.c,v 1.3 2009/03/21 16:43:50 tnn Exp $");
#if HAVE_ERR_H
#include <err.h>
@@ -767,6 +767,7 @@
TAILQ_INIT(&pkgs);
TAILQ_INIT(&sorted_pkgs);
+ setprogname(argv[0]);
while ((ch = getopt(argc, argv, "ADdFfNnORrVvK:P:p:")) != -1) {
switch (ch) {
case 'A':
Home |
Main Index |
Thread Index |
Old Index