Staging
v0.5.1
https://github.com/python/cpython
Revision 3707bcf02b7574448d7137935995146f6e8ea810 authored by Victor Stinner on 26 September 2018, 14:44:45 UTC, committed by GitHub on 26 September 2018, 14:44:45 UTC
Fix the following warning:

Python/pystrtod.c: In function 'format_float_short':
Python/pystrtod.c:1007:13: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
             strncpy(p, "ERR", 3);

(cherry picked from commit 9fb84157595a385f15799e5d0729c1e1b0ba9d38)
1 parent d45a961
History
Tip revision: 3707bcf02b7574448d7137935995146f6e8ea810 authored by Victor Stinner on 26 September 2018, 14:44:45 UTC
Drop confusing commented out code in pystrtod.c (GH-6072) (GH-9587)
Tip revision: 3707bcf
File Mode Size
clinic.py -rwxr-xr-x 148.6 KB
clinic_test.py -rw-r--r-- 20.3 KB
cpp.py -rw-r--r-- 5.8 KB

back to top