[NtDll]: NtReadFile

Eric Pouech eric.pouech at wanadoo.fr
Sun Nov 13 07:32:02 CST 2005


This patch should fix the non detection of broken cnx on named pipes. I 
also fixed the return status for EOF on files, but that should be a 
no-op (as kernel32.ReadFile is ready for that).
A+

ChangeLog:
[NtDll]: NtReadFile
- now returning correct status in NtReadFile for EOF conditions (on files)
   and broken pipe (on named pipes)
- remove todo on now passing test (on broken pipe)

  dlls/kernel/tests/pipe.c |    2 +-
  dlls/ntdll/file.c        |   10 +++++++++-
  2 files changed, 10 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: c5b443b34aa1f4ee9bae738bec5166c60c983a4d.diff
Type: text/x-patch
Size: 1586 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20051113/3546755f/c5b443b34aa1f4ee9bae738bec5166c60c983a4d.diff


More information about the wine-patches mailing list