diff src/cgi.sml @ 1307:d2ad997ca157

Interface for setting memory limits
author Adam Chlipala <adam@chlipala.net>
date Thu, 14 Oct 2010 11:06:26 -0400
parents 8679ba87cf3c
children c414850f206f
line wrap: on
line diff
--- a/src/cgi.sml	Sun Oct 10 20:33:10 2010 -0400
+++ b/src/cgi.sml	Thu Oct 14 11:06:26 2010 -0400
@@ -36,7 +36,6 @@
                       linkDynamic = "-lurweb_cgi",
                       persistent = false,
                       code = fn () => box [string "void uw_global_custom() {",
-                                           newline,
                                            case getSigFile () of
                                                NONE => box []
                                              | SOME sf => box [string "extern char *uw_sig_file;",
@@ -45,6 +44,8 @@
                                                                string sf,
                                                                string "\";",
                                                                newline],
+                                           string "uw_setup_limits();",
+                                           newline,
                                            string "}",
                                            newline]}