# HG changeset patch # User John W. Eaton # Date 1506012328 14400 # Node ID 1091931bd63caa2c2eff57ffbe2b40a646dbf809 # Parent f8b8a8e6bd7939664f7d4126641b4c554227e93e don't clear tmp scope created for who -file (bug #52022) * variables.cc (do_who): Don't add symbol_table::scope::clear_variables to the unwind_protect stack. The tmp scope will be cleared when it goes out of scope. diff -r f8b8a8e6bd79 -r 1091931bd63c libinterp/corefcn/variables.cc --- a/libinterp/corefcn/variables.cc Wed Sep 20 15:34:33 2017 -0700 +++ b/libinterp/corefcn/variables.cc Thu Sep 21 12:45:28 2017 -0400 @@ -1657,8 +1657,6 @@ cs.push (&tmp_scope, 0); frame.add_method (cs, &octave::call_stack::pop); - frame.add_method (tmp_scope, &octave::symbol_table::scope::clear_variables); - octave::feval ("load", octave_value (nm), 0); std::string newmsg = "Variables in the file " + nm + ":\n\n";