aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-12-30 21:51:41 -0800
committerGuy Harris <guy@alum.mit.edu>2018-12-31 05:53:18 +0000
commit67621a6ac24eadad90437049a4c6dd25adb9890f (patch)
treebfcf20e95cdc04c862291ab4b7ac1dcc0e690a19 /ui
parent75047b5eeb95e8a3dbdf8147f9476a1935e1f0c3 (diff)
Update a comment.
(Thanks for killing off a bunch of comment mechanisms, not saving the old comments and placing them somewhere useful, and not even allowing the Wayback Machine to archive at least some of those sites, Microsoft.) Change-Id: Ie4258250a0176a56ee33be77604acf43c6886e0f Reviewed-on: https://code.wireshark.org/review/31274 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui')
-rw-r--r--ui/win32/console_win32.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ui/win32/console_win32.c b/ui/win32/console_win32.c
index 609b5abfe3..b0dffc1f68 100644
--- a/ui/win32/console_win32.c
+++ b/ui/win32/console_win32.c
@@ -139,7 +139,8 @@ create_console(void)
* command prompt).
*/
if (!AttachConsole(ATTACH_PARENT_PROCESS)) {
- /* Probably not, as we couldn't attach to the parent process's console.
+ /* Probably not, as we couldn't attach to the parent process's
+ console.
Try to create a console.
According to a comment on
@@ -154,8 +155,9 @@ and
http://answers.microsoft.com/en-us/windows/forum/windows_xp-windows_update/kb2567680-andor-kb2507938-breaks-attachconsole-api/e8191280-2d49-4be4-9918-18486fba0afa
-even a failed attempt to attach to another process's console
-will cause subsequent AllocConsole() calls to fail, possibly due
+(none of which are available any more, either at any obvious Microsoft site or
+on the Wayback Machine), even a failed attempt to attach to another process's
+console will cause subsequent AllocConsole() calls to fail, possibly due
to bugs introduced by a security patch. To work around this, we
do a FreeConsole() first. */
FreeConsole();