1
0
mirror of https://github.com/php/php-src.git synced 2026-04-05 07:02:33 +02:00

Fixed startup errors if ext/exif is loaded without ext/mbstring

This commit is contained in:
Dmitry Stogov
2010-12-08 14:49:26 +00:00
parent fa404f71f5
commit 5f8ff99a05

View File

@@ -530,7 +530,8 @@ static size_t dummy_encoding_oddlen(const unsigned char *string, size_t length,
static int dummy_encoding_list_checker(const char *encoding_list TSRMLS_DC)
{
return 0;
/* ignore encoding */
return 1;
}
static const char* dummy_get_internal_encoding(TSRMLS_D)