X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; q=dns; s=default; b=B712X th+eL4XJkhqH/VJkR1EwKo0DfLMOuIXpxFbX8VFmnG/7F6Z4jPfQ7PS+PBxYvIvr ca+AdVzPWTk/dsd18AQl1WsHb4MBtrp2okA/GhVRH6qzrjq4lAxK1xI/L0qYK9kL gvZgCqwsdhd9Q1OY0TuFo8hUB5H6iWQPtxm9jQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; s=default; bh=Tg8f+vv26XR 5b8JHKd3eT72WlDA=; b=mUGinOzQNA1H1iQV1cO4H1h3Pd65TlAX4RFveDWW1NV G5/fZWhHezB+18fo0udOqUv2DZwzqhEv7inATSn8cjI4psrzVXIr7Zf1h8Nci0uU 30CHbT+ZVN3k893+BPnhFW4Qk90RPqClhZY19N2H9Ac686RtHR3bqJUavtJM0+e4 = Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-15.arcor-online.net 3ms0dn5V16z3w9X From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: run.exe fails to start XWin on Windows 8.1 through the shortcut References: <1439383412 DOT 552964 DOT 1315 DOT 31567 AT mail DOT rambler DOT ru> <55CB5887 DOT 2050607 AT dronecode DOT org DOT uk> Date: Wed, 12 Aug 2015 20:57:33 +0200 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 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