Mail Archives: djgpp/1998/07/08/08:05:08
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 -