Works on my box (no idea how sane this is, or what it may break on other
systems, please handle like barbed wire).

- Steph
? ext/libxml/php_libxml2.def
Index: ext/iconv/iconv.c
===================================================================
RCS file: /repository/php-src/ext/iconv/iconv.c,v
retrieving revision 1.97
diff -u -r1.97 iconv.c
--- ext/iconv/iconv.c   2 Nov 2003 18:54:08 -0000       1.97
+++ ext/iconv/iconv.c   21 Nov 2003 19:32:05 -0000
@@ -58,10 +58,11 @@
 #define _php_iconv_memequal(a, b, c) \
   ((c) == sizeof(unsigned long) ? *((unsigned long *)(a)) == *((unsigned long *)(b)) 
: ((c) == sizeof(unsigned int) ? *((unsigned int *)(a)) == *((unsigned int *)(b)) : 
memcmp(a, b, c) == 0))
 
+
 /* {{{ iconv_functions[]
  */
 function_entry iconv_functions[] = {
-       PHP_NAMED_FE(iconv,php_if_iconv,                                NULL)
+       { "iconv", php_if_iconv, NULL },
        PHP_FE(ob_iconv_handler,                                                NULL)
        PHP_FE(iconv_get_encoding,                                              NULL)
        PHP_FE(iconv_set_encoding,                                              NULL)

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to