summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2005-03-02 07:46:36 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2005-03-02 07:46:36 +0000
commit6072203bdc05accb80a2e2cfedefd2bb4a3910ae (patch)
tree82ed10a7acd940660b1afc96cb14fb516e8953d3 /gnu/usr.bin
parente1daf3d4def1db357348b8737c704ec43905345c (diff)
get rid of an embedded compilation date in perl(1)
ok henning@, millert@
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/perl/perl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/perl.c b/gnu/usr.bin/perl/perl.c
index 4cc634746a4..6ad1902ffe6 100644
--- a/gnu/usr.bin/perl/perl.c
+++ b/gnu/usr.bin/perl/perl.c
@@ -1508,6 +1508,7 @@ S_parse_body(pTHX_ char **env, XSINIT_t xsinit)
}
#endif
Perl_sv_catpvf(aTHX_ PL_Sv,"\" Built under %s\\n\"",OSNAME);
+#ifndef __OpenBSD__
#ifdef __DATE__
# ifdef __TIME__
Perl_sv_catpvf(aTHX_ PL_Sv,",\" Compiled at %s %s\\n\"",__DATE__,__TIME__);
@@ -1515,6 +1516,7 @@ S_parse_body(pTHX_ char **env, XSINIT_t xsinit)
Perl_sv_catpvf(aTHX_ PL_Sv,",\" Compiled on %s\\n\"",__DATE__);
# endif
#endif
+#endif
sv_catpv(PL_Sv, "; \
$\"=\"\\n \"; \
@env = map { \"$_=\\\"$ENV{$_}\\\"\" } sort grep {/^PERL/} keys %ENV; ");