Hi,

At Sun, 11 Sep 2011 00:58:53 +0900,
Luis Lavena wrote in [ruby-core:39451]:
> My question: can this behavior be changed for Windows?
> 
> Asking this because we are not reading and resolving symlink,
> junctions or hardlinks in Ruby for Windows, so doing the entire
> traversal and check seems a bit expensive (several stat() calls)

I think resolving symlinks and junctions should be implemented
in the future.

# "Resolving hardlinks" makes no sense on any platforms.

> This means: build absolute path, expand if required, combine with
> GetFileAttributesEx to check for existance.

Is this what you want?

  File.stat(absolute_path = File.absolute_path(path_name)); absolute_path

-- 
Nobu Nakada