[TRY 4] msvcrt: updated use of pmode flag in _s_open - set permissions of the file after it's been created.

Alexandre Julliard julliard at winehq.org
Tue Oct 21 06:19:37 CDT 2008


Ivan Peevski <cyberhorse at gmail.com> writes:

> ChangeLog:
> Followed the documentation at
> http://msdn.microsoft.com/en-us/library/w7sa2b22(VS.80).aspx. First,
> ignore pmode if the file already exist. Then, apply pmode permissions
> to the file, once it has been created.

This should be done by passing the right attributes to CreateFile. You
shouldn't need a separate chmod call.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list