[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] some gem question



Hello!

No, Fsfirst/Fsnext are designed for 8+3 names only. It's not possible at
all to handle long filenames through Fsfirst/Fsnext. This is how ATARI
defined these interfaces as TOS was introduced.

This is something I never understand! because d_fname is at the end of structure
and can easily extend for long filename.

Theoretically this is possible.

Magic and Mint never extend this and I
not understand why,

For good reasons. It's very dangerous to define a new semantic over an existing well known interface. Especially the different structures with the same name will make the (user program) source code very complicated and error prone. You get all sorts of trouble if you develop an app that runs under TOS and FreeMiNT/MagiC. It's much cleaner and *much easier* to handle if you define a new interface.


Regards,
Frank

--
ATARI FALCON 060 // MILAN 060
-----------------------------------------
http://www.cs.uni-magdeburg.de/~fnaumann/
e-Mail: fnaumann@freemint.de