You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jeff Trawick <tr...@gmail.com> on 2009/03/29 14:53:58 UTC

Re: svn commit: r759647 - /httpd/httpd/trunk/server/mpm_unix.c

On Sun, Mar 29, 2009 at 4:19 AM, <mt...@apache.org> wrote:

> Author: mturk
> Date: Sun Mar 29 08:19:02 2009
> New Revision: 759647
>
> URL: http://svn.apache.org/viewvc?rev=759647&view=rev
> Log:
> Do not presume we have a clean stack
>
> Modified:
>    httpd/httpd/trunk/server/mpm_unix.c
>
> Modified: httpd/httpd/trunk/server/mpm_unix.c
> URL:
> http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm_unix.c?rev=759647&r1=759646&r2=759647&view=diff
>
> ==============================================================================
> --- httpd/httpd/trunk/server/mpm_unix.c (original)
> +++ httpd/httpd/trunk/server/mpm_unix.c Sun Mar 29 08:19:02 2009
> @@ -604,7 +604,7 @@
>     }
>  }
>
> -static const char *dash_k_arg;
> +static const char *dash_k_arg = NULL;


I've long been baffled by code in httpd to carefully initialize global
variables to 0.  (I vaguely recall a comment about Netware having an issue
there.)

What are the situations where this isn't 0 on load of httpd, and what does
this have to do with "clean stack" as suggested in the commit message?