platform/upstream/perl.git
13 years agoperluniprops: AHex and PosixXDigit are identical
Karl Williamson [Sun, 24 Apr 2011 15:46:18 +0000 (09:46 -0600)]
perluniprops: AHex and PosixXDigit are identical

13 years agocharnames: pod nit
Karl Williamson [Sun, 24 Apr 2011 15:35:43 +0000 (09:35 -0600)]
charnames: pod nit

13 years agoperlfunc: Refer to if.pm from "use"
Karl Williamson [Sun, 24 Apr 2011 15:33:59 +0000 (09:33 -0600)]
perlfunc: Refer to if.pm from "use"

13 years agoregcomp.c: change comment wording, from TomC
Karl Williamson [Tue, 3 May 2011 22:40:29 +0000 (16:40 -0600)]
regcomp.c: change comment wording, from TomC

13 years agoperlxs: Fix pod errors
Karl Williamson [Thu, 28 Apr 2011 19:17:53 +0000 (13:17 -0600)]
perlxs: Fix pod errors

13 years agoperlunicode: Fix pod error
Karl Williamson [Thu, 28 Apr 2011 19:17:26 +0000 (13:17 -0600)]
perlunicode: Fix pod error

13 years agoperlport: Fix pod errors
Karl Williamson [Thu, 28 Apr 2011 19:17:01 +0000 (13:17 -0600)]
perlport: Fix pod errors

13 years agopod/perlfaq2: Fix pod errors
Karl Williamson [Thu, 28 Apr 2011 19:16:23 +0000 (13:16 -0600)]
pod/perlfaq2: Fix pod errors

13 years agohandy.h: Link moved to perlhacktips
Karl Williamson [Thu, 28 Apr 2011 19:15:21 +0000 (13:15 -0600)]
handy.h: Link moved to perlhacktips

13 years agoREADME.os2: Fix pod errors
Karl Williamson [Thu, 28 Apr 2011 19:14:47 +0000 (13:14 -0600)]
README.os2: Fix pod errors

13 years agopod/perlinterp.pod: Fix broken link
Karl Williamson [Wed, 27 Apr 2011 23:13:55 +0000 (17:13 -0600)]
pod/perlinterp.pod: Fix broken link

13 years agoext/Devel-Peek/Peek.pm: Fix broken links
Karl Williamson [Wed, 27 Apr 2011 23:13:16 +0000 (17:13 -0600)]
ext/Devel-Peek/Peek.pm: Fix broken links

13 years agodist/Cwd/lib/File/Spec/Win32.pm: Fix broken link
Karl Williamson [Wed, 27 Apr 2011 23:11:49 +0000 (17:11 -0600)]
dist/Cwd/lib/File/Spec/Win32.pm: Fix broken link

13 years agoversion/Internals.pod: Fix broken links
Karl Williamson [Wed, 27 Apr 2011 22:46:13 +0000 (16:46 -0600)]
version/Internals.pod: Fix broken links

13 years agoREADME.os2: fix broken link
Karl Williamson [Wed, 27 Apr 2011 22:44:14 +0000 (16:44 -0600)]
README.os2: fix broken link

13 years agoFieldHash.pm: Fix broken links
Karl Williamson [Tue, 26 Apr 2011 22:23:27 +0000 (16:23 -0600)]
FieldHash.pm: Fix broken links

13 years agoperlsyn: fix broken link to this
Karl Williamson [Tue, 26 Apr 2011 22:15:02 +0000 (16:15 -0600)]
perlsyn: fix broken link to this

The X<> have spaces between them which was causing the =head to
generate a different anchor than expected

13 years agoperlop.pod: Fix broken link
Karl Williamson [Tue, 26 Apr 2011 22:13:37 +0000 (16:13 -0600)]
perlop.pod: Fix broken link

The reason there are links broken to this is that the X<>
were part of the heading, and the spaces between them are
significant

13 years agoperlfaq4: Fix broken link
Karl Williamson [Tue, 26 Apr 2011 22:13:16 +0000 (16:13 -0600)]
perlfaq4: Fix broken link

13 years agoperlxs: Fix broken link
Karl Williamson [Tue, 26 Apr 2011 22:12:11 +0000 (16:12 -0600)]
perlxs: Fix broken link

13 years agoperlthrtut: fix broken links
Karl Williamson [Tue, 26 Apr 2011 22:11:17 +0000 (16:11 -0600)]
perlthrtut: fix broken links

13 years agoperlhack: Fix broken link
Karl Williamson [Tue, 26 Apr 2011 22:09:51 +0000 (16:09 -0600)]
perlhack: Fix broken link

13 years agoperlguts: Fix broken link
Karl Williamson [Tue, 26 Apr 2011 22:01:56 +0000 (16:01 -0600)]
perlguts: Fix broken link

13 years agoREADME.os2: Fix broken links
Karl Williamson [Tue, 26 Apr 2011 18:58:36 +0000 (12:58 -0600)]
README.os2: Fix broken links

13 years agoInternals.pod: Fix broken link
Karl Williamson [Tue, 26 Apr 2011 18:53:39 +0000 (12:53 -0600)]
Internals.pod: Fix broken link

13 years agooverload.pm: Fix broken link
Karl Williamson [Tue, 26 Apr 2011 17:12:27 +0000 (11:12 -0600)]
overload.pm: Fix broken link

13 years agoperlform: Revise link
Karl Williamson [Tue, 26 Apr 2011 17:08:12 +0000 (11:08 -0600)]
perlform: Revise link

The link doesn't have to be to the exact text, can just name the function,
and doing so is clearer.

13 years agoconfigpm: Fix broken links
Karl Williamson [Tue, 26 Apr 2011 16:00:52 +0000 (10:00 -0600)]
configpm: Fix broken links

13 years agoperlsub.pod: Fix broken link
Karl Williamson [Tue, 26 Apr 2011 15:55:43 +0000 (09:55 -0600)]
perlsub.pod: Fix broken link

13 years agoperlguts: Link to internal doesn't need pod name
Karl Williamson [Tue, 26 Apr 2011 15:55:15 +0000 (09:55 -0600)]
perlguts: Link to internal doesn't need pod name

13 years agoperlfaq9: Add links to man pages
Karl Williamson [Tue, 26 Apr 2011 15:53:51 +0000 (09:53 -0600)]
perlfaq9: Add links to man pages

13 years agoperlfaq8: Add links to man pages
Karl Williamson [Tue, 26 Apr 2011 15:53:35 +0000 (09:53 -0600)]
perlfaq8: Add links to man pages

13 years agoperlebcdic.pod: Add man page section number to link
Karl Williamson [Tue, 26 Apr 2011 15:51:00 +0000 (09:51 -0600)]
perlebcdic.pod: Add man page section number to link

13 years agoperldata.pod: Fix broken link
Karl Williamson [Tue, 26 Apr 2011 15:50:29 +0000 (09:50 -0600)]
perldata.pod: Fix broken link

13 years agomathoms.c: pod: fix broken link
Karl Williamson [Tue, 26 Apr 2011 15:48:27 +0000 (09:48 -0600)]
mathoms.c: pod: fix broken link

13 years agovmsish.pm: Fix broken link
Karl Williamson [Tue, 26 Apr 2011 15:47:33 +0000 (09:47 -0600)]
vmsish.pm: Fix broken link

13 years agoAttribute-Handlers: Fix broken link
Karl Williamson [Tue, 26 Apr 2011 15:45:30 +0000 (09:45 -0600)]
Attribute-Handlers: Fix broken link

13 years agoREADME.cygwin: Fix broken link
Karl Williamson [Tue, 26 Apr 2011 15:44:00 +0000 (09:44 -0600)]
README.cygwin: Fix broken link

13 years agoInternals.pod: Fix broken links
Karl Williamson [Tue, 26 Apr 2011 15:39:48 +0000 (09:39 -0600)]
Internals.pod: Fix broken links

13 years agoREADME.os2: Fix broken links
Karl Williamson [Tue, 26 Apr 2011 15:37:12 +0000 (09:37 -0600)]
README.os2: Fix broken links

13 years agoperlglossary: Fix broken links
Karl Williamson [Tue, 26 Apr 2011 15:34:46 +0000 (09:34 -0600)]
perlglossary: Fix broken links

13 years agocop.h: pod: Fix broken links
Karl Williamson [Tue, 26 Apr 2011 15:31:51 +0000 (09:31 -0600)]
cop.h: pod: Fix broken links

13 years agoINSTALL: Change name so links to it aren't broken
Karl Williamson [Tue, 26 Apr 2011 15:27:18 +0000 (09:27 -0600)]
INSTALL: Change name so links to it aren't broken

13 years agoPOSIX.pod: fix broken link
Karl Williamson [Tue, 26 Apr 2011 15:17:22 +0000 (09:17 -0600)]
POSIX.pod: fix broken link

13 years agoFix broken link
Karl Williamson [Tue, 26 Apr 2011 15:12:28 +0000 (09:12 -0600)]
Fix broken link

13 years agothreads-shared: Fix broken link
Karl Williamson [Tue, 26 Apr 2011 15:06:23 +0000 (09:06 -0600)]
threads-shared: Fix broken link

13 years agoperlxstut: Correct NAME
Karl Williamson [Tue, 26 Apr 2011 14:54:25 +0000 (08:54 -0600)]
perlxstut: Correct NAME

13 years agobase.pm: pod: Remove obsolete references
Karl Williamson [Tue, 26 Apr 2011 14:48:25 +0000 (08:48 -0600)]
base.pm: pod: Remove obsolete references

13 years agoINSTALL: broken link
Karl Williamson [Mon, 25 Apr 2011 16:49:31 +0000 (10:49 -0600)]
INSTALL: broken link

13 years agoAssertion fails in multi-char regex match
Karl Williamson [Fri, 13 May 2011 14:35:23 +0000 (08:35 -0600)]
Assertion fails in multi-char regex match

In '"s\N{U+DF}" =~ /\x{00DF}/i, the LHS folds to 'sss', the RHS to 'ss'.
The bug occurs when the RHS tries to match the first two es's, but that
splits the LHS \xDF character, which Perl doesn't know how to handle,
and the assertion got triggered.  (This is similar to [perl #72998].)

The solution adopted here is to disallow a partial character match,
as #72998 did as well.

13 years agorelease_managers_guide: feedback from 5.15.0 bump
David Mitchell [Wed, 18 May 2011 15:45:49 +0000 (16:45 +0100)]
release_managers_guide: feedback from 5.15.0 bump

The version bump from 5.14.0 to 5.15.0 didn't go at all smoothly.
Update release_managers_guide based on that experience.

Basically there were a couple of catch-22 situations with auto-generated
files; namely uconfig.h and the pod/perl5150delta.pod link.

Also, I've split the 'bump bleed to 5.15' and 'make maint-5.14 branch'
instructions into two separate sections.

13 years agobuildtoc - fix a bug and add some comments
David Mitchell [Wed, 18 May 2011 15:43:50 +0000 (16:43 +0100)]
buildtoc - fix a bug and add some comments

while(readdir) doesn't auto-assign to $_

Also, make the informative output clear that its telling you like of files
it will be processing, rather than that its actually processing it now.

13 years agoBump the perl version in various places for 5.15.0
David Mitchell [Wed, 18 May 2011 15:37:58 +0000 (16:37 +0100)]
Bump the perl version in various places for 5.15.0

13 years agoupdate TOC for perl5150delta
David Mitchell [Wed, 18 May 2011 14:59:00 +0000 (15:59 +0100)]
update TOC for perl5150delta

13 years agocreate perldelta for 5.15.0
David Mitchell [Wed, 18 May 2011 14:55:48 +0000 (15:55 +0100)]
create perldelta for 5.15.0

13 years agoAmend the readline()+signals caveat
Josh ben Jore [Tue, 10 May 2011 16:47:16 +0000 (09:47 -0700)]
Amend the readline()+signals caveat

13 years agoRemove RC3 marker.
Jesse Vincent [Sat, 14 May 2011 18:18:53 +0000 (14:18 -0400)]
Remove RC3 marker.

13 years agoMake ‘require func()’ work with .pm abs path
Father Chrysostomos [Wed, 11 May 2011 13:27:08 +0000 (09:27 -0400)]
Make ‘require func()’ work with .pm abs path

As of commit 282b29ee485, pp_requires passes an SV to S_doopen_pm,
instead of char*/length pair.

That commit also used sv_mortalcopy() to copy the sv when trying out a
.pmc extension:
+ SV *const pmcsv = sv_mortalcopy(name);

When the path is absolute, the sv passed to S_doopen_pm is the very sv
that was passed to require. If it was returned from a (non-lvalue)
sub-routine, it will be marked TEMP, so the buffer gets stolen.

After the .pmc file is discovered to be nonexistent, S_doopen_pm then
uses its original sv to open the .pm file. But the buffer has been
stolen, so it’s trying to open undef, which fais.

In the mean time, pp_require still has a pointer to the stolen buffer,
which now has a .pmc extenion, it blithely reports that the .pmc file
cannot be found, not realising that its string has changed out from
under it. (Actually, if the file name were just the right length, it
could be reallocated and we could end up with a crash.)

This patch copies the sv more kindly.

13 years agoRC3 bump
Jesse Vincent [Wed, 11 May 2011 13:26:58 +0000 (09:26 -0400)]
RC3 bump

13 years agoRemove the "RC2" marker in preparation for Wednesday's final release.
Jesse Vincent [Mon, 9 May 2011 15:31:27 +0000 (11:31 -0400)]
Remove the "RC2" marker in preparation for Wednesday's final release.

13 years ago "fix bug; also prefix ?? matches with m due to 5.14 deprecation"
Tom Christiansen [Mon, 9 May 2011 02:42:54 +0000 (22:42 -0400)]
"fix bug; also prefix ?? matches with m due to 5.14 deprecation"

I also fixed a bug in the original.  I'm always getting C<eof> vs C<eof()>
swapped in my brain, which is what had happened here.  The old code didn't
do what it said it did because it contrary to the comments didn't reset at
each eof -- because it used the C<eof()> form which is all of ARGV rather
than bare C<eof> for the last file read, and thus each per-file component
of ARGV.

I am concerned about the two paragraphs previous to that, because they
use eof() and I am not perfectly clear that they should.  But I left
them as is.

Jesse asked for "a lot of eyes", so if folks could please look at this
patch and see whether it looks ok, I'd appreciate it.  I did test it
under blead, both with and without the prefixed m on the m?? matches,
which is how I discovered it was buggy with the C<eof()> not C<eof>.

--tom

13 years agoUpdates to perlfunc to explicitly mention some of 5.14's new features
Tom Christiansen [Wed, 4 May 2011 13:49:46 +0000 (09:49 -0400)]
Updates to perlfunc to explicitly mention some of 5.14's new features
somewhere other than perldelta.

13 years agoIt's not 2012. - spotted by jdb
Jesse Vincent [Tue, 3 May 2011 22:48:35 +0000 (18:48 -0400)]
It's not 2012.  - spotted by jdb

13 years agotypo fix spotted by tchrist
Jesse Vincent [Tue, 3 May 2011 21:44:56 +0000 (17:44 -0400)]
typo fix spotted by tchrist

13 years agoBump Module::CoreList because the content changed since RC1 and we have
Jesse Vincent [Tue, 3 May 2011 21:20:16 +0000 (17:20 -0400)]
Bump Module::CoreList because the content changed since RC1 and we have
nice, zealous porting tests

13 years agoRC1 -> RC2; push off the date of 5.14.0 until a week from tomorrow
Jesse Vincent [Thu, 28 Apr 2011 18:11:43 +0000 (02:11 +0800)]
RC1 -> RC2; push off the date of 5.14.0 until a week from tomorrow

13 years agoDocumentation for sprintf updates in Perl 5.14
Jesse Vincent [Tue, 3 May 2011 20:58:58 +0000 (16:58 -0400)]
Documentation for sprintf updates in Perl 5.14

13 years agoDoc changes for [perl #89750]
Karl Williamson [Tue, 3 May 2011 20:08:43 +0000 (14:08 -0600)]
Doc changes for [perl #89750]

13 years agoregcomp.c: White space only
Karl Williamson [Tue, 3 May 2011 17:47:50 +0000 (11:47 -0600)]
regcomp.c: White space only

A previous commit added an 'if' around this code.  This now indents
the block properly.

13 years agoPATCH: [perl #89750]: Unicode regex negated case-insensitivity
Karl Williamson [Tue, 3 May 2011 17:44:28 +0000 (11:44 -0600)]
PATCH: [perl #89750]: Unicode regex negated case-insensitivity

This patch causes inverted [bracketed] character classes to not handle
multi-character folds.  The reason is that these can lead to very
counter-intuitive results (see bug discussion).

In an inverted character class, only single-char folds are now
generated.  However the fold for \xDF=>ss is hard-coded in,
and it was too much trouble sending flags to the sub-sub routine that
does this, so another check is done at the point of storing the list of
multi-char folds.  Since \xDF doesn't have a single char fold, this
works.

13 years agoutf8.c: Add _flags version of to_utf8_fold()
Karl Williamson [Tue, 3 May 2011 16:12:00 +0000 (10:12 -0600)]
utf8.c: Add _flags version of to_utf8_fold()

And also to_uni_fold().

The flag allows retrieving either simple or full folds.

The interface is subject to change, so these are marked experimental
and their names begin with underscore.  The old versions are turned
into macros calling the new versions with the correct extra parameter.

13 years agoembed.fnc: Allow NULL arg to to_utf8_case()
Karl Williamson [Tue, 3 May 2011 15:52:49 +0000 (09:52 -0600)]
embed.fnc: Allow NULL arg to to_utf8_case()

Code within the function doesn't assume that the parameter is non-null,
and in fact the specials are retrieved by swash_init().  Having the
parameter null just means that no specials will be retrieved in the
current call.

13 years agoSmall typo fixes in perldelta
Jesse Vincent [Tue, 3 May 2011 16:07:41 +0000 (12:07 -0400)]
Small typo fixes in perldelta

13 years agoMinor perldelta fixes
Father Chrysostomos [Tue, 3 May 2011 16:05:40 +0000 (12:05 -0400)]
Minor perldelta fixes

• Remove C<...> around get-magic and set-magic. Those are prose
  descriptions of what is known internally as mg_get, SvGETMAGIC,
  SVs_GMG, etc.
• Re-instate the message that 804b5feed removed, but in the form in
  which it appears in perldiag.
• Remove the thing about version class methods. It’s a bug fix, not a
  problem (whether known or unknown :-), and not a significant one.
• Spelling mistake

13 years agoskip t/io/eintr.t on production releases
David Mitchell [Tue, 3 May 2011 15:26:51 +0000 (16:26 +0100)]
skip t/io/eintr.t on production releases

We already skip this test file on many platforms which don't
have interruptible IO system calls. Extend this to unconditionally
skip if it's an even (production) release version, so that we don't get
false positives for other platforms we didn't know about.

13 years agoskip a problematic test on openbsd/thread
Tony Cook [Tue, 26 Apr 2011 08:21:52 +0000 (18:21 +1000)]
skip a problematic test on openbsd/thread

I'd make this a TODO, but the test currently results in the watchdog
firing, so harness/TEST would never see the "TODO".

13 years agotypo
Robin Barker [Thu, 21 Apr 2011 17:57:58 +0000 (18:57 +0100)]
typo

13 years agoTomC change with a twist
H.Merijn Brand [Tue, 26 Apr 2011 15:00:10 +0000 (17:00 +0200)]
TomC change with a twist

13 years agoperldelta fixes
Zefram [Tue, 26 Apr 2011 14:45:31 +0000 (15:45 +0100)]
perldelta fixes

13 years agoTypo in commit b641685 breaks Solaris-x64 with Sun cc
Jan Dubois [Mon, 25 Apr 2011 19:38:32 +0000 (12:38 -0700)]
Typo in commit b641685 breaks Solaris-x64 with Sun cc

13 years agoperlre: Don't treat /aa as a separate modifier
Karl Williamson [Thu, 21 Apr 2011 20:45:34 +0000 (14:45 -0600)]
perlre: Don't treat /aa as a separate modifier

13 years agoVMS-related known problems in 5.14.0.
Craig A. Berry [Thu, 21 Apr 2011 23:16:06 +0000 (18:16 -0500)]
VMS-related known problems in 5.14.0.

13 years agoSkup sigdispatch tests on VMS as they hang the VMS smokers.
Craig A. Berry [Thu, 21 Apr 2011 05:11:19 +0000 (15:11 +1000)]
Skup sigdispatch tests on VMS as they hang the VMS smokers.

On Wed, Apr 20, 2011 at 7:22 PM, Craig A. Berry <craigberry@mac.com>
wrote:
> In article <E1QCB3D-0002kP-5p@camel.ams6.corp.booking.com>,
>  davem@iabyn.com ("Dave Mitchell") wrote:
>
>> In perl.git, the branch blead has been updated
>>
>> <http://perl5.git.perl.org/perl.git/commitdiff/011c381477c2b48fc4fbb6c52c59dbd
>> 6a21bc7d6?hp=53777b0ce48433ad582498a56c60698a8fad29f6>
>>
>> - Log
>> -----------------------------------------------------------------
>> commit 011c381477c2b48fc4fbb6c52c59dbd6a21bc7d6
>> Author: David Mitchell <davem@iabyn.com>
>> Date:   Tue Apr 19 14:17:12 2011 +0100
>>
>>     dispatch signals when leaving an eval
>
> The good news is that this also fixes RT #76384.  The bad news is that
> the new tests hang the test suite on VMS and the watchdog is unable to
> break out of it (possibly only with threads -- still need to check
> that).

13 years agoOn Win32, skip the tests added in 011c3814, as alarm can't interrupt select.
Nicholas Clark [Tue, 19 Apr 2011 19:47:16 +0000 (20:47 +0100)]
On Win32, skip the tests added in 011c3814, as alarm can't interrupt select.

13 years agoperldelta: Fix broken links
Karl Williamson [Tue, 19 Apr 2011 16:07:21 +0000 (10:07 -0600)]
perldelta: Fix broken links

Apparently the writers of perldiag realized that "%s%s" is the same
as %s for the purposes of diagnostics, so there is no anchor for the
removed link.

13 years agoRevert "Missing bug number in d12b49d"
Father Chrysostomos [Tue, 19 Apr 2011 15:45:20 +0000 (08:45 -0700)]
Revert "Missing bug number in d12b49d"

This reverts commit 53777b0ce48433ad582498a56c60698a8fad29f6.

constant.pm 1.21 has already been released on CPAN. Reverting this for
now just keeps things simple.

13 years agoAuthors sorting from tchrist
Jesse Vincent [Tue, 19 Apr 2011 15:45:23 +0000 (01:45 +1000)]
Authors sorting from tchrist

13 years agoperlop: /o update
Karl Williamson [Fri, 15 Apr 2011 17:49:08 +0000 (11:49 -0600)]
perlop: /o update

13 years agoperllocale: Mention /l
Karl Williamson [Tue, 19 Apr 2011 15:19:33 +0000 (09:19 -0600)]
perllocale: Mention /l

Also the possibility of an undefined initial locale

13 years agoperldelta: Fix remaining confusing double double quotes
Karl Williamson [Tue, 19 Apr 2011 14:35:09 +0000 (08:35 -0600)]
perldelta: Fix remaining confusing double double quotes

C<foo"bar"> will translate into "foo"bar"" on some devices, which is
confusing.  Change the remaining ones to C<foo'bar'>

13 years agoperldelta encoding error spotted by tchrist
Jesse Vincent [Tue, 19 Apr 2011 14:54:37 +0000 (00:54 +1000)]
perldelta encoding error spotted by tchrist

13 years agoBump patchlevel to RC1
Jesse Vincent [Tue, 19 Apr 2011 14:40:20 +0000 (00:40 +1000)]
Bump patchlevel to RC1

13 years agoUpdate to Known Problems, removing several previously-known problems
Jesse Vincent [Tue, 19 Apr 2011 14:22:54 +0000 (00:22 +1000)]
Update to Known Problems, removing several previously-known problems
I've verified as fixed.

13 years agoReflowing text
Jesse Vincent [Tue, 19 Apr 2011 14:22:29 +0000 (00:22 +1000)]
Reflowing text

13 years agoIlmari pointed out that I incorrectly marked up some perl function()
Jesse Vincent [Tue, 19 Apr 2011 14:08:03 +0000 (00:08 +1000)]
Ilmari pointed out that I incorrectly marked up some perl function()
statements as C<function()>

13 years agoUpdate the documentation for rand() to note that it's not
Jesse Vincent [Tue, 19 Apr 2011 13:53:07 +0000 (23:53 +1000)]
Update the documentation for rand() to note that it's not
cryptographically secure due to concerns that end-users are unaware of
this and use it in situations where security depends on the strength of
the randomness generated.

I'd have been happier getting this patch in earlier in the cycle.
We'd hoped to replace the RNG, but that didn't happen in time, so this
doc update is the "better, still not good" fallback.

13 years agoUpdate Module::CoreList for 5.14.0
Jesse Vincent [Tue, 19 Apr 2011 13:19:30 +0000 (23:19 +1000)]
Update Module::CoreList for 5.14.0

13 years agoAdd 5.14.0RC1 and 5.14.0 (hopeful) date to perlhist
Jesse Vincent [Tue, 19 Apr 2011 13:08:37 +0000 (23:08 +1000)]
Add 5.14.0RC1 and 5.14.0 (hopeful) date to perlhist

13 years agoStarted to flesh out the AUTHORS section of perldelta
Jesse Vincent [Tue, 19 Apr 2011 13:06:37 +0000 (23:06 +1000)]
Started to flesh out the AUTHORS section of perldelta

13 years agodispatch signals when leaving an eval
David Mitchell [Tue, 19 Apr 2011 13:17:12 +0000 (14:17 +0100)]
dispatch signals when leaving an eval

Currently PERL_ASYNC_CHECK is only called during scope exit in pp_leavetry
and pp_levaeeval. This means that if the signal handler calls die, the
eval won't catch it.

This broke Sys::AlarmCall's test suite, which was doing the equivalent of

    $SIG{ALRM} = sub { die };
    eval {
alarm(1);
select(undef, undef, undef, 10);
    }
    # expect the die to get caught and $@ set here.

Because the select was the last statement in the block, PERL_ASYNC_CHECK
wasn't called next until the leave_scope at the end of leavetry.
See RT #88774.

The simple fix is to add a PERL_ASYNC_CHECK at the top of
leavetry and leaveeval.