Mail Archives: djgpp-workers/2000/08/17/13:58:16
Eli Zaretskii wrote:
> However, imagine that there are other handlers for other FSEXTs as
> well. Those other handlers might (1) not be ready to cope with a NULL
> pathname, and (2) one of them might intercept the call before the
> readlink handler gets a chance (because of the order of registration
> of the hooks, upon which FSEXT doesn't give the application too much
> control).
>
> In other words, if a certain handle has a handler registered, that
> handler should be called unconditionally and immediately, without
> trying the other handlers which might mistakenly catch a call whch
> isn't theirs. __FSEXT_call_open_handlers cannot do that, but
> __FSEXT_get_function can.
So I was on the right path of thinking. Thanks, now it's clear.
> > Will the same handler do well in both cases?
>
> I hope so.
> Do you see any reason why it couldn't?
Sigh, if I would know... I've just asked because I haven't
seen any other handler which was used like this.
> > When it comes to FSEXT, I feel less confident.
>
> Me too ;-).
BTW, who has invented it? Who feels more confident than we here?
Laurynas
- Raw text -