[Python-Dev] fopenRF() - defunct MacOS 9 thing?

Jack Jansen Jack.Jansen at cwi.nl
Tue Jun 8 09:38:26 EDT 2004


On 6 Jun 2004, at 03:07, Skip Montanaro wrote:

>
> I was messing around in fileobject.c today and came across this:
>
>     #ifdef HAVE_FOPENRF
>             if (*mode == '*') {
>                     FILE *fopenRF();
>                     f->f_fp = fopenRF(name, mode+1);
>             }
>             else
>     #endif
>
> Googling for fopenRF() indicated it is a way to open resource forks on 
> Macs
> (all the Google hits were Python-related).  Is that something that 
> should
> have been deleted with the demise of MacOS 9 support?

Yes, rip this out. While resource forks still exist on OSX the 
fopenRF() call is specific to the Metrowerks C library which is no 
longer supported.
--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma 
Goldman




More information about the Python-Dev mailing list