[Python-checkins] CVS: python/dist/src/Python dynload_aix.c,2.1,2.2

Guido van Rossum guido@cnri.reston.va.us
Tue, 21 Dec 1999 10:55:49 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Python
In directory eric:/projects/python/develop/guido/src/Python

Modified Files:
	dynload_aix.c 
Log Message:
Vladimir Marangozov:

Here's a patch that avoids a warning caused by the "const char* pathname"
declaration for _PyImport_GetDynLoadFunc (in dynload_aix). The "aix_load"
function's 1st arg is prototyped as "char *pathname".


Index: dynload_aix.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Python/dynload_aix.c,v
retrieving revision 2.1
retrieving revision 2.2
diff -C2 -r2.1 -r2.2
*** dynload_aix.c	1999/12/20 21:18:48	2.1
--- dynload_aix.c	1999/12/21 15:55:47	2.2
***************
*** 222,226 ****
  		if (aix_getoldmodules(&staticmodlistptr) == -1)
  			return NULL;
! 	p = (dl_funcptr) aix_load(pathname, L_NOAUTODEFER, 0);
  	if (p == NULL) {
  		aix_loaderror(pathname);
--- 222,226 ----
  		if (aix_getoldmodules(&staticmodlistptr) == -1)
  			return NULL;
! 	p = (dl_funcptr) aix_load((char *)pathname, L_NOAUTODEFER, 0);
  	if (p == NULL) {
  		aix_loaderror(pathname);