[PATCH 4/4] server: clone file_get_sd() and file_set_fd() for directories
Paul Bryan Roberts
pbronline-wine at yahoo.co.uk
Wed Nov 5 01:02:02 CST 2008
This is a resubmission
The changes to the Wine server are as before in that they are a clone.
The clone is slightly different in that file_set_fd() just falls through
at the "FIXME:" and so does the clone dir_set_fd().
The complimentary conformance tests for the directory case are again a
clone of the tests for the file case but since the latter has been
reworked, so have the former.
Detailed description of original submission:
This patch is one a series intended to fix Bug 14434 (WordPerfect Office
2002: Unable to Install).
The problem here is that the installer calls GetFileSecurity() on
directories, not files while the Wine server only has support for this
API call for files, not directories.
The solution seems simple - implement support for directories by cloning
the support for files. Provided, of course, that this is backed up by
cloning the conformance tests.
This patch clones file_get_sd() and file_set_sd() in file.c to
dir_get_sd() and dir_set_sd() in change.c.
The conformance tests are also cloned.
Conformance tests checked again W2K and WXP, both administrator and user
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the wine-patches