Mail Archives: djgpp-workers/2000/02/20/06:13:50
On Sun, 20 Feb 2000, I wrote:
> On Sat, 19 Feb 2000, Mark E. wrote:
>
> > I would suggest modifying 'mkdir.c' check the result of _put_path for
> > '/dev' and '/dev/env' and set errno to EEXIST (and return -1) for these
> > two cases.
>
> I think /dev should be left alone.
>
> > This would in turn require a small change to _put_path2 to
> > prevent '/dev/env' from turning into 'env' like it currently does.
>
> Please send in a patch for preventing /dev/env from being created.
On second thought, if we prevent /dev/env from being created, no matter
where, some program might go ahead and stat it, in which case it will get
errors. Perhaps we should leave things as they are, after all... Or,
better yet, make sure /dev/env without anything else gets treated as a
normal file/directory, i.e. in this case, /dev/env will actually be
created.
- Raw text -