Overview
| Artifact ID: | c20dc03622727f7cbbcfc3be7ed97bc0b1da0b44 |
|---|---|
| Ticket: | 578159ffffffffffffffffffffffffffffffffff
exec-18.1 fails under WinNT |
| User & Date: | davygrvy on 2002-07-10 02:12:12 |
Changes
- icomment:
Logged In: YES user_id=7549 >To me this >indicates that there is no error in 'cat', but in the way exec >provides the arguments to it. There might be some "funny stuff" in the way cat.exe parses GetCommandLine() [the string] into it's argv array that might be a bit different than the "accepted way". That's the shyly documented part of CreateProcess() and seems to be left to the C run-time. Having the invoker [bash] launch the child [cat], there's a very good chance the parsing rules are a pure pass-through with a possibly different parsing rule set that this test happens to be exercising now. I can't say for sure if `cmd.exe /c echo` is a good test either for testing argv parsing. Can we assume the "accepted way" is the algorithm in msvcrt's setargc.c for parse_cmdline()?
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"