Re: [RFC] Implement file attributes with xattr on mac and linux (fixes bug 15679)

2009-09-08 Thread Alexandre Julliard
Dan Kegel writes: > The convention chosen is that the win32 file attributes > are stored as a four digit hex number in the extended > attribute named user.wine.attr. (The 'user' prefix is suggested > by http://www.freedesktop.org/wiki/CommonExtendedAttributes .) You should use the user.DosAttri

[RFC] Implement file attributes with xattr on mac and linux (fixes bug 15679)

2009-09-08 Thread Dan Kegel
Builds and runs on mac and linux, passes tests on linux and vista. Fixes http://bugs.winehq.org/show_bug.cgi?id=15679 It's worth discussing a bit before posting to wine-patches. This patch uses filesystem extended attributes to store the win32 attribute bits. These are available fairly widely fin