Mail Archives: djgpp-workers/2001/05/10/15:35:51
Hello.
Laurynas Biveinis wrote:
>
> Richard Dawe wrote:
>
> > djutils.c *should* now provide it conditionally on defined(__DJGPP__)
> > && !defined(HAVE_LSTAT). For some reason it does not work.
>
> Reality check: do you #include "config.h"?
[Looks embarrassed] Er, no. Below is a patch to fix that. It should be
applied in the gnu/filutil4.0/src directory please, using "patch -p0 -i
<file containing patch>". That should fix the lstat() infinite loop
problem. Sorry about that.
I'll try the test suite with Fileutils compiled against CVS. It has quite
comprehensive tests for symlinks.
Thanks Laurynas! Bye, Rich =]
--
Richard Dawe
http://www.phekda.freeserve.co.uk/richdawe/
*** djstart.c~0 Sat Apr 21 22:59:54 2001
--- djstart.c Thu May 10 20:18:50 2001
***************
*** 56,61 ****
--- 56,63 ----
* by Richard Dawe <richdawe AT bigfoot DOT com>.
*/
+ #include <config.h>
+
#ifdef __DJGPP__
#include <stdio.h>
*** djutils.c~0 Sat Apr 21 22:59:54 2001
--- djutils.c Thu May 10 20:18:52 2001
***************
*** 6,11 ****
--- 6,13 ----
* the port of Fileutils 3.16 by Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>.
*/
+ #include <config.h>
+
#ifdef __DJGPP__
/* Versions of DJGPP > 2.03 support symlinks (currently only DJGPP CVS).
If
- Raw text -