[Python-checkins] python/dist/src/Python import.c,2.233,2.234
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Mon Aug 2 01:24:24 CEST 2004
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21321/Python
Modified Files:
import.c
Log Message:
Trimmed trailing whitespace.
Index: import.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/import.c,v
retrieving revision 2.233
retrieving revision 2.234
diff -C2 -d -r2.233 -r2.234
*** import.c 27 Jun 2004 16:51:46 -0000 2.233
--- import.c 1 Aug 2004 23:24:21 -0000 2.234
***************
*** 1273,1277 ****
PySys_WriteStderr("# trying %s\n", buf);
filemode = fdp->mode;
! if (filemode[0] == 'U')
filemode = "r" PY_STDIOTEXTMODE;
fp = fopen(buf, filemode);
--- 1273,1277 ----
PySys_WriteStderr("# trying %s\n", buf);
filemode = fdp->mode;
! if (filemode[0] == 'U')
filemode = "r" PY_STDIOTEXTMODE;
fp = fopen(buf, filemode);
***************
*** 2521,2525 ****
FILE *fp;
if (fob == NULL) {
! if (mode[0] == 'U')
mode = "r" PY_STDIOTEXTMODE;
fp = fopen(pathname, mode);
--- 2521,2525 ----
FILE *fp;
if (fob == NULL) {
! if (mode[0] == 'U')
mode = "r" PY_STDIOTEXTMODE;
fp = fopen(pathname, mode);
More information about the Python-checkins
mailing list