Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 21091:47f6533674fd legacy-trunk
Use PyOS_vsnprintf() and check its return value.
If it returns -1 (which indicates overflow on old Linux platforms and
perhaps on Windows) or size greater than buffer, write a message
indicating that the previous message was truncated.
| author | Jeremy Hylton <jeremy@alum.mit.edu> |
|---|---|
| date | Wed, 28 Nov 2001 21:44:53 +0000 |
| parents | 379fc66f4c96 |
| children | 45e1177424e1 |
comparison
equal
deleted
inserted
replaced
| 21090:5e25c669741c | 21091:47f6533674fd |
|---|
