[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Modules posixmodule.c,2.173,2.174

Guido van Rossum guido@beopen.com
Mon, 25 Sep 2000 11:06:40 -0500


> > Modified Files:
> > 	posixmodule.c 
> > Log Message:
> > Add missing prototypes for the benefit of SunOS 4.1.4 */
> 
> These should go in pyport.h ! Unless you have some reason not to export them
> to other file, but in that case we need to take a good look at the whole
> pyport.h thing.
> 
> > + #if defined(sun) && !defined(__SVR4)
> > + /* SunOS 4.1.4 doesn't have prototypes for these: */
> > + extern int rename(const char *, const char *);
> > + extern int pclose(FILE *);
> > + extern int fclose(FILE *);
> > + #endif
> > + 

Maybe, but tyere's already tons of platform specific junk in
posixmodule.c.  Given we're so close to the code freeze, let's not do
it right now.

--Guido van Rossum (home page: http://www.pythonlabs.com/~guido/)