A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/python/cpython/commit/efd2bac1564f8141a4eab1bf8779b412974b8d69 below:

Fix strncpy warning with gcc 8 (#5840) · python/cpython@efd2bac · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed Original file line number Diff line number Diff line change

@@ -1060,8 +1060,8 @@ format_float_short(double d, char format_code,

1060 1060

else {

1061 1061

/* shouldn't get here: Gay's code should always return

1062 1062

something starting with a digit, an 'I', or 'N' */

1063 -

strncpy(p, "ERR", 3);

1064 -

/* p += 3; */

1063 +

/* strncpy(p, "ERR", 3);

1064 +

p += 3; */

1065 1065

Py_UNREACHABLE();

1066 1066

}

1067 1067

goto exit;

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4