[hatari-devel] Improved GEMDOS emu long host filenames support commited
Eero Tamminen
eerot at users.berlios.de
Tue Jan 26 14:14:33 CET 2010
Hi,
Now it's too late to complain about the patch not working on some
platform, I commited it, changes in it were overlapping with some other
things I was looking into...
The improvements are:
* convert host filename chars that are invalid in TOS to valid ones ('@')
(main thing is that extra dots etc don't break TOS fileselector etc).
* cut file basename and extension separately to 8+3 size
(gives more readable TOS filenames).
* support long host directory names in addition to filenames
(earlier they might be visible in TOS, but files in them weren't).
* first try matching exact (non-casesensitive) name first,
only if that fails, use a pattern for long names
(fixes renaming name.prg to name.pr).
* get rid of glob() and use opendir()/readdir()/closedir() directly and
TOS pattern matching instead (unlike TOS, glob() interprets
[] as ranges).
- Eero
More information about the hatari-devel
mailing list