killed warning + added reminder

This commit is contained in:
Thies C. Arntzen 1999-12-23 12:52:12 +00:00
parent 337bcc7014
commit a04805ce88
2 changed files with 3 additions and 1 deletions

2
TODO
View File

@ -3,6 +3,8 @@ parenthesis means that person has taken on this project.
global
------
* make sure that all ZTS globals get destructed. Most ts_allocate_id()
calls should have a dtor entry.
* activate all extensions by default that don't rely on external
dependices. (eg ftp)
* --enable-all in configure. (--enable-shared=max ...)

View File

@ -164,7 +164,7 @@ PHP_MINIT_FUNCTION(xml)
le_xml_parser = register_list_destructors(xml_parser_dtor, NULL);
#ifdef ZTS
xml_globals_id = ts_allocate_id(sizeof(php_xml_globals), php_xml_init_globals, NULL);
xml_globals_id = ts_allocate_id(sizeof(php_xml_globals), (ts_allocate_ctor) php_xml_init_globals, NULL);
#else
XML(default_encoding) = "ISO-8859-1";
#endif