[Python-checkins] python/dist/src/Modules sre.h,2.22,2.22.16.1 (original) (raw)

loewis at users.sourceforge.net loewis at users.sourceforge.net
Fri May 7 03:16:36 EDT 2004


Update of /cvsroot/python/python/dist/src/Modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24226/Modules

Modified Files: Tag: release23-maint sre.h Log Message: Fix _sre.CODESIZE on 64-bit machines in UCS-4 mode. Fixes #931848.

Index: sre.h

RCS file: /cvsroot/python/python/dist/src/Modules/sre.h,v retrieving revision 2.22 retrieving revision 2.22.16.1 diff -C2 -d -r2.22 -r2.22.16.1 *** sre.h 18 Mar 2002 18:46:14 -0000 2.22 --- sre.h 7 May 2004 07:16:33 -0000 2.22.16.1


*** 17,21 **** large enough to hold a Py_UNICODE character) */ #ifdef Py_UNICODE_WIDE ! #define SRE_CODE unsigned long #else #define SRE_CODE unsigned short --- 17,21 ---- large enough to hold a Py_UNICODE character) */ #ifdef Py_UNICODE_WIDE ! #define SRE_CODE Py_UCS4 #else #define SRE_CODE unsigned short



More information about the Python-checkins mailing list