In the last episode (Mar 22), Martin Nilsson (provokatr) @ Pike (-) developers forum said:
I would like to avoid having two functions to avoid this kind of code:
#if constant(realpath) x = realpath(y); #elif constant(resolvepath) x = resolvepath(y); #endif
Luckily, the only place resolvepath is available is Solaris, and Solaris also also realpath (back as far as SunOS 4.1.3 at least). I don't know of any pike code that uses resolvepath.