summaryrefslogtreecommitdiffstats
path: root/Python/getargs.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-11-28 21:44:53 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-11-28 21:44:53 (GMT)
commit5d3d134d560d24a9e6b9d65dd814542605c0b152 (patch)
tree2b0cb3e0c51937958e414d6814b9764838faf412 /Python/getargs.c
parent4b4ab20f2c07a0e555c0b982089448b5471f6521 (diff)
downloadcpython-5d3d134d560d24a9e6b9d65dd814542605c0b152.zip
cpython-5d3d134d560d24a9e6b9d65dd814542605c0b152.tar.gz
cpython-5d3d134d560d24a9e6b9d65dd814542605c0b152.tar.bz2
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.
Diffstat (limited to 'Python/getargs.c')
0 files changed, 0 insertions, 0 deletions