]> granicus.if.org Git - php/commitdiff
- Fixed EG(saved_fpu_cw) initialization
authorFelipe Pena <felipe@php.net>
Wed, 22 Sep 2010 00:11:34 +0000 (00:11 +0000)
committerFelipe Pena <felipe@php.net>
Wed, 22 Sep 2010 00:11:34 +0000 (00:11 +0000)
Zend/zend.c

index 8997be8475b9687386b0362858e5496b4faa1e37..a9cfc8f15d98f2ac6312b279d8d3b18b27005d39 100644 (file)
@@ -547,7 +547,9 @@ static void executor_globals_ctor(zend_executor_globals *executor_globals TSRMLS
        EG(current_execute_data) = NULL;
        EG(current_module) = NULL;
        EG(exit_status) = 0;
-       EG(saved_fpu_cw) = NULL;
+#if XPFPA_HAVE_CW
+       EG(saved_fpu_cw) = 0;
+#endif
        EG(saved_fpu_cw_ptr) = NULL;
        EG(active) = 0;
 }