diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-06-14 22:48:28 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-06-14 22:48:28 -0700 |
commit | 42cb087e6c09e471c7666ab76a30f81951b5c69b (patch) | |
tree | c32974acfa7874a0bced5fe35c53b8d1ffa55a4d /genvim.txr | |
parent | a4692d447d475a3f58e222b8363958d0659a1281 (diff) | |
download | txr-42cb087e6c09e471c7666ab76a30f81951b5c69b.tar.gz txr-42cb087e6c09e471c7666ab76a30f81951b5c69b.tar.bz2 txr-42cb087e6c09e471c7666ab76a30f81951b5c69b.zip |
unwind: unbind dyn env when diagnosing unhandled exception.
* unwind.c (uw_unwind_to_exit_point): The error reporting
relies on the *stderr* stream, but that stream may be bound in
some funny way in a context where an exception has happened,
without anything around it to restore that during unwinding.
Before diagnosing, we should reset the dynamic environment to
the top level, so that the global values of all dynamic
variables are revealed.
Diffstat (limited to 'genvim.txr')
0 files changed, 0 insertions, 0 deletions