python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / dash / patches / 0005-SHELL-Disable-sh-c-command-sh-c-exec-command-optimiza.diff
blobd0522e0e96809905406a9a913f69c596b2228c56
1 From dd3282f27eadb2f3de1c6910895c3834163a958c Mon Sep 17 00:00:00 2001
2 From: Jonathan Nieder <jrnieder@gmail.com>
3 Date: Mon, 26 Sep 2011 16:30:15 -0500
4 Subject: [SHELL] Disable sh -c "command" -> sh -c "exec command" optimization
6 It is causing ocamlbuild and the darcs testsuite to fail. Back it
7 out until we understand the problem better.
9 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
10 ---
11 src/main.c | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
14 diff --git a/src/main.c b/src/main.c
15 index 65e236be..1614ffbb 100644
16 --- src/main.c
17 +++ src/main.c
18 @@ -171,7 +171,7 @@ state2:
19 state3:
20 state = 4;
21 if (minusc)
22 - evalstring(minusc, sflag ? 0 : EV_EXIT);
23 + evalstring(minusc, 0);
25 if (sflag || minusc == NULL) {
26 state4: /* XXX ??? - why isn't this before the "if" statement */
27 --
28 1.7.7.rc1