delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/13/06:11:06

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:subject:reply-to:references:to:cc
:message-id:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=ygqrMVBmGPnF3YJh
py9BDyrreGsyDVdO+QawTvZHu1zm79BlHdQdXUGS54NIMLUw1uxkW9S1fAnpWn32
Z7N05MlDMDcsq770Aq6PQZOIiEA4JkXdDsS4VkPQfMI99j860BTuLMKTzdZsfa3P
lKP1Qyld5fgUdRmdwjfuG8nOtqc=
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:subject:reply-to:references:to:cc
:message-id:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=RyCLZGYCOIPDHET35jnGQv
HGCto=; b=Uc9leO9xFTrtplPdEl81kX5beowVpHe9LwET54FRZKVANR2Us8rdoF
QE6HkKe30VoIfNIg9Km4owQXyosTMagI+t+TEuGKkSA4uZDv2wUQ1L/QZvgmaEOm
VAGCk6kfCK5Oj4mZwqibhwbaxbW1V7cyvUJtp0dsnsYc/M5rQtdps=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2
X-HELO: out3-smtp.messagingengine.com
From: Jon TURNEY <jon DOT turney AT dronecode DOT org DOT uk>
Subject: Re: run.exe fails to start XWin on Windows 8.1 through the shortcut
Reply-To: cygwin AT cygwin DOT com
References: <1439383412 DOT 552964 DOT 1315 DOT 31567 AT mail DOT rambler DOT ru> <55CB5887 DOT 2050607 AT dronecode DOT org DOT uk> <87zj1w8hcy DOT fsf AT Rainer DOT invalid>
To: cygwin AT cygwin DOT com
Cc: Stromeko AT nexgo DOT de
Message-ID: <55CC6D1D.2020800@dronecode.org.uk>
Date: Thu, 13 Aug 2015 11:10:37 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
MIME-Version: 1.0
In-Reply-To: <87zj1w8hcy.fsf@Rainer.invalid>

On 12/08/2015 19:57, Achim Gratz wrote:
> 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 initialisation 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.

There is no implicit initialization of automatic local variables in the 
C language.

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019