A possible fix:
diff -u -r1.97 iconv.c
--- iconv.c 2 Nov 2003 18:54:08 -0000 1.97
+++ iconv.c 22 Nov 2003 05:51:27 -0000
@@ -60,6 +60,7 @@
/* {{{ iconv_functions[]
/
+#undef iconv
function_entry iconv_functions[] = {
PHP_NAMED_FE(iconv,php_if_iconv, NULL)
PHP_FE(ob_iconv_handler, NULL)
@@ -73,6 +74,7 @@
PHP_FE(iconv_mime_decode, NULL)
{NULL, NULL, NULL}
};
+#define iconv libiconv
/ }}} */
/* {{{ iconv_module_entry
- Frank
Works on my box (no idea how sane this is, or what it may break on
other
systems, please handle like barbed wire).I think I know why this might happen... perhaps "iconv" is defined as
macro on windhoos. Can you please see ifget_defined_functions()
does
something weird? (Tip: only load the iconv ext other wise there are
too
many funcs in the output).I don't think this is Windows specific issue. From my experience, this
might be caused by random heap corruption. (most likely spotted in
another extension) And there's never been a macro like "iconv" or
whatever
in the standard MS C library.Moriyoshi