Mail Archives: djgpp-workers/2000/08/18/03:57:49
Eli Zaretskii wrote:
> I don't see any problems with #define, but I also don't see any problems
> with staying with the old name. It's not a problem if an FSEXT hook has
> a name that isn't 100% identical to the exact function where it is called.
>
> For example, __FSEXT_open is called from _open, not from open.
Yes, I agree, that __FSEXT_open is better than __FSEXT__open and
__FSEXT_readlink is better that __FSEXT___internal_readlink.
So here's the patch which just documents that __FSEXT_stat hooks lstat()
and that's all. Any comments?
Laurynas
Index: fsext.txh
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/fsext/fsext.txh,v
retrieving revision 1.8
diff -u -r1.8 fsext.txh
--- fsext.txh 2000/08/16 18:30:38 1.8
+++ fsext.txh 2000/08/18 07:54:31
@@ -110,6 +110,11 @@
A file dup2 handler (@pxref{dup2}). This is called when two different
file descriptors are used to refer to the same open file.
+@item __FSEXT_stat
+
+A file lstat handler (@pxref{lstat}). This extension should provide
+information about stated file.
+
@item __FSEXT_fstat
A file fstat handler (@pxref{fstat}). The extension should fill in
- Raw text -