www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/01/08/03:34:10

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
From: "Laurynas Biveinis" <lauras AT softhome DOT net>
Date: Tue, 8 Jan 2002 10:25:25 +0200
To: djgpp-workers AT delorie DOT com
Subject: Re: bash's 'test' is inconsistent on XP (causing autoconf testsuite failures)
Message-ID: <20020108082525.GA650@svyturys>
Mail-Followup-To: djgpp-workers AT delorie DOT com
References: <000001c196b2$00b6f560$d07c76d5 AT zastaixp>
Mime-Version: 1.0
In-Reply-To: <000001c196b2$00b6f560$d07c76d5@zastaixp>
User-Agent: Mutt/1.3.25i
X-OriginalArrivalTime: 08 Jan 2002 08:30:48.0214 (UTC) FILETIME=[C60B1360:01C1981E]
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

>   if test -f $cache_file; then
>     ... source the cache file
>   fi
> 
> 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.

I've seen this some time ago under win98se and it turned out
to be a bug in bash. I've sent a fix to Mark. Mark, do you include
it in latest version?

Laurynas

- Raw text -


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