|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #49057] oct-parse.in.yy unit test of evalc crashes with MALLOC_PERTURB_ set |
Date: | Tue, 13 Sep 2016 06:16:31 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0 |
Follow-up Comment #6, bug #49057 (project octave): Yes that's probably fine also. I don't think there's anything particularly wrong about copying an exception object and throwing a copy, it's just an object like any other. Yet another cleaner way to do this might be to use unwind_protect to restore the state of the stdout and stderr streams after completion. That should work whether an exception is thrown or not, and no need to even catch and rethrow I think. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?49057> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |