Commit:    de3b9bc77c046625f743d556854eccfdddf5bf23
Author:    Adam Harvey <ahar...@php.net>         Wed, 4 Dec 2013 14:29:13 -0800
Parents:   0cb38a3d2606740b0b3c048351632f250a855909
Branches:  master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=de3b9bc77c046625f743d556854eccfdddf5bf23

Log:
Renumber the comments in php_request_shutdown() to be in order.

What, me OCD?

Changed paths:
  M  main/main.c


Diff:
diff --git a/main/main.c b/main/main.c
index 20a7d88..6f7e149 100644
--- a/main/main.c
+++ b/main/main.c
@@ -1793,7 +1793,7 @@ void php_request_shutdown(void *dummy)
                }
        } zend_end_try();
 
-       /* 7.5 free last error information */
+       /* 8. free last error information */
        if (PG(last_error_message)) {
                free(PG(last_error_message));
                PG(last_error_message) = NULL;
@@ -1803,34 +1803,34 @@ void php_request_shutdown(void *dummy)
                PG(last_error_file) = NULL;
        }
 
-       /* 7. Shutdown scanner/executor/compiler and restore ini entries */
+       /* 9. Shutdown scanner/executor/compiler and restore ini entries */
        zend_deactivate(TSRMLS_C);
 
-       /* 8. Call all extensions post-RSHUTDOWN functions */
+       /* 10. Call all extensions post-RSHUTDOWN functions */
        zend_try {
                zend_post_deactivate_modules(TSRMLS_C);
        } zend_end_try();
 
-       /* 9. SAPI related shutdown (free stuff) */
+       /* 11. SAPI related shutdown (free stuff) */
        zend_try {
                sapi_deactivate(TSRMLS_C);
        } zend_end_try();
 
-       /* 9.5 free virtual CWD memory */
+       /* 12. free virtual CWD memory */
        virtual_cwd_deactivate(TSRMLS_C);
 
-       /* 10. Destroy stream hashes */
+       /* 13. Destroy stream hashes */
        zend_try {
                php_shutdown_stream_hashes(TSRMLS_C);
        } zend_end_try();
 
-       /* 11. Free Willy (here be crashes) */
+       /* 14. Free Willy (here be crashes) */
        zend_try {
                shutdown_memory_manager(CG(unclean_shutdown) || 
!report_memleaks, 0 TSRMLS_CC);
        } zend_end_try();
        zend_interned_strings_restore(TSRMLS_C);
 
-       /* 12. Reset max_execution_time */
+       /* 15. Reset max_execution_time */
        zend_try {
                zend_unset_timeout(TSRMLS_C);
        } zend_end_try();


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

Reply via email to