2009/6/12 LiuYuanxi marsliu2000@hotmail.com:
In dlls/ntdll/file.c: line 362
if ((status = server_get_unix_fd( fileio->io.handle, FILE_READ_DATA, &fd, &needs_close, NULL, NULL ))) break;
Is this if always true?
No, only if server_get_unix_fd() returns a non-zero status. I.e., the code is equivalent to:
status = server_get_unix_fd( fileio->io.handle, FILE_READ_DATA, &fd, &needs_close, NULL, NULL ); if (status) break;