summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-03-12 15:12:29 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-03-12 15:12:29 +0000
commita91233bf4cf6a12df8935c3530a6ca900ca6ca2f (patch)
treee5f01c7cceef33abc4084882f26795e16f0e1696 /pp_ctl.c
parent3984a8a147dd40f6d585876c73b55c08e683b0fb (diff)
downloadperl-a91233bf4cf6a12df8935c3530a6ca900ca6ca2f.tar.gz
Load .pmc always, even if they are older than a matching .pm file.
(This trick is going to be used by pugs.) p4raw-id: //depot/perl@27483
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 7ff4858bfe..fcc6220678 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -3037,15 +3037,7 @@ S_doopen_pm(pTHX_ const char *name, const char *mode)
fp = check_type_and_open(name, mode);
}
else {
- Stat_t pmstat;
- if (PerlLIO_stat(name, &pmstat) < 0 ||
- pmstat.st_mtime < pmcstat.st_mtime)
- {
- fp = check_type_and_open(pmc, mode);
- }
- else {
- fp = check_type_and_open(name, mode);
- }
+ fp = check_type_and_open(pmc, mode);
}
SvREFCNT_dec(pmcsv);
}