diff Python/getversion.c @ 10668:8c6ffe670963 legacy-trunk

Allow longer strings (up to 80 chars each) for version, build, compiler info.
author Guido van Rossum <guido@python.org>
date Thu, 22 Apr 1999 12:03:40 +0000
parents 8efa37a770c6
children 916fb024ce94
line wrap: on
line diff
--- a/Python/getversion.c	Wed Apr 21 21:43:17 1999 +0000
+++ b/Python/getversion.c	Thu Apr 22 12:03:40 1999 +0000
@@ -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;
 }