Hello!
But this means that any program working in MiNT domain and compiled with an oldProbably no trouble with this because a program compil with Pdomain(1) will not access to the filesystem with Fsfirst() Fsnext() but with Opendir.osbind.h may crash, since strncpy(..., PATH_MAX-1) may corrupt memory area below DTA.
That's a very optimistic assumption :-) Especially if we think about the consequences if the assumption is wrong -> program crash or probably more bad things (without memory protection you can easily destroy critical data).
In the past with old Mint if you put Pdomain(1) without correcting DTA it crash on long filename,
That's wrong. Fsfirst/Fsnext never returned long names. Fsfirst/Fsnext always implemented the ATARI defined interface of 8+3 filenames.
Regards, Frank -- ATARI FALCON 060 // MILAN 060 ----------------------------------------- http://www.cs.uni-magdeburg.de/~fnaumann/ e-Mail: fnaumann@freemint.de