Change 32960 by [EMAIL PROTECTED] on 2008/01/11 18:03:18

        __DATE__ and __TIME__ are both string literals, so we can concatentate
        them, rather than formating them via %s.

Affected files ...

... //depot/perl/perl.c#848 edit

Differences ...

==== //depot/perl/perl.c#848 (text) ====
Index: perl/perl.c
--- perl/perl.c#847~32959~      2008-01-11 09:00:59.000000000 -0800
+++ perl/perl.c 2008-01-11 10:03:18.000000000 -0800
@@ -1880,12 +1880,10 @@
                                   "\"  Built under %s\\n",OSNAME);
 #ifdef __DATE__
 #  ifdef __TIME__
-                   Perl_sv_catpvf(aTHX_ opts_prog,
-                                  "  Compiled at %s %s\\n\"",__DATE__,
-                                  __TIME__);
+                   sv_catpvs(opts_prog,
+                             "  Compiled at " __DATE__ " " __TIME__ "\\n\"");
 #  else
-                   Perl_sv_catpvf(aTHX_ opts_prog,"  Compiled on %s\\n\"",
-                                  __DATE__);
+                   sv_catpvs(opts_prog, "  Compiled on " __DATE__ "\\n\"");
 #  endif
 #endif
                    sv_catpvs(opts_prog, "; $\"=\"\\n    \"; "
End of Patch.

Reply via email to