[Python-checkins] CVS: python/dist/src/Python dynload_hpux.c,2.5,2.6
Jeremy Hylton
jhylton@users.sourceforge.net
Wed, 28 Nov 2001 12:39:08 -0800
- Previous message: [Python-checkins] CVS: python/dist/src/Python dynload_dl.c,2.6,2.7
- Next message: [Python-checkins] CVS: python/dist/src/Python dynload_mac.c,2.11,2.12 dynload_next.c,2.8,2.9 dynload_os2.c,2.6,2.7 dynload_shlib.c,2.12,2.13 dynload_win.c,2.9,2.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv8738/Python
Modified Files:
dynload_hpux.c
Log Message:
Use PyOS_snprintf instead of sprintf.
Index: dynload_hpux.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/dynload_hpux.c,v
retrieving revision 2.5
retrieving revision 2.6
diff -C2 -d -r2.5 -r2.6
*** dynload_hpux.c 2000/09/01 23:29:28 2.5
--- dynload_hpux.c 2001/11/28 20:39:06 2.6
***************
*** 40,48 ****
if (Py_VerboseFlag)
perror(pathname);
! sprintf(buf, "Failed to load %.200s", pathname);
PyErr_SetString(PyExc_ImportError, buf);
return NULL;
}
! sprintf(funcname, FUNCNAME_PATTERN, shortname);
if (Py_VerboseFlag)
printf("shl_findsym %s\n", funcname);
--- 40,49 ----
if (Py_VerboseFlag)
perror(pathname);
! PyOS_snprintf(buf, sizeof(buf), "Failed to load %.200s",
! pathname);
PyErr_SetString(PyExc_ImportError, buf);
return NULL;
}
! PyOS_snprintf(funcname, sizeof(funcname), FUNCNAME_PATTERN, shortname);
if (Py_VerboseFlag)
printf("shl_findsym %s\n", funcname);
- Previous message: [Python-checkins] CVS: python/dist/src/Python dynload_dl.c,2.6,2.7
- Next message: [Python-checkins] CVS: python/dist/src/Python dynload_mac.c,2.11,2.12 dynload_next.c,2.8,2.9 dynload_os2.c,2.6,2.7 dynload_shlib.c,2.12,2.13 dynload_win.c,2.9,2.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]