diff options
| author | Guido van Rossum <guido@python.org> | 1999-04-22 12:03:40 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1999-04-22 12:03:40 +0000 |
| commit | 0aec0bf3524d866c9470fa1e760b9575cf0b3fa6 (patch) | |
| tree | 389166f91b0f5e7c9f8692559c41f10318a16681 /Python/getversion.c | |
| parent | 1a2d64f18b8fcda9dcb60d894d2c7a4af9df5766 (diff) | |
| download | cpython-0aec0bf3524d866c9470fa1e760b9575cf0b3fa6.tar.gz | |
Allow longer strings (up to 80 chars each) for version, build,
compiler info.
Diffstat (limited to 'Python/getversion.c')
| -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 9f57d6e5a6..49344ee023 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; } |
