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/admin Actually assign varia...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cef8f7027888
branches:  trunk
changeset: 532015:cef8f7027888
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Aug 10 00:03:51 2007 +0000

description:
Actually assign variable that tells the caller that we got a match.

diffstat:

 pkgtools/pkg_install/files/admin/main.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r da82c61db861 -r cef8f7027888 pkgtools/pkg_install/files/admin/main.c
--- a/pkgtools/pkg_install/files/admin/main.c   Fri Aug 10 00:03:27 2007 +0000
+++ b/pkgtools/pkg_install/files/admin/main.c   Fri Aug 10 00:03:51 2007 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.23 2007/08/09 23:54:17 joerg Exp $  */
+/*     $NetBSD: main.c,v 1.24 2007/08/10 00:03:51 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.23 2007/08/09 23:54:17 joerg Exp $");
+__RCSID("$NetBSD: main.c,v 1.24 2007/08/10 00:03:51 joerg Exp $");
 #endif
 
 /*
@@ -768,6 +768,7 @@
        retval = var_set(filename, arg->variable, arg->value);
 
        free(filename);
+       arg->got_match = 1;
 
        return retval;
 }



Home | Main Index | Thread Index | Old Index