http://bugs.winehq.org/show_bug.cgi?id=18059
--- Comment #8 from Jeff Zaroyko jeffz@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