git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Handle UNC paths everywhere

From
Erik Faye-Lund <kusmabite@googlemail.com>
Date
Jan 25, 2010, 19:45 UTC
Message-ID
<40aa078e1001251145o13545328o7d46086ff09e6d33@mail.gmail.com>
In-Reply-To
<alpine.DEB.1.00.1001251916030.8733@intel-tinevez-2-302>

On Mon, Jan 25, 2010 at 7:19 PM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

Show 35 quoted lines
> Hi,
>
> On Mon, 25 Jan 2010, Erik Faye-Lund wrote:
>
>> On Mon, Jan 25, 2010 at 6:34 PM, Johannes Schindelin
>> <Johannes.Schindelin@gmx.de> wrote:
>> > Hi,
>> >
>> > On Mon, 25 Jan 2010, Robin Rosenberg wrote:
>> >
>> >> >From 37a74ccd395d91e5662665ca49d7f4ec49811de0 Mon Sep 17 00:00:00 2001
>> >> From: Robin Rosenberg <robin.rosenberg@dewire.com>
>> >> Date: Mon, 25 Jan 2010 01:41:03 +0100
>> >> Subject: [PATCH] Handle UNC paths everywhere
>> >>
>> >> In Windows paths beginning with // are knows as UNC paths. They are
>> >> absolute paths, usually referring to a shared resource on a server.
>> >
>> > And even a simple "cd" with them does not work.
>> >
>>
>> But it does, at least for me - both in bash and cmd.exe. I just need
>> to log on to the server first, unless it's a public share.
>
> I love it when people say "it works for me, so let's do it".
>
> _My_ _only_ instance of Windows cmd says this:
>
>        C:\Blah> cd \\localhost
>        '\\localhost'
>        CMD does not support UNC paths as current directories.
>
>        C:\Blah>
>
> So.

Actually, you're right about cmd.exe - I somehow mixed that up. However, it works fine in bash (and simply by doing chdir() from a normal C-program), as long as I've logged on in advance.

This applies to my Vista 64 and XP installations.
Show 6 quoted lines
>
> Besides, the patch was not in a form where I can say that it was obviously
> fixing the issue. It was rather in a form where I would have to have set
> aside a substantial amount of time to verify that nothing undesired was
> introduced as a side effect.
>

This I can agree on. I just wanted to clear up the situation about cd'ing. But I failed - hopefully that's corrected now.

-- 
Erik "kusma" Faye-Lund
Previous: Johannes SchindelinNext: Robin Rosenberg
Message 12 of 21 in “Handle UNC paths everywhere”
  1. Handle UNC paths everywhereRobin Rosenberg, Jan 25, 2010
  2. Sverre RabbelierJan 25, 2010
  3. Robin RosenbergJan 25, 2010
  4. Erik Faye-LundJan 25, 2010
  5. Sverre RabbelierJan 25, 2010
  6. Robin RosenbergJan 25, 2010
  7. Sverre RabbelierJan 25, 2010
  8. Erik Faye-LundJan 25, 2010
  9. Johannes SchindelinJan 25, 2010
  10. Erik Faye-LundJan 25, 2010
  11. Johannes SchindelinJan 25, 2010
  12. Erik Faye-LundJan 25, 2010
  13. Robin RosenbergJan 25, 2010
  14. Erik Faye-LundJan 25, 2010
  15. Robin RosenbergJan 25, 2010
  16. Robin RosenbergJan 25, 2010
  17. Johannes SchindelinJan 26, 2010
  18. Robin RosenbergJan 25, 2010
  19. Johannes SchindelinJan 26, 2010
  20. Johannes SixtJan 25, 2010
  21. Robin RosenbergJan 25, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.