[PATCH 09/10] server: Fix error when opening directory r/o with O_DIRECT
Guy Albertelli
galberte at neo.rr.com
Thu Mar 19 22:57:47 CDT 2009
When opening a directory read-only and O_DIRECT is set, we get EINVAL
from the open. Reseting the O_DIRECT in that case gives a more
reasonable error of EISDIR - if the underlying unix point is a directory
---
server/fd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3d71e457059d005ac3c51e9f903138280913ee3f.diff
Type: text/x-patch
Size: 624 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090319/682edfd0/attachment.bin>
More information about the wine-patches
mailing list