Fix a major thread safety bug in the output mechanism

@- Fixed a major memory corruption bug in the thread safe version (Zeev)
This commit is contained in:
Zeev Suraski 2001-07-02 18:17:10 +00:00
parent 610ebfe3de
commit 551f1831a7
6 changed files with 27 additions and 17 deletions

View file

@ -26,6 +26,7 @@
typedef void (*php_output_handler_func_t)(char *output, uint output_len, char **handled_output, uint *handled_output_len, int mode);
PHPAPI void php_output_startup(void);
PHPAPI void php_output_activate(void);
void php_output_register_constants(void);
PHPAPI int php_body_write(const char *str, uint str_length);
PHPAPI int php_header_write(const char *str, uint str_length);