platform/upstream/perl.git
12 years agoperly.*: update regen_perly checksum
Father Chrysostomos [Wed, 27 Jun 2012 19:49:28 +0000 (12:49 -0700)]
perly.*: update regen_perly checksum

12 years agoregen_perly.pl: support latest bison-2.5.1
Reini Urban [Thu, 21 Jun 2012 14:26:56 +0000 (09:26 -0500)]
regen_perly.pl: support latest bison-2.5.1

bison-2.5.1 adds less superfluous semicolons at the end of action blocks,
but works fine.

12 years agopp.c: Restore uninit warning to study
Father Chrysostomos [Wed, 27 Jun 2012 19:41:56 +0000 (12:41 -0700)]
pp.c: Restore uninit warning to study

Also, prevent a crash when SvCUR is used on a non-PV.

12 years agoclean up compilation warnings
Jesse Luehrs [Wed, 27 Jun 2012 18:40:49 +0000 (13:40 -0500)]
clean up compilation warnings

12 years agoadd a few comments to bisect-runner.pl docs
Jesse Luehrs [Wed, 27 Jun 2012 18:10:58 +0000 (13:10 -0500)]
add a few comments to bisect-runner.pl docs

./perl -Ilib t/op/sort.t won't do what you want, because tests that
don't use Test::More don't set an error code on their own, you need to
run it under the harness

12 years ago[Merge] [perl #109408] Documentation that refers to Perl 5 as new
Father Chrysostomos [Wed, 27 Jun 2012 16:15:27 +0000 (09:15 -0700)]
[Merge] [perl #109408] Documentation that refers to Perl 5 as new

Quoting Brian Fraser:

So.
I more or less went ahead and did this, to some extent. To some other
extent the changes are stylistic, like consistently using v5.x.y instead of
5.x or 5.x.y or whatnot in perlvar (and only in perlvar, so as to avoid
bikeshedding). I also bumped most odd versions, post 5.6, to the next
stable release (so, for example, 5.7.1 became 5.8.0, and 5.9.0 became
5.10.0, but 5.005 is still 5.005).

There's only one big deletion, which was most of perltrap.pod -- It dealt
with traps for Perl 4 programmers migrating to Perl 5. It would be really
swell if someone could update perltrap for their other favorite language of
choice, since right now the document is severely lacking, only dealing with
awk, shell, C/C++, and Perl itself.

There's some stuff that I didn't really know about, so I left it alone,
including all of perlhack(tips)? and perl(re|deb)?guts.
One thing that came up in IRC while I was doing this is that having a table
in perlvar detailing in which version each variable became available would
be really swell. And I know that brian d foy compiled one for string/regex
escapes, which strikes me like a good candidate to get in as well.

12 years ago[perl #109408] Documentation that refers to Perl 5 as new
Brian Fraser [Wed, 27 Jun 2012 15:55:08 +0000 (08:55 -0700)]
[perl #109408] Documentation that refers to Perl 5 as new

Regened known_pod_issues.dat for the previous commits.

12 years agoperlvar: #109408
Brian Fraser [Wed, 27 Jun 2012 15:54:06 +0000 (08:54 -0700)]
perlvar: #109408

12 years agoperlutil: #109408
Brian Fraser [Wed, 1 Feb 2012 02:43:19 +0000 (23:43 -0300)]
perlutil: #109408

12 years agoperluniintro: #109408
Brian Fraser [Wed, 27 Jun 2012 15:51:26 +0000 (08:51 -0700)]
perluniintro: #109408

12 years agoperlunifaq: #109408
Brian Fraser [Wed, 1 Feb 2012 02:42:58 +0000 (23:42 -0300)]
perlunifaq: #109408

12 years agoperlunicode: #109408
Brian Fraser [Wed, 1 Feb 2012 02:42:48 +0000 (23:42 -0300)]
perlunicode: #109408

12 years agoperltrap: #109408
Brian Fraser [Wed, 1 Feb 2012 02:41:55 +0000 (23:41 -0300)]
perltrap: #109408

12 years agoperlthrtut: #109408
Brian Fraser [Wed, 1 Feb 2012 02:41:45 +0000 (23:41 -0300)]
perlthrtut: #109408

12 years agoperlsub: #109408
Brian Fraser [Wed, 1 Feb 2012 02:41:24 +0000 (23:41 -0300)]
perlsub: #109408

12 years agoperlsec: #109408
Brian Fraser [Wed, 1 Feb 2012 02:41:16 +0000 (23:41 -0300)]
perlsec: #109408

12 years agoperlrun: #109408
Brian Fraser [Wed, 27 Jun 2012 15:45:13 +0000 (08:45 -0700)]
perlrun: #109408

12 years agoperlretut: #109408
Brian Fraser [Wed, 1 Feb 2012 02:40:59 +0000 (23:40 -0300)]
perlretut: #109408

12 years agoperlreftut: #109408
Brian Fraser [Wed, 1 Feb 2012 02:40:48 +0000 (23:40 -0300)]
perlreftut: #109408

12 years agoperlref: #109408
Brian Fraser [Wed, 1 Feb 2012 02:40:39 +0000 (23:40 -0300)]
perlref: #109408

12 years agoperlrebackslash: #109408
Brian Fraser [Wed, 1 Feb 2012 02:40:27 +0000 (23:40 -0300)]
perlrebackslash: #109408

12 years agoperlre: #109408
Brian Fraser [Wed, 1 Feb 2012 02:40:08 +0000 (23:40 -0300)]
perlre: #109408

12 years agoperlport: #109408
Brian Fraser [Wed, 1 Feb 2012 02:39:52 +0000 (23:39 -0300)]
perlport: #109408

12 years agoperlpod: #109408
Brian Fraser [Wed, 1 Feb 2012 02:39:46 +0000 (23:39 -0300)]
perlpod: #109408

12 years agoperlop: #109408
Brian Fraser [Wed, 1 Feb 2012 02:39:36 +0000 (23:39 -0300)]
perlop: #109408

12 years agoperlmod: #109408
Brian Fraser [Wed, 1 Feb 2012 02:39:27 +0000 (23:39 -0300)]
perlmod: #109408

12 years agoperllocale: #109408
Brian Fraser [Wed, 1 Feb 2012 02:39:06 +0000 (23:39 -0300)]
perllocale: #109408

12 years agoperlipc: #109408
Brian Fraser [Wed, 1 Feb 2012 02:38:51 +0000 (23:38 -0300)]
perlipc: #109408

12 years agoperlfunc: #109408
Brian Fraser [Wed, 27 Jun 2012 15:40:38 +0000 (08:40 -0700)]
perlfunc: #109408

12 years agoperlform: #109408
Brian Fraser [Wed, 1 Feb 2012 02:38:26 +0000 (23:38 -0300)]
perlform: #109408

12 years agoperldsc: #109408
Brian Fraser [Wed, 1 Feb 2012 02:38:15 +0000 (23:38 -0300)]
perldsc: #109408

12 years agoperldata: #109408
Brian Fraser [Wed, 1 Feb 2012 02:38:03 +0000 (23:38 -0300)]
perldata: #109408

12 years agoperlcall: #109408
Brian Fraser [Wed, 1 Feb 2012 02:37:46 +0000 (23:37 -0300)]
perlcall: #109408

12 years agodiag.t: Skip, rather than, TODO for cat tests
Father Chrysostomos [Wed, 27 Jun 2012 15:15:27 +0000 (08:15 -0700)]
diag.t: Skip, rather than, TODO for cat tests

Each item in the exception list for category/severity tests passes
either one or the other, so just skip them, to avoid passing to-do
tests, which are just a distraction.  Separating them into two lists
is probably overkill.

12 years agodiag.t: Don’t emit erroneous passing to-do tests
Father Chrysostomos [Wed, 27 Jun 2012 13:03:35 +0000 (06:03 -0700)]
diag.t: Don’t emit erroneous passing to-do tests

The __CATEGORIES__ entries by definition exist in perldiag.

12 years agodiagnostics.t: Tweak to get tests passing
Father Chrysostomos [Wed, 27 Jun 2012 13:01:29 +0000 (06:01 -0700)]
diagnostics.t: Tweak to get tests passing

I thought I had run it, hmm.

12 years ago[Merge] perldiag.pod severity/category cleanup
Father Chrysostomos [Wed, 27 Jun 2012 07:53:14 +0000 (00:53 -0700)]
[Merge] perldiag.pod severity/category cleanup

12 years agodiag.t: Check categories and severity
Father Chrysostomos [Wed, 27 Jun 2012 07:47:24 +0000 (00:47 -0700)]
diag.t: Check categories and severity

There was code already started for this, but never finished.  This
commit makes it work for the most part.

This is not smart enough yet to understand nested categories.  There
is a new exceptions list in the __DATA__ section for cases it can’t
handle, which are precious few.

12 years agodiag.t: Use correct variable
Father Chrysostomos [Wed, 27 Jun 2012 07:45:34 +0000 (00:45 -0700)]
diag.t: Use correct variable

Multiline messages are listed in the __DATA__ section with spaces
instead of line breaks.  When adding proper support for multiline err-
ors earlier, I made a slight mistake and caused multiline to-do mess-
ages to skip the to-do code path, because I was looking them up via
the name with line breaks ($name), rather than the name with line
breaks modified ($key).

This was causing it to fall down to the pass($key) below.

I want to add more tests down there, which will fail for multiline
to-do items.

12 years agodiag.t: Load test.pl in BEGIN
Father Chrysostomos [Wed, 27 Jun 2012 07:41:49 +0000 (00:41 -0700)]
diag.t: Load test.pl in BEGIN

so that parentheses can be omitted in tests to be added.

12 years agoperldiag: ‘Unicode surrogate is illegal’ is a default warning
Father Chrysostomos [Wed, 27 Jun 2012 07:36:24 +0000 (00:36 -0700)]
perldiag: ‘Unicode surrogate is illegal’ is a default warning

12 years agoperldiag: ‘Code point is not Unicode’ is a default warning
Father Chrysostomos [Wed, 27 Jun 2012 07:35:11 +0000 (00:35 -0700)]
perldiag: ‘Code point is not Unicode’ is a default warning

12 years agoperldiag: ‘Operation returns its argument’ is a default warning
Father Chrysostomos [Wed, 27 Jun 2012 07:32:27 +0000 (00:32 -0700)]
perldiag: ‘Operation returns its argument’ is a default warning

12 years agoperldiag: ‘...illegal for interchange’ is a default warning
Father Chrysostomos [Wed, 27 Jun 2012 07:30:36 +0000 (00:30 -0700)]
perldiag: ‘...illegal for interchange’ is a default warning

12 years agoperldiag: ‘UTF-16 surrogate U+%X’ is a default warning
Father Chrysostomos [Wed, 27 Jun 2012 07:11:09 +0000 (00:11 -0700)]
perldiag: ‘UTF-16 surrogate U+%X’ is a default warning

12 years agoperldiag: ‘Ambiguous use resolved as’ is always S
Father Chrysostomos [Wed, 27 Jun 2012 07:07:22 +0000 (00:07 -0700)]
perldiag: ‘Ambiguous use resolved as’ is always S

12 years agoperldiag: Add cat for Lost precision
Father Chrysostomos [Wed, 27 Jun 2012 06:17:43 +0000 (23:17 -0700)]
perldiag: Add cat for Lost precision

12 years agoperldiag: ‘Regexp modifier after "-"’ should have no cat
Father Chrysostomos [Wed, 27 Jun 2012 06:14:20 +0000 (23:14 -0700)]
perldiag: ‘Regexp modifier after "-"’ should have no cat

Only warnings have categories.

12 years agoperldiag: ‘Opening fh also as dir’ is a default warning
Father Chrysostomos [Wed, 27 Jun 2012 06:09:37 +0000 (23:09 -0700)]
perldiag: ‘Opening fh also as dir’ is a default warning

12 years agoperldiag: ‘Opening dirhandle also as file’ is a default warning
Father Chrysostomos [Wed, 27 Jun 2012 06:08:59 +0000 (23:08 -0700)]
perldiag: ‘Opening dirhandle also as file’ is a default warning

12 years agoperldiag: Add cat for Duplicate modifier
Father Chrysostomos [Wed, 27 Jun 2012 06:07:54 +0000 (23:07 -0700)]
perldiag: Add cat for Duplicate modifier

12 years agoperldiag: ‘invalid option -D%c’ is a warning
Father Chrysostomos [Wed, 27 Jun 2012 05:35:51 +0000 (22:35 -0700)]
perldiag: ‘invalid option -D%c’ is a warning

12 years agoperldiag: Don’t use L<<>>
Father Chrysostomos [Wed, 27 Jun 2012 05:34:28 +0000 (22:34 -0700)]
perldiag: Don’t use L<<>>

diagnostics.pm isn’t smart enough to handle it, and programming it
for one case seems like overkill.

12 years agoperldiag: Add cat for PERL_SIGNALS illegal
Father Chrysostomos [Wed, 27 Jun 2012 05:34:20 +0000 (22:34 -0700)]
perldiag: Add cat for PERL_SIGNALS illegal

12 years agoperldiag: ‘Unbalanced context’ is a default warning
Father Chrysostomos [Wed, 27 Jun 2012 05:26:53 +0000 (22:26 -0700)]
perldiag: ‘Unbalanced context’ is a default warning

12 years agoperldiag: ‘Unbalanced tmps’ is a default warning
Father Chrysostomos [Wed, 27 Jun 2012 05:26:15 +0000 (22:26 -0700)]
perldiag: ‘Unbalanced tmps’ is a default warning

12 years agoperldiag: ‘Unbalanced saves’ is a default warning
Father Chrysostomos [Wed, 27 Jun 2012 05:25:54 +0000 (22:25 -0700)]
perldiag: ‘Unbalanced saves’ is a default warning

12 years agoperldiag: ‘Unbalanced scopes’ is a default warning
Father Chrysostomos [Wed, 27 Jun 2012 05:25:37 +0000 (22:25 -0700)]
perldiag: ‘Unbalanced scopes’ is a default warning

12 years agoperldiag: ‘Variable is not imported’ is a default warning
Father Chrysostomos [Wed, 27 Jun 2012 05:24:56 +0000 (22:24 -0700)]
perldiag: ‘Variable is not imported’ is a default warning

12 years agoperldiag: ‘Scalars leaked’ is a warning
Father Chrysostomos [Wed, 27 Jun 2012 05:22:41 +0000 (22:22 -0700)]
perldiag: ‘Scalars leaked’ is a warning

12 years agoperldiag: Add cat for ‘Attempt to set length of freed array’
Father Chrysostomos [Wed, 27 Jun 2012 05:17:15 +0000 (22:17 -0700)]
perldiag: Add cat for ‘Attempt to set length of freed array’

12 years agoSquash repetitive code in pp.c:S_delete_local
Father Chrysostomos [Wed, 27 Jun 2012 04:31:53 +0000 (21:31 -0700)]
Squash repetitive code in pp.c:S_delete_local

The two branches of this were almost identical.  Not only is it unnec-
essary to repeat the code, but it is error-prone, as bug fixes have to
be done in both branches.

12 years agoNull HeVAL and local delete → crash
Father Chrysostomos [Wed, 27 Jun 2012 03:21:29 +0000 (20:21 -0700)]
Null HeVAL and local delete → crash

The XS API allows hash entries to be created with null values.  perl
itself uses these internally, too.

Though they should rarely be seen by Perl code, Perl ops should still
be able to handle them without crashing (by croaking).  I fixed helem
and hslice in 5.16 (commit 746f6409), but missed localised deletions.

12 years agoMake pp.c:pp_srand slightly less repetitive
Father Chrysostomos [Wed, 27 Jun 2012 03:05:55 +0000 (20:05 -0700)]
Make pp.c:pp_srand slightly less repetitive

12 years agoMake srand treat "-1" as -1
Father Chrysostomos [Wed, 27 Jun 2012 01:04:02 +0000 (18:04 -0700)]
Make srand treat "-1" as -1

It was returning U+FFFD for negative numbers, unless they
were strings.

The SvOK is to avoid double uninit warnings.  The !SvIsUV is for
efficiency.  We don’t need to coerce it to an NV if it is a UV
already, because we know it won’t pass that test.

12 years agoMake srand respect magic
Father Chrysostomos [Wed, 27 Jun 2012 00:41:40 +0000 (17:41 -0700)]
Make srand respect magic

It was returning U+FFFD for negative numbers, but only for non-magical
variables.

12 years agoAIX Hints file change
Darin McBride [Mon, 25 Jun 2012 23:36:32 +0000 (17:36 -0600)]
AIX Hints file change

Ok, I think my earlier problem came from not cleaning up properly between
multiple compiles.  So I don't need to modify any test.

Proposed log entry:

When compiling many of the perl modules available from CPAN, an expectation
of C99 support seems implied by many authors.  Unfortunately, xlC doesn't
do this by default, we have to add -qlanglvl=extc99 to the ccflags to get
this to work.  And by the time we get to installing modules, this flag
is already set in Config.

So, add the flag unconditionally at the outset.  Also, remove
-qlonglong and -qlanglvl=extended from the flags to silence the warning that
extc99 includes them and that xlC is going to ignore it, using extc99 instead.

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
12 years agofix off-by-one when restoring hashes [perl #73972]
Jesse Luehrs [Tue, 26 Jun 2012 21:47:51 +0000 (16:47 -0500)]
fix off-by-one when restoring hashes [perl #73972]

Storable tries to preallocate enough space for all of the elements it's
going to receive, both for efficiency reasons and because reallocation
triggers throwing away all of the placeholders in the hash (which are
used for restricted hashes) if the hash isn't already READONLY, and
since Storable rebuilds restricted hashes by first populating all of the
placeholders and then setting it READONLY at the end, this would break
things.

Unfortunately, it was allocating just slightly less than enough space -
hashes reallocate when they hit their limit, not when they exceed it,
and so if you tried to store a restricted hash with a number of keys
right on the boundary, it would trigger a reallocation and lose all of
the allowed keys that it had just stored. This fixes the issue by
allocating the correct amount of space to ensure that reallocation
doesn't happen.

12 years agoRemove C++isms from doio.c
Steve Hay [Tue, 26 Jun 2012 19:52:25 +0000 (20:52 +0100)]
Remove C++isms from doio.c

(Introduced by c2fd40cb02 and not tolerated by VC++ compiling a C file.)

12 years agoperlrun typos from argrath@ub32.org [perl #113852]
Jesse Luehrs [Tue, 26 Jun 2012 18:31:28 +0000 (13:31 -0500)]
perlrun typos from argrath@ub32.org [perl #113852]

12 years ago[perl #112990] Simplify kill implementation and docs
Darin McBride [Tue, 26 Jun 2012 16:24:56 +0000 (09:24 -0700)]
[perl #112990] Simplify kill implementation and docs

Clean up kill implementation and clear up the docs in perlfunc to be less
ambiguous and encompass more of its behaviour.

a)   kill -INT => $pid;

was surprisingly doing a "kill 0, $pid" instead of being the same as "kill -2,
$pid" (killing the process group for $pid with an interrupt).  Now negative
signal names will be allowed and be the same as if the name was replaced with
the signal number it represents.

b) remove all calls to killpg() as killpg is defined in terms of kill anyway.

c) Clarify the use of signal names vs numbers in perlfunc so that using names
is not so well hidden, as well as explaining the usage of negative signal
numbers as well as negative process IDs.

12 years ago[perl #113812] Handle null CvOUTSIDE in cv_clone
Father Chrysostomos [Tue, 26 Jun 2012 16:23:06 +0000 (09:23 -0700)]
[perl #113812] Handle null CvOUTSIDE in cv_clone

Commit a0d2bbd stopped closures from hanging on to their
enclosing subs.

This means that the outer sub can be freed before the closure.  Since
it is only the outer sub that references the closure prototype (in a
'&' entry in its pad), when the outer sub is freed the closure proto-
type goes with it.  Now if that closure itself contains a closure
(more precisely, a closure prototype in its pad, referenced by an
anoncode op), that inner closure prototype’s CvOUTSIDE points to the
first closure prototype.  When that first closure prototype is freed
the innermost closure prototype has its CvOUTSIDE set to whatever the
outermost sub’s CvOUTSIDE was set to, which could be null if it is
in its own file.  So when the first closure is called, it passes to
cv_clone a closure prototype with no CvOUTSIDE.

cv_clone used to crash if CvOUTSIDE was null.

Example:
$ cat foo.pl

# the main CV of the file is the outer sub in this case
my $x
$first_closure = sub {
    $inner_closure = sub { $x }
}
$ perl -e 'require "./foo.pl"; $first_closure->()'
Bus error

This commit makes it use find_runcv when CvOUTSIDE is null.

12 years agoperldiag: Two space after dots
Father Chrysostomos [Tue, 26 Jun 2012 15:28:13 +0000 (08:28 -0700)]
perldiag: Two space after dots

Also rewrap for slightly better splain output

12 years agofix test from previous commit
Jesse Luehrs [Tue, 26 Jun 2012 10:33:05 +0000 (05:33 -0500)]
fix test from previous commit

12 years agofix memory leak in @INC filters that die [perl #92252]
Jesse Luehrs [Tue, 26 Jun 2012 10:12:38 +0000 (05:12 -0500)]
fix memory leak in @INC filters that die [perl #92252]

12 years agoIn t/op/stat.t, ensure that the output of ls is not localised.
Nicholas Clark [Tue, 5 Jun 2012 14:53:43 +0000 (16:53 +0200)]
In t/op/stat.t, ensure that the output of ls is not localised.

t/op/stat.t parses the output of ls, and will get confused if localisation
happens to change the header line containing the total to a word starting
with the letter c. This fixes the build issue on a Czech locale reported
in http://perlmonks.org/?node=973257 and RT #113472.

12 years ago[perl #45173] port the test to MSWin32
Tony Cook [Tue, 26 Jun 2012 07:56:44 +0000 (17:56 +1000)]
[perl #45173] port the test to MSWin32

12 years agoadd comment about the atof change [perl #109318]
Jesse Luehrs [Tue, 26 Jun 2012 08:13:20 +0000 (03:13 -0500)]
add comment about the atof change [perl #109318]

12 years agowarn on -i with no input files given [perl #113410]
Jesse Luehrs [Tue, 26 Jun 2012 07:16:57 +0000 (02:16 -0500)]
warn on -i with no input files given [perl #113410]

12 years agofix c++ compilation
Jesse Luehrs [Tue, 26 Jun 2012 06:35:31 +0000 (01:35 -0500)]
fix c++ compilation

12 years agouse a less broken test for locale radix in atof [perl #109318]
Jesse Luehrs [Tue, 26 Jun 2012 05:13:54 +0000 (00:13 -0500)]
use a less broken test for locale radix in atof [perl #109318]

12 years agofix some language/country codes
Jesse Luehrs [Tue, 26 Jun 2012 05:33:40 +0000 (00:33 -0500)]
fix some language/country codes

12 years agodiag.t: Two to-done entries I missed
Father Chrysostomos [Tue, 26 Jun 2012 05:12:39 +0000 (22:12 -0700)]
diag.t: Two to-done entries I missed

12 years agoperldelta: make podcheck happy
Father Chrysostomos [Tue, 26 Jun 2012 05:10:12 +0000 (22:10 -0700)]
perldelta: make podcheck happy

12 years agoperldelta for #73690, scalar(write)
Father Chrysostomos [Tue, 26 Jun 2012 05:08:46 +0000 (22:08 -0700)]
perldelta for #73690, scalar(write)

12 years agoperldelta for #112966/2c5f48c251e
Father Chrysostomos [Tue, 26 Jun 2012 04:32:25 +0000 (21:32 -0700)]
perldelta for #112966/2c5f48c251e

12 years agoperldelta for #113798, glob and PATH
Father Chrysostomos [Tue, 26 Jun 2012 03:47:06 +0000 (20:47 -0700)]
perldelta for #113798, glob and PATH

12 years agoperldelta for #112962, reg_temp_copy and null offs
Father Chrysostomos [Tue, 26 Jun 2012 03:43:02 +0000 (20:43 -0700)]
perldelta for #112962, reg_temp_copy and null offs

12 years agoperldelta: Oops, duplicate entry
Father Chrysostomos [Tue, 26 Jun 2012 03:40:43 +0000 (20:40 -0700)]
perldelta: Oops, duplicate entry

12 years agoperldelta for #101666, regexp error error
Father Chrysostomos [Tue, 26 Jun 2012 03:39:39 +0000 (20:39 -0700)]
perldelta for #101666, regexp error error

12 years agoperldelta for #112826, Tie::StdHandle and read offset
Father Chrysostomos [Tue, 26 Jun 2012 03:39:27 +0000 (20:39 -0700)]
perldelta for #112826, Tie::StdHandle and read offset

12 years agoperldelta for #113764, duping scalar handles
Father Chrysostomos [Tue, 26 Jun 2012 03:36:04 +0000 (20:36 -0700)]
perldelta for #113764, duping scalar handles

12 years agoperldelta for #89544, nested closure leak
Father Chrysostomos [Tue, 26 Jun 2012 03:33:40 +0000 (20:33 -0700)]
perldelta for #89544, nested closure leak

12 years agoperldelta for #113730, do and $@
Father Chrysostomos [Tue, 26 Jun 2012 03:30:57 +0000 (20:30 -0700)]
perldelta for #113730, do and $@

12 years agopp_sys.c: Squelch compiler warning
Father Chrysostomos [Tue, 26 Jun 2012 03:29:22 +0000 (20:29 -0700)]
pp_sys.c: Squelch compiler warning

12 years agoperldelta for #113712, stubs after errors
Father Chrysostomos [Tue, 26 Jun 2012 03:28:46 +0000 (20:28 -0700)]
perldelta for #113712, stubs after errors

12 years agodiag.t: Tolerate trailing space
Father Chrysostomos [Mon, 25 Jun 2012 00:58:54 +0000 (17:58 -0700)]
diag.t: Tolerate trailing space

12 years agoperldiag: Correct various regexp msgs
Father Chrysostomos [Mon, 25 Jun 2012 00:53:27 +0000 (17:53 -0700)]
perldiag: Correct various regexp msgs

Many of these are listed in a slightly different way from what perl actually emits.  E.g., this entry:

    Sequence (?#... not terminated in regex; marked by <-- HERE in m/%s/

is incorrect, as the actual message is:

$ perl -e '/(?#/'
Sequence (?#... not terminated in regex m/(?#/ at -e line 1.

12 years agodiag.t: Support regcomp’s FAIL macros
Father Chrysostomos [Mon, 25 Jun 2012 00:24:49 +0000 (17:24 -0700)]
diag.t: Support regcomp’s FAIL macros

12 years agofix stack handling in write() [perl #73690]
Jesse Luehrs [Tue, 26 Jun 2012 01:43:38 +0000 (20:43 -0500)]
fix stack handling in write() [perl #73690]

I'm not sure about that POPs at the beginning of pp_leavewrite, but it
seems to work. As far as I can tell, executing the format always leaves
an extra value on the stack, but I'm not sure where that happens
exactly, so I'm just fixing it up there.