Mail Archives: djgpp-workers/1999/02/23/03:58:38
On Tue, 23 Feb 1999, Mark E. wrote:
> chroot ("c:/djgpp")
> getcwd would then return '/bin' if the cwd is 'c:/djgpp/bin'.
Yes.
I think _fixpath should do that as well, to prevent confusion, and also
to be compatible with Unix description that every call to chroot
interprets its argument *relative to the previous root*.
If _fixpath is to remove the root, then you will need to change the way
chroot computes the full path name of the new root; a call to _fixpath
won't be enough.
- Raw text -