Re: Patch to compile cleanly without warnings

Brandon Long <[email protected]> Mon, 11 Feb 2008 00:38:17 -0800
Newsgroups gmane.text.clearsilver.general
Organization Fiction L Networks
Message-ID <20080211083817.GF7127@bl1>
I've added a bunch of these, though not some of the int casts and UNUSED
macro.

Brandon

On 01/28/08 Raphaël HUCK uttered the following other thing:
> Hi,
> 
> I've made a patch against 0.10.5 to compile cleanly without warnings (it 
> works with mips-linux-gcc 3.4.2 and uclibc at least).
> 
> The following files are affected:
> 
> util/neo_net.c
> util/neo_server.c
> util/neo_str.c
> util/skiplist.c
> util/neo_misc.h
> util/neo_misc.c
> util/neo_hdf.c
> util/neo_hash.c
> util/neo_files.c
> util/neo_date.h
> util/dict.c
> cs/csparse.c
> cgi/rfc2388.c
> cgi/html.c
> cgi/date.h
> cgi/date.c
> 
> The file cgi/cgiwrap.c has been modified to compile cleanly with uclibc:
> 
> 	#ifdef __UCLIBC__
> 	#include <unistd.h>
> 	#endif
> 
> and cgi/cgi.c to support 2 new HTTP headers (useful for Ajax):
> 
>    {"HTTP_X_REQUESTED_WITH", "XRequestedWith"},
>    {"HTTP_X_REQUESTED_HANDLER", "XRequestedHandler"},
> 
> You can find it attached, I hope some will find it useful.
> 
> Have a nice day ;)
> 
> --Raphaël HUCK
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 



-- 
  "I'll defend to the death your right to say that, but I never said I'd
   listen to it!" -- Tom Galloway with apologies to Voltaire
                                           http://www.fiction.net/blong/