X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <20101206131337.GA25347@calimero.vinschen.de> References: <20101204150728 DOT GB26471 AT calimero DOT vinschen DOT de> <20101206113429 DOT GC17176 AT calimero DOT vinschen DOT de> <20101206131337 DOT GA25347 AT calimero DOT vinschen DOT de> Date: Tue, 7 Dec 2010 21:01:27 +0000 Message-ID: Subject: Re: cygpath -w for non-existent server From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On 6 December 2010 13:13, Corinna Vinschen wrote: > On Dec =C2=A06 11:59, Andy Koppe wrote: >> On 6 December 2010 11:34, Corinna Vinschen wrote: >> > - "//foo" is a virtual path, valid only in Cygwin. =C2=A0You can't acc= ess >> > =C2=A0"\\foo" in the Win32 API using file or directory access function= s. =C2=A0It >> > =C2=A0just doesn't exist as a path. =C2=A0UNC paths are only valid wit= h at least >> > =C2=A0two path components as in "\\server\share". =C2=A0Since "//foo" = is a >> > =C2=A0virtual path, there's no Win32 equivalent. =C2=A0So, from the Wi= ndows >> > =C2=A0perspective there's "No such file or directory". >> >> Weird. "\\server" works fine in Explorer and also with cygstart, so I >> guess Explorer implements it as some sort of virtual directory. > > That's right. > >> Is >> that enough reason to support it as a special case in the Cygwin path >> conversion? > > Huh, now I see the problem. =C2=A0*Existing* virtual server-only paths > are converted, only non-existent aren't. =C2=A0I fixed that in CVS. Fix confirmed. Thanks! Andy -- 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