summaryrefslogtreecommitdiffstats
path: root/bin/sh
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2013-07-25 13:09:17 +0000
committerjilles <jilles@FreeBSD.org>2013-07-25 13:09:17 +0000
commit34bfb313cd341ffba7e1c34cdc5f2aabc7cd8ec5 (patch)
tree99d36ab322867a7f2685c8af4c70672ad8a9e538 /bin/sh
parentfd3a4f8fdfbf414b6b93d3a2eeafacabed29d251 (diff)
downloadFreeBSD-src-34bfb313cd341ffba7e1c34cdc5f2aabc7cd8ec5.zip
FreeBSD-src-34bfb313cd341ffba7e1c34cdc5f2aabc7cd8ec5.tar.gz
sh: Remove output.c's reset() handler.
These cleanup operations are not needed because they are already performed after an optimized command substitution (whether there was an error or not).
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/output.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/bin/sh/output.c b/bin/sh/output.c
index d26adce..bf8e17d 100644
--- a/bin/sh/output.c
+++ b/bin/sh/output.c
@@ -75,25 +75,6 @@ struct output memout = {NULL, 0, NULL, 0, MEM_OUT, 0};
struct output *out1 = &output;
struct output *out2 = &errout;
-
-
-#ifdef mkinit
-
-INCLUDE "output.h"
-INCLUDE "memalloc.h"
-
-RESET {
- out1 = &output;
- out2 = &errout;
- if (memout.buf != NULL) {
- ckfree(memout.buf);
- memout.buf = NULL;
- }
-}
-
-#endif
-
-
void
outcslow(int c, struct output *file)
{
OpenPOWER on IntegriCloud