Date: Thu, 26 Feb 1998 09:53:54 +0200 (IST) From: Eli Zaretskii To: Dim Zegebart cc: DJGPP Mail List Subject: Re: Funny thing with _fixpath In-Reply-To: <34F50F37.1F69@post.comstar.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 26 Feb 1998, Dim Zegebart wrote: > Eli Zaretskii wrote: > > > > On Wed, 25 Feb 1998, Thomas Demmer wrote: > > > > 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. > > Perhaps, my english is a problem :( Here is part of info file with > description of > _fixpath function, I can't see any words about adding full path of > WORKING directory to the file name : I said that the docs says the *drive letter* is prepended, and that it *should have* said about the current directory. Here's the relevant part: > ".." components, adding a drive specifier if needed, and converting all ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Since it adds the drive letter, you can't assume the length of the result is the same. The fact that it doesn't tell about prepending the directory is IMHO a docs bug.