mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Output stderr on real stderr in phpdbg
This commit is contained in:
parent
7e9f416218
commit
c1189eccae
3
NEWS
3
NEWS
@ -25,6 +25,9 @@ PHP NEWS
|
||||
by gcov. (Senthil)
|
||||
. Fixed memory leak with LOBs. (Senthil)
|
||||
|
||||
- Phpdbg:
|
||||
. Fixed stderr being written to stdout. (Bob)
|
||||
|
||||
- SOAP:
|
||||
. Fixed bug #70900 (SoapClient systematic out of memory error). (Dmitry)
|
||||
. Fixed bug #70940 (Segfault in soap / type_to_string). (Remi)
|
||||
|
@ -916,7 +916,7 @@ static size_t phpdbg_stdiop_write(php_stream *stream, const char *buf, size_t co
|
||||
return count;
|
||||
}
|
||||
if (stat[2].st_dev == stat[1].st_dev && stat[2].st_ino == stat[1].st_ino) {
|
||||
phpdbg_script(P_STDERR, "%.*s", (int) count, buf);
|
||||
phpdbg_script_ex(PHPDBG_G(io)[PHPDBG_STDERR].fd, P_STDERR, "%.*s", (int) count, buf);
|
||||
return count;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user