Filetype setting on fopen

Nick Burrett nick at dsvr.net
Wed Aug 7 00:53:44 PDT 2002


Peter Naulls wrote:
> In message <74efe4614b.Jo at hobbes.riscos.be>
>           John Tytgat <John.Tytgat at aaug.net> wrote:
> 
> 
>>BTW, perhaps not such a good idea to mention this in this thread but
>>IMHO, why don't we get rid of __RISCOSIFY_LONG_TRUNCATE,
>>__RISCOSIFY_MEDIUM_TRUNCATE, __RISCOSIFY_SHORT_TRUNCATE and
>>__RISCOSIFY_DROP_VOWEL ? These days we no longer have a buggy SparkFS
>>(at least with respect to the long filename problem), but do have
>>LongFiles2, raFS, several network FS with decent filename length
>>limitations, long filenames in RISC OS 4, etc.  Are there any UnixLib
>>linked projects still using this today ?
> 
> 
> I've never used them, even when I had RISC OS 3.6.  Futhermore, GCC
> (especially when using C++) really is somewhat deprecated on 10 letter
> filename filesystems.   I recommend removing them.

They were written into __riscosify because __uname used them.  Some very 
old UnixLib based programs did use these features, but I think it would 
be safe to remove them now.

-- 
Nick Burrett
Development Manager, Designer Servers Ltd.   http://www.dsvr.co.uk




More information about the gcc mailing list