Mail Archives: djgpp-workers/2000/08/16/05:41:59
Eli Zaretskii wrote:
> Yes, but to avoid two index entries which begin with "open", I suggest
> to change the first one into these two:
>
> @findex O_NOLINK AT r{, new flag accepted by @code{open}}
> @findex O_NOFOLLOW AT r{, new flag accepted by @code{open}}
OK, changed.
> But we do need to have some
> reasonable way for an FSEXT to survive the `open' call where it calls
> __solve_symlinks. We don't want the `open' call to start failing for
> an FSEXT emulation just because we added symlink support to `open'.
Sorry, I don't understand: what do you mean by FSEXT surviving open call
where it calls __solve_symlinks? If you mean that __solve_symlinks()
could make FSEXT left unhandled, then I don't think it's the case:
__solve_symlinks() will call readlink() many times, eventually with
the same path, as _open() FSEXT handler would get without symlink support.
> In any case, I suggest that we
> document this somewhere, probably in the docs for `open' and maybe
> also in the docs for `__solve_symlinks'.
I will make my opinion here when I understand, what exactly needs to be documented.
Laurynas
- Raw text -