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: 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=-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 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> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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