diff options
author | Marc-André Lemburg <mal@egenix.com> | 2001-07-31 13:24:44 (GMT) |
---|---|---|
committer | Marc-André Lemburg <mal@egenix.com> | 2001-07-31 13:24:44 (GMT) |
commit | e5006ebc9d0618bc500afebfa1e21b6aae2a22e3 (patch) | |
tree | 021cf814e21772f87b22cac30a4aeada787085bc /Makefile.pre.in | |
parent | b9d07b5a8b8b70268ffa520895e7843ab594a486 (diff) | |
download | cpython-e5006ebc9d0618bc500afebfa1e21b6aae2a22e3.zip cpython-e5006ebc9d0618bc500afebfa1e21b6aae2a22e3.tar.gz cpython-e5006ebc9d0618bc500afebfa1e21b6aae2a22e3.tar.bz2 |
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.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 3ca3397..9fbf29d 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -214,6 +214,7 @@ PYTHON_OBJS= \ Python/marshal.o \ Python/modsupport.o \ Python/mystrtoul.o \ + Python/mysnprintf.o \ Python/pyfpe.o \ Python/pystate.o \ Python/pythonrun.o \ |