[Python-checkins] CVS: python/dist/src/Python bltinmodule.c,2.206,2.207

Mark Hammond mhammond@users.sourceforge.net
Mon, 14 May 2001 05:17:36 -0700


Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv19427/Python

Modified Files:
	bltinmodule.c 
Log Message:
Fix the Py_FileSystemDefaultEncoding checkin - declare the variable in a fileobject.h, and initialize it in bltinmodule.

Index: bltinmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/bltinmodule.c,v
retrieving revision 2.206
retrieving revision 2.207
diff -C2 -r2.206 -r2.207
*** bltinmodule.c	2001/05/13 08:04:26	2.206
--- bltinmodule.c	2001/05/14 12:17:34	2.207
***************
*** 14,18 ****
  #endif
  
! extern const char *Py_FileSystemDefaultEncoding;
  
  /* Forward */
--- 14,25 ----
  #endif
  
! /* The default encoding used by the platform file system APIs
!    Can remain NULL for all platforms that don't have such a concept
! */
! #ifdef MS_WIN32
! const char *Py_FileSystemDefaultEncoding = "mbcs";
! #else
! const char *Py_FileSystemDefaultEncoding = NULL; /* use default */
! #endif
  
  /* Forward */