* fhandler_console.cc (create_invisible_console_workaround): Fix size of cmd in
the way originally intended.
This commit is contained in:
parent
d63db09bf8
commit
78d959ce6f
|
@ -1,3 +1,8 @@
|
|||
2009-08-10 Christopher Faylor <me+cygwin@cgf.cx>
|
||||
|
||||
* fhandler_console.cc (create_invisible_console_workaround): Fix size
|
||||
of cmd in the way originally intended.
|
||||
|
||||
2009-08-10 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_console.cc (create_invisible_console_workaround): Fix
|
||||
|
|
|
@ -2008,7 +2008,7 @@ fhandler_console::create_invisible_console_workaround ()
|
|||
STARTUPINFOW si = {};
|
||||
PROCESS_INFORMATION pi;
|
||||
size_t len = helper.get_wide_win32_path_len ();
|
||||
WCHAR cmd[len + (2 * strlen ("0xffffffff")) + 2 /* spaces */ + 1];
|
||||
WCHAR cmd[len + (2 * strlen (" 0xffffffff")) + 1];
|
||||
WCHAR title[] = L"invisible cygwin console";
|
||||
|
||||
helper.get_wide_win32_path (cmd);
|
||||
|
|
Loading…
Reference in New Issue