php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #51424
Patch membar-solaris.patch revision 2010-06-16 22:59 UTC by SRIRAM dot NATARAJAN at GMAIL dot COM
Patch Dead_lock_fix_attempt revision 2010-03-29 11:54 UTC by pajoye@php.net
Patch GDB-backtrace-proper revision 2010-03-29 11:27 UTC by laacz at laacz dot lv
Patch GDB-backtrace revision 2010-03-29 11:13 UTC by laacz at laacz dot lv

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;
 	}
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Thu Apr 17 12:01:59 2014 UTC