]> granicus.if.org Git - python/commit
Fix strncpy warning with gcc 8 (#5840)
authorSiddhesh Poyarekar <siddhesh.poyarekar@gmail.com>
Tue, 6 Mar 2018 10:34:35 +0000 (16:04 +0530)
committerXiang Zhang <angwerzx@126.com>
Tue, 6 Mar 2018 10:34:35 +0000 (18:34 +0800)
commitefd2bac1564f8141a4eab1bf8779b412974b8d69
tree1315dffee21c21349dff1667ec9927e4380b7fa9
parentb9650a04a81355c8a7dcd0464c28febfb4bfc0a9
Fix strncpy warning with gcc 8 (#5840)

The length in strncpy is one char too short and as a result it leads
to a build warning with gcc 8.  Comment out the strncpy since the
interpreter aborts immediately after anyway.
Python/pystrtod.c