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

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Aug 16 00:07:15 CDT 2009


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





--- Comment #8 from Jeff Zaroyko <jeffz at jeffz.name>  2009-08-16 00:07:15 ---
(In reply to comment #7)
> Created an attachment (id=23098)
 --> (http://bugs.winehq.org/attachment.cgi?id=23098) [details]
> patches
> 
> corrected the mime type

some more issues:

in patch 2, you should just use one call to printf or just puts, one call per
line is not necessary, just do as such:

printf("foo\n"
       "bar\n"
       "baz\n");

why does usage return 1?  I see that you propagate it as the return value on
incorrect usage, attrib.exe still returns 0 on Windows if you give an invalid
option:

C:\Users\jeffz>attrib +J foo
Invalid switch - +J

C:\Users\jeffz>echo %ERRORLEVEL%
0

-- 
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