jorton at redhat
Apr 18, 2012, 1:41 AM
Post #2 of 2
On Tue, Apr 17, 2012 at 11:48:03PM -0500, William Rowe wrote:
Re: svn commit: r1326980 - /httpd/httpd/trunk/modules/loggers/mod_log_debug.c
[In reply to]
> Odd... there is no language assurance that these statics remain static
> across module reloads. A static var != static fn.
I don't know what you mean here, sorry. static/extern for global
variables does have basically the same semantics as functions, it means
private/public to the compilation unit respectively. These variables
should not be public since they lack namespace-safety and are genuinely
private to the module. Am I missing something?