yohgaki Sat Sep 7 17:08:47 2002 EDT Modified files: /php4/ext/iconv iconv.c Log: Fixed errno hanlding. Patch by Moriyoshi Koizumi <[EMAIL PROTECTED]> Index: php4/ext/iconv/iconv.c diff -u php4/ext/iconv/iconv.c:1.47 php4/ext/iconv/iconv.c:1.48 --- php4/ext/iconv/iconv.c:1.47 Wed Sep 4 01:17:16 2002 +++ php4/ext/iconv/iconv.c Sat Sep 7 17:08:47 2002 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: iconv.c,v 1.47 2002/09/04 05:17:16 yohgaki Exp $ */ +/* $Id: iconv.c,v 1.48 2002/09/07 21:08:47 yohgaki Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -139,7 +139,7 @@ char **out, size_t *out_len, const char *in_charset, const char *out_charset, int *err TSRMLS_DC) { -#if ICONV_SUPPORTS_ERRNO +#if !ICONV_SUPPORTS_ERRNO unsigned int in_size, out_size, out_left; char *out_buffer, *out_p; iconv_t cd;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php