Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/mail fix wordexp result handling
details: https://anonhg.NetBSD.org/src/rev/4d72d311bc1e
branches: trunk
changeset: 335503:4d72d311bc1e
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 10 17:16:01 2015 +0000
description:
fix wordexp result handling
diffstat:
usr.bin/mail/names.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1d766e29d65f -r 4d72d311bc1e usr.bin/mail/names.c
--- a/usr.bin/mail/names.c Sat Jan 10 17:16:00 2015 +0000
+++ b/usr.bin/mail/names.c Sat Jan 10 17:16:01 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: names.c,v 1.31 2014/12/16 19:30:24 christos Exp $ */
+/* $NetBSD: names.c,v 1.32 2015/01/10 17:16:01 christos Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)names.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: names.c,v 1.31 2014/12/16 19:30:24 christos Exp $");
+__RCSID("$NetBSD: names.c,v 1.32 2015/01/10 17:16:01 christos Exp $");
#endif
#endif /* not lint */
@@ -550,7 +550,7 @@
* the terminating 0 pointer. Additional spots may be needed
* to pass along -f to the host mailer.
*/
- extra = 3 * count(smopts);
+ extra = 3 + count(smopts);
extra++;
metoo = value(ENAME_METOO) != NULL;
if (metoo)
Home |
Main Index |
Thread Index |
Old Index