[Bug 19784] New: cmd doesn't handle ( ) scoping; breaks firefox build
http://bugs.winehq.org/show_bug.cgi?id=19784 Summary: cmd doesn't handle ( ) scoping; breaks firefox build Product: Wine Version: 1.1.27 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs(a)winehq.org ReportedBy: dank(a)kegel.com bug 15359 and bug 19778 are examples of fancy syntax in firefox's build scripts that wine's cmd doesn't handle yet. Here's one more example: FOO="bar" if "%FOO%"=="bar" ( echo "yup" ) else ( echo "nope" ) On both systems, this prints "yup". But on Wine, it goes on to print C:\>) else ( File not found C:\>echo "nope" "nope" C:\>) File not found -- 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.
http://bugs.winehq.org/show_bug.cgi?id=19784 --- Comment #1 from Dan Kegel <dank(a)kegel.com> 2009-08-18 21:44:52 --- Sorry, the first line of the batch file was mistyped, should be set FOO=bar if "%FOO%"=="bar" ( echo "yup" ) else ( echo "nope" ) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=19784 --- Comment #2 from Dan Kegel <dank(a)kegel.com> 2010-01-01 15:41:39 --- There is partial support for ( and ) in cmd; see WCMD_ReadAndParseLine in wcmdmain.c http://source.winehq.org/git/wine.git/?a=blob;f=programs/cmd/wcmdmain.c;hb=H... and in fact if you type just ( by itself on the commandline, wine's cmd prompts you properly for more lines. It just doesn't seem to handle ('s inside if statements properly. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=19784 --- Comment #3 from Dan Kegel <dank(a)kegel.com> 2010-01-01 15:43:38 --- I take that back; ( works inside if. It's the else part that's broken. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=19784 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|cmd doesn't handle ( ) |cmd doesn't handle "else" |scoping; breaks firefox |properly; breaks firefox |build |build -- 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.
http://bugs.winehq.org/show_bug.cgi?id=19784 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com --- Comment #4 from Dan Kegel <dank(a)kegel.com> 2010-01-01 16:37:56 --- *** Bug 21142 has been marked as a duplicate of this bug. *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=19784 --- Comment #5 from Dan Kegel <dank(a)kegel.com> 2010-01-01 18:04:29 --- Created an attachment (id=25493) --> (http://bugs.winehq.org/attachment.cgi?id=25493) typo fix This seems to do the trick. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=19784 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|programs |cmd -- 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.
http://bugs.winehq.org/show_bug.cgi?id=19784 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch, source, testcase --- Comment #6 from Dan Kegel <dank(a)kegel.com> 2010-01-03 21:50:35 --- Fix and test sent, http://www.winehq.org/pipermail/wine-patches/2010-January/083445.html -- 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.
http://bugs.winehq.org/show_bug.cgi?id=19784 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |us(a)edmeades.me.uk --- Comment #7 from Jason Edmeades <us(a)edmeades.me.uk> 2010-01-06 18:26:39 --- Adding myself to the cmd bugs -- 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.
http://bugs.winehq.org/show_bug.cgi?id=19784 --- Comment #8 from Dan Kegel <dank(a)kegel.com> 2010-02-11 15:31:27 --- Patch sent again, http://www.winehq.org/pipermail/wine-patches/2010-February/084804.html -- 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.
http://bugs.winehq.org/show_bug.cgi?id=19784 --- Comment #9 from Dan Kegel <dank(a)kegel.com> 2010-02-18 01:22:12 --- Third time's a charm? http://www.winehq.org/pipermail/wine-patches/2010-February/085014.html -- 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.
http://bugs.winehq.org/show_bug.cgi?id=19784 Paul Vriens <Paul.Vriens.Wine(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Paul.Vriens.Wine(a)gmail.com --- Comment #10 from Paul Vriens <Paul.Vriens.Wine(a)gmail.com> 2010-02-19 07:31:45 --- Patch has been committed: 8110dde8ae405081459b62ae2dbf0710c8332b6b -- 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.
http://bugs.winehq.org/show_bug.cgi?id=19784 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #11 from Dan Kegel <dank(a)kegel.com> 2010-03-04 17:09:40 --- Marking fixed. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=19784 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #12 from Alexandre Julliard <julliard(a)winehq.org> 2010-03-05 12:43:06 --- Closing bugs fixed in 1.1.40. -- 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.
participants (1)
-
wine-bugs@winehq.org