#16865 [Csd]: Undefinded symbol _ecalloc
| From: | sniper@php.net | Date: | Wed, 31 Jul 2002 22:27:59 +0000 |
| Subject: | #16865 [Csd]: Undefinded symbol _ecalloc | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15725@lists.php.net to get a copy of this message | ||
ID: 16865
Updated by: sniper@php.net
Reported By: jan@horde.org
Status: Closed
Bug Type: Scripting Engine problem
Operating System: Linux
PHP Version: 4.2.0
Assigned To: hholzgra
New Comment:
you changed the version to 4.2.0? But this is fixed in 4.3.0-dev...did
you try with that? :)
Previous Comments:
------------------------------------------------------------------------
[2002-07-31 17:39:03] jan@horde.org
One fixed, one broken. ;-)
The constants seem to work now, but some user defined classes don't
exist after setting the locale to tr_TR.
I wasn't able to reproduce this in a short script, but it happens
reproduceable in the Horde framework if I try to add a Turkish
translation.
------------------------------------------------------------------------
[2002-07-31 09:13:27] sniper@php.net
This _seems_ to be fixed in CVS (4.3.0-dev)..at least I wasn't able to
reproduce it anymore.
------------------------------------------------------------------------
[2002-07-25 04:37:38] sniper@php.net
I heard Hartmut is collecting these..
------------------------------------------------------------------------
[2002-06-10 12:24:46] ilia@prohost.org
This bug can be resolved by applying the patch below to
zend_constants.c
--- zend_constants.c_old Sat Jun 8 15:58:01 2002
+++ zend_constants.c Sat Jun 8 15:58:09 2002
@@ -226,8 +226,6 @@
lookup_name = do_alloca(name_len+1);
memcpy(lookup_name, name, name_len+1);
- zend_str_tolower(lookup_name, name_len);
-
if (zend_hash_find(EG(zend_constants), lookup_name,
name_len+1,
(void **) &c)==SUCCESS) {
if ((c->flags & CONST_CS) && memcmp(c->name, name,
name_len)!=0) {
retval=0;
@@ -255,7 +253,6 @@
printf("Registering constant for module %d\n",
c->module_number);
#endif
- zend_str_tolower(lowercase_name, c->name_len);
if (zend_hash_add(EG(zend_constants), lowercase_name,
c->name_len, (void *) c, sizeof(zend_constant), NULL)==FAILURE) {
free(c->name);
if (!(c->flags & CONST_PERSIST
------------------------------------------------------------------------
[2002-04-29 04:07:42] jan@horde.org
It works indeed if you set the locale before calling the php script.
But this is of course not practicable.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16865
--
Edit this bug report at http://bugs.php.net/?id=16865&edit=1