johannes                                 Tue, 14 Sep 2010 14:26:37 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=303364

Log:
- Don't be silent on bailout

Changed paths:
    U   php/php-src/branches/PHP_5_3/Zend/zend_hash.c
    U   php/php-src/trunk/Zend/zend_hash.c

Modified: php/php-src/branches/PHP_5_3/Zend/zend_hash.c
===================================================================
--- php/php-src/branches/PHP_5_3/Zend/zend_hash.c       2010-09-14 14:23:44 UTC 
(rev 303363)
+++ php/php-src/branches/PHP_5_3/Zend/zend_hash.c       2010-09-14 14:26:37 UTC 
(rev 303364)
@@ -63,6 +63,9 @@
                case HT_CLEANING:
                        zend_output_debug_string(1, "%s(%d) : ht=%p is being 
cleaned", file, line, ht);
                        break;
+               default:
+                       zend_output_debug_string(1, "%s(%d) : ht=%p is 
inconsistent", file, line, ht);
+                       break;
        }
        zend_bailout();
 }

Modified: php/php-src/trunk/Zend/zend_hash.c
===================================================================
--- php/php-src/trunk/Zend/zend_hash.c  2010-09-14 14:23:44 UTC (rev 303363)
+++ php/php-src/trunk/Zend/zend_hash.c  2010-09-14 14:26:37 UTC (rev 303364)
@@ -64,6 +64,9 @@
                case HT_CLEANING:
                        zend_output_debug_string(1, "%s(%d) : ht=%p is being 
cleaned", file, line, ht);
                        break;
+               default:
+                       zend_output_debug_string(1, "%s(%d) : ht=%p is 
inconsistent", file, line, ht);
+                       break;
        }
        zend_bailout();
 }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to