From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4721 invoked by alias); 18 Nov 2013 19:51:36 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 4660 invoked by uid 89); 18 Nov 2013 19:51:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: mail-in-12.arcor-online.net Received: from Unknown (HELO mail-in-12.arcor-online.net) (151.189.21.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Mon, 18 Nov 2013 19:50:03 +0000 Received: from mail-in-20-z2.arcor-online.net (mail-in-20-z2.arcor-online.net [151.189.8.85]) by mx.arcor.de (Postfix) with ESMTP id E060F262F8 for ; Mon, 18 Nov 2013 20:49:53 +0100 (CET) Received: from mail-in-12.arcor-online.net (mail-in-12.arcor-online.net [151.189.21.52]) by mail-in-20-z2.arcor-online.net (Postfix) with ESMTP id DBF7D6FAA65 for ; Mon, 18 Nov 2013 20:49:53 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-12.arcor-online.net AFD14262F8 Received: from Rainer.invalid (pD9EB1490.dip0.t-ipconnect.de [217.235.20.144]) (Authenticated sender: stromeko@arcor.de) by mail-in-12.arcor-online.net (Postfix) with ESMTPSA id AFD14262F8 for ; Mon, 18 Nov 2013 20:49:53 +0100 (CET) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: Re: [Bug] setup.exe References: <87k3g6x5pg.fsf@Rainer.invalid> <20131118100616.GA12830@calimero.vinschen.de> Date: Mon, 18 Nov 2013 19:51:00 -0000 In-Reply-To: <20131118100616.GA12830@calimero.vinschen.de> (Corinna Vinschen's message of "Mon, 18 Nov 2013 11:06:16 +0100") Message-ID: <87bo1hxzfp.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-11/txt/msg00077.txt.bz2 Corinna Vinschen writes: >> If I remove the override for fopen, things are >> working again, but I can't find how to specify "conout$" via a UNC path >> and simply setting the string back to "conout$" in the attr structure in >> gdb didn't work, either. > > It's impossible prior to Windows 8. In the days before Windows 8, the > console handle was always a fake handle, entirely handled within the > Win32 kernel32.dll. Each access to a console handle got redirected > to calling a CrsXXX functions which calls CSRSS via LPC. Windows 8 > finally introduced a native Console device called \Device\ConDrv so > consoles became real OS objects. Huh. No wonder I didn't find anything. > Having said that, this set_cout function is a real bummer. The easiest > way to fix this problem is to rename fopen to nt_fopen (analoge to > nt_wfopen) and to change all explicit fopen calls to nt_fopen calls. > I'll do that in a minute. Thank you very much. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada