439aac4c5e
program author and desired by at least one package user). - format string patch for 64-bit systems - add message notifying users that an executible cgi program has been installed in their cgi-bin directory (since they may wish to disable them).
11 lines
443 B
Text
11 lines
443 B
Text
$NetBSD: patch-ac,v 1.1 2001/09/10 21:36:20 dmcmahill Exp $
|
|
|
|
--- cgi.c.orig Fri Aug 20 17:14:07 1999
|
|
+++ cgi.c Mon Sep 10 16:06:58 2001
|
|
@@ -381,5 +381,5 @@
|
|
{
|
|
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);
|