httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: [PATCH] Many, many nits in modules
Date Wed, 24 Feb 1999 05:09:04 GMT
John Bley wrote:
> 
> I took a look at the static initializers in the various modules subdirs and
> found loads of sparse ones.  Like, a 24KB patch worth.
> 
> 99% of these are the list-stopper { NULL }s for handler_recs and
> command_recs, but there was one outlier in mod_so.c, where somebody had
> forgotten that the fixer_upper function pointer existed.  If this patch
> isn't accepted I'll resend a patch for that outlier, since it feels funny.

Why go thru all that, when C says that NULLs are automatically filled
in? If a new member is added to a structure, you'll just need to go and
retrofit all those initializers again.

Cheers,
-g

--
Greg Stein, http://www.lyra.org/

Mime
View raw message