diff Python/codecs.c @ 21092:53270d281bf0 legacy-trunk

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.
author Jeremy Hylton <jeremy@alum.mit.edu>
date Wed, 28 Nov 2001 21:46:59 +0000
parents 25ddd3dc7a7a
children 898304f6da23 416654e27d88
line wrap: on
line diff