summaryrefslogtreecommitdiffstats
path: root/struct.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-04-15 06:55:43 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-04-15 06:55:43 -0700
commit50b5651649f71c7f1e4c480504b61cea04d8f789 (patch)
tree0daa692deb171f219c9f6fde3482b6893ecbd222 /struct.h
parentbc9ba2ccd70756b9c2c006bf8a357b38d198aee2 (diff)
downloadtxr-50b5651649f71c7f1e4c480504b61cea04d8f789.tar.gz
txr-50b5651649f71c7f1e4c480504b61cea04d8f789.tar.bz2
txr-50b5651649f71c7f1e4c480504b61cea04d8f789.zip
glob bugfix: always clear callback global.
* glob.c (glob_wrap): Move c_num call outside of the section of code where s_errfunc is assigned. We don't want to do anything here which throws, because then control escapes without evaluating "s_errfunc = nil", possibly leaving s_errfunc with a non-nil value that blocks further uses of glob.
Diffstat (limited to 'struct.h')
0 files changed, 0 insertions, 0 deletions