From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 54844 invoked by alias); 12 Aug 2015 20:58:54 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 54836 invoked by uid 89); 12 Aug 2015 20:58:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-in-16.arcor-online.net Received: from mail-in-16.arcor-online.net (HELO mail-in-16.arcor-online.net) (151.189.21.56) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Wed, 12 Aug 2015 20:58:52 +0000 Received: from mail-in-01-z2.arcor-online.net (mail-in-01-z2.arcor-online.net [151.189.8.13]) by mx.arcor.de (Postfix) with ESMTP id 3ms3Kh2jsCzCNxk for ; Wed, 12 Aug 2015 22:58:48 +0200 (CEST) Received: from mail-in-15.arcor-online.net (mail-in-15.arcor-online.net [151.189.21.55]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id 5C7497E4464 for ; Wed, 12 Aug 2015 22:58:48 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-15.arcor-online.net 3ms0dn5V16z3w9X Received: from Gertrud (p54B46A4B.dip0.t-ipconnect.de [84.180.106.75]) (Authenticated sender: stromeko@arcor.de) by mail-in-15.arcor-online.net (Postfix) with ESMTPSA id 3ms0dn5V16z3w9X for ; Wed, 12 Aug 2015 20:57:33 +0200 (CEST) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: run.exe fails to start XWin on Windows 8.1 through the shortcut References: <1439383412.552964.1315.31567@mail.rambler.ru> <55CB5887.2050607@dronecode.org.uk> Date: Wed, 12 Aug 2015 20:58:00 -0000 In-Reply-To: <55CB5887.2050607@dronecode.org.uk> (Jon TURNEY's message of "Wed, 12 Aug 2015 15:30:31 +0100") Message-ID: <87zj1w8hcy.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2015-08/txt/msg00182.txt.bz2 Jon TURNEY writes: > Not sure if this is the cause of this problem, but after a bit of > staring at file_exists_multi(), I notice that run2_fileExits() doesn't > initialize t when it returns FALSE, so perhaps the following is a good > idea? The only way I can see this happening is when the initalisation of t gets hoisted out of the loop, and if the compiler thinks that is OK to do it should not matter if the initializer is an explicit NULL or implicit 0. Even if the initializer gets hoisted, the loop never enters with t non-NULL unless some truly horrible optimization is going on. But it seems that there are different types in the call vs. the signature, C string vs. ustr, so where does run get the ustr_* definitions from on Cygwin? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple