delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/10/02/09:40:06

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <10110021335.AA03172@clio.rice.edu>
Subject: Re: Maybe fix deep path bug
To: eliz AT is DOT elta DOT co DOT il
Date: Tue, 2 Oct 2001 08:35:05 -0500 (CDT)
Cc: wojciech DOT galazka AT polkomtel DOT com DOT pl, djgpp-workers AT delorie DOT com
In-Reply-To: <3791-Tue02Oct2001103133+0300-eliz@is.elta.co.il> from "Eli Zaretskii" at Oct 02, 2001 10:31:33 AM
X-Mailer: ELM [version 2.5 PL2]
Mime-Version: 1.0
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

> > A simple change of order of operations to set the drive letter before
> > setting the directory seems to make the problem go away.
> 
> <Shiver>  I don't like such black magic, but I guess we don't have any
> better way.

I was pretty horrified when I figured it out.

> Please see that this change does the right thing when the drive letter
> is invalid (non-existent drive).

Yes, I tested this and it does the right thing (ENOENT) at least on
Windows 2000.  I need to build several test exes and test on DOS, W9x, NT
2K and XP. (with and without lfn ...)

- Raw text -


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