Re: [PHP4BETA] TSRM problems... UMBRs everywhere:-((
| From: | zeev at zend dot com | Date: | Thu, 23 Dec 1999 14:55:18 +0000 |
| Subject: | Re: [PHP4BETA] TSRM problems... UMBRs everywhere:-(( | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8438@lists.php.net to get a copy of this message | ||
On Thu, 23 Dec 1999, Thies C. Arntzen wrote:
> hi,
>
> just did some purifying of the aolserver-module - but my point should also
> apply to the Win32 ISAPI stuff.
>
> a lot of _ctor function do *NOT* initialize all TS-Globals correct. just
> compare struct _zend_compiler_globals (Zend/zend_globals.h) and see which
> of those values get initialized in compiler_globals_ctor().
>
> i've enclosed a patch that clear's all TLS memory before calling the
> ctor.
I'm not following - TSRM isn't supposed to initialize the memory it
initializes. If you need any initialization, it's done in the
constructor, and if it isn't, it's a constructor bug.
Are you referring to something else?