- Timestamp:
- Mar 22, 2014, 2:17:26 PM (11 years ago)
- Location:
- python/trunk/Modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk/Modules/_localemodule.c
r391 r402 438 438 strcpy( encoding, ""); 439 439 if (DosQueryCp (sizeof (cp), cp, &cplen) == NO_ERROR) 440 PyOS_snprintf(encoding, sizeof(encoding), "CP% u", cp[0]);440 PyOS_snprintf(encoding, sizeof(encoding), "CP%lu", cp[0]); 441 441 442 442 return Py_BuildValue("ss", locale, encoding); -
python/trunk/Modules/posixmodule.c
r391 r402 56 56 57 57 #if defined(PYOS_OS2) 58 #define OS2EMX_PLAIN_CHAR 58 59 #define INCL_DOS 59 60 #define INCL_DOSERRORS
Note:
See TracChangeset
for help on using the changeset viewer.