mirror of
https://github.com/php/php-src.git
synced 2024-12-11 10:54:47 +08:00
DEBUG -> PHP_DEBUG
This commit is contained in:
parent
7916ef2ee1
commit
ff0ee48537
@ -428,7 +428,7 @@ static int php_stdiop_close(php_stream *stream, int close_handle TSRMLS_DC)
|
||||
data->file = NULL;
|
||||
}
|
||||
} else if (data->fd != -1) {
|
||||
#ifdef DEBUG
|
||||
#ifdef PHP_DEBUG
|
||||
if (data->fd == 2 && 0 == strcmp(sapi_module.name, "cli")) {
|
||||
/* don't close stderr in CLI in DEBUG mode, as we want to see any leaks */
|
||||
ret = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user