delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/17/09:29:34

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=N39fR969WtHUAy8DqVLImpIDq+qLO4R5WMatqTFNNEUg0Yv8AC6+Y
mJHgEQ0Dwo/38crISvx3xepTl6Ez5ZQ42uNPmMAucjpmjzM+emv98k/6M4u5Jvh/
zSurZDqJ5WKoch14a3XZnN1S8QRZdnkf4TssqL3E4YALQyzPdy3y3o=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=OIwgmKV22PD8l1X74/8m8FSLZ58=; b=D1sLWJ5CGyyTNrEngo4gop81t2B7
j10q6hWgoH4MFY8sTiPOXzCoR0tJ6WOcLQQe6yzV4ITFSUihG08T3k/azHo8+mSg
p6B6yRQHHHMsXtXGggKOfMNqbtq6BkI9Mw0JVHYaG202RaWUAkf6neFaWGkgugyk
qRrG6hV96w3qEi4=
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=-4.6 required=5.0 tests=AWL,BAYES_50 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 17 Mar 2015 14:29:14 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin 1.7.35 absolute/relative path bug
Message-ID: <20150317132914.GQ6096@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAMT7qiShDxbnc1YGZMZ-Db9xFhKgVQQLbv2_Lt4aK1mvgMyxXw AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAMT7qiShDxbnc1YGZMZ-Db9xFhKgVQQLbv2_Lt4aK1mvgMyxXw@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--JfVplkuTfB13Rsg5
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mar 17 15:05, Dmitry Bely wrote:
> Consider the following test case:
>=20
> [Makefile]
> .PHONY: default
> default:
> ./test.sh
>=20
> [test.sh]
> #!/bin/sh
> uname -a
> pwd
> echo $0
>=20
> make under Cygwin 1.7.34-6 produced the following results:
>=20
> ./test.sh
> CYGWIN_NT-6.3 bely-win81 1.7.34(0.285/5/3) 2015-02-04 12:14 x86_64 Cygwin
> /cygdrive/c/Work/Test/Cygwin
> ./test.sh
>=20
> But now Cygwin 1.7.35-1 gives:
>=20
> ./test.sh
> CYGWIN_NT-6.3 bely-win81 1.7.35(0.287/5/3) 2015-03-04 12:09 x86_64 Cygwin
> /cygdrive/c/Work/Test/Cygwin
> /cygdrive/c/Work/Test/Cygwin/test.sh
>=20
> Note that $0 was relative with 1.7.34, but now it's absolute. I
> believe it's a bug, isn't it?

Incidentally I think I fixed this problem just a few hours ago, thanks
to the report from LRN in
https://cygwin.com/ml/cygwin/2015-03/msg00270.html.

Please try the latest developer snapshot from
https://cygwin.com/snapshots/


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--JfVplkuTfB13Rsg5
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJVCCwqAAoJEPU2Bp2uRE+glJcP/2NSxzmlgwfYSNmHTmaTjumw
J2LPTcA2f8CEIJUZ2Vrk6xZ8FLolsRhGtZ8L9MV5Br4FTQg1UwFLHQhoLayECSvv
WTDdvxFqlUoF3h+wOoz//OOLdSlOvEL5gV4Xhr14KOBaOA9P818SYPUqp7bipBuh
Mv/BH543jfSFbqA/EKjWQClEpqkCk+n/M8apNZi3sarunW1scmtx87b99uK34CXs
H4vR9HW5Akdx/YRVlgINaG7Jc9xYQjbkZvkwT5FWKSsqWI0emG6/gVtYG6bPgCUn
UgOKoGusuvbK/XPv6FivIUobyzknDQQ4vQ6A0avp3LCwaLPE0yQOKvwIre9Zzkjn
s8TxDoozah3/eDAbWbOzIpbP9Md6CtLMKEhdTQSwS2Ck1MlnJznygvVnyu2qilko
d3Ao+Y3bjrsc4NhKLtwAGUW7YwH5vDSnpMNEAsmhHF3nP+C54D7MfIFcjhuOoA9K
p3P2apfVbIpvnJ0N3QnGDgImj5nniizNXF0kzEhjTMpLDd32vqGI5SCMKrgLeNlD
NdL1Y+Zhnnfy63wa0G8uTXDSVTw2edHuCojdSjKjgt1H6Mqi6ibudiyEguse1N0E
B8goyM5elf26fyDq9z2lLMTcepVLxgrvIkL53GYOQGlLE4Pds6uLm+5/IQ7i9xgt
SshvF1tP/NqlQXjGWTNB
=Dkbr
-----END PGP SIGNATURE-----

--JfVplkuTfB13Rsg5--

- Raw text -


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