[Python-checkins] python/dist/src/Mac/Python macmain.c,1.80,1.81
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Fri, 13 Dec 2002 05:57:41 -0800
- Previous message: [Python-checkins] python/dist/src/Mac/Unsupported/PythonScript PyScriptTest.py,1.1,NONE PythonScript.py,1.1,NONE ReadMe.txt,1.1,NONE baepack.py,1.1,NONE baetools.py,1.1,NONE baetypes.py,1.1,NONE getaete.py,1.1,NONE printaete.py,1.1,NONE testeudora.py,1.1,NONE
- Next message: [Python-checkins] python/dist/src/Mac/Modules/ae _AEmodule.c,1.15,1.16 aesupport.py,1.28,1.29
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Mac/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv4836
Modified Files:
macmain.c
Log Message:
Get rid of 2.2 "poor mans universal newlines" now that the real thing
is implemented.
Index: macmain.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Python/macmain.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -C2 -d -r1.80 -r1.81
*** macmain.c 12 Dec 2002 10:31:54 -0000 1.80
--- macmain.c 13 Dec 2002 13:57:35 -0000 1.81
***************
*** 636,656 ****
}
- #ifndef WITHOUT_UNIX_NEWLINES
- /*
- ** Experimental feature (for 2.2a2): optionally allow unix newlines
- ** as well as Mac newlines on input. We replace a lowlevel
- ** MSL routine to accomplish this.
- */
- void
- __convert_to_newlines(unsigned char * buf, size_t * n_ptr)
- {
- unsigned char *p;
- size_t n = *n_ptr;
-
- for(p=buf; n > 0; p++, n--)
- if ( *p == '\r' ) *p = '\n';
- else if ( *p == '\n' && !PyMac_options.unixnewlines )
- *p = '\r';
- }
- #endif /* WITHOUT_UNIX_NEWLINES */
-
--- 636,637 ----
- Previous message: [Python-checkins] python/dist/src/Mac/Unsupported/PythonScript PyScriptTest.py,1.1,NONE PythonScript.py,1.1,NONE ReadMe.txt,1.1,NONE baepack.py,1.1,NONE baetools.py,1.1,NONE baetypes.py,1.1,NONE getaete.py,1.1,NONE printaete.py,1.1,NONE testeudora.py,1.1,NONE
- Next message: [Python-checkins] python/dist/src/Mac/Modules/ae _AEmodule.c,1.15,1.16 aesupport.py,1.28,1.29
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]