]> granicus.if.org Git - python/commit
Use PyOS_snprintf() at some cost even though it was correct before.
authorJeremy Hylton <jeremy@alum.mit.edu>
Wed, 28 Nov 2001 21:46:59 +0000 (21:46 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Wed, 28 Nov 2001 21:46:59 +0000 (21:46 +0000)
commitf16e05e7ecdba12180a0e64de22190b617a639bb
tree0223d704b072a16acc87a6c105c4329a78d03050
parent5d3d134d560d24a9e6b9d65dd814542605c0b152
Use PyOS_snprintf() at some cost even though it was correct before.

seterror() uses a char array and a pointer to the current position in
that array.  Use snprintf() and compute the amount of space left in
the buffer based on the current pointer position.
Python/getargs.c