[winedos] Get File Attributes must fail for files with names ending in slash

Dan Kegel dank at kegel.com
Thu Jan 29 01:32:18 CST 2009


Currently, Winbench '96's Disk Tests fail with the dialog

A DOS file operation that was supposed to fail succeeded during the test.
The following information is for ZDBOp use:
Drive: C  Operation: GetFileAttrib
Script Location: 0d0b11 0
Pathname(s): C:\~WBDM.TMP\ZDBENCH\WS96.B03\WORK\PDOX50\,
Working Dir: ~WBDM.TMP\\zdbench\\ws96.b03\\work\\"

Making the INT 21 function GET FILE ATTRIBUTES
return failure for paths ending in a slash lets the
benchmark get a lot further.
(Making that function fail for directories causes
winbench 96 to fail even sooner, so it really does seem
to be objecting to the slash at the end.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wb96a.patch
Type: text/x-diff
Size: 897 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090128/f17711d2/attachment.patch 


More information about the wine-patches mailing list