diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2001-05-14 12:17:34 (GMT) |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2001-05-14 12:17:34 (GMT) |
commit | 26cffde4c2950ac2afb41f19a65a28c4e905060d (patch) | |
tree | 04a94c73efbc91aa0a7492ccb8ce1d744f5b3fd9 /Modules/posixmodule.c | |
parent | 834f4dd7c921593674409b9088458f378ac00ca4 (diff) | |
download | cpython-26cffde4c2950ac2afb41f19a65a28c4e905060d.zip cpython-26cffde4c2950ac2afb41f19a65a28c4e905060d.tar.gz cpython-26cffde4c2950ac2afb41f19a65a28c4e905060d.tar.bz2 |
Fix the Py_FileSystemDefaultEncoding checkin - declare the variable in a fileobject.h, and initialize it in bltinmodule.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 87d584e..430a44a 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -233,16 +233,6 @@ extern int lstat(const char *, struct stat *); #endif /* MS_WIN32 */ #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> #endif /* OS2 */ |