summaryrefslogtreecommitdiff
path: root/www/mod_dtcl/files/patch-aa
blob: 05fee8a9fcb8685d9fda1b78ff744c6378117ef4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- testdtcl.c.orig	Mon Dec  6 00:26:28 1999
+++ testdtcl.c	Thu Feb 17 15:01:52 2000
@@ -14,4 +14,5 @@
 #include <tcl.h>
 #include <unistd.h>
+#include <stdlib.h> /* In older FreeBSD, this is where getopt(3) lives */
 
 #ifndef DEBUG_SCRIPT_DIR
@@ -51,5 +52,4 @@
 	    "Testdtcl is out of date, you should only "
 	    "really be using it if you wish to improve it\n");
-    exit(0);
 
     interp = Tcl_CreateInterp();
@@ -233,4 +233,5 @@
 	}
     }
+    return 0;
 }