Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3AFAEBBF.274A6592@phekda.freeserve.co.uk> Date: Thu, 10 May 2001 20:27:59 +0100 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.17 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: fil40s-beta2 References: <3AF9B95D DOT 7B78E9F3 AT phekda DOT freeserve DOT co DOT uk> <20010510065957 DOT A1239 AT lauras DOT lt> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com 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 ". 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 . */ + #include + #ifdef __DJGPP__ #include *** 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 . */ + #include + #ifdef __DJGPP__ /* Versions of DJGPP > 2.03 support symlinks (currently only DJGPP CVS). If