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:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=kMAUg4t9KFiCcBPiB9NvJMR0Wr/lA /rpst+B7t5gENIoJfEuNGJMW7g0uIVS81rfqEFrEUv5DsjTQnlF7+wFe2g0VKQxS hxEWsG/FpXZim/UKT112MiQZ4mdgyWY5I67VdfBNNCmCX2XDjGydbEx/swiVYRAK W0ax3T3QpAk4t4= 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:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=a10R/FmNwwF7wxbkFWP82hI19wY=; b=pMn KIXzNjm9gTeFQYh10LTD8GXktDIrwOEllT0NWmCQg8CLLq8yb8c/iyP3ZhPyNeZz wQk2PR16nSnsgC0+yhHpRnCiWBG+/E8sTqbyh4RkAeZEKzWH7qkkcsHJy3d+EE5f UMsDhgYfE/tN3m6dW2CUQ6+AMr9kue7g1gBwPmgc= 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=2.6 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-qg0-f46.google.com MIME-Version: 1.0 X-Received: by 10.140.86.75 with SMTP id o69mr79670227qgd.98.1426593949257; Tue, 17 Mar 2015 05:05:49 -0700 (PDT) Date: Tue, 17 Mar 2015 15:05:49 +0300 Message-ID: Subject: cygwin 1.7.35 absolute/relative path bug From: Dmitry Bely To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Consider the following test case: [Makefile] .PHONY: default default: ./test.sh [test.sh] #!/bin/sh uname -a pwd echo $0 make under Cygwin 1.7.34-6 produced the following results: ./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 But now Cygwin 1.7.35-1 gives: ./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 Note that $0 was relative with 1.7.34, but now it's absolute. I believe it's a bug, isn't it? - Dmitry Bely -- 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