[Python-checkins] python/dist/src/Modules posixmodule.c, 2.309, 2.310

perky at users.sourceforge.net perky at users.sourceforge.net
Sun Jan 4 08:54:28 EST 2004


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

Modified Files:
	posixmodule.c 
Log Message:
FIx unicodefilename support of posix.uname(). This fixes test_unicode_file
failure on FreeBSD.


Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.309
retrieving revision 2.310
diff -C2 -d -r2.309 -r2.310
*** posixmodule.c	3 Dec 2003 01:22:38 -0000	2.309
--- posixmodule.c	4 Jan 2004 13:54:25 -0000	2.310
***************
*** 1969,1973 ****
  
  	if (!have_unicode_filename && \
! 		!PyArg_ParseTuple(args, "sO:utime", &path, &arg))
  		return NULL;
  	if (arg == Py_None) {
--- 1969,1974 ----
  
  	if (!have_unicode_filename && \
! 		!PyArg_ParseTuple(args, "etO:utime",
! 				  Py_FileSystemDefaultEncoding, &path, &arg))
  		return NULL;
  	if (arg == Py_None) {





More information about the Python-checkins mailing list