Mail Archives: djgpp-workers/1999/02/25/11:39:11.1
> > {
> > /* If the path returned from _fixpath isn't relative
> > to __djgpp_root, then the path is rejected. */
> > if (__djgpp_root_len != 0 && *buf != '/')
> I don't see this restriction in the man pages I can access. It seems that
> a relative path is allowed.
Here I'm saying paths must be relative to the previous root, which is
__djgpp_root. BTW, how many underscores should I be using?
> What about fchroot? It seems like in your implementation, all it
> needs to do is to ignore its argument, momentarily set __chroot_flags to
> disable Unix emulation, call chroot with an empty argument, restore the
> flags, and return.
>
That would work. From what you said previously about making fchroot
work, I take it there's currently no way set the root path based on a file
handle?
Mark
---
Mark Elbrecht
snowball3 AT usa DOT net http://members.xoom.com/snowball3/
- Raw text -