Mailing List Archive

CVS: python/dist/src/Modules _localemodule.c,2.27,2.28
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv9479

Modified Files:
_localemodule.c
Log Message:
Don't imply XPG4 constants from CODESET presence. Fixes #534153.
2.2.2 candiate.


Index: _localemodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_localemodule.c,v
retrieving revision 2.27
retrieving revision 2.28
diff -C2 -d -r2.27 -r2.28
*** _localemodule.c 25 Mar 2002 20:46:45 -0000 2.27
--- _localemodule.c 27 Mar 2002 12:15:57 -0000 2.28
***************
*** 479,485 ****
LANGINFO(PM_STR),

#ifdef CODESET
- /* The following constants are available only with XPG4. */
LANGINFO(CODESET),
LANGINFO(T_FMT_AMPM),
LANGINFO(ERA),
--- 479,488 ----
LANGINFO(PM_STR),

+ /* The following constants are available only with XPG4. AIX 3.2. only has
+ CODESET. */
#ifdef CODESET
LANGINFO(CODESET),
+ #endif
+ #ifdef T_FMT_AMPM
LANGINFO(T_FMT_AMPM),
LANGINFO(ERA),