Hi,

At Tue, 24 May 2005 03:12:08 +0900,
Austin Ziegler wrote in [ruby-core:05076]:
> > In file.c, whether a given path is UNC or not is judged by if
> > it starts with successive 2 directory separators. Is it
> > insufficient?
> 
> Vastly. The following is not a valid UNC path:
> 
>   \\server
> 
> It's only a server name. UNC paths must include the server and
> share:
> 
>   \\server\share
> 
> So the above is equivalent to C:\.

Do you mean that open('//server') should try to access
'c:/server' where the current drive is C:?

> I'll also point out that File#basename and File#dirname do NOT work
> correctly with UNC paths.

How wrong?

> I'd also like to reiterate my call for supporting wide filename
> access through UTF-8 on Windows. There are things that I cannot do
> in Ruby because I don't have access to these calls.

It's another story to be in another thread.

-- 
Nobu Nakada