diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-03-12 15:12:29 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-03-12 15:12:29 +0000 |
commit | a91233bf4cf6a12df8935c3530a6ca900ca6ca2f (patch) | |
tree | e5f01c7cceef33abc4084882f26795e16f0e1696 /pp_ctl.c | |
parent | 3984a8a147dd40f6d585876c73b55c08e683b0fb (diff) | |
download | perl-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.c | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -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); } |