delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/01/10/02:14:52

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Thu, 10 Jan 2002 09:10:30 +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: <2110-Thu10Jan2002091030+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: <10201100031.AA16325@clio.rice.edu> (sandmann@clio.rice.edu)
Subject: Re: LFN32 optimizations [was: Re: Proposed lstat.c patch for Win2000/XP device bit fix
References: <10201100031 DOT AA16325 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: Wed, 9 Jan 2002 18:31:43 -0600 (CST)
> 
> Should we do this fix to access.c also

Yes, definitely.  The call to findfirst inside access was added
because there were Unix-born programs (I forget which ones) that
barfed without it.  We don't need to see them barfing again ;-)

> (twice)

Why twice?  The first findfirst there looks for root directories, so
nothing wrong will happen if you leave it alone, I think.  Or are you
saying that without a fix, it will tell us lies about root
directories also?

> and a similar fix to set the value in findfirs.c?

You mean, to set the device bit in attributes?  No, I don't think
this is needed: not every DOS-like OS sets that attribute anyway.

> Should a macro _is_ff_LFN(ff_blk) be in dir.h?

Sounds like a good idea.

- Raw text -


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