http://bugs.winehq.org/show_bug.cgi?id=34814
Bug #: 34814 Summary: wineconsole truncates argument string in 256 bytes Product: Wine Version: 1.7.4 Platform: x86-64 OS/Version: Mac OS X Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ohkawa.hiroki@shift.gr.jp Classification: Unclassified
wineconsole truncates command-line argument string (without switches, like `--backend=...') in 256 bytes, whereas wine command does not.
It looks too short in practical use. 4096 bytes or more would be better. (It would surely be much better to calculate buffer length dynamically from system-wide limitation, or in same way as wine command does, though...)
FIY. I've tried to apply a ad-hoc, workaround patch to programs/wineconsole/wineconsole.c, just to widen `WCHAR buffer[256]', and it seems to be working.