diff options
Diffstat (limited to 'Modules/getbuildinfo.c')
-rw-r--r-- | Modules/getbuildinfo.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/Modules/getbuildinfo.c b/Modules/getbuildinfo.c index f4bd14a..3bac1c5 100644 --- a/Modules/getbuildinfo.c +++ b/Modules/getbuildinfo.c @@ -31,22 +31,22 @@ const char * Py_GetBuildInfo(void) { - static char buildinfo[50]; - const char *revision = Py_SubversionRevision(); - const char *sep = *revision ? ":" : ""; - const char *branch = Py_SubversionShortBranch(); - PyOS_snprintf(buildinfo, sizeof(buildinfo), - "%s%s%s, %.20s, %.9s", branch, sep, revision, - DATE, TIME); - return buildinfo; + static char buildinfo[50]; + const char *revision = Py_SubversionRevision(); + const char *sep = *revision ? ":" : ""; + const char *branch = Py_SubversionShortBranch(); + PyOS_snprintf(buildinfo, sizeof(buildinfo), + "%s%s%s, %.20s, %.9s", branch, sep, revision, + DATE, TIME); + return buildinfo; } const char * _Py_svnversion(void) { - /* the following string can be modified by subwcrev.exe */ - static const char svnversion[] = SVNVERSION; - if (svnversion[0] != '$') - return svnversion; /* it was interpolated, or passed on command line */ - return "Unversioned directory"; + /* the following string can be modified by subwcrev.exe */ + static const char svnversion[] = SVNVERSION; + if (svnversion[0] != '$') + return svnversion; /* it was interpolated, or passed on command line */ + return "Unversioned directory"; } |