summaryrefslogtreecommitdiff
path: root/msg.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-06-12 23:11:37 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-06-12 23:11:37 +0300
commit8ce87087172ee5be4ee72a1513daad3821185bf7 (patch)
tree5073b5de1171bd71fea21adea7e8944a18e57999 /msg.c
parent820b6a2ccb7859e15ade36af6ac1d0d08c1da4b1 (diff)
downloadgawk-8ce87087172ee5be4ee72a1513daad3821185bf7.tar.gz
More API implementations and testext improvements.
Diffstat (limited to 'msg.c')
-rw-r--r--msg.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/msg.c b/msg.c
index 22cf5562..b94e840b 100644
--- a/msg.c
+++ b/msg.c
@@ -159,6 +159,14 @@ gawk_exit(int status)
longjmp(fatal_tag, 1);
}
+ final_exit(status);
+}
+
+/* final_exit --- run extension exit handlers and exit */
+
+void
+final_exit(int status)
+{
/* run any extension exit handlers */
run_ext_exit_handlers(status);