Fix Savannah bug #31150 with failures due to setting window title.
authorEli Zaretskii <eliz@gnu.org>
Tue, 22 Oct 2013 16:04:34 +0000 (19:04 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 22 Oct 2013 16:04:34 +0000 (19:04 +0300)
* sub_proc.c (process_begin): Don't set startInfo.lpTitle, it
reportedly causes SV bug #31150, and according to MSDN it's a
no-no.

w32/subproc/sub_proc.c

index 9bbe3e58abc898e9e441a268f35068b9c36226f4..dd0c1a4288b584fa7c6f10bb9a63d8cddf95c5c4 100644 (file)
@@ -756,7 +756,6 @@ process_begin(
        startInfo.lpReserved = 0;
        startInfo.cbReserved2 = 0;
        startInfo.lpReserved2 = 0;
-       startInfo.lpTitle = shell_name ? shell_name : exec_path;
        startInfo.hStdInput = (HANDLE)pproc->sv_stdin[1];
        startInfo.hStdOutput = (HANDLE)pproc->sv_stdout[1];
        startInfo.hStdError = (HANDLE)pproc->sv_stderr[1];