#16865 [Csd->Opn]: Undefinded symbol _ecalloc

From: Date: Wed, 31 Jul 2002 22:43:43 +0000
Subject: #16865 [Csd->Opn]: Undefinded symbol _ecalloc
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15731@lists.php.net to get a copy of this message
ID: 16865 User updated by: jan@horde.org Reported By: jan@horde.org -Status: Closed +Status: Open Bug Type: Scripting Engine problem Operating System: Linux -PHP Version: 4.2.0 +PHP Version: 4.3.0-dev Assigned To: hholzgra New Comment: Ehm, sorry. Previous Comments: ------------------------------------------------------------------------ [2002-07-31 18:27:58] sniper@php.net you changed the version to 4.2.0? But this is fixed in 4.3.0-dev...did you try with that? :) ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ 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

« previous php.bugs (#15731) next »