[Python-checkins] CVS: python/dist/src/Python sysmodule.c,2.94,2.95

Martin v. L?wis loewis@users.sourceforge.net
2001年11月09日 12:59:41 -0800


Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv20100
Modified Files:
	sysmodule.c 
Log Message:
Include sys_getdefaultencoding in #ifdef Py_USING_UNICODE. Fixes #479571.
Index: sysmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/sysmodule.c,v
retrieving revision 2.94
retrieving revision 2.95
diff -C2 -d -r2.94 -r2.95
*** sysmodule.c	2001年10月24日 20:47:48	2.94
--- sysmodule.c	2001年11月09日 20:59:39	2.95
***************
*** 165,168 ****
--- 165,170 ----
 exit status will be one (i.e., failure).";
 
+ #ifdef Py_USING_UNICODE
+ 
 static PyObject *
 sys_getdefaultencoding(PyObject *self)
***************
*** 176,181 ****
 Return the current default string encoding used by the Unicode \n\
 implementation.";
- 
- #ifdef Py_USING_UNICODE
 
 static PyObject *
--- 178,181 ----

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