Mail Archives: djgpp-workers/2000/08/16/13:13:11.1
Eli Zaretskii wrote:
> It is normal for an FSEXT to catch a name, not a handle, if the
> underlying primitive identifies the file by its name. So `readlink'
> is like `_open' and `stat' in this sense.
Now I see that I need to use __FSEXT_call_open_handlers.
> The question is: what is such a ``primitive'' for our symlink
> emulation?
readlink() and symlink(). And imaginary FSEXT for symlinks user should
not go too smart and do nothing with __solve_symlinks().
> As for replacing library functions: IMHO it goes against the design of
> FSEXT: it was included in the library so that application will NOT
> need to replace library functions.
Clear.
> But if you think that providing FSEXT for symlinks complicates things
> too much, let's not do that now. We could add that later, should
> users want it.
I think it will be not too hard for me, with things cleared up.
Laurynas
- Raw text -