This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: more robust tty_list::allocate_tty
- From: egor duda <deo at logos-m dot ru>
- To: cygwin-patches at cygwin dot com
- Date: Fri, 30 Aug 2002 21:35:38 +0400
- Subject: Re: more robust tty_list::allocate_tty
- Organization: deo
- References: <E17knsZ-0005L4-00@diver.doc.ic.ac.uk><20020830160429.GA3580@redhat.com>
- Reply-to: egor duda <cygwin-patches at cygwin dot com>
Hi!
Friday, 30 August, 2002 Christopher Faylor cgf@redhat.com wrote:
CF> On Fri, Aug 30, 2002 at 03:40:10PM -0000, Chris January wrote:
CF> This is a nice change, but the preferred way of doing this is to use
CF> autoload functionality. Then we don't have to worry about adding a new
CF> capability every time there is a new OS release.
CF> I've checked in a modified version of this patch which does this.
CF> I've wanted something like this in cygwin for a while. I appreciate
CF> your researching this.
GetConsoleWindow() has no parameters.
Index: autoload.cc
===================================================================
RCS file: /cvs/uberbaum/winsup/cygwin/autoload.cc,v
retrieving revision 1.54
diff -u -p -2 -r1.54 autoload.cc
--- autoload.cc 30 Aug 2002 16:03:52 -0000 1.54
+++ autoload.cc 30 Aug 2002 17:27:48 -0000
@@ -495,5 +495,5 @@ LoadDLLfuncEx (CancelIo, 4, kernel32, 1)
LoadDLLfuncEx (CreateHardLinkA, 12, kernel32, 1)
LoadDLLfuncEx (CreateToolhelp32Snapshot, 8, kernel32, 1)
-LoadDLLfuncEx (GetConsoleWindow, 4, kernel32, 1)
+LoadDLLfuncEx (GetConsoleWindow, 0, kernel32, 1)
LoadDLLfuncEx2 (IsDebuggerPresent, 0, kernel32, 1, 1)
LoadDLLfuncEx (Process32First, 8, kernel32, 1)
Egor. mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19