From 38a58dd13cbf59fa3d24dd71df7c0640b85a0017 Mon Sep 17 00:00:00 2001 From: Dave Korn Date: Sat, 4 Jul 2009 14:51:09 +0000 Subject: [PATCH] * autoload.cc (AttachConsole): Correct size of args. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/autoload.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index fc4bf70e4..b58245635 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2009-07-04 Dave Korn + + * autoload.cc (AttachConsole): Correct size of args. + 2009-07-03 Christopher Faylor * dcrt0.cc (jit_debug): New global. diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index 4a64e105a..bf6c2f137 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -409,7 +409,7 @@ LoadDLLfuncEx2 (SendARP, 16, iphlpapi, 1, 50) LoadDLLfunc (CoTaskMemFree, 4, ole32) -LoadDLLfuncEx (AttachConsole, 0, kernel32, 1) +LoadDLLfuncEx (AttachConsole, 4, kernel32, 1) LoadDLLfuncEx (FindFirstVolumeA, 8, kernel32, 1) LoadDLLfuncEx (FindNextVolumeA, 12, kernel32, 1) LoadDLLfuncEx (FindVolumeClose, 4, kernel32, 1) -- 2.43.5