delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/04/18/14:30:15

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Cesar Rabak <crabak AT acm DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem with Make and volume labels
Date: Sun, 18 Apr 2004 15:21:46 -0300
Lines: 28
Message-ID: <4082C73A.5040608@acm.org>
References: <20040417161713 DOT GA196 AT elitel DOT biz> <7137-Sun18Apr2004210505+0300-eliz AT gnu DOT org>
NNTP-Posting-Host: 241132.virtua.com.br (200.182.241.132)
Mime-Version: 1.0
X-Trace: news.uni-berlin.de 1082312507 5653193 I 200.182.241.132 ([39218])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: pt-br, pt
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii escreveu:
[snipped]

> This is due to a strange misfeature in the findfirst function: the
> call
> 
>      findfirst("c:/tmp/dos", &ff_blk, FA_LABEL);
> 
> always succeeds (returns zero) if the drive C:'s label is "dos".
> 
> A solution is to work around this problem inside `stat'.  A temporary
> work-around is not to use Make targets whose names are identical to
> the volume labels.
> 
> Thanks for reporting this subtle bug.

Eli,

Just to see if age is not teasing me: isn't this behaviour part of a 
class as when we face the same symptom with:

/temp/com1 or /temp/prn?

just more .019999...

--
Cesar Rabak

- Raw text -


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