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 >

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to