set baseline so Arnold can send pull request
diff --git a/main.c b/main.c
index 4b65997..45b4dbb 100644
--- a/main.c
+++ b/main.c
@@ -22,7 +22,7 @@
THIS SOFTWARE.
****************************************************************/
-const char *version = "version 20121220";
+const char *version = "version 20130105";
#define DEBUG
#include <stdio.h>
@@ -54,6 +54,13 @@
int safe = 0; /* 1 => "safe" mode */
+/* Can this work with recursive calls? I don't think so.
+void segvcatch(int n)
+{
+ FATAL("segfault. Do you have an unbounded recursive call?", n);
+}
+*/
+
int main(int argc, char *argv[])
{
const char *fs = NULL;
@@ -68,6 +75,7 @@
exit(1);
}
signal(SIGFPE, fpecatch);
+ /*signal(SIGSEGV, segvcatch); experiment */
srand_seed = 1;
srand(srand_seed);