mscoree: Don't trace arguments in CorExeMain.
This can overflow the debug buffer. We could print each argument on an individual line, but command-line arguments can be obtained other ways and turned out to usually not be useful. Signed-off-by: Esme Povirk <esme@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b340956e72
commit
2586907566
|
@ -1441,10 +1441,7 @@ __int32 WINAPI _CorExeMain(void)
|
||||||
|
|
||||||
GetModuleFileNameW(NULL, filename, MAX_PATH);
|
GetModuleFileNameW(NULL, filename, MAX_PATH);
|
||||||
|
|
||||||
TRACE("%s", debugstr_w(filename));
|
TRACE("%s argc=%i\n", debugstr_w(filename), argc);
|
||||||
for (i=0; i<argc; i++)
|
|
||||||
TRACE(" %s", debugstr_a(argv[i]));
|
|
||||||
TRACE("\n");
|
|
||||||
|
|
||||||
filenameA = WtoA(filename);
|
filenameA = WtoA(filename);
|
||||||
if (!filenameA)
|
if (!filenameA)
|
||||||
|
|
Loading…
Reference in New Issue