www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/25/12:26:26

Date: Wed, 25 Feb 1998 18:29:20 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
cc: djgpp AT delorie DOT com
Subject: Re: Funny thing with _fixpath
In-Reply-To: <34F42E73.598EA946@LSTM.Ruhr-UNI-Bochum.De>
Message-ID: <Pine.SUN.3.91.980225182656.2648X-100000@is>
MIME-Version: 1.0

On Wed, 25 Feb 1998, Thomas Demmer wrote:

> I think this is an (undocumented) feature. You should
> _NEVER_ rely on _fixedpath returning the same length as
> the string you feed in.

It is NOT undocumented.  The docs says that the drive letter is 
prepended, so the length is not preserved.  It should have said that the 
current directory is also added.

> IIRC, it internally calls _truename()

No, it doesn't call `_truename', it does similar (but not identical) 
things using explicit DOS calls.

- Raw text -


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