From eda232fdac4db6b8fc90d2492b133b8fda40e82f Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 22 Apr 1999 12:03:40 +0000 Subject: Allow longer strings (up to 80 chars each) for version, build, compiler info. --- Python/getversion.c | 4 ++-- 1 file 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; } -- cgit v0.12