[3/3] ntdll: Implement FILE_ATTRIBUTE_HIDDEN and FILE_ATTRIBUTE_SYSTEM support

Dan Kegel dank at kegel.com
Sun Sep 20 22:35:14 CDT 2009


Implement hidden and system file attributes.
Removes some todo_wine statements from the tests, too.

Changes since first posted:
- broke out tests and DIR_get_attributes into patches 1 and 2
- dropped programs/cmd changes for the moment
- stopped trying to implement FILE_ATTRIBUTE_ARCHIVE,
just left it the way it is now
- save attributes specified during NtCreateFile (I seem to
have missed that last time)
- hid platform differences behind trivial wrapper functions
to avoid #ifdef thicket

Note: the extra call to get the fd in NtCreateFile seems funny.
Hints about a cleaner way to do this would be welcome.

Still fixes http://bugs.winehq.org/show_bug.cgi?id=15679
Tests pass on both wine and Vista Home Basic (with some
todos)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Implement-FILE_ATTRIBUTE_HIDDEN-and-FILE_ATTRIBUTE_S.patch
Type: text/x-patch
Size: 21479 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090920/aded30b4/attachment-0001.bin>


More information about the wine-patches mailing list