mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-7.0' into PHP-7.1
This commit is contained in:
commit
8fcc938e56
1 changed files with 1 additions and 1 deletions
|
@ -1322,7 +1322,7 @@ php_stream *phpdbg_stream_url_wrap_php(php_stream_wrapper *wrapper, const char *
|
|||
}
|
||||
|
||||
if (!strncasecmp(path, "stdin", 6) && PHPDBG_G(stdin_file)) {
|
||||
php_stream *stream =stream = php_stream_fopen_from_file(PHPDBG_G(stdin_file), "r");
|
||||
php_stream *stream = php_stream_fopen_from_fd(dup(fileno(PHPDBG_G(stdin_file))), "r", NULL);
|
||||
#ifdef PHP_WIN32
|
||||
zval *blocking_pipes = php_stream_context_get_option(context, "pipe", "blocking");
|
||||
if (blocking_pipes) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue