Patch Dead_lock_fix_attempt for Strings related Bug #51424
Patch version 2010-03-29 11:54 UTC
Return to Bug #51424 |
Download this patch
Patch Revisions:
Developer: pajoye@php.net
Index: ext/standard/php_crypt_r.c
===================================================================
--- ext/standard/php_crypt_r.c (revision 295072)
+++ ext/standard/php_crypt_r.c (working copy)
@@ -81,9 +81,7 @@
tsrm_mutex_lock(php_crypt_extended_init_lock);
#endif
- if (initialized) {
- return;
- } else {
+ if (!initialized) {
_crypt_extended_init();
initialized = 1;
}
|