Mail Archives: djgpp-workers/1997/11/26/12:23:32
On Wed, 26 Nov 1997, Markus F.X.J. Oberhumer wrote:
> If you want to write a pipe emulator or a RAM disk, fine, but
> why blow up the standard library with lots of callbacks to your
> application instead of just going the other way round ?
I won't usurp Randy's joy of explaining the rationale, but in general,
filesystem extensions cannot be considered complete without hooks for all
the primitive functions, because otherwise the hook won't be transparent.
The primitives include dup2, link, unlink and others.
As for the bloat, where do you see it? If you don't install any of the
hook, the only bloat is that the low-level functions test whether they
were installed or not.
- Raw text -