Before dcde88c3, the fullpath was set including the /. Mirar added stripping of the initial / to fix a chroot bug, which presumably means that he wanted to change the third parameter to combine_path(), not the value stored in stat->fullpath (which is set from the same local variable "full"). So putting back the / should restore compatibility with how it used to (and was supposed to) work before May 2001.
On a semi-related note, it looks like it is possible to break out of the fake chroot on NT by using \ (or "C:" for that matter).
Ok, maybe it does replace( filename, "\", "/" ); everywhere it counts, but "C:\FOO" looks like it would still work.
pike-devel@lists.lysator.liu.se