In the last episode (Mar 22), Martin Nilsson (provokatr) @ Pike (-) developers forum said:
I would like to see this as a patch against the resolvepath code rather than a new function.
You mean just a rename of resolvepath to realpath, or make pike's resolvepath call the OS'es realpath? I would prefer to have a pike function called "realpath", since I would expect more people to be looking for that function as opposed to "resolvepath", but I'll be happy as long as it's available at all :)
And don't pay any attention to the Solaris realpath manpage's claim that it may return a relative path in some cases. It's a bug in the manpage:
http://sunsolve.sun.com/private-cgi/retrieve.pl?type=0&doc=bug/manpage/s...