cvs: php4 /ext/mbstring mbstring.c
| From: | Frank M. Kromann | Date: | Wed, 03 Jul 2002 18:45:34 +0000 |
| Subject: | cvs: php4 /ext/mbstring mbstring.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12704@lists.php.net to get a copy of this message | ||
fmk Wed Jul 3 14:45:34 2002 EDT
Modified files:
/php4/ext/mbstring mbstring.c
Log:
Removed unneeded check for MBSTR_ENC_TRANS
Index: php4/ext/mbstring/mbstring.c
diff -u php4/ext/mbstring/mbstring.c:1.76 php4/ext/mbstring/mbstring.c:1.77
--- php4/ext/mbstring/mbstring.c:1.76 Wed Jul 3 14:23:55 2002
+++ php4/ext/mbstring/mbstring.c Wed Jul 3 14:45:34 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mbstring.c,v 1.76 2002/07/03 18:23:55 fmk Exp $ */
+/* $Id: mbstring.c,v 1.77 2002/07/03 18:45:34 fmk Exp $ */
/*
* PHP4 Multibyte String module "mbstring" (currently only for Japanese)
@@ -1310,7 +1310,6 @@
}
-#if defined(MBSTR_ENC_TRANS)
SAPI_POST_HANDLER_FUNC(php_mbstr_post_handler)
{
MBSTRG(http_input_identify_post) = mbfl_no_encoding_invalid;
@@ -1321,7 +1320,6 @@
MBSTRG(http_input_identify_post) = MBSTRG(http_input_identify);
}
}
-#endif
#define IS_SJIS1(c) ((((c)>=0x81 && (c)<=0x9f) || ((c)>=0xe0 &&
(c)<=0xf5)) ? 1 : 0)