diff Python/dynload_aix.c @ 36090:8cb686dd6e64 legacy-trunk

Fix SF bug #1072182, problems with signed characters. Most of these can be backported.
author Neal Norwitz <nnorwitz@gmail.com>
date Mon, 19 Dec 2005 06:05:18 +0000
parents f99cf9bfbbaf
children fd25030223b0
line wrap: on
line diff
--- a/Python/dynload_aix.c	Mon Dec 19 04:27:42 2005 +0000
+++ b/Python/dynload_aix.c	Mon Dec 19 06:05:18 2005 +0000
@@ -144,7 +144,7 @@
 		    if (nerr == load_errtab[j].errNo && load_errtab[j].errstr)
 			ERRBUF_APPEND(load_errtab[j].errstr);
 		}
-		while (isdigit(*message[i])) message[i]++ ; 
+		while (isdigit(Py_CHARMASK(*message[i]))) message[i]++ ; 
 		ERRBUF_APPEND(message[i]);
 		ERRBUF_APPEND("\n");
 	}