Ticket UUID: | 906c533302203a0997738b21e434fe4791cd90f0 | ||
Title: | Mingw broken command-line parsing | ||
Status: | Closed | Type: | Code_Defect |
Severity: | Minor | Priority: | Low |
Subsystem: | Resolution: | Fixed | |
Last Modified: | 2012-09-12 06:57:12 | ||
Version Found In: | 1.23 | ||
Description & Comments: | |||
MinGW parses the Windows command line different than MS or MinGW-w64 does, See
http://core.tcl.tk/tcl/info/f0cb3345b4040a71ce3b062f118c357363e820e2.
The setargv workaround, is taken over from Tcl 8.6 (win/tclAppInit.c). It was already part of the initial import in CVS in 1998, so it is impossible to know who wrote the original setargv() function. But I (jan nijtmans) adapted it to be useful as unicode command line parser as well. MinGW doesn't support unicode command line parsing (unline VS and MinGW-w64), so the setargv() function is the only known workaround to get it done. jan.nijtmans added on 2012-09-12 06:57:12 UTC: |