command output capture: do not use interp global
authorZachary T Welch <zw@superlucidity.net>
Mon, 30 Nov 2009 02:39:13 +0000 (18:39 -0800)
committerZachary T Welch <zw@superlucidity.net>
Tue, 1 Dec 2009 00:29:34 +0000 (16:29 -0800)
commitcbc894ed7b07f7eea34acfea62c728bdf182918f
tree4981e470bf59a4ec7e6f15f509d7c1ce21265ba4
parent7b2906de246bc37af99d432b3edf12e9f5f63521
command output capture: do not use interp global

Adds a log_capture_state structure to pass to the log capture
callback used by the command module.  Ensures that the capture occurs
in the proper context.
src/helper/command.c