]> granicus.if.org Git - php/commitdiff
Renumber the comments in php_request_shutdown() to be in order.
authorAdam Harvey <aharvey@php.net>
Wed, 4 Dec 2013 22:29:13 +0000 (14:29 -0800)
committerAdam Harvey <aharvey@php.net>
Wed, 4 Dec 2013 22:29:45 +0000 (14:29 -0800)
What, me OCD?

main/main.c

index 20a7d884fbcba9871c2e356a31320971eca759ce..6f7e149cad332cd68ff7ca9d55c05ab60c4c3476 100644 (file)
@@ -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();