delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/08/08:05:08

Date: Wed, 8 Jul 1998 15:04:42 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Endlisnis <s257m AT unb DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: Long Filenames - can they always be on?
In-Reply-To: <Pine.SOL.3.96.980707201114.12449A-100000@sol.sun.csd.unb.ca>
Message-ID: <Pine.SUN.3.91.980708150306.8773B-100000@is>
MIME-Version: 1.0

On Tue, 7 Jul 1998, Endlisnis wrote:

> 	I made a program (under djgpp) that took 2 filenames as
> commandline parameters.  It opens and reads one file, then writes the 2nd
> file.  If I ask it to open a file and I specify a long-filename, it works,
> but if I ask it to write a long-filename, it just truncates it to 8.3
> format.  This is running without LFN set at all as an environmental
> variable.  Shouldn't it be able to make long-filenames?

The file DJGPP.ENV, as shipped with DJGPP, sets LFN to N.  This file is 
read by the startup code of every DJGPP program, so unless you set LFN=y 
in the environment, or edit DJGPP.ENV (not recommended), you get LFN 
disabled in all DJGPP programs.

- Raw text -


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