Re: [PATCH] imap_savebody()
| From: | Michael Wallner | Date: | Mon, 26 Sep 2005 13:06:21 +0000 |
| Subject: | Re: [PATCH] imap_savebody() | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19169@lists.php.net to get a copy of this message | ||
Hi Sara Golemon, you wrote:
> Getting there, but you can make it work for ZTS mode. Just create a proxy
> for the gets function which is always set, then have the proxy do a
> TSRMLS_FETCH() and examine an extension global (e.g. IMAPG(gets_mode) or
> whatever) to determine whether it's in savebody() and should shuttle to your
> new gets function, or if it's not in savebody() and should dispatch to the
> "original" method.
Thanks for your input, Sara. The new patch can be found at:
http://dev.iworks.at/PATCHES/imap_savebody_TS.patch.txt
Regards,
--
Michael - < mike(@)php.net >