What steps will reproduce the problem?
1. Create the xdelta process from another application and redirect stderr
console output to a pipe created by this other application. This can be
done under Win32 by using STARTUPINFO::hStdError parameter of
CreateProcess() API.
What is the expected output? What do you see instead?
I would expect to receive each line of stderr output from the pipe
immediately after xdelta has written it. Instead stderr output is received
in chunks of multiple lines, sometimes only after xdelta has ended.
What version of the product are you using? On what operating system?
xdelta30p on Win XP SP2
Please provide any additional information below.
I could fix this by adding the following line to function main() of xdelta:
setvbuf( stderr, NULL, _IONBF, 0 );
This effectively disables buffering of stderr so xdeltas output can be
captured immediately.
Original issue reported on code.google.com by as...@gmx.net on 23 Mar 2007 at 11:13
The text was updated successfully, but these errors were encountered:
GoogleCodeExporter commentedMar 24, 2015
Original issue reported on code.google.com by
as...@gmx.net
on 23 Mar 2007 at 11:13The text was updated successfully, but these errors were encountered: