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=Ooam7CYBh1o0qDWyDWKzG8i/UYwfd3/eiTXgh0MobaG xoyljqASyix1sOJjqHJ7heq/4MUdafUIoS1yTixazTM2/rPGXGomKphMd8pfuj8h mAXPLe9ZkYMEUiBv1HQjsn1he9JgAKMspJdZVGfk8xhZhkj3hfqjuonr3Mw5WiYM = 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=sbqvF2N3nccEKqAYmn+AdslZhRk=; b=mMtEqHaohCH63eLzE pD6BSGe0rxfBU8IZtgjDRGXjymvYqPYbbnYcXvrXkk42S24vx+pRaUHUxkyJ//6i 58N2NrzFuLAsRO3ZA4bZVYbP5MSEenhZoVIjjj0xMJXcsdfPPL/RWChCCVV5eibh njN4uH2LlevuOzmQHCV541RIvc= 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_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=inconvenient, Hx-spam-relays-external:ESMTPA X-HELO: vsmx009.vodafonemail.xion.oxcs.net From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: Problematic interpretion of paths starting with double slashes References: <87efhbdbaz DOT fsf AT Rainer DOT invalid> <20180613080953 DOT GR7851 AT calimero DOT vinschen DOT de> Date: Wed, 13 Jun 2018 19:08:18 +0200 In-Reply-To: (Sven Eden's message of "Wed, 13 Jun 2018 12:14:13 +0200") Message-ID: <87muvypqbh.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-VADE-STATUS: LEGIT Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w5DH8Zfs020138 Sven Eden writes: > True, if /this isn't just a mount point for //this, meaning > that the "that"s are two different files. […] Again, my main objection is that the interpretation of a path should not change based on the availability or non-availability of any host (or its name resolution) over the network. That's exactly the kind of thing that will come back to bite you in the most inconvenient moment. Regarding the discussion about Linux behaviour, I'd be happy if Linux had an option to just make any path with two leading slashes throw an error if that path makes it anywhere a local filesystem gets involved. That'd be quite helpful in quickly weeding out portability problems like the one you showed. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra -- 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