[Python-checkins] CVS: python/dist/src Makefile.pre.in,1.45,1.46
M.-A. Lemburg
lemburg@users.sourceforge.net
2001年7月31日 06:24:46 -0700
Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv2144
Modified Files:
Makefile.pre.in
Log Message:
This patch turns the Python API mismatch notice into a standard
Python warning which can be catched by means of the Python warning
framework.
It also adds two new APIs which hopefully make it easier for Python
to switch to buffer overflow safe [v]snprintf() APIs for error
reporting et al. The two new APIs are PyOS_snprintf() and
PyOS_vsnprintf() and work just like the standard ones in many
C libs. On platforms which have snprintf(), the native APIs are used,
on all other an emulation with snprintf() tries to do its best.
Index: Makefile.pre.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/Makefile.pre.in,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** Makefile.pre.in 2001年07月26日 13:41:04 1.45
--- Makefile.pre.in 2001年07月31日 13:24:44 1.46
***************
*** 215,218 ****
--- 215,219 ----
Python/modsupport.o \
Python/mystrtoul.o \
+ Python/mysnprintf.o \
Python/pyfpe.o \
Python/pystate.o \