ntdll: fix read_directory_getdirentries() under FreeBSD.

David Naylor naylor.b.david at gmail.com
Sun Dec 28 14:09:01 CST 2014


Change the handling of getdirentries(2) by:
 - tracking the data pointer instead of subtracting 'res'
 - simplify rewind by skipping re-appending entries onto the list
 - try make the logic easier to follow
---
 dlls/ntdll/directory.c | 73 
+++++++++++++++++++-------------------------------
 1 file changed, 28 insertions(+), 45 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-fix-read_directory_getdirentries-under-FreeBSD.patch
Type: text/x-patch
Size: 4812 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141228/80fe3e62/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 964 bytes
Desc: This is a digitally signed message part.
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141228/80fe3e62/attachment.sig>


More information about the wine-patches mailing list