Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Apr 2006 16:08:08 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        gonza@techline.ru
Cc:        ports@FreeBSD.org
Subject:   New patch for cgi-lib
Message-ID:  <20060402160621.F76562@fledge.watson.org>

next in thread | raw e-mail | index | archive | help

Recent versions of gcc are more picky than older versions, especially with 
warnings on.  The attached minor patch to cgi-lib.h allows it to play more 
nicely in more recent C development environments.

BTW, I notice there is a new web site and distributor for cgi-lib, who in 
return for fixing a minor bug or two (apparently) has decided to convert it 
from public domain to GPL.  I assume that the choice to not upgrade has long 
since been made, and trust it will remain that way. :-)

Robert N M Watson

--- cgi-lib.h.orig	Sun Apr  2 15:24:31 2006
+++ cgi-lib.h	Sun Apr  2 15:24:38 2006
@@ -78,7 +78,7 @@
  						empty so we don't waste time by calling the cgi_input_parse()
  						function.
  */
-int is_form_empty();
+int is_form_empty(void);

  /*
  	cgi_env() -	This function will print out the current environment variables on the



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060402160621.F76562>