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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=vBfoZqTM6TeKfQZU yXZHEZv7OdduvrM3LpwF7aK9bAAiJ94XRp5e/q648wPoZINtmuupm4QiEls4BaZt 44fEEsVBS++E/NWZ0EQIELxk6QTf+72szpbSFgkjHlqw4NBIhK0zSWRNI8a8xCdz jUgjzC7ThG2BZoTiwjcKcdTxVZs= 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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=ZDVvBflNGnxeVthvTPdwFt vQexA=; b=JpAAj3vIQpPPoDfQw/lYlIklgm0TpwhnwtJAng6IK8oPofIQ4P5nBq ONSDSiVADzEahQLVL9VgZY3oyLsE01Q9OLMFf2Aw5c9G4M+BJ23ABfyvSIpea/3M WYslqPoTj+9s59rMSuYCop0waRm4F6W6OKyE3CBzHYpguq9ob7Rvk= 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.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*M:yandex, H*UA:Bat!, H*F:D*yandex.ru, yandexru X-HELO: forward1o.cmail.yandex.net Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Date: Wed, 8 Feb 2017 13:54:17 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1995347138.20170208135417@yandex.ru> To: Thomas Wolff , cygwin AT cygwin DOT com Subject: Re: cygpath -w converts relative paths to absolute windows paths In-Reply-To: References: <10eb657d-a00b-1609-a9b9-6373092c1ac1 AT polyhack DOT io> <357614277 DOT 20170207183005 AT yandex DOT ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Thomas Wolff! > Am 07.02.2017 um 16:30 schrieb Andrey Repin: >> Greetings, Roger Qiu! >> >>> I've found that `cygpath --windows '../` will give back an absolute windows path. >>> ... >> ".." is a special path, that can't be safely converted. > How is the special meaning of ".." so much different in Windows than in > Cygwin/Linux/POSIX that it could not be mapped? > Things like dir .., cd .., type ..\sub\file all work comparably. Comparable? May be. Predictable? https://bugs.php.net/bug.php?id=73797 -- With best regards, Andrey Repin Wednesday, February 8, 2017 13:53:10 Sorry for my terrible english... -- 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