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

Re: [MiNT] change of max. allowed path



Hello!

I observed it by hunting for bugs in Teradesk - I used for testing mxPlay,
i.e. I drag&dropped or started via VA-START some file, I've seen it in
playlist window correctly (and I verified it's stored correctly - internal
buffers are set for 1024 characters path and 255 characters filename) but
when comes to loading that file, I kill both teradesk and mxplay.

Concretely, the crash appears in stat() function. But maybe I'm wrong, this
thing (max. allowed path for 128 chars) seems to me as the most logical
reason.

In mintlib? Is this a recent mintlib version? Today an application should not rely on MAX_PATH and should use dynamic allocation (modern filesystems don't have a path limit). With other words, changing MAX_PATH don't solve the problem. You still have it (just a little bit less).


Regards,
Frank

--
ATARI FALCON 060 // MILAN 060
--------------------------------
http://sparemint.atariforge.net/
e-Mail: fnaumann@freemint.de