X-Authentication-Warning: sirppi.helsinki.fi: peuha owned process doing -bs Date: Wed, 2 Feb 2000 09:33:45 +0200 (EET) From: Esa A E Peuha Sender: peuha AT cc DOT helsinki DOT fi To: djgpp AT delorie DOT com Subject: A bug in sort Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com 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. -- Esa Peuha student of mathematics at the University of Helsinki http://www.helsinki.fi/~peuha/