develooper Front page | perl.php.sandwich.dev | Postings from August 2005

[svn:PHP-Sandwich] r1491 - PHP-Sandwich/trunk

From:
gschlossnagle
Date:
August 29, 2005 14:48
Subject:
[svn:PHP-Sandwich] r1491 - PHP-Sandwich/trunk
Message ID:
20050829214803.25222.qmail@x1.develooper.com
Author: gschlossnagle
Date: Mon Aug 29 14:48:02 2005
New Revision: 1491

Modified:
   PHP-Sandwich/trunk/phpinterp.c
Log:
we only want to dance this dance if we're ZTS


Modified: PHP-Sandwich/trunk/phpinterp.c
==============================================================================
--- PHP-Sandwich/trunk/phpinterp.c	(original)
+++ PHP-Sandwich/trunk/phpinterp.c	Mon Aug 29 14:48:02 2005
@@ -156,8 +156,8 @@ int sandwich_php_interpreter_create()
 
 sandwich_per_interp *sandwich_per_interp_setup() 
 {
-  /* if (!conf->eval_ok) return NULL; */
   sandwich_per_interp *info;
+#ifdef ZTS
   if(free_interps) {
     struct interp_list *tofree = free_interps;
     info = free_interps->interp;
@@ -175,8 +175,7 @@ sandwich_per_interp *sandwich_per_interp
     }
     return info;
   }
-
-#ifndef ZTS
+#else
   if(one_true_interp) return one_true_interp;
 #endif
 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About