diff options
author | Guido van Rossum <guido@python.org> | 1999-04-22 12:03:40 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-04-22 12:03:40 (GMT) |
commit | eda232fdac4db6b8fc90d2492b133b8fda40e82f (patch) | |
tree | 9e245e574a25afd7e7a771fd2e5bde419cc6fabd | |
parent | b9f1f6d90b161abf56d678da5ce62264ca562132 (diff) | |
download | cpython-eda232fdac4db6b8fc90d2492b133b8fda40e82f.zip cpython-eda232fdac4db6b8fc90d2492b133b8fda40e82f.tar.gz cpython-eda232fdac4db6b8fc90d2492b133b8fda40e82f.tar.bz2 |
Allow longer strings (up to 80 chars each) for version, build,
compiler info.
-rw-r--r-- | Python/getversion.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ 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; } |