cvs: php4 /ext/xml compat.c expat_compat.h

From: Date: Wed, 07 May 2003 19:52:31 +0000
Subject: cvs: php4 /ext/xml compat.c expat_compat.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20773@lists.php.net to get a copy of this message
moriyoshi Wed May 7 15:52:31 2003 EDT Modified files: /php4/ext/xml compat.c expat_compat.h Log: Fixed typos Index: php4/ext/xml/compat.c diff -u php4/ext/xml/compat.c:1.3 php4/ext/xml/compat.c:1.4 --- php4/ext/xml/compat.c:1.3 Wed May 7 11:28:58 2003 +++ php4/ext/xml/compat.c Wed May 7 15:52:30 2003 @@ -211,7 +211,7 @@ static void *(*_expat_cpt_malloc_fcn)(size_t sz); -static char *_expat_cpt_intn_strdup(const chat *str) +static char *_expat_cpt_intn_strdup(const char *str) { size_t len; char *retval; @@ -237,7 +237,7 @@ _expat_cpt_malloc_fcn = memsuite->malloc_fcn; /* FIXME: not reentrant ! */ - xmlMemSetup(memsuite->free_fcn, memsuite->malloc_fcn, memsuite->realloc_fcn, _expat_compat_intn_strdup); /* WHOCANFIXME: not reentrant ! */ + xmlMemSetup(memsuite->free_fcn, memsuite->malloc_fcn, memsuite->realloc_fcn, _expat_cpt_intn_strdup); /* WHOCANFIXME: not reentrant ! */ parser = (XML_Parser) memsuite->malloc_fcn(sizeof(struct _XML_Parser)); parser->namespace = 0; Index: php4/ext/xml/expat_compat.h diff -u php4/ext/xml/expat_compat.h:1.2 php4/ext/xml/expat_compat.h:1.3 --- php4/ext/xml/expat_compat.h:1.2 Wed May 7 11:21:31 2003 +++ php4/ext/xml/expat_compat.h Wed May 7 15:52:30 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: expat_compat.h,v 1.2 2003/05/07 15:21:31 moriyoshi Exp $ */ +/* $Id: expat_compat.h,v 1.3 2003/05/07 19:52:30 moriyoshi Exp $ */ #ifndef PHP_EXPAT_COMPAT_H #define PHP_EXPAT_COMPAT_H @@ -73,7 +73,7 @@ XML_Parser XML_ParserCreate(const XML_Char *); XML_Parser XML_ParserCreateNS(const XML_Char *, const XML_Char); -XML_ParserCreate_MM(const XML_Char *, const XML_Memory_Handling_Suite *, const XML_Char *); +XML_Parser XML_ParserCreate_MM(const XML_Char *, const XML_Memory_Handling_Suite *, const XML_Char *); void XML_SetUserData(XML_Parser, void *); void *XML_GetUserData(XML_Parser); void XML_SetElementHandler(XML_Parser, XML_StartElementHandler, XML_EndElementHandler);

« previous php.cvs (#20773) next »