[Python-checkins] commit of r41910 - python/trunk/Python/dynload_shlib.c
hyeshik.chang
python-checkins at python.org
Wed Jan 4 02:30:18 CET 2006
Author: hyeshik.chang
Date: Wed Jan 4 02:30:17 2006
New Revision: 41910
Modified:
python/trunk/Python/dynload_shlib.c
Log:
Fix a warning from gcc by adding a missed const qualifier.
Modified: python/trunk/Python/dynload_shlib.c
==============================================================================
--- python/trunk/Python/dynload_shlib.c (original)
+++ python/trunk/Python/dynload_shlib.c Wed Jan 4 02:30:17 2006
@@ -130,7 +130,7 @@
handle = dlopen(pathname, dlopenflags);
if (handle == NULL) {
- char *error = dlerror();
+ const char *error = dlerror();
if (error == NULL)
error = "unknown dlopen() error";
PyErr_SetString(PyExc_ImportError, error);
More information about the Python-checkins
mailing list