5 Apr
2016
5 Apr
'16
10:50 p.m.
Sebastian Lackner <sebastian(a)fds-team.de> writes:
@@ -363,7 +363,7 @@ HFILE16 WINAPI _lclose16( HFILE16 hFile ) } TRACE("%d (handle32=%p)\n", hFile, dos_handles[hFile] ); CloseHandle( dos_handles[hFile] ); - dos_handles[hFile] = 0; + dos_handles[hFile] = (hFile < 5) ? INVALID_HANDLE_VALUE : 0;
This will cause functions that take default handles to not return the correct errors. Is that really how it's supposed to work? What bug is this for? -- Alexandre Julliard julliard(a)winehq.org