delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/20/04:44:35

Date: Sun, 20 Dec 1998 11:44:33 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Ken Arromdee <arromdee AT www DOT inetnow DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Long file names?
In-Reply-To: <367c0c71.0@news.inetnow.net>
Message-ID: <Pine.SUN.3.91.981220114408.27996V-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On 19 Dec 1998, Ken Arromdee wrote:

> >>These utilities display and modify the long names created and used by
> >>Windows 95 even if you are not running Windows 95.  They can be used to
> >>list, modify, save and restore long file names.
> >>    DIR95 - directory list including Win95 long names
> 
> Okay, has anyone integrated this type of stuff into DJGPP so that DJGPP
> utilities can use long filenames in plain DOS?

If by ``integrate'' you mean to make library functions support long
file names automatically (on plain DOS), then IMHO this is a Bad Idea.
Accessing long file names on plain DOS requires to read large portions
of disk structure into memory to access the LFN entries.  This would
tremendously slow down the program and bloat the code of every DJGPP
image.

I think this kind of task is best handled in a separate library, which
people could link in if they need.  For example, you could overload
the standard definition of __dpmi_int, which serves to issue all DOS
(and BIOS) interrupts.

- Raw text -


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