www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/08/08:16:57

Date: Tue, 8 Feb 2000 13:48:15 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Esa A E Peuha <peuha AT cc DOT helsinki DOT fi>
cc: djgpp AT delorie DOT com
Subject: Re: A bug in sort
In-Reply-To: <Pine.OSF.4.20.0002020907150.3116-100000@sirppi.helsinki.fi>
Message-ID: <Pine.SUN.3.91.1000208134553.60E-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 2 Feb 2000, Esa A E Peuha wrote:

> When I tried to sort a large text file (djgppfaq.txt is a good test case),
> I was surprised to find that sort (from txt20b.zip) complained that a
> temporary file already existed.  Looking at the source, I discovered that
> sort divides any input file to chunks of up to 512 kilobytes, and wants to
> open a temporary file for each of them.  Unfortunately, even though sort.c
> does have code to get several independent temporary filenames even on DOS
> 8+3 filesystems, it never gets to execute, because the macro HAVE_PATHCONF
> is not defined anywhere.

Thanks for the report and a clear diagnostics.

This turned out to be a bug in the original configure script distributed 
with the official release of Textutils 2.0.  I fixed that bug and uploaded
the fixed zip files to SimTel.NET:

 ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/txt20b.zip
 ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/txt20s.zip

- Raw text -


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