cvs: php-src /ext/ming ming.c

From: Date: Tue, 05 Dec 2006 21:46:32 +0000
Subject: cvs: php-src /ext/ming ming.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-41923@lists.php.net to get a copy of this message
fmk Tue Dec 5 21:46:32 2006 UTC Modified files: /php-src/ext/ming ming.c Log: Remove PHP4.x stuff http://cvs.php.net/viewvc.cgi/php-src/ext/ming/ming.c?r1=1.90&r2=1.91&diff_format=u Index: php-src/ext/ming/ming.c diff -u php-src/ext/ming/ming.c:1.90 php-src/ext/ming/ming.c:1.91 --- php-src/ext/ming/ming.c:1.90 Tue Dec 5 21:02:28 2006 +++ php-src/ext/ming/ming.c Tue Dec 5 21:46:32 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ming.c,v 1.90 2006/12/05 21:02:28 fmk Exp $ */ +/* $Id: ming.c,v 1.91 2006/12/05 21:46:32 fmk Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -4133,25 +4133,6 @@ /* {{{ todo PHP_MINIT_FUNCTION(ming) */ -#if PHP_API_VERSION == 20020918 -static php4_fix_funcnames(char *class_name, zend_function_entry *funcs) -{ - zend_function_entry *pf = funcs; - char *pname; - - while(funcs->fname) { - if( strcmp(funcs->fname,"__construct") == 0 ) { - pname=strdup(class_name); - } else { - pname=strdup(funcs->fname); - } - funcs->fname=pname; - while(*pname) { *pname=tolower(*pname);pname++;} - funcs++; - } -} -#endif - /* custom error handler propagates ming errors up to php */ static void php_ming_error(const char *msg, ...) {

« previous php.cvs (#41923) next »