commit | eda232fdac4db6b8fc90d2492b133b8fda40e82f | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Apr 22 12:03:40 1999 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Apr 22 12:03:40 1999 +0000 |
tree | 9e245e574a25afd7e7a771fd2e5bde419cc6fabd | |
parent | b9f1f6d90b161abf56d678da5ce62264ca562132 [diff] [blame] |
Allow longer strings (up to 80 chars each) for version, build, compiler info.
diff --git a/Python/getversion.c b/Python/getversion.c index 9f57d6e..49344ee 100644 --- a/Python/getversion.c +++ b/Python/getversion.c
@@ -38,8 +38,8 @@ 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; }