Re: msvcrt: Fix EOF behavior on read from pipe
8 Feb
2008
8 Feb
'08
2:41 p.m.
On Feb 8, 2008 4:31 PM, Dan Kegel <dank(a)kegel.com> wrote:
Nguyễn Thái Ngọc Duy's patch was almost right, he forgot a test case, and he neglected to move where EOF is detected for pipes instead of just removing it.
Should fix http://bugs.winehq.org/show_bug.cgi?id=11187
The problem is more general: consoles *also* break on short reads (Java 1.4.1's gdb takes 1 command then quits because it thinks it's the end of file) and I'm sure short read != end of file for ordinary files either, especially in *nix where read() can easily be interrupted by a signal. Damjan
6520
Age (days ago)
6520
Last active (days ago)
0 comments
1 participants
participants (1)
-
Damjan Jovanovic