http://bugs.winehq.org/show_bug.cgi?id=21132
Summary: 'cmd echo on' sometimes fails Product: Wine Version: 1.1.35 Platform: x86 OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
$ rm a $ wine cmd Z:\home\austin>echo on > a Z:\home\austin>type a on
but running: austin@laptop:~$ wine cmd /c echo on > a austin@laptop:~$ cat a
shows an empty file.
http://bugs.winehq.org/show_bug.cgi?id=21132
--- Comment #1 from Austin English austinenglish@gmail.com 2009-12-22 21:50:57 --- Test added: http://code.google.com/p/winezeug/source/detail?r=897
http://bugs.winehq.org/show_bug.cgi?id=21132
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|programs |cmd
http://bugs.winehq.org/show_bug.cgi?id=21132
--- Comment #2 from Jason Edmeades us@edmeades.me.uk 2010-01-06 17:41:29 --- Created an attachment (id=25595) --> (http://bugs.winehq.org/attachment.cgi?id=25595) patch
Does this patch help (you might need to apply the one in 21047 first if the chunks dont line up, but the changes are independant). I dont quite like the casting of the 'where' away from const, but I couldnt see how to avoid that. Feel free to submit
http://bugs.winehq.org/show_bug.cgi?id=21132
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |us@edmeades.me.uk
--- Comment #3 from Jason Edmeades us@edmeades.me.uk 2010-01-06 18:26:41 --- Adding myself to the cmd bugs
http://bugs.winehq.org/show_bug.cgi?id=21132
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |us@edmeades.me.uk
--- Comment #4 from Jason Edmeades us@edmeades.me.uk 2010-09-06 14:28:12 CDT --- Patch submitted for this bug in tghe patchset starting http://www.winehq.org/pipermail/wine-patches/2010-September/092915.html
Patch set failed on WinNT4 so reworking slightly, but fixes for this defect are included in it.
http://bugs.winehq.org/show_bug.cgi?id=21132
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy@gmail.com
--- Comment #5 from Frédéric Delanoy frederic.delanoy@gmail.com 2011-05-30 07:24:31 CDT --- Confirmed in 1.3.21
http://bugs.winehq.org/show_bug.cgi?id=21132
--- Comment #6 from Frédéric Delanoy frederic.delanoy@gmail.com 2011-11-09 19:58:38 CST --- (In reply to comment #0)
$ rm a $ wine cmd Z:\home\austin>echo on > a Z:\home\austin>type a on
but running: austin@laptop:~$ wine cmd /c echo on > a austin@laptop:~$ cat a
shows an empty file.
On w2k, 'echo on > a' sets echo mode, and creates an empty "a" file Similar results when "cmd /c echo on > a" is used (except caller's echo mode is not altered)
I'm not quite sure why one would want to use commands like 'echo on > a' though
http://bugs.winehq.org/show_bug.cgi?id=21132
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|us@edmeades.me.uk |wine-bugs@winehq.org
http://bugs.winehq.org/show_bug.cgi?id=21132
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME
--- Comment #7 from Jason Edmeades us@edmeades.me.uk 2012-10-03 16:01:36 CDT --- I think this was fixed ages ago:
Z:\media\sf_wine>echo on >a.a
Z:\media\sf_wine>more a.a
Z:\media\sf_wine>dir a.a Volume in drive Z has no label. Volume Serial Number is 0000-0000
Directory of Z:\media\sf_wine
03/10/2012 22:00 0 a.a 1 file 0 bytes
http://bugs.winehq.org/show_bug.cgi?id=21132
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|WORKSFORME |FIXED
--- Comment #8 from Austin English austinenglish@gmail.com 2012-10-03 16:37:23 CDT --- It's fixed, yes, but not worksforme. It's broken in at least 1.3.22 (only old version I have around that's already compiled :) ): CMD Version 1.3.22 Z:\home\austin>echo on > a
Z:\home\austin>type a on
http://bugs.winehq.org/show_bug.cgi?id=21132
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2012-10-12 13:35:43 CDT --- Closing bugs fixed in 1.5.15.