platform/upstream/perl.git
15 years agoMerge branch 'blead' into miniperl-make-ext
Steffen Mueller [Sun, 11 Jan 2009 16:31:56 +0000 (17:31 +0100)]
Merge branch 'blead' into miniperl-make-ext

15 years agoRemove make_patchnum.com (now using make_patchnum.pl)
Craig A. Berry [Sun, 11 Jan 2009 15:55:02 +0000 (09:55 -0600)]
Remove make_patchnum.com (now using make_patchnum.pl)

15 years agoMerge branch 'blead' into miniperl-make-ext
Steffen Mueller [Sun, 11 Jan 2009 14:48:21 +0000 (15:48 +0100)]
Merge branch 'blead' into miniperl-make-ext

15 years agoFile::Copy fixes for VMS follow-up
John Malmberg [Sat, 10 Jan 2009 18:40:40 +0000 (12:40 -0600)]
File::Copy fixes for VMS follow-up

Message-id: <4968EBA8.8090207@gmail.com>

The eval block needs to capture local $SIG{__DIE__} to prevent modules
with signal trapping from failing when VMS::Feature is not present.

15 years agovms setup_cmddsc buffer fixes.
John Malmberg [Sat, 10 Jan 2009 18:12:30 +0000 (12:12 -0600)]
vms setup_cmddsc buffer fixes.

Message-id: <4968E50E.6050601@gmail.com>

15 years agoRevision to thread context fixes from ebd4d70bfcb408fd33ee8841c43d30ca8408b19d
Craig A. Berry [Sat, 10 Jan 2009 17:17:58 +0000 (11:17 -0600)]
Revision to thread context fixes from ebd4d70bfcb408fd33ee8841c43d30ca8408b19d

15 years agominiperl-ification of ext/utils/make_ext
Steffen Mueller [Sat, 10 Jan 2009 18:34:57 +0000 (19:34 +0100)]
miniperl-ification of ext/utils/make_ext

15 years agoFix typo in pod/perldsc.pod
Abigail [Sat, 10 Jan 2009 17:47:14 +0000 (18:47 +0100)]
Fix typo in pod/perldsc.pod

15 years agomove ext/utils/make_ext to ext/utils/make_ext.pl
Steffen Mueller [Sat, 10 Jan 2009 16:06:22 +0000 (17:06 +0100)]
move ext/utils/make_ext to ext/utils/make_ext.pl

15 years agoTypo fix in pod/perldiag.pod
Abigail [Sat, 10 Jan 2009 11:15:05 +0000 (12:15 +0100)]
Typo fix in pod/perldiag.pod

15 years ago'VMS support for Unix and extended file specifications' (PathTools RT #42153)
John Malmberg [Fri, 9 Jan 2009 20:20:21 +0000 (21:20 +0100)]
'VMS support for Unix and extended file specifications' (PathTools RT #42153)

15 years agoMerge changes from PathTools: 'Update to support VMS in Unix compatible mode and...
John Malmberg [Fri, 9 Jan 2009 20:09:36 +0000 (21:09 +0100)]
Merge changes from PathTools: 'Update to support VMS in Unix compatible mode and/or file names using extended character sets' (PathTools RT #42154)

15 years agoBe consistent in writing deobfuscator
Abigail [Fri, 9 Jan 2009 19:01:06 +0000 (20:01 +0100)]
Be consistent in writing deobfuscator

15 years agoFix typo
Abigail [Fri, 9 Jan 2009 18:57:27 +0000 (19:57 +0100)]
Fix typo

15 years agoCapitalize "latin"
Abigail [Fri, 9 Jan 2009 18:38:15 +0000 (19:38 +0100)]
Capitalize "latin"

15 years agofake_localtime_r and fake_gmtime_r may need thread context.
Craig A. Berry [Fri, 9 Jan 2009 18:55:45 +0000 (12:55 -0600)]
fake_localtime_r and fake_gmtime_r may need thread context.

They definitely need it on VMS.

15 years agosimple_trnlnm needs an actual length as its last argument.
Craig A. Berry [Fri, 9 Jan 2009 18:51:31 +0000 (12:51 -0600)]
simple_trnlnm needs an actual length as its last argument.

Plus the length of sys$posix_root was miscalculated.

Plus an argument reversal when translating the TMP logical.

15 years agoTypo fix in pod/perl5110delta.pod
Abigail [Fri, 9 Jan 2009 18:01:10 +0000 (19:01 +0100)]
Typo fix in pod/perl5110delta.pod

15 years agoFix typo in pod/perltodo.pod
Abigail [Fri, 9 Jan 2009 16:38:06 +0000 (17:38 +0100)]
Fix typo in pod/perltodo.pod

15 years ago-Be consistent with kb/kB.
Abigail [Fri, 9 Jan 2009 16:15:13 +0000 (17:15 +0100)]
-Be consistent with kb/kB.
-Mention Abigail in last section.

15 years agoMerge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
Abigail [Fri, 9 Jan 2009 16:01:38 +0000 (17:01 +0100)]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead

15 years agoFixed some spelling errors
Abigail [Fri, 9 Jan 2009 16:00:37 +0000 (17:00 +0100)]
Fixed some spelling errors

15 years agoPrefer tabs over spaces in MANIFEST
Vincent Pit [Fri, 9 Jan 2009 15:45:06 +0000 (16:45 +0100)]
Prefer tabs over spaces in MANIFEST

15 years agoChange the link to the sort pragma to be more clear.
Abigail [Fri, 9 Jan 2009 13:09:24 +0000 (14:09 +0100)]
Change the link to the sort pragma to be more clear.
This fixes #62136, reported by rrt@sc3d.org.

15 years agovms.c backslash efs and long name fixes
John Malmberg [Thu, 8 Jan 2009 22:37:19 +0000 (16:37 -0600)]
vms.c backslash efs and long name fixes

Message-id: <496552AF.7040702@gmail.com>

This fixes the support for the backslash in a file name as it shows up
in the ExtUtils tests.

Also the flag for rename to work on efs file specifications was
incorrectly the bit number instead of the mask value.

15 years agoext/File/Gob/t/basic.t, ext/POSIX/t/posix.t vms fixes
John Malmberg [Sun, 4 Jan 2009 19:06:54 +0000 (13:06 -0600)]
ext/File/Gob/t/basic.t, ext/POSIX/t/posix.t vms fixes

Message-id: <496108CE.1060704@gmail.com>

The tests ext/File/Glob/t/basic.t and ext/POSIX/t/posix.t need to know
if VMS is in the UNIX compatible mode.

15 years agolib/blib.t, lib/h2xs.t patches for VMS
John Malmberg [Sun, 4 Jan 2009 19:13:45 +0000 (13:13 -0600)]
lib/blib.t, lib/h2xs.t patches for VMS

Message-id: <49610A69.3020908@gmail.com>

The tests lib/blib.t and lib/h2xs.t need fixes to know when VMS is in
the UNIX report mode.

15 years agomkppport using catfile for catdir
John Malmberg [Sun, 4 Jan 2009 18:45:11 +0000 (12:45 -0600)]
mkppport using catfile for catdir

Message-id: <496103B7.1000308@gmail.com>

15 years agot/op/chdir.t, t/op/defins.t on VMS
John Malmberg [Sun, 4 Jan 2009 18:58:03 +0000 (12:58 -0600)]
t/op/chdir.t, t/op/defins.t on VMS

Message-id: <496106BB.9020102@gmail.com>

The test t/op/chdir.t needs to expect that returned dir could be in
either case or in VMS or UNIX formst.

The test t/op/defins.t needs to know of VMS is dropping dots on
filenames when VMS is in the UNIX REPORT mode.

15 years agot/x2p/s2p.t fix for VMS in UNIX mode
John Malmberg [Sun, 4 Jan 2009 20:48:08 +0000 (14:48 -0600)]
t/x2p/s2p.t fix for VMS in UNIX mode

Message-id: <49612088.4010005@gmail.com>

When VMS is in UNIX mode, conversions from UNIX specifications to VMS
can result in a trailing '.' which needs to be removed if the intent is
to default the extension.

15 years agoFixed spelling of 'uncondtional', as reported by Ronald J Kimball
Abigail [Thu, 8 Jan 2009 16:31:17 +0000 (17:31 +0100)]
Fixed spelling of 'uncondtional', as reported by Ronald J Kimball
in 20090108160007.GA85010@penkwe.pair.com.

15 years agoMake File::Copy detect Unix compatibility mode on VMS.
John Malmberg [Sun, 4 Jan 2009 19:45:24 +0000 (13:45 -0600)]
Make File::Copy detect Unix compatibility mode on VMS.

Message-id: <496111D4.8030007@gmail.com>

This is needed as part of Perl support for VMS in UNIX or using the
extended character set.

Patch amended to only check for the VMS::Feature module on VMS.

15 years agoUse a slightly more paranoid regex
Rafael Garcia-Suarez [Wed, 7 Jan 2009 17:49:19 +0000 (18:49 +0100)]
Use a slightly more paranoid regex

15 years agosort MANIFEST
David Golden [Wed, 7 Jan 2009 20:48:43 +0000 (15:48 -0500)]
sort MANIFEST

15 years agoCPAN.pm on CPAN is considered upstream
Steffen Mueller [Wed, 7 Jan 2009 14:38:16 +0000 (15:38 +0100)]
CPAN.pm on CPAN is considered upstream

15 years agoVMS feature logical name fixes
John Malmberg [Wed, 7 Jan 2009 04:52:49 +0000 (22:52 -0600)]
VMS feature logical name fixes

15 years agoVMS thread context fixes
John Malmberg [Wed, 7 Jan 2009 04:21:17 +0000 (22:21 -0600)]
VMS thread context fixes

15 years agoMerge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
Abigail [Tue, 6 Jan 2009 23:04:31 +0000 (00:04 +0100)]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead

15 years agoAdd David Golden (DAGOLDEN) to AUTHORS
David Golden [Tue, 6 Jan 2009 22:45:37 +0000 (17:45 -0500)]
Add David Golden (DAGOLDEN) to AUTHORS

15 years agoMerge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
Abigail [Tue, 6 Jan 2009 16:51:08 +0000 (17:51 +0100)]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead

15 years agoUpdated the 'some statistics for the other subdirectories' to include
Abigail [Tue, 6 Jan 2009 16:49:16 +0000 (17:49 +0100)]
Updated the 'some statistics for the other subdirectories' to include
data for the 5.6.0 to 5.10.0 releases.

15 years agoAvoid wrapping long lines when displaying as man page
Abigail [Tue, 6 Jan 2009 16:13:03 +0000 (17:13 +0100)]
Avoid wrapping long lines when displaying as man page

15 years agoSync with Filter::Simple 0.84 which has a CPAN-relevant fix in the Makefile.PL only
Steffen Mueller [Tue, 6 Jan 2009 12:06:58 +0000 (13:06 +0100)]
Sync with Filter::Simple 0.84 which has a CPAN-relevant fix in the Makefile.PL only

15 years agoCalculated patch sizes for the modern era.
Abigail [Tue, 6 Jan 2009 15:07:05 +0000 (16:07 +0100)]
Calculated patch sizes for the modern era.

15 years agoUpdate data for 5.7.3 release
Abigail [Tue, 6 Jan 2009 14:31:35 +0000 (15:31 +0100)]
Update data for 5.7.3 release

15 years agoRemove duplicate entry
Abigail [Tue, 6 Jan 2009 13:45:46 +0000 (14:45 +0100)]
Remove duplicate entry

15 years agoAdded 21st century data to 'SELECTED RELEASE SIZES'
Abigail [Tue, 6 Jan 2009 12:03:31 +0000 (13:03 +0100)]
Added 21st century data to 'SELECTED RELEASE SIZES'

15 years agoRequire a space or a newline after a "#line XXX" directive
Rafael Garcia-Suarez [Mon, 5 Jan 2009 17:14:01 +0000 (18:14 +0100)]
Require a space or a newline after a "#line XXX" directive

This fixes bug [perl #59170] Typo: bad regex for #line directive in perlsyn.

15 years agoAdd a --checkout / -c flag to git-find-p4-change
Rafael Garcia-Suarez [Tue, 6 Jan 2009 08:59:35 +0000 (09:59 +0100)]
Add a --checkout / -c flag to git-find-p4-change

Remove the now obsolete switch_to_perforce_id.pl

15 years agoRemove a couple of p4-specific utilities
Rafael Garcia-Suarez [Tue, 6 Jan 2009 08:49:02 +0000 (09:49 +0100)]
Remove a couple of p4-specific utilities

15 years agoDelete the largely obsolete Porting/patching.pod
Rafael Garcia-Suarez [Tue, 6 Jan 2009 08:44:55 +0000 (09:44 +0100)]
Delete the largely obsolete Porting/patching.pod

(but move some good advice in there to the perlrepository man page)

15 years agoUse git instead of p4 for the --opened option of Porting/Maintainers
Rafael Garcia-Suarez [Tue, 6 Jan 2009 08:11:58 +0000 (09:11 +0100)]
Use git instead of p4 for the --opened option of Porting/Maintainers

15 years agoRemove notes about -v from perltodo
Rafael Garcia-Suarez [Tue, 6 Jan 2009 08:01:37 +0000 (09:01 +0100)]
Remove notes about -v from perltodo

15 years agoMove .bat gitignores with their unix counterparts
Rafael Garcia-Suarez [Tue, 6 Jan 2009 08:25:03 +0000 (09:25 +0100)]
Move .bat gitignores with their unix counterparts

Remove also redundant ignores for produced files in x2p

15 years agoMerge t/.gitignore in main git ignore file
Rafael Garcia-Suarez [Tue, 6 Jan 2009 08:20:19 +0000 (09:20 +0100)]
Merge t/.gitignore in main git ignore file

15 years agoOn VMS, run make_patchnum.pl, not make_patchnum.com
Craig A. Berry [Tue, 6 Jan 2009 04:36:55 +0000 (22:36 -0600)]
On VMS, run make_patchnum.pl, not make_patchnum.com

15 years agoAdd lib/CORE/ to .gitignore (needed on Windows)
Max Maischein [Mon, 5 Jan 2009 13:22:54 +0000 (14:22 +0100)]
Add lib/CORE/ to .gitignore (needed on Windows)

C:\Projekte\bleadperl-git\win32>dmake && git status
[...]
nothing to commit (working directory clean)
C:\Projekte\bleadperl-git\win32>

15 years agoUpdate AutoLoader to 5.68.
Steffen Mueller [Mon, 5 Jan 2009 16:04:48 +0000 (17:04 +0100)]
Update AutoLoader to 5.68.

Fixes by John Malmberg for running tests when VMS is a UNIX compatible mode.

15 years agoEmit less PERL_ARGS_ASSERT_* macros
Rafael Garcia-Suarez [Mon, 5 Jan 2009 13:36:12 +0000 (14:36 +0100)]
Emit less PERL_ARGS_ASSERT_* macros

15 years ago"rm -f" better in "make clean" targets
Rafael Garcia-Suarez [Mon, 5 Jan 2009 13:11:00 +0000 (14:11 +0100)]
"rm -f" better in "make clean" targets

It always succeeds and does not warn.

15 years agoUpgrade to Time::HiRes 1.9719
Rafael Garcia-Suarez [Mon, 5 Jan 2009 09:53:40 +0000 (10:53 +0100)]
Upgrade to Time::HiRes 1.9719

15 years agoBump two module versions after Haiku port
Rafael Garcia-Suarez [Mon, 5 Jan 2009 09:47:45 +0000 (10:47 +0100)]
Bump two module versions after Haiku port

CPANPLUS and Module::Build
(see df00ff3beeb297b9622f8acbed9c80d320c87580)

15 years agoAdjustments to POSIX for the Haiku port
Ingo Weinhold [Mon, 5 Jan 2009 09:29:56 +0000 (10:29 +0100)]
Adjustments to POSIX for the Haiku port

Message-Id: <20081029022544.413.1@knochen-vm.localdomain>

  I re-introduced the use of the WMUNGE() macro, which was
  (accidentally?) removed after 5.10.0. The macro is still a hack. As my
  added comment explains the use of the OS's W*() macros in this context
  is simply not correct and should probably better be fixed.

15 years agoUpdate copyright year to 2009.
Nicholas Clark [Mon, 5 Jan 2009 07:18:54 +0000 (07:18 +0000)]
Update copyright year to 2009.

15 years agoCorrect vim modeline
Rafael Garcia-Suarez [Mon, 5 Jan 2009 07:12:02 +0000 (08:12 +0100)]
Correct vim modeline

- ts=4 is evil
- use same settings as in everywhere else in the core sources

15 years agoTypo fix in stock PERL_PATCHNUM definition
Rafael Garcia-Suarez [Mon, 5 Jan 2009 07:06:16 +0000 (08:06 +0100)]
Typo fix in stock PERL_PATCHNUM definition

15 years agoUNKNOWN should not have been a bareword at e9be352
Craig A. Berry [Mon, 5 Jan 2009 04:47:45 +0000 (22:47 -0600)]
UNKNOWN should not have been a bareword at e9be352

15 years agoVMS posix exit fixes
John Malmberg [Sun, 4 Jan 2009 18:42:07 +0000 (12:42 -0600)]
VMS posix exit fixes

perl.h and perl.c need further fixes to get VMS to return the expected
POSIX exit codes when that is enabled.

This fix gets the correct numbers except for the SIGTERM case, which
will need some more work.

It also gets the posix exit code to set an error severity on a fatal
exit so that DCL and MMS/MMK or VMS native programs can easily detect a
script failure.

This patch does not address an issue in vms.c where the feature logicals
may not be correctly read.  That will follow in a future patch.

The tests have been adjusted to detect when VMS is in the POSIX exit
mode and perform properly.

-John
wb8tyw@gmail.com
--
My qsl.net e-mail address is temporarily out of order.

15 years agoMake time64.c's internal copy function names more readable and VMS-friendly.
Craig A. Berry [Mon, 5 Jan 2009 02:58:49 +0000 (20:58 -0600)]
Make time64.c's internal copy function names more readable and VMS-friendly.

15 years agoeliminate double stringification, the defines as done in git_version.h are already...
Yves Orton [Sun, 4 Jan 2009 23:45:02 +0000 (00:45 +0100)]
eliminate double stringification, the defines as done in git_version.h are already quoted

15 years agoadd better pod and headers, and clean up some whitespace issues in the previous patches
Yves Orton [Sun, 4 Jan 2009 22:55:58 +0000 (23:55 +0100)]
add better pod and headers, and clean up some whitespace issues in the previous patches

15 years agoeliminate make_patchnum.sh, and make the build process use make_patchnum.pl instead
Yves Orton [Sun, 4 Jan 2009 21:41:05 +0000 (22:41 +0100)]
eliminate make_patchnum.sh, and make the build process use make_patchnum.pl instead

15 years agothis seems to work, still not using the perl version, but this works the way it would
Yves Orton [Sun, 4 Jan 2009 18:12:53 +0000 (19:12 +0100)]
this seems to work, still not using the perl version, but this works the way it would

15 years agodoesnt quite work yet, but provisional steps towards using miniperl to do the git...
Yves Orton [Sun, 4 Jan 2009 16:39:25 +0000 (17:39 +0100)]
doesnt quite work yet, but provisional steps towards using miniperl to do the git stuff

15 years agoAdded stuff so that perl.exe now builds clean with regards to 'git status'
Max Maischein [Sun, 4 Jan 2009 15:23:16 +0000 (16:23 +0100)]
Added stuff so that perl.exe now builds clean with regards to 'git status'

15 years agoAdded config.w32 to win32/.gitignore
Max Maischein [Sun, 4 Jan 2009 14:57:07 +0000 (15:57 +0100)]
Added config.w32 to win32/.gitignore

15 years agoAdded win32/.gitignore to ignore stuff from the Windows build
Max Maischein [Sun, 4 Jan 2009 14:54:41 +0000 (15:54 +0100)]
Added win32/.gitignore to ignore stuff from the Windows build

15 years agoAdd more documentation to make_patchnum.pl
Max Maischein [Sat, 3 Jan 2009 19:32:20 +0000 (20:32 +0100)]
Add more documentation to make_patchnum.pl

15 years agoeliminate .patchnum and related infrastrcuture from *nix based build process
Yves Orton [Sun, 4 Jan 2009 15:48:27 +0000 (16:48 +0100)]
eliminate .patchnum and related infrastrcuture from *nix based build process

Rename the old "unpushed.h" to "git_version.h" and make it hold the defines that used to come from cflags magic

15 years agoMessage about making make_patchnum.pl Perl 5.005 compatible (A test for pushing)
Max Maischein [Sat, 3 Jan 2009 19:21:22 +0000 (20:21 +0100)]
Message about making make_patchnum.pl Perl 5.005 compatible (A test for pushing)

15 years agomove subs from bottom to top, and add a vim and shebang line
Yves Orton [Thu, 1 Jan 2009 17:19:33 +0000 (18:19 +0100)]
move subs from bottom to top, and add a vim and shebang line

15 years agovarious changes
Yves Orton [Thu, 1 Jan 2009 17:05:53 +0000 (18:05 +0100)]
various changes

15 years agoAlmost a literal conversion of make_patchnum.sh
Kenichi Ishigaki [Thu, 1 Jan 2009 16:41:06 +0000 (17:41 +0100)]
Almost a literal conversion of make_patchnum.sh

15 years agoprepare for refactoring to perl
Yves Orton [Thu, 1 Jan 2009 16:37:52 +0000 (17:37 +0100)]
prepare for refactoring to perl

15 years agomodified make_patchnum.sh script
Yves Orton [Thu, 1 Jan 2009 16:36:35 +0000 (17:36 +0100)]
modified make_patchnum.sh script

15 years agobump ExtUtils/MM.pm version number after change 34630 (add Haiku port)
David Mitchell [Sun, 4 Jan 2009 21:41:17 +0000 (21:41 +0000)]
bump ExtUtils/MM.pm version number after change 34630 (add Haiku port)

15 years agobump Errno version number after change 34630 (add Haiku port)
David Mitchell [Sun, 4 Jan 2009 20:54:56 +0000 (20:54 +0000)]
bump Errno version number after change 34630 (add Haiku port)

15 years agoAnother regexp failure with utf8-flagged string and byte-flagged pattern (reminder)
Slaven Rezic [Sun, 4 Jan 2009 16:28:33 +0000 (17:28 +0100)]
Another regexp failure with utf8-flagged string and byte-flagged pattern (reminder)

Date: 17 Nov 2007 16:29:29 +0100
Message-ID: <87r6iohova.fsf@biokovo-amd64.herceg.de>

15 years agomake Dumper.xs work with 5.10.x
David Mitchell [Sun, 4 Jan 2009 00:19:00 +0000 (00:19 +0000)]
make Dumper.xs work with 5.10.x

15 years agoRemove duplicate return in S_mro_get_linear_isa_c3() accidentally added by
Nicholas Clark [Sat, 3 Jan 2009 18:06:25 +0000 (18:06 +0000)]
Remove duplicate return in S_mro_get_linear_isa_c3() accidentally added by
fa60396f123333e92849ecaecffb9252458d6678

15 years agoMerge branch 'blead' of camel:/gitroot/perl into blead
Rafael Garcia-Suarez [Sat, 3 Jan 2009 18:12:18 +0000 (19:12 +0100)]
Merge branch 'blead' of camel:/gitroot/perl into blead

15 years agoChanging get_isa_hash() to static means that it needs to be wrapped in
Nicholas Clark [Sat, 3 Jan 2009 18:04:17 +0000 (18:04 +0000)]
Changing get_isa_hash() to static means that it needs to be wrapped in
an #if defined(PERL_IN_UNIVERSAL_C).

15 years agoMerge branch 'schwern/y2038' into blead
Rafael Garcia-Suarez [Sat, 3 Jan 2009 17:55:29 +0000 (18:55 +0100)]
Merge branch 'schwern/y2038' into blead

Conflicts:

lib/Time/Local.pm
lib/Time/Local.t
reentr.h

15 years agoUpdate from y2038
Michael G. Schwern [Tue, 7 Oct 2008 20:17:10 +0000 (16:17 -0400)]
Update from y2038

Fix trailing #endif.

Remove C99 macro.

15 years agoApply bleadperl@34470 by hand while waiting for the git master to catch up.
Michael G. Schwern [Tue, 7 Oct 2008 13:20:46 +0000 (09:20 -0400)]
Apply bleadperl@34470 by hand while waiting for the git master to catch up.

15 years agoTurn quads on in the VC configurations.
Michael G. Schwern [Sat, 4 Oct 2008 22:47:50 +0000 (18:47 -0400)]
Turn quads on in the VC configurations.

15 years agoUpdate from y2038.
Michael G. Schwern [Sat, 4 Oct 2008 22:24:54 +0000 (18:24 -0400)]
Update from y2038.

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.

15 years agoUpdate from y2038
Michael G. Schwern [Sat, 4 Oct 2008 19:12:50 +0000 (15:12 -0400)]
Update from y2038

Configuration information split out into its own header.

Added files to MANIFEST

Turn off USE_SYSTEM_GMTIME, ours is more reliable and possibly faster.

Fix type warnings found on Windows.

Remove unnecessary use of floor() and ceil().

15 years agoFix gmtime() and localtime() so they can pop times larger than 2**55 off the stack...
Michael G. Schwern [Fri, 3 Oct 2008 20:05:10 +0000 (16:05 -0400)]
Fix gmtime() and localtime() so they can pop times larger than 2**55 off the stack. Neither POPn nor SvNVx work when casted to (Time64_T). Had to use a double and then cast.

Also POPq uses an SvIV so that's no good.

This causes an unfortunate loss in accuracy near 2**63 up to 8 minutes.

%lld is broken, it uses regular integers.  Need to use doubles and %.0f
instead, again losing accuracy.

Now things can go out to 2**63-512.

15 years agoWe are no longer bound by the limits of the tm struct.
Michael G. Schwern [Fri, 3 Oct 2008 20:04:53 +0000 (16:04 -0400)]
We are no longer bound by the limits of the tm struct.