#21965 [Opn->Fbk]: gettext uses entries out of different files at the same time

From: Date: Thu, 30 Jan 2003 17:43:11 +0000
Subject: #21965 [Opn->Fbk]: gettext uses entries out of different files at the same time
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31697@lists.php.net to get a copy of this message
ID: 21965 Updated by: iliaa@php.net Reported By: thorsten.kussler@communardo.de -Status: Open +Status: Feedback Bug Type: Gettext related Operating System: Solaris PHP Version: 4.2.3 New Comment: Are you using gettext in multi-threaded enviroment if so, that would explain the behaviour you are seeing because gettext is NOT thread-safe. Previous Comments: ------------------------------------------------------------------------ [2003-01-30 11:00:54] thorsten.kussler@communardo.de This behavior is reproduceable on Solaris 7.x and 2.6 ------------------------------------------------------------------------ [2003-01-30 10:47:45] thorsten.kussler@communardo.de gettext uses entries out of differend files at the same time!! During the execution time of on single script the languages changes without an reproduceable behavior. As an example: the first 10 strings are translated in german, the next three strings in english, the next vive again in german and thze rest in english. The same application on a different OS like LINUX or Windows works pretty well. It is only a problem on Solaris. The version of GNU gettext is 0.10.37 on all systems. Please could you help me finding a solution. Thorsten Kussler ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21965&edit=1

« previous php.bugs (#31697) next »