www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/30/03:26:35

Date: Tue, 30 Jun 1998 10:25:09 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Erwin Waterlander <waterlan AT xs4all DOT nl>
cc: djgpp AT delorie DOT com
Subject: Re: Question: getcwd() and LongFileName support
In-Reply-To: <3598093C.65BAEF64@xs4all.nl>
Message-ID: <Pine.SUN.3.91.980630102452.6274Q-100000@is>
MIME-Version: 1.0

On Mon, 29 Jun 1998, Erwin Waterlander wrote:

> It seems that the getcwd() function does not return LFN path under
> windows 95 but the DOS 8+3 style path.

This is certainly NOT true in general.  Assuming that you have
set LFN=y in the environment, and that other file-oriented functions
do support long file names, the only possible cause I could think of
is that some other non-DJGPP program that you are using causes
Windows 95 to become confused and return short 8+3 name of the current
directory.  I have heard one such report in the past from somebody who
discovered that some program, when used in the same DOS box, would
cause Windows to behave that way.

Anyway, for the record: getcwd works for me on Windows 95 and returns
long directory names.

- Raw text -


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