X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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 <Stromeko@nexgo.de>
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: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

