[Python-checkins] CVS: python/dist/src/Modules posixmodule.c,2.188,2.189

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


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

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

Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.188
retrieving revision 2.189
diff -C2 -r2.188 -r2.189
*** posixmodule.c	2001/05/13 08:04:26	2.188
--- posixmodule.c	2001/05/14 12:17:34	2.189
***************
*** 234,247 ****
  #endif /* _MSC_VER */
  
- /* The default encoding used by the platform file system APIs
-    If non-NULL, this is almost certainly different than the default 
-    encoding for strings (otherwise it can remain NULL!)
- */
- #ifdef MS_WIN32
- const char *Py_FileSystemDefaultEncoding = "mbcs";
- #else
- const char *Py_FileSystemDefaultEncoding = NULL; /* use default */
- #endif
- 
  #if defined(PYCC_VACPP) && defined(PYOS_OS2)
  #include <io.h>
--- 234,237 ----