summaryrefslogtreecommitdiffstats
path: root/unwind.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-11-06 16:34:30 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-11-06 16:34:30 -0800
commit2d9d9e5fb0fe70a195a74fd7a3f32f4ff5d22bf0 (patch)
tree6493a6d6fcc6654a25570a1f623a0d2c7436dece /unwind.c
parent3d38f312065003330f2f9c6f504f0e634ba2a5b6 (diff)
downloadtxr-2d9d9e5fb0fe70a195a74fd7a3f32f4ff5d22bf0.tar.gz
txr-2d9d9e5fb0fe70a195a74fd7a3f32f4ff5d22bf0.tar.bz2
txr-2d9d9e5fb0fe70a195a74fd7a3f32f4ff5d22bf0.zip
Throw exception on stream error during close, or I/O operations. This
is needed for pipes that terminate abnormally or return failed termination. Pipe and stdio streams have an extra description field so they are printed in a readable way.
Diffstat (limited to 'unwind.c')
-rw-r--r--unwind.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unwind.c b/unwind.c
index 8c817da5..e3cbe5e5 100644
--- a/unwind.c
+++ b/unwind.c
@@ -369,4 +369,5 @@ void uw_init(void)
uw_register_subtype(range_err, error);
uw_register_subtype(query_error, error);
uw_register_subtype(file_error, error);
+ uw_register_subtype(process_error, error);
}