delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/05/10/15:35:51

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 <rich AT phekda DOT freeserve DOT co DOT uk>
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: <Pine DOT SUN DOT 3 DOT 91 DOT 1010509133644 DOT 19857S AT is> <3AF9B95D DOT 7B78E9F3 AT phekda DOT freeserve DOT co DOT uk> <20010510065957 DOT A1239 AT lauras DOT lt>
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
<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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019