On 2020/9/7 17:39, Corinna Vinschen wrote:
Nope, we won't do that. The command line parsing is an internal thing, and we won't export arbitrary internal functions using their own symbol. *If* we should export this stuff at all, which I highly doubt as necessary, it should use the cygwin_internal API.
The idea is that the sort of thing get reimplemented incorrectly a lot, and since we have the extra @file feature and the Unix glob it would be nice to allow other people to use it. Win32 has CommandLineToArgvW, so I figured it wouldn't be too strange to have.
The escaping function is there mostly for symmetry and convenience, since it's basically the standard escape.
-- Regards, Mingye