http://bugs.winehq.org/show_bug.cgi?id=22076
Summary: GOTO labels are not recognized if there are preceding spaces Product: Wine Version: 1.1.40 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd AssignedTo: wine-bugs@winehq.org ReportedBy: gabspeck@gmail.com
Created an attachment (id=26898) --> (http://bugs.winehq.org/attachment.cgi?id=26898) Example of a script with a GOTO statement that works on Windows but not on Wine.
Wine's CMD is unable to recognize a label for the GOTO command if there are preceding spaces on it.
This causes problems for the administration scripts included with Progress Software's OpenEdge solution. Some of these BAT scripts have indentation on some lines which causes them to fail on Wine if not manually altered to remove said spaces. They work perfectly fine on Windows.