delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/24/18:46:39

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=dQePKbl46iBAZEuAipRjXjfbyeIpY7gI0FVy6L2VIxX
pprTeTqzE73UxmK4t8gfoiaejSQ0J15N1w2pqqQC0RoIZB1RJiKDlwT+YUTalEOW
eOkvjoEeeWlIodZOhqNdcE+W/dvW9jU13zas9YlYiMAInvi6J6L9VUQgHkJggIto
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=y/XSV1Hm4vvzEIeoAXJhfR7OdhM=; b=K0Cxd5Dj3BFwkqJAO
X2xhLFulDTp0pz7LCgLPCyDntdlFxrmY84EDtNJ28SGuIG9LagwEy8gBFOapq9BU
2CRCedx259WlQ8AFe1VcDdO86NeY1cG6KBPC1zsu2X+RjBRyueJjqi5QPpvSuw7A
GSgeOw7ilgVycfppmSgvCQrCBA=
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
X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,SPF_PASS autolearn=ham version=3.3.1
Message-ID: <51F05939.8060207@cwilson.fastmail.fm>
Date: Wed, 24 Jul 2013 18:46:17 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version: 1.0
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
Subject: Re: Issue with run.exe and PWD with spaces since last update (Cygwin 1.7.21)
References: <295777180 DOT 20130716202913 AT mtu-net DOT ru> <20130717125916 DOT GB21347 AT calimero DOT vinschen DOT de> <51E69DE2 DOT 10008 AT cwilson DOT fastmail DOT fm> <20130717134532 DOT GC32258 AT calimero DOT vinschen DOT de> <51E6A3DB DOT 7050605 AT cwilson DOT fastmail DOT fm> <20130717141042 DOT GE32258 AT calimero DOT vinschen DOT de> <51E6A836 DOT 80800 AT cwilson DOT fastmail DOT fm> <20130717143340 DOT GF32258 AT calimero DOT vinschen DOT de> <51E6B02B DOT 2000902 AT cwilson DOT fastmail DOT fm> <51E6BDC1 DOT 4090802 AT cwilson DOT fastmail DOT fm>
In-Reply-To: <51E6BDC1.4090802@cwilson.fastmail.fm>

On 7/17/2013 11:52 AM, Charles Wilson wrote:
> On 7/17/2013 10:54 AM, Charles Wilson wrote:
>> On 7/17/2013 10:33 AM, Corinna Vinschen wrote:
>>> Can you quickly check if that works?  If so, we have a bit less pressure
>>> to fix libcmain.
>>
>> Seems to work for run2.exe.  Stay tuned for checkX.exe and run.exe.
>
> I've uploaded run2-0.4.2-2 as a test release for both 32bit and 64bit.
>
> However, run is more complicated; most of the application code is
> actually in WinMain.  I've been meaning to refactor it more along the
> lines of run2, but never got around to it. Looks like I now have a
> reason...but it'll take a bit longer to do, and I won't really have time
> to address it until Saturday.

run-1.3.0 should operate normally, on cygwin-1.7.21 or cygwin-1.7.22 
(well, really, any version of cygwin-1.7.x) Note that this distribution 
of run-1.3.0 (a) was compiled on cygwin-1.7.21, so it does not take 
advantage of the compile-time fix provided by cygwin-1.7.22 [1], and (b) 
on __CYGWIN__ it uses the main() entry point rather than WinMain AT 16, and 
so does not access GetCommandLine() anyway (although it does use 
GetCommandLine(), when built for mingw[64,.org] targets)

[1] http://cygwin.com/ml/cygwin/2013-07/msg00438.html
> - Added cygwin GetCommandLine wrappers which will allow Cygwin programs to
>   (appear to) use the Windows command line functions.

--
Chuck



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