www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/01/06/09:51:59

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
From: "Tim Van Holder" <tim DOT van DOT holder AT pandora DOT be>
To: "'Eli Zaretskii'" <eliz AT is DOT elta DOT co DOT il>
Cc: <djgpp-workers AT delorie DOT com>
Subject: Re: bash's 'test' is inconsistent on XP (causing autoconf testsuite failures)
Date: Sun, 6 Jan 2002 15:51:49 +0100
Message-ID: <000401c196c1$abcba8b0$d07c76d5@zastaixp>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.3416
In-Reply-To: <Pine.SUN.3.91.1020106155059.2949A-100000@is>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> > Unfortunately, our bash (2.05) returns 'true' for
> > 'test -f /dev/null'; so it claims that /dev/null is a
> > regular file and then complains it isn't.  So either
> > 'test' or '.' needs fixing.
> 
> "test -f /dev/null" does TRT for me on Windows 98SE and on 
> NT4.  So I'm 
> guessing that what you see is due to a broken support for DOS 
> devices on 
> W2K and XP.  Try setting LFN=n and see if "test -f" works then.

Right - 'LFN=n test -f' DTRT, LFN=y doesn't.
What annoys me is that '.' doesn't have the same behaviour; I'm
OK with test -f returning true, but then '.' should work without
complaining.
I'll see if Akim accepts an autoconf patch to use LFN=n with
that test; otherwise, I'll just keep it as a local patch for
the 2.53 release.

BTW, is there any way of avoiding the fact that DJGPP programs
resize the DOS box to 80x50 under Win2K/XP?  Since I usually
run at 132x60, the flashing back and forth gets annoying.

- Raw text -


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