Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/usr.sbin/pkg_install/lib Pull up revision 1.8 (requeste...



details:   https://anonhg.NetBSD.org/src/rev/145115f112aa
branches:  netbsd-1-5
changeset: 492841:145115f112aa
user:      he <he%NetBSD.org@localhost>
date:      Sat Feb 23 18:12:15 2002 +0000

description:
Pull up revision 1.8 (requested by seb):
  Synchronize with recent developments:
   o Various internal cleanups, bugfixes, and API tweaks

diffstat:

 usr.sbin/pkg_install/lib/exec.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 63a53edcc7bb -r 145115f112aa usr.sbin/pkg_install/lib/exec.c
--- a/usr.sbin/pkg_install/lib/exec.c   Sat Feb 23 18:11:43 2002 +0000
+++ b/usr.sbin/pkg_install/lib/exec.c   Sat Feb 23 18:12:15 2002 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: exec.c,v 1.7 2000/01/19 23:28:32 hubertf Exp $ */
+/*     $NetBSD: exec.c,v 1.7.4.1 2002/02/23 18:12:15 he Exp $  */
 
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static const char *rcsid = "from FreeBSD Id: exec.c,v 1.6 1997/10/08 07:47:50 charnier Exp";
 #else
-__RCSID("$NetBSD: exec.c,v 1.7 2000/01/19 23:28:32 hubertf Exp $");
+__RCSID("$NetBSD: exec.c,v 1.7.4.1 2002/02/23 18:12:15 he Exp $");
 #endif
 #endif
 
@@ -54,6 +54,7 @@
        va_start(args, fmt);
        if (vsnprintf(cmd, maxargs, fmt, args) > maxargs) {
                warnx("vsystem args are too long");
+               va_end(args);
                return 1;
        }
 #ifdef VSYSTEM_DEBUG



Home | Main Index | Thread Index | Old Index