www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/01/06/11:24:00

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Sun, 06 Jan 2002 18:20:08 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <7458-Sun06Jan2002182007+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <10201061528.AA21969@clio.rice.edu> (sandmann@clio.rice.edu)
Subject: Re: bash's 'test' is inconsistent on XP (causing autoconf testsuite failures)
References: <10201061528 DOT AA21969 AT clio DOT rice DOT edu>
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

> From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
> Date: Sun, 6 Jan 2002 09:28:57 -0600 (CST)
> 
> We should track down which call isn't behaving properly and see if
> we can fix it in the libc first.

Yes, I agree.

The two methods used by lstat to detect devices are a bit in
attribute byte returned by findfirst and the special form in which
_truename returns the normalized string for devices.  IIRC, you've
found that none of them is emulated correctly by W2K under LFN.

What we need is some system call--any system call--that can
distinguish between files and devices.

If worse comes to worst, I suppose we could teach lstat a few standard
device names--ugly as heck, but having Autoconf fail is uglier...

- Raw text -


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