| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Having to count tests is annoying for maintainers.
Also, manually updating count tests is problematic when multiple people
are working on the same code; it causes merge conflicts and recounts.
done_testing() is available since Test::More 0.88 which was released in
2009.
This commit changes all tests under lib/ that use Test::More and were
planning the number of tests.
Michiel Beijen is now a Perl author
|
|
|
|
|
|
|
|
| |
Using vars pragma is discouraged and has been superseded by 'our' declarations
available in Perl v5.6.0 or later.
This commit is about replacing the usage of 'vars' pragma
by 'our' in 'lib' directory.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise gmtime(2**66) will cause a very, very, very long loop and
DOS Perl.
Add a test that very, very large times don't send gmtime and localtime into a loop
Had to fix some revealed mistakes in op/time.t when warnings were turned on.
Fix Time::gmtime and Time::localtime tests to match the new limits of gm/localtime.
|
| |
|
|
|
|
| |
timelocal.pl simply uses Time::Local. No point in testing that.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
lib/Time/Local.pm
lib/Time/Local.t
reentr.h
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add trace code.
Fix implied negative time in localtie64_r(). This fixes Windows.
Put in some more tests around small negative and positive times to
try and catch the above.
Explain the loss of accuracy due to use of doubles in perlport.
|
| |
| |
| |
| | |
skips from the tests.
|
| |
| |
| |
| |
| |
| | |
Use the new LOCALTIME_MIN/MAX constants.
Use the system gmtime, it'll probably be faster... maybe.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
2038.
I'm a little nervous about assuming negative times are going to work with
localtime(), but gmtime() is safe.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
http://y2038.googlecode.com/ so Perl is no longer subject to the y2038 bug.
Use Quad_t for our 64 bit time_t replacement.
Temporarily through out the "broken localtime work around". That will
have to be integrated into localtime64_r().
Fix Time::Local to handle the new expanded date range. "use integer" had
to go as it pegged scalars to 32 bit integers which aren't large enough
to hold the new time range.
There are probably portability issues. timegm, for example, is not portable.
Also the assumption that "long" is 64 bits is probably wrong.
|
|/
|
| |
p4raw-id: //depot/perl@34699
|
|
|
|
|
|
| |
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <044301c84334$c6aa2960$53fe7c20$@com>
p4raw-id: //depot/perl@32728
|
|
|
|
|
| |
Message-ID: <alpine.DEB.0.9999.0710311225010.19396@urth.org>
p4raw-id: //depot/perl@32211
|
|
|
| |
p4raw-id: //depot/perl@29994
|
|
|
| |
p4raw-id: //depot/perl@29940
|
|
|
| |
p4raw-id: //depot/perl@29937
|
|
|
| |
p4raw-id: //depot/perl@29936
|
|
|
|
|
| |
Message-ID: <Pine.LNX.4.64.0701220945040.28849@urth.org>
p4raw-id: //depot/perl@29931
|
|
|
|
|
| |
Message-ID: <20061214023222.GA29084@powdermilk.math.berkeley.edu>
p4raw-id: //depot/perl@29578
|
|
|
|
|
| |
Message-ID: <Pine.LNX.4.64.0608090422450.8735@urth.org>
p4raw-id: //depot/perl@28683
|
|
|
|
|
|
|
|
| |
From: Alexandr Ciornii (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-25412-1153313196-897.39876-75-0@perl.org>
Pod fixes for Time::gmtime.pm
p4raw-id: //depot/perl@28600
|
|
|
| |
p4raw-id: //depot/perl@27642
|
|
|
| |
p4raw-id: //depot/perl@27581
|
|
|
|
|
|
|
| |
Message-ID: <Pine.LNX.4.61.0508161120520.26270@urth.org>
An improvement on change 25287 from Dave Rolsky
p4raw-id: //depot/perl@25300
|
|
|
|
|
|
| |
See comments at:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-08/msg00115.html
p4raw-id: //depot/perl@25287
|
|
|
|
|
|
| |
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <426AD980.2010801@mac.com>
p4raw-id: //depot/perl@24310
|
|
|
| |
p4raw-id: //depot/perl@23956
|
|
|
| |
p4raw-id: //depot/perl@22908
|
|
|
|
|
|
| |
Corrected a wrap error from the CPAN version to match #22670
Tested on AIX to make sure the skip is still needed
p4raw-id: //depot/perl@22671
|
|
|
|
|
|
| |
AIX-4.3 since the OS is obsoleted, and fixes are not to
be expected
p4raw-id: //depot/perl@22670
|
|
|
| |
p4raw-id: //depot/perl@21935
|
|
|
|
|
| |
Message-ID: <Pine.LNX.4.56.0307031435270.29915@urth.org>
p4raw-id: //depot/perl@19966
|
|
|
| |
p4raw-id: //depot/perl@19702
|
|
|
|
|
|
|
|
|
| |
Message-ID: <20030101214324.F12907@fdgroup.com>
(integrated from change #18397 in maint-5.8)
p4raw-link: @18397 on //depot/maint-5.8/perl: 7bc6bea4535085425366718a732073dd9f13e3fc
p4raw-id: //depot/perl@18497
p4raw-integrated: from //depot/maint-5.8/perl@18496 'copy in'
lib/Time/Local.pm lib/Time/Local.t (@17645..)
|
|
|
|
|
|
|
|
|
|
| |
Time::Local compatibility patches, from Graham
MacPerl require() portability patches
p4raw-link: @16199 on //depot/macperl: 029195cc16ed49b9d6f99746bf12dad919bcab76
p4raw-id: //depot/perl@16204
p4raw-integrated: from //depot/macperl@16203 'copy in'
lib/Time/Local.pm (@16123..) 'merge in' pp_ctl.c (@16123..)
|
|
|
|
|
| |
Message-Id: <200203281322.IAA15632@mailhub1.stratus.com>
p4raw-id: //depot/perl@15583
|
|
|
|
|
| |
Message-Id: <20020219230847.G66560@pobox.com>
p4raw-id: //depot/perl@14777
|
|
|
|
|
| |
for timegm instead of progressive guessing
p4raw-id: //depot/perl@14345
|
|
|
|
|
| |
Message-Id: <200201190349.WAA28294@mailhub2.stratus.com>
p4raw-id: //depot/perl@14342
|
|
|
|
|
| |
to be too much for many platforms.
p4raw-id: //depot/perl@14334
|
|
|
|
|
|
| |
Subject: [PATCH] Improving lib/Time/Local.t
Message-Id: <200201180335.WAA08768@mailhub2.stratus.com>
p4raw-id: //depot/perl@14327
|
|
|
|
|
| |
Message-Id: <20010921123440.A148500@linguist.thayer.dartmouth.edu>
p4raw-id: //depot/perl@12113
|
|
|
| |
p4raw-id: //depot/perl@12049
|
|
|
| |
p4raw-id: //depot/perl@12041
|
|
|
|
|
| |
Message-ID: <20010902065001.A21529@staff1.cso.uiuc.edu>
p4raw-id: //depot/perl@11827
|