Re: Branching 4.0.6...

From: Date: Sun, 06 May 2001 04:18:26 +0000
Subject: Re: Branching 4.0.6...
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-54065@lists.php.net to get a copy of this message
Hi, I fixed a compilation problem for ext/mbstring recently. I think this problem is critical for this module, it should be applied for php-4.0.6 branch. >hirokawa Sat May 5 19:44:12 2001 EDT > > Modified files: > /php4/ext/mbstring mbstring.c > Log: > fixed a compilation problem without --enable-mbstr-enc-trans. > >Index: php4/ext/mbstring/mbstring.c >diff -u php4/ext/mbstring/mbstring.c:1.7 php4/ext/mbstring/mbstring.c:1.8 >--- php4/ext/mbstring/mbstring.c:1.7 Fri May 4 03:42:54 2001 >+++ php4/ext/mbstring/mbstring.c Sat May 5 19:44:12 2001 >@@ -16,7 +16,7 @@ > +----------------------------------------------------------------------+ > */ > >-/* $Id: mbstring.c,v 1.7 2001/05/04 10:42:54 hirokawa Exp $ */ >+/* $Id: mbstring.c,v 1.8 2001/05/06 02:44:12 hirokawa Exp $ */ > > /* > * PHP4 Multibyte String module "mbstring" (currently only for Japanese) >@@ -73,6 +73,7 @@ > > static unsigned char third_and_rest_force_ref[] = { 3, BYREF_NONE, > BYREF_NONE, BYREF_FORCE_REST }; > >+#if defined(MBSTR_ENC_TRANS) > SAPI_POST_HANDLER_FUNC(php_mbstr_post_handler); > > static sapi_post_entry mbstr_post_entries[] = { >@@ -80,6 +81,7 @@ > { > MULTIPART_CONTENT_TYPE, sizeof(MULTIPART_CONTENT_TYPE)-1, > sapi_read_standard_form_data, rfc1867_post_handler }, > { NULL, 0, NULL } > }; >+#endif > > function_entry mbstring_functions[] = { > PHP_FE(mb_internal_encoding, NULL) > > > -- ---------------------------------------------------------- Rui Hirokawa <louis@cityfujisawa.ne.jp> maintainer of japanese PHP manual <hirokawa@php.net>

« previous php.dev (#54065) next »