public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: Problematic interpretion of paths starting with double slashes
Date: Wed, 13 Jun 2018 19:32:00 -0000	[thread overview]
Message-ID: <87muvypqbh.fsf@Rainer.invalid> (raw)
In-Reply-To: <trinity-bc977f4a-d31b-4cf6-be60-493433b38724-1528884853707@3c-app-gmx-bs06>	(Sven Eden's message of "Wed, 13 Jun 2018 12:14:13 +0200")

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

      reply	other threads:[~2018-06-13 17:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-12 11:45 Sven Eden
2018-06-12 11:52 ` Adam Dinwoodie
2018-06-12 16:28 ` Eric Blake
2018-06-12 17:12   ` Aw: " Sven Eden
2018-06-12 17:57     ` Brian Inglis
2018-06-13 10:14       ` Aw: " Sven Eden
2018-06-13 13:49         ` Andrey Repin
2018-06-15  2:41         ` Brian Inglis
2018-06-12 20:01     ` Aw: " Eric Blake
2018-06-13 13:05       ` Sven Eden
2018-06-12 20:32     ` Lee
2018-06-13 13:05       ` Aw: " Sven Eden
2018-06-12 23:31     ` Aw: " Achim Gratz
2018-06-13  9:57       ` Corinna Vinschen
2018-06-13 13:29         ` Sven Eden
2018-06-13 19:32           ` Achim Gratz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87muvypqbh.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).