com php-src: - CS: phpdbg.c

From: Date: Sun, 29 Jun 2014 12:57:57 +0000
Subject: com php-src: - CS: phpdbg.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-79239@lists.php.net to get a copy of this message
Commit: 82f0b934a9392aa2195693ee7cfadf1454c0bb2c Author: Felipe Pena <felipensp@gmail.com> Sun, 29 Jun 2014 09:57:57 -0300 Parents: 58c69746e585312f73163d749bd5613cd21c9a1b Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=82f0b934a9392aa2195693ee7cfadf1454c0bb2c Log: - CS Changed paths: M phpdbg.c Diff: diff --git a/phpdbg.c b/phpdbg.c index 93fdbd7..1fbd18a 100644 --- a/phpdbg.c +++ b/phpdbg.c @@ -856,7 +856,8 @@ int phpdbg_open_sockets(char *address, int port[2], int (*listen)[2], int (*sock return SUCCESS; } /* }}} */ -void phpdbg_signal_handler(int sig, siginfo_t *info, void *context) { +void phpdbg_signal_handler(int sig, siginfo_t *info, void *context) /* {{{ */ +{ int is_handled = FAILURE; TSRMLS_FETCH(); @@ -874,10 +875,11 @@ void phpdbg_signal_handler(int sig, siginfo_t *info, void *context) { break; } -} +} /* }}} */ #endif -static inline zend_mm_heap *phpdbg_mm_get_heap() { +static inline zend_mm_heap *phpdbg_mm_get_heap() /* {{{ */ +{ zend_mm_heap *mm_heap; TSRMLS_FETCH(); @@ -886,22 +888,22 @@ static inline zend_mm_heap *phpdbg_mm_get_heap() { zend_mm_set_heap(mm_heap TSRMLS_CC); return mm_heap; -} +} /* }}} */ -void *phpdbg_malloc_wrapper(size_t size) +void *phpdbg_malloc_wrapper(size_t size) /* {{{ */ { return zend_mm_alloc(phpdbg_mm_get_heap(), size); -} +} /* }}} */ -void phpdbg_free_wrapper(void *p) +void phpdbg_free_wrapper(void *p) /* {{{ */ { zend_mm_free(phpdbg_mm_get_heap(), p); -} +} /* }}} */ -void *phpdbg_realloc_wrapper(void *ptr, size_t size) +void *phpdbg_realloc_wrapper(void *ptr, size_t size) /* {{{ */ { return zend_mm_realloc(phpdbg_mm_get_heap(), ptr, size); -} +} /* }}} */ int main(int argc, char **argv) /* {{{ */ {

« previous php.cvs (#79239) next »