Mail Archives: djgpp/1998/12/20/04:44:35
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 -