Hi, At Tue, 15 Apr 2003 03:38:09 +0900, Han Holl wrote: > > File.expand_path doesn't follow symbolic links, while > > realpath() does. > > > In that case, wouldn't a wrapper around realpath be really > useful ? If you need to prevent double loading of resources, > realpath can be of value to hash on. Sorry, but I can't imagine how to preserve symlink names. And realpath() returns an error at non-exist path, whereas expand_path doesn't. Wouldn't a wrapper be bigger than the current code? And portability issue, of course. -- Nobu Nakada