about summary refs log tree commit diff stats
path: root/subx/001help.cc
diff options
context:
space:
mode:
Diffstat (limited to 'subx/001help.cc')
-rw-r--r--subx/001help.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/001help.cc b/subx/001help.cc
index d20d8144..ca1cb106 100644
--- a/subx/001help.cc
+++ b/subx/001help.cc
@@ -105,7 +105,7 @@ bool starts_with(const string& s, const string& pat) {
 //: 5. Integer overflow is guarded against at runtime using the -ftrapv flag
 //: to the compiler, supported by Clang (GCC version only works sometimes:
 //: http://stackoverflow.com/questions/20851061/how-to-make-gcc-ftrapv-work).
-:(before "atexit(teardown)")
+:(before "atexit(reset)")
 initialize_signal_handlers();  // not always necessary, but doesn't hurt
 //? cerr << INT_MAX+1 << '\n';  // test overflow
 //? assert(false);  // test SIGABRT
@@ -141,7 +141,7 @@ void dump_and_exit(int sig, unused siginfo_t* dummy1, unused void* dummy2) {
 #include <signal.h>
 
 //: For good measure we'll also enable SIGFPE.
-:(before "atexit(teardown)")
+:(before "atexit(reset)")
 feenableexcept(FE_OVERFLOW | FE_UNDERFLOW);
 //? assert(sizeof(int) == 4 && sizeof(float) == 4);
 //? //                          | exp   |  mantissa
>125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143