diff options
| author | Guido van Rossum <guido@python.org> | 2001-12-01 16:00:10 (GMT) |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2001-12-01 16:00:10 (GMT) |
| commit | 64be0b4aa5094d3a1a85eba20fcc9b7fca3289a9 (patch) | |
| tree | 77910b693a9208b12fd52b2e3dca686a02ee2827 /Include/pyerrors.h | |
| parent | 82285dad8e107af5e89ea49ff784978170816a84 (diff) | |
| download | cpython-64be0b4aa5094d3a1a85eba20fcc9b7fca3289a9.zip cpython-64be0b4aa5094d3a1a85eba20fcc9b7fca3289a9.tar.gz cpython-64be0b4aa5094d3a1a85eba20fcc9b7fca3289a9.tar.bz2 | |
When the number of bytes written to the malloc'ed buffer is larger
than the argument string size, copy as many bytes as will fit
(including a terminating '\0'), rather than not copying anything.
This to make it satisfy the C99 spec.
Diffstat (limited to 'Include/pyerrors.h')
0 files changed, 0 insertions, 0 deletions
