Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xinstall restore use of whitespace needing shell.
details: https://anonhg.NetBSD.org/src/rev/ac10781f4239
branches: trunk
changeset: 338956:ac10781f4239
user: christos <christos%NetBSD.org@localhost>
date: Fri Jun 19 14:32:56 2015 +0000
description:
restore use of whitespace needing shell.
diffstat:
usr.bin/xinstall/xinstall.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 970e3a797d05 -r ac10781f4239 usr.bin/xinstall/xinstall.c
--- a/usr.bin/xinstall/xinstall.c Fri Jun 19 14:32:04 2015 +0000
+++ b/usr.bin/xinstall/xinstall.c Fri Jun 19 14:32:56 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xinstall.c,v 1.121 2015/06/17 15:52:37 christos Exp $ */
+/* $NetBSD: xinstall.c,v 1.122 2015/06/19 14:32:56 christos Exp $ */
/*
* Copyright (c) 1987, 1993
@@ -46,7 +46,7 @@
#if 0
static char sccsid[] = "@(#)xinstall.c 8.1 (Berkeley) 7/21/93";
#else
-__RCSID("$NetBSD: xinstall.c,v 1.121 2015/06/17 15:52:37 christos Exp $");
+__RCSID("$NetBSD: xinstall.c,v 1.122 2015/06/19 14:32:56 christos Exp $");
#endif
#endif /* not lint */
@@ -978,7 +978,7 @@
i = 1;
status = 0;
- if (hasmeta(command)) {
+ if (needshell(command, 1)) {
rv = asprintf(&cmd, "%s %s%s%s", command, flags ? flags : "",
flags ? " " : "", to_name);
if (rv < 0) {
Home |
Main Index |
Thread Index |
Old Index