Mail Archives: djgpp-workers/1999/03/03/16:28:37
Eli Zaretskii wrote:
>
> On Mon, 1 Mar 1999, Mark E. wrote:
> > /* Succeeds because 'c:/djgpp/bin' is relative to 'c:/djgpp'.
> > Passing in '/bin' would have also worked. */
> > chroot("c:/djgpp/bin");
>
> I'm not sure whether we need such a feature. I think Unix won't allow
> it (can anybody please check this?). If I'm right, you can simply
> require that an argument doesn't begin with a drive letter, unless the
> current root is empty.
Nope. After `chroot("/foo")', assuming /foo contains only a directory
`bar', `chroot("/foo/bar")' fails with ENOENT.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -