diff options
author | danw <danw> | 2004-05-23 23:28:29 +0000 |
---|---|---|
committer | danw <danw> | 2004-05-23 23:28:29 +0000 |
commit | 74fb83c806b0c83263095a58620a9ae721852525 (patch) | |
tree | 0a42eca1c1ab7788ea2342975f551b1a6729f673 /www/cgilib | |
parent | 455cca40b855dd9893f029b3e9a563f675f02810 (diff) | |
download | pkgsrc-74fb83c806b0c83263095a58620a9ae721852525.tar.gz |
malloc.h fixes for darwin, plus a handful of other small fixes for
problems found after fixing malloc problems
Diffstat (limited to 'www/cgilib')
-rw-r--r-- | www/cgilib/distinfo | 4 | ||||
-rw-r--r-- | www/cgilib/patches/patch-ac | 16 |
2 files changed, 15 insertions, 5 deletions
diff --git a/www/cgilib/distinfo b/www/cgilib/distinfo index 44616994a6a..63ce9901a14 100644 --- a/www/cgilib/distinfo +++ b/www/cgilib/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.7 2002/12/27 14:36:02 cjep Exp $ +$NetBSD: distinfo,v 1.8 2004/05/23 23:28:30 danw Exp $ SHA1 (cgilib-0.5.tar.gz) = 3ba65e9fac43b875427a126ebbaaa6155e9692df Size (cgilib-0.5.tar.gz) = 13991 bytes SHA1 (patch-aa) = 9b92cde49f84a22d53044b230b05798dc90085ef SHA1 (patch-ab) = ee15b5f4afd45725e58209f7a0560cfefd22d5a6 -SHA1 (patch-ac) = 0f3929094024de5357d97b00abb9bd12cdd2fbc8 +SHA1 (patch-ac) = 3366b330d49ef8d61f26b06097c1e4e271f90728 SHA1 (patch-ad) = 94b9179073afd4494258ac72fed2d275415fb67d diff --git a/www/cgilib/patches/patch-ac b/www/cgilib/patches/patch-ac index 627a7777786..7fd7937e830 100644 --- a/www/cgilib/patches/patch-ac +++ b/www/cgilib/patches/patch-ac @@ -1,11 +1,21 @@ -$NetBSD: patch-ac,v 1.1 2001/09/10 21:36:20 dmcmahill Exp $ +$NetBSD: patch-ac,v 1.2 2004/05/23 23:28:30 danw Exp $ --- cgi.c.orig Fri Aug 20 17:14:07 1999 -+++ cgi.c Mon Sep 10 16:06:58 2001 -@@ -381,5 +381,5 @@ ++++ cgi.c +@@ -31,7 +31,6 @@ + #include <unistd.h> + #include <string.h> + #include <ctype.h> +-#include <malloc.h> + #include <cgi.h> + + int cgiDebugLevel = 0; +@@ -380,7 +379,7 @@ char **cgiGetVariables (s_cgi *parms) + void cgiRedirect (const char *url) { if (url && strlen(url)) { - printf ("Content-type: text/html\nContent-length: %d\n", 77+(strlen(url)*2)); + printf ("Content-type: text/html\nContent-length: %ld\n",(long)( 77+(strlen(url)*2))); printf ("Status: 302 Temporal Relocation\n"); printf ("Location: %s\n\n", url); + printf ("<html>\n<body>\nThe page has been moved to <a href=\"%s\">%s</a>\n</body>\n</html>\n", url, url); |