im.pidgin.pidgin: 1c0103d2aa37e95f5292ce8d13221062a783700a
datallah at pidgin.im
datallah at pidgin.im
Mon Oct 8 07:00:54 EDT 2007
revision: 1c0103d2aa37e95f5292ce8d13221062a783700a
date: 2007-10-08T10:55:34
author: datallah at pidgin.im
branch: im.pidgin.pidgin
changelog:
Fix allocating a console for and friends on Windows Vista. Refs #3392.
manifest:
format_version "1"
new_manifest [076996f255323475fc922a4838cdadd52001fa7a]
old_revision [5798594431164383deacd7d4aad5a9a0d5b867ae]
patch "pidgin/win32/winpidgin.c"
from [765a1ff97393375b3e0b894b66c080adc7e0ba09]
to [ce5243016c574a3fffc3417f85c448aabf04c740]
-------------- next part --------------
============================================================
--- pidgin/win32/winpidgin.c 765a1ff97393375b3e0b894b66c080adc7e0ba09
+++ pidgin/win32/winpidgin.c ce5243016c574a3fffc3417f85c448aabf04c740
@@ -545,7 +545,7 @@ WinMain (struct HINSTANCE__ *hInstance,
if (strstr(lpszCmdLine, "-d") || strstr(lpszCmdLine, "-h") || strstr(lpszCmdLine, "-v")) {
/* If stdout hasn't been redirected to a file, alloc a console
* (_istty() doesn't work for stuff using the GUI subsystem) */
- if (_fileno(stdout) == -1) {
+ if (_fileno(stdout) == -1 || _fileno(stdout) == -2) {
LPFNATTACHCONSOLE MyAttachConsole = NULL;
if ((hmod = GetModuleHandle("kernel32.dll"))) {
MyAttachConsole =
More information about the Commits
mailing list