summaryrefslogtreecommitdiffstats
path: root/RISCOS
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-12-01 16:00:10 (GMT)
committerGuido van Rossum <guido@python.org>2001-12-01 16:00:10 (GMT)
commit64be0b4aa5094d3a1a85eba20fcc9b7fca3289a9 (patch)
tree77910b693a9208b12fd52b2e3dca686a02ee2827 /RISCOS
parent82285dad8e107af5e89ea49ff784978170816a84 (diff)
downloadcpython-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 'RISCOS')
0 files changed, 0 insertions, 0 deletions