diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-02-16 21:16:21 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-02-16 21:17:55 +0000 |
commit | e8e3635e321a3d3ac3b355d31c5d04e1a479615f (patch) | |
tree | f471ad7e1f95487127bfab4307c57d7eb55b76e6 /perl.c | |
parent | eb3b8c7b72e00b81a8275631f24b2ce779cfa8f0 (diff) | |
download | perl-e8e3635e321a3d3ac3b355d31c5d04e1a479615f.tar.gz |
Replace *printf "%d.%d.%d", PERL_REVISION, PERL_VERSION, PERL_SUBVERSION
with PERL_VERSION_STRING, which can be determined at compile time, as a
constant string.
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -347,8 +347,7 @@ perl_construct(pTHXx) PL_stashcache = newHV(); - PL_patchlevel = Perl_newSVpvf(aTHX_ "v%d.%d.%d", (int)PERL_REVISION, - (int)PERL_VERSION, (int)PERL_SUBVERSION); + PL_patchlevel = newSVpvs("v" PERL_VERSION_STRING); #ifdef HAS_MMAP if (!PL_mmap_page_size) { |