Message-ID: <399D2ABB.5BCBC049@softhome.net> Date: Fri, 18 Aug 2000 14:23:23 +0200 From: Laurynas Biveinis X-Mailer: Mozilla 4.74 [en] (Win98; U) X-Accept-Language: lt,en MIME-Version: 1.0 To: Eli Zaretskii CC: djgpp-workers AT delorie DOT com Subject: Re: Patch: FSEXT nits for stat()/lstat() References: <399CEB4D DOT 86B13B15 AT softhome DOT net> <9743-Fri18Aug2000135736+0300-eliz AT is DOT elta DOT co DOT il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Eli Zaretskii wrote: > This is fine, but perhaps it is a good idea to mention that `stat' can > also be hooked with this function. How about this? 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 12:25:47 @@ -110,6 +110,12 @@ 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. If you provide this hook, function @code{stat} +will be hooked too, as @code{stat} always calls @code{lstat}. + @item __FSEXT_fstat A file fstat handler (@pxref{fstat}). The extension should fill in