http://bugs.winehq.org/show_bug.cgi?id=26749
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |us@edmeades.me.uk
--- Comment #8 from Jason Edmeades us@edmeades.me.uk 2012-09-03 18:20:05 CDT --- So keeping this bug report to the issue reported in the first report.
The problem here is that path=fred isnt handled at all, although the code tries to. The code identifies PATH and parses the '=fred' (in wcmd_parse) into param1="" and param2="fred" (as the '=' acts as a delimiter). In the 'WCMD_setshow_path' routine, if it finds param1 is null, so assumes 'path' has just been issued alone, so echos the path to the screen.
I think the '=' being treated as a delimiter is reasonably new (from memory, could be wrong), but a very simple patch here is to only assume theres no parms if param1 and param2 are both empty, and then the code 'just works' as it was already coded to handle this syntax.
I've got a test patch, will tidy up and submit ideally tomorrow, but the above documents the issue/solution otherwise.