[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] MiNTlib - new functions
> 2) better support for LFN
>
> In PARCP I use fopen(filename, "wb") for creating a file but I never
> bothered converting the filename to 8+3 if the dest filesystem was FAT.
> I always thought GEMDOS would convert it for me. However I have just got
> a bug report that said copying a filename containing SPACE char is a
> real killer for TOS FAT.
>
> For example by creating a "ab de" filename GEMDOS really writes the "ab
> de" filename (including the space) to directory entry. But then, when
> reading the directory it shows just "ab". Thus the file is no longer
> readable, rename or delete is not possible.
>
> I thought it would be nice if MiNTlib converted the filename for me.
> Any opinions or algorithms?
I have no idea on truncating long filenames under TOS, but for spaces TOS
4 itself gives an example: the desktop (if I remember correctly) converts
spaces into underline characters.
--
Konrad M.Kokoszkiewicz
|mail: draco@mi.com.pl | Atari Falcon030/TT030/65XE |
|http://www.obta.uw.edu.pl/~draco/
|http://draco.atari.org
** Ea natura multitudinis est,
** aut servit humiliter, aut superbe dominatur (Liv. XXIV,25)
*************************************************************
** U pospolstwa normalne jest, ze albo sluzy ono unizenie,
** albo bezczelnie sie panoszy.