[ros-dev] Re: [ros-diffs] [greatlrd] 17909: 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.

Gunnar Dalsnes hardon at online.no
Sun Sep 18 14:49:34 CEST 2005



greatlrd at 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...


More information about the Ros-dev mailing list