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:to:subject:references:date:in-reply-to :message-id:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=yK9TLLNuLJ6KNRZXHufZlDQf8r+UulGeyK4/L06TYVO 4zIVxYPbS99cdwWwlr1Ubu697TdoKuqR2AWNzr4W2mXSYANrPRhaEQZW8VKwx6jm xDBT8FJtKozCffPmJmeQu4A158boFOzRuRPIEA4b3JBB3PHWuoYw6ZlViADx3sEw = 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:to:subject:references:date:in-reply-to :message-id:mime-version:content-type:content-transfer-encoding; s=default; bh=mnBxZ6lCLHguT26+uJlDWAPHxEc=; b=YK85QRiAgHFNmk5Go kv2inT9VD8g9QLcImtXMFSP7yTqFpitbd+2unwW5xlYoO3SgtOvmmpxTcOGd4FGT LJkKI1AJX+MdK/hSpgKcl1CxcajoVcXReilZyitDo74ko0vEWHUAekdIX1Vhdl5b GKAIKr1sYK/hiE/5dMQEbqwQkI= 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-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:589, Hx-spam-relays-external:ESMTPA X-HELO: vsmx012.vodafonemail.xion.oxcs.net From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: error in "cygpath" behavior References: <20180831085734 DOT GF6350 AT calimero DOT vinschen DOT de> <5b89c269 DOT 1c69fb81 DOT 84d1a DOT 6f1b AT mx DOT google DOT com> Date: Sat, 01 Sep 2018 08:40:34 +0200 In-Reply-To: <5b89c269.1c69fb81.84d1a.6f1b@mx.google.com> (Steven Penny's message of "Fri, 31 Aug 2018 15:34:17 -0700 (PDT)") Message-ID: <87o9dhd8kd.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w816f2Rf027267 Steven Penny writes: > I am not understanding - it appears that "dot-dot" (..) is well defined by > POSIX: […] > so it would appears that ".." would be an acceptable return value in any case. Except that you've asked for a Windows path, not POSIX, and you have no idea what Windows' idea of the CWD is once you start using that string with a Windows application. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- 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