greatlrd@svn.reactos.com wrote:
give GetFileAttributesExW more NtOpenFile right to prevent reactos crash if u using CreateFile then GetFileAttributesExW. It also fix a bug for me for livecd it booting on first try now in vmware. instead second or more booting try.
"crash if using CreateFile then GetFileAttributesExW" ??? What?? It looks like you are working around the real bug by using a _very_ dirty workaround.
Modified: trunk/reactos/lib/kernel32/file/file.c
SYNCHRONIZE | FILE_READ_ATTRIBUTES,
SYNCHRONIZE | GENERIC_ALL,
FILE_READ_ATTRIBUTES access is surely sufficient for reading a files attributes...