summaryrefslogtreecommitdiffstats
path: root/hash.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-06-14 22:48:28 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-06-14 22:48:28 -0700
commit42cb087e6c09e471c7666ab76a30f81951b5c69b (patch)
treec32974acfa7874a0bced5fe35c53b8d1ffa55a4d /hash.h
parenta4692d447d475a3f58e222b8363958d0659a1281 (diff)
downloadtxr-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 'hash.h')
0 files changed, 0 insertions, 0 deletions