Kaydet (Commit) eda232fd authored tarafından Guido van Rossum's avatar Guido van Rossum

Allow longer strings (up to 80 chars each) for version, build,

compiler info.
üst b9f1f6d9
......@@ -38,8 +38,8 @@ PERFORMANCE OF THIS SOFTWARE.
const char *
Py_GetVersion()
{
static char version[100];
sprintf(version, "%.10s (%.40s) %.40s", PY_VERSION,
static char version[250];
sprintf(version, "%.80s (%.80s) %.80s", PY_VERSION,
Py_GetBuildInfo(), Py_GetCompiler());
return version;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment