pkgsrc/www/cgilib/patches/patch-aa
dmcmahill 439aac4c5e - install the source to the example program (as recommended by the
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).
2001-09-10 21:36:19 +00:00

17 lines
683 B
Text

$NetBSD: patch-aa,v 1.2 2001/09/10 21:36:20 dmcmahill Exp $
--- cgitest.c.orig Tue Aug 17 09:21:20 1999
+++ cgitest.c Mon Sep 10 16:08:57 2001
@@ -24,4 +24,5 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <cgi.h>
@@ -114,5 +115,5 @@
printf ("<html>\n<head><title>cgilib</title></title>\n\n<body bgcolor=\"#ffffff\">\n");
printf ("<h1><a href=\"%s\">cgilib</a></h1>\n", URL);
- printf ("<h3>Cookie "Library" set</h3>\n");
+ printf ("<h3>Cookie \"Library\" set</h3>\n");
printf ("<p><br><p><br><a href=\"/cgi-bin/cgitest\">Test</a><p>\n");
printf ("<p><br><p><br><a href=\"/cgi-bin/cgitest/redirect\">Redirect</a><p>\n");