<role>lead</role>
</maintainer>
</maintainers>
+
<release>
- <version>0.1</version>
- <date>2004-07-20</date>
+ <version>0.2</version>
+ <date>2004-10-08</date>
<state>alpha</state>
- <notes>Initial Release </notes>
- <configureoptions>
- <configureoption name="with-xmlwriter" default="autodetect" prompt="Include XMLWriter support?"/>
- </configureoptions>
- <filelist>
- <file role="src" name="config.m4"/>
- <file role="src" name="config.w32"/>
- <file role="src" name="php_xmlwriter.c"/>
- <file role="src" name="php_xmlwriter.h"/>
- </filelist>
- <deps>
- <dep type="php" rel="ge" version="4.3.0" />
- </deps>
+ <notes>Fix bug 2482 and other function parameters</notes>
</release>
+
+ <changelog>
+ <release>
+ <version>0.1</version>
+ <date>2004-07-20</date>
+ <state>alpha</state>
+ <notes>Initial Release </notes>
+ </release>
+ </changelog>
+
+ <configureoptions>
+ <configureoption name="with-xmlwriter" default="autodetect" prompt="Include XMLWriter support?"/>
+ </configureoptions>
+ <filelist>
+ <file role="src" name="config.m4"/>
+ <file role="src" name="config.w32"/>
+ <file role="src" name="php_xmlwriter.c"/>
+ <file role="src" name="php_xmlwriter.h"/>
+ </filelist>
+ <deps>
+ <dep type="php" rel="ge" version="4.3.0" />
+ </deps>
</package>
zval *pind;
xmlwriter_object *intern;
xmlTextWriterPtr ptr;
- char *version, *enc, *alone;
+ char *version = NULL, *enc = NULL, *alone = NULL;
int version_len, enc_len, alone_len, retval;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &pind, &version, &version_len, &enc, &enc_len, &alone, &alone_len) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|s!s!s!", &pind, &version, &version_len, &enc, &enc_len, &alone, &alone_len) == FAILURE) {
return;
}
zval *pind;
xmlwriter_object *intern;
xmlTextWriterPtr ptr;
- char *name, *pubid, *sysid;
+ char *name, *pubid = NULL, *sysid = NULL;
int name_len, pubid_len, sysid_len, retval;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &pind, &name, &name_len, &pubid, &pubid_len, &sysid, &sysid_len) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|s!s!", &pind, &name, &name_len, &pubid, &pubid_len, &sysid, &sysid_len) == FAILURE) {
return;
}
zval *pind;
xmlwriter_object *intern;
xmlTextWriterPtr ptr;
- char *name, *pubid, *sysid, *subset;
+ char *name, *pubid = NULL, *sysid = NULL, *subset = NULL;
int name_len, pubid_len, sysid_len, subset_len, retval;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &pind, &name, &name_len, &pubid, &pubid_len, &sysid, &sysid_len, &subset, &subset_len) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|s!s!s!", &pind, &name, &name_len, &pubid, &pubid_len, &sysid, &sysid_len, &subset, &subset_len) == FAILURE) {
return;
}
char *name;
int name_len, isparm, retval;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &pind, &name, &name_len, &isparm) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsb", &pind, &name, &name_len, &isparm) == FAILURE) {
return;
}