https://github.com/python/cpython
Revision 911231e70843fb255fc395473e668361532e00a6 authored by Victor Stinner on 26 September 2018, 15:18:23 UTC, committed by GitHub on 26 September 2018, 15:18:23 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 65fa126
History
Tip revision: 911231e70843fb255fc395473e668361532e00a6 authored by Victor Stinner on 26 September 2018, 15:18:23 UTC
Drop confusing commented out code in pystrtod.c (GH-6072) (GH-9588)
Tip revision: 911231e
File Mode Size
.github
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.bzrignore -rw-r--r-- 552 bytes
.gitattributes -rw-r--r-- 809 bytes
.gitignore -rw-r--r-- 1.2 KB
.travis.yml -rw-r--r-- 3.8 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 48.1 KB
README -rw-r--r-- 54.4 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.2 KB
config.sub -rwxr-xr-x 35.7 KB
configure -rwxr-xr-x 439.1 KB
configure.ac -rw-r--r-- 142.7 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 35.0 KB
setup.py -rw-r--r-- 98.2 KB

README

back to top