[Try 5] msvcrt: Set permissions of file in sopen

Dmitry Timoshkov dmitry at codeweavers.com
Wed Oct 22 22:27:34 CDT 2008


"Ivan Peevski" <cyberhorse at gmail.com> wrote:

> +      if (pmode & (MSVCRT__S_IREAD & !MSVCRT__S_IWRITE))
> +        attrib |= FILE_ATTRIBUTE_READONLY; 

The pmode flags test doesn't look right.

Also the 'attrib |= ' line has a trailing space.

-- 
Dmitry.



More information about the wine-devel mailing list