Date: Thu, 25 Jul 2013 13:09:18 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253649 - head/bin/sh Message-ID: <201307251309.r6PD9I4Z029174@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jilles Date: Thu Jul 25 13:09:17 2013 New Revision: 253649 URL: http://svnweb.freebsd.org/changeset/base/253649 Log: 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). Modified: head/bin/sh/output.c Modified: head/bin/sh/output.c ============================================================================== --- head/bin/sh/output.c Thu Jul 25 12:43:22 2013 (r253648) +++ head/bin/sh/output.c Thu Jul 25 13:09:17 2013 (r253649) @@ -75,25 +75,6 @@ struct output memout = {NULL, 0, NULL, 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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307251309.r6PD9I4Z029174>