[Python-checkins] CVS: python/dist/src/Objects fileobject.c,2.141,2.141.6.1

Martin v. L?wis loewis@users.sourceforge.net
2002年1月12日 03:13:26 -0800


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv9512/Objects
Modified Files:
 Tag: release22-maint
	fileobject.c 
Log Message:
Include <unistd.h> in Python.h. Fixes #500924.
Index: fileobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/fileobject.c,v
retrieving revision 2.141
retrieving revision 2.141.6.1
diff -C2 -d -r2.141 -r2.141.6.1
*** fileobject.c	2001年11月30日 14:16:36	2.141
--- fileobject.c	2002年01月12日 11:13:24	2.141.6.1
***************
*** 9,16 ****
 #endif /* DONT_HAVE_SYS_TYPES_H */
 
- #ifdef HAVE_UNISTD_H
- #include <unistd.h>
- #endif
- 
 #ifdef MS_WIN32
 #define fileno _fileno
--- 9,12 ----

AltStyle によって変換されたページ (->オリジナル) /