From e8ce775db824de329b81293b4e5d8fbd65624528 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Mon, 22 Sep 1997 20:22:27 +0000 Subject: Imported from ../bash-2.01.1.tar.gz. --- builtins/evalstring.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'builtins/evalstring.c') diff --git a/builtins/evalstring.c b/builtins/evalstring.c index bf4a8a5..1a22887 100644 --- a/builtins/evalstring.c +++ b/builtins/evalstring.c @@ -160,7 +160,9 @@ parse_and_execute (string, from_file, flags) } else { - dispose_command (command); /* XXX */ +#if 0 + dispose_command (command); /* pe_dispose does this */ +#endif continue; } @@ -192,7 +194,8 @@ parse_and_execute (string, from_file, flags) #if defined (ONESHOT) if (startup_state == 2 && *bash_input.location.string == '\0' && command->type == cm_simple && !command->redirects && - !command->value.Simple->redirects) + !command->value.Simple->redirects && + ((command->flags & CMD_TIME_PIPELINE) == 0)) { command->flags |= CMD_NO_FORK; command->value.Simple->flags |= CMD_NO_FORK; -- cgit v1.2.3