[Bug 18059] Unity Indie Trial exits because attrib.exe is missing

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jan 30 19:54:44 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=18059





--- Comment #10 from EA Durbin <ead1234 at hotmail.com>  2010-01-30 19:54:43 ---
(In reply to comment #9)
> Looks like EA got discouraged:
> http://www.winehq.org/pipermail/wine-patches/2009-August/077232.html
> http://www.winehq.org/pipermail/wine-patches/2009-August/077284.html
> 
> Can someone else pick up the pieces and continue?
> 
> Marking 'cmd' since the final fix will also involve removing the builtin 
> attrib from cmd.exe.

Yes, I got discouraged and I'm too busy with other things to keep wasting time
on this and getting stuck in an endless patch submission loop. 

This part is broken:
+        if(!(dwAttr & setAttr))
+            SetFileAttributesW(path, dwAttr | setAttr);
+        if(dwAttr & clrAttr)
+            SetFileAttributesW(path, dwAttr & ~clrAttr);

And Alexandre states he would like to check if the file exists first and
display an error message if it isn't, though this is redundant as FindFirstFile
returns ERROR_FILE_NOT_FOUND if the file is not found and adding a separate
check is wasteful, and I'm not sure the Windows version provides an error, I
can't check as I removed Windoze from my machines. Anyone else is free to
finish this.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list