This is a live mirror of the Perl 5 development currently hosted at
14 years agoAnother C<return NORMAL> needed post bb4c52e023e0, missed from 805bf316c58a.
Nicholas Clark [Thu, 3 Dec 2009 10:07:51 +0000 (10:07 +0000)]
Another C<return NORMAL> needed post bb4c52e023e0, missed from 805bf316c58a.

14 years agoRevert makefile part of the Unicode 5.2 patch
Rafael Garcia-Suarez [Thu, 3 Dec 2009 10:34:08 +0000 (11:34 +0100)]
Revert makefile part of the Unicode 5.2 patch

lib/unicore/version was getting removed by "make distclean".

14 years agoAdd new Unicode data file in MANIFEST
Rafael Garcia-Suarez [Thu, 3 Dec 2009 10:25:12 +0000 (11:25 +0100)]
Add new Unicode data file in MANIFEST

14 years agoUnicode 5.2
Karl Williamson [Thu, 3 Dec 2009 04:36:17 +0000 (21:36 -0700)]
Unicode 5.2

14 years ago[perl #70802] -i'*' refuses to work
Tony Cook [Thu, 3 Dec 2009 09:20:09 +0000 (10:20 +0100)]
[perl #70802] -i'*' refuses to work

14 years agoEnsure that pp_qr returns a new regexp SV each time. Resolves RT #69852.
Nicholas Clark [Wed, 2 Dec 2009 16:01:10 +0000 (16:01 +0000)]
Ensure that pp_qr returns a new regexp SV each time. Resolves RT #69852.

Instead of returning a(nother) reference to the (pre-compiled) regexp in the
optree, use reg_temp_copy() to create a copy of it, and return a reference to
that. This resolves issues about Regexp::DESTROY not being called in a timely
fashion (the original bug tracked by RT #69852), as well as bugs related to
blessing regexps, and of assigning to regexps, as described in correspondence
added to the ticket.

It transpires that we also need to undo the SvPVX() sharing when ithreads
cloning a Regexp SV, because mother_re is set to NULL, instead of a cloned
copy of the mother_re. This change might fix bugs with regexps and threads in
certain other situations, but as yet neither tests nor bug reports have
indicated any problems, so it might not actually be an edge case that it's
possible to reach.

14 years agowork-around Carp/overloading miniperl problem
Karl Williamson [Tue, 1 Dec 2009 05:32:23 +0000 (22:32 -0700)]
work-around Carp/overloading miniperl problem

14 years agoCleanup all scopes before exiting a pseudo-forked process.
Jan Dubois [Wed, 2 Dec 2009 09:34:18 +0000 (01:34 -0800)]
Cleanup all scopes before exiting a pseudo-forked process.

perl_destruct() contains an assertion that the scope stack
is empty.  The remaining scopes are due to fork() being
called from within a BEGIN block.

14 years agoRevert commit cbdd5331.
Jan Dubois [Wed, 2 Dec 2009 07:11:03 +0000 (23:11 -0800)]
Revert commit cbdd5331.

Commit a09dc31d1 says:

    It's possible that someone has built a module with -DDEBUGGING,
    but they're using it against a perl built non-DEBUGGING, [...]

which means that the PL_scopestack_name symbol must always be exported.

14 years agoAdd another hint about setting WIN64=undef to build a 32-bit Perl.
Jan Dubois [Wed, 2 Dec 2009 07:03:09 +0000 (23:03 -0800)]
Add another hint about setting WIN64=undef to build a 32-bit Perl.

Of course anyone who read README.win32 already knew this. :)

14 years agoDon't redefine isnan() macro if MinGW already defined one.
Jan Dubois [Wed, 2 Dec 2009 06:55:55 +0000 (22:55 -0800)]
Don't redefine isnan() macro if MinGW already defined one.

14 years agoUpdate to reflect that I release 5.11.2
Leon Brocard [Tue, 1 Dec 2009 13:45:42 +0000 (13:45 +0000)]
Update to reflect that I release 5.11.2

14 years ago-Dmad: double free or corruption
Tony Cook [Tue, 1 Dec 2009 11:25:39 +0000 (22:25 +1100)]
-Dmad: double free or corruption

> If your perl has -Dmad, the following program crashes:
> $ bleadperl -we '$x="x" x 257; eval "for $x"'
> *** glibc detected *** bleadperl: double free or corruption (!prev): 0x0000000001dca670 ***

Change 6136c704 changed S_scan_ident from:

   e = d + destlen - 3;


   register char * const e = d + destlen + 3;

where e is used to mark the end of the buffer, this meant that the
various buffer end checks allowed the various buffers supplied
S_scan_ident to overflow.

Attached is a fix, various tests with fencepost checks on different
identifier lengths, and the specific case mentioned in the ticket.


Signed-off-by: H.Merijn Brand <>
14 years agomake regen_perly following 5ca68648d92617d8.
Nicholas Clark [Tue, 1 Dec 2009 11:25:37 +0000 (11:25 +0000)]
make regen_perly following 5ca68648d92617d8.

14 years ago-Dmad broken for c++
Tony Cook [Tue, 1 Dec 2009 08:12:30 +0000 (19:12 +1100)]
-Dmad broken for c++

On Tue, Dec 01, 2009 at 08:22:38AM +0100, H.Merijn Brand wrote:
> perly.y: In function 'int Perl_madparse(PerlInterpreter*)':
> perly.y:335: error: cast from 'TOKEN*' to 'line_t' loses precision
> perly.y:348: error: cast from 'TOKEN*' to 'line_t' loses precision
> perly.y:430: error: cast from 'TOKEN*' to 'line_t' loses precision

Uses the same mechanism used in if, unless to retrieve an ival set in

Signed-off-by: H.Merijn Brand <>
14 years agoMake the new test work in the core and bump version of Safe to 2.20
Rafael Garcia-Suarez [Mon, 30 Nov 2009 23:21:17 +0000 (00:21 +0100)]
Make the new test work in the core and bump version of Safe to 2.20

14 years ago[ #51574] sort {} bug accessing $a and $b with -Dusethreads
Tim Bunce [Mon, 30 Nov 2009 23:15:21 +0000 (00:15 +0100)]
[ #51574] sort {} bug accessing $a and $b with -Dusethreads

14 years agoTest modifiability of range elements
Eric Brine [Sat, 28 Nov 2009 04:52:41 +0000 (20:52 -0800)]
Test modifiability of range elements

14 years agoDocument in perlfunc
Zefram [Mon, 30 Nov 2009 10:42:14 +0000 (11:42 +0100)]
Document in perlfunc

14 years agoMake distclean work again
Rafael Garcia-Suarez [Mon, 30 Nov 2009 09:30:41 +0000 (10:30 +0100)]
Make distclean work again

14 years agoFix -DPERL_NO_UTF16_FILTER
Eric Brine [Fri, 27 Nov 2009 00:16:16 +0000 (19:16 -0500)]

14 years agoMake split warn in void context
Rafael Garcia-Suarez [Sun, 29 Nov 2009 22:30:45 +0000 (23:30 +0100)]
Make split warn in void context

14 years agoHandle $@ being assigned a read-only value (without error or busting the stack).
Nicholas Clark [Sun, 29 Nov 2009 19:02:05 +0000 (19:02 +0000)]
Handle $@ being assigned a read-only value (without error or busting the stack).

Discovered whilst investigating RT #70862.

14 years agoFix RT #70862 by converting ERRSV to GvSVn() to ensure a non-NULL GvSV().
Nicholas Clark [Sun, 29 Nov 2009 16:42:42 +0000 (16:42 +0000)]
Fix RT #70862 by converting ERRSV to GvSVn() to ensure a non-NULL GvSV().

14 years agoMerge branch 'blead' of ssh:// into blead
Steve Peters [Sun, 29 Nov 2009 05:45:10 +0000 (23:45 -0600)]
Merge branch 'blead' of ssh:// into blead

14 years agoAdd error codes for getaddrinfo() and getnameinfo()
Steve Peters [Sun, 29 Nov 2009 05:43:11 +0000 (23:43 -0600)]
Add error codes for getaddrinfo() and getnameinfo()

14 years agomktables performance improvement
Karl Williamson [Sat, 28 Nov 2009 19:04:34 +0000 (12:04 -0700)]
mktables performance improvement

The attached patch got the easiest performance improvements to mktables.
Hopefully this is good enough for now.

This involved:

1) Nicholas' patch
2) I stored complete_name instead of recomputing it each time.
3) Used $_[xxx] instead of shift in very heavily used subroutines
4) removed trace accidentally left in.

I also changed the misspelled subroutine name discovered by Craig Berry.
I searched for any other misspellings and didn't find any.

Also removed trailing white space that keeps creeping back in, and now
this doesn't generate pod entries if not outputting a pod file, and
clarified warning message if no mktables.lst is present.

I couldn't figure out a way to conditionally use 'no overloading', as
it is called at compile time. ┬áSo I just commented out the old stuff
that will work for 5.8, with a note about using that if you want to
use 5.8

14 years agoDocument backreferences to groups that did not match
Moritz Lenz [Thu, 26 Nov 2009 23:33:09 +0000 (00:33 +0100)]
Document backreferences to groups that did not match

Also add a test for that, fill in test description, and sneak in a vim
modeline for re_tests

14 years agoAllow a closing brace after an "use VERSION"
Vincent Pit [Sat, 28 Nov 2009 12:27:02 +0000 (13:27 +0100)]
Allow a closing brace after an "use VERSION"

This fixes [perl #70884] : use VERSION in BLOCK without semicolon -> syntax error

14 years ago-Dmad minitest failure bisect
Zefram [Thu, 26 Nov 2009 16:41:22 +0000 (16:41 +0000)]
-Dmad minitest failure bisect

I wrote:
>In my tests with -Dmad, I'm still getting a test failure ("panic: input
>overflow") from t/op/incfilter.t.  The underlying problem is the filter
>layer mishandling things when a filter function gives it a multiline
>string, so it generates an invalid SV state (strlen(SvPVX(PL_linestr))
>> SvCUR(PL_linestr)).  This faulty state also occurs without -Dmad,
>and so doesn't appear to be Mad-related, it just doesn't in practice
>cause the test panic without -Dmad.  I'm investigating this bug now.

It's fixed by the attached patch.  Since the bug is an inconsistency
in the SV data structure, it can't be sensibly tested from Perl code,
so I'm at a loss for writing a test script.  Hopefully that panic with
-Dmad is sufficient.


Signed-off-by: H.Merijn Brand <>
14 years ago-Dmad minitest failure bisect
Zefram [Thu, 26 Nov 2009 15:19:09 +0000 (15:19 +0000)]
-Dmad minitest failure bisect

Tony Cook wrote:
>Smokes with -Dmad have been failing during make minitest since the
>middle of last month.

Mostly fixed by the attached patch.  The fault is a logic error on my
part, probably from the early phase of developing the lexer API patch,
when I didn't properly understand the various buffer pointer variables.

In my tests with -Dmad, I'm still getting a test failure ("panic: input
overflow") from t/op/incfilter.t.  The underlying problem is the filter
layer mishandling things when a filter function gives it a multiline
string, so it generates an invalid SV state (strlen(SvPVX(PL_linestr))
> SvCUR(PL_linestr)).  This faulty state also occurs without -Dmad,
and so doesn't appear to be Mad-related, it just doesn't in practice
cause the test panic without -Dmad.  I'm investigating this bug now.


Signed-off-by: H.Merijn Brand <>
14 years agoperlbug reports "Message sent" even when it hasn't
Tim Bunce (via RT) [Wed, 25 Nov 2009 11:02:24 +0000 (03:02 -0800)]
perlbug reports "Message sent" even when it hasn't

perlbug doesn't check the return status of Mail::Send and so reports
"Message sent" even if it hasn't:

14 years agoperl-5.11.2 breaks NYTProf savesrc option (Lexer API suspected)
Zefram [Wed, 25 Nov 2009 22:17:52 +0000 (22:17 +0000)]
perl-5.11.2 breaks NYTProf savesrc option (Lexer API suspected)

Tim Bunce wrote:
>The primary issue is the off-by-one error in the array indexing.

There's a bit more to it than that.  The indexing was off-by-one for
*some* places that process a new line, but correct for others, so the
saved source as a whole was mangled rather than simply offset.  Also,
there were some redundant calls to update_debugger_info(), so some lines
got saved twice, in some cases off-by-one for one saving and not for
the other.  The saved source is, therefore, hopelessly broken in 5.11.2.

Attached patch fixes the source saving.  Includes a new test, which works
through all reachable places that source lines get saved.  This should
close RT #70804.


14 years agoJerry's last patch to add a TODO test didn't update the test count.
Jesse Vincent [Wed, 25 Nov 2009 20:47:41 +0000 (15:47 -0500)]
Jerry's last patch to add a TODO test didn't update the test count.

Thanks to Nicholas++ for pointing this out

14 years agoMoved the original test file from the previous patch into t/op/lex.t,
Jesse Vincent [Wed, 25 Nov 2009 18:47:38 +0000 (13:47 -0500)]
Moved the original test file from the previous patch into t/op/lex.t,

Aded details on the bug it fixes to the tests.

14 years agoadd interpolation test for [perl #70091]
Gerard Goossen [Tue, 24 Nov 2009 11:13:13 +0000 (12:13 +0100)]
add interpolation test for [perl #70091]

(Updated by Jesse Vincent to put the test in comp rather than a new
toplevel test directory)

14 years agoAlso skip spaces after variable if we are within lexical brackets. Fixes #70091:...
Gerard Goossen [Tue, 24 Nov 2009 11:06:55 +0000 (12:06 +0100)]
Also skip spaces after variable if we are within lexical brackets. Fixes #70091: Segmentation fault in hash lookup in regex substitution

14 years agoAdd assertions that pp_padav and pp_padhv push scalars of the correct type.
Gerard Goossen [Tue, 24 Nov 2009 10:27:04 +0000 (11:27 +0100)]
Add assertions that pp_padav and pp_padhv push scalars of the correct type.

14 years agofurther windows makefiles fixes
Karl Williamson [Wed, 25 Nov 2009 15:30:57 +0000 (08:30 -0700)]
further windows makefiles fixes

Message-ID: <>

14 years agowrap uniprops.t; makefile changes for mktables
Karl Williamson [Tue, 24 Nov 2009 20:47:37 +0000 (13:47 -0700)]
wrap uniprops.t; makefile changes for mktables

Message-ID: <>

14 years agoAdd TODO test for perl #70748
Jerry D. Hedden [Tue, 24 Nov 2009 21:26:08 +0000 (16:26 -0500)]
Add TODO test for perl #70748

14 years agoBump version and regenerate
Rafael Garcia-Suarez [Tue, 24 Nov 2009 12:51:21 +0000 (13:51 +0100)]
Bump version and regenerate

14 years agoAdd tests.
Andrew Rodland [Sat, 14 Nov 2009 09:08:46 +0000 (03:08 -0600)]
Add tests.

14 years agoAdd code and starting perldoc for warnings::fatal_enabled.
Andrew Rodland [Sat, 14 Nov 2009 07:26:09 +0000 (01:26 -0600)]
Add code and starting perldoc for warnings::fatal_enabled.

This is an analog for warnings::enabled, except it tests whether the
given category has been set fatal using "use warnings FATAL => foo".
This is mostly for symmetry.

Assumes that the fatal bit for a category will have an offset one higher
than the regular bit for the category, because otherwise much rewriting
of __chk would be required.

14 years agoAdd missing library to VC++ section of Win32 dmake makefile
Steve Hay [Tue, 24 Nov 2009 11:02:58 +0000 (11:02 +0000)]
Add missing library to VC++ section of Win32 dmake makefile

14 years agoAvoid circularity in $(LINK_FLAGS) definition in Win32 dmake makefile
Steve Hay [Tue, 24 Nov 2009 10:51:54 +0000 (10:51 +0000)]
Avoid circularity in $(LINK_FLAGS) definition in Win32 dmake makefile

14 years agocleanup get_arena param-names, mark as May-Change
Jim Cromie [Mon, 23 Nov 2009 21:47:07 +0000 (14:47 -0700)]
cleanup get_arena param-names, mark as May-Change

new param-names reflect actual usage.
Mark as may-change so we can add a reqid field later.

14 years agoSlight rewording of last patch
Rafael Garcia-Suarez [Tue, 24 Nov 2009 09:46:21 +0000 (10:46 +0100)]
Slight rewording of last patch

14 years agoadd mention of PERL_MEM_LOG in perlrun.pod
Jim Cromie [Mon, 23 Nov 2009 18:57:15 +0000 (11:57 -0700)]
add mention of PERL_MEM_LOG in perlrun.pod

14 years agoSpecify in Makefile what generates pod/perluniprops.pod
Rafael Garcia-Suarez [Tue, 24 Nov 2009 09:18:20 +0000 (10:18 +0100)]
Specify in Makefile what generates pod/perluniprops.pod

14 years agoFix Win32 makefiles as per f86864acbf97469fd9e5d5233d51ff743f4d8d6e
Steve Hay [Tue, 24 Nov 2009 09:22:42 +0000 (09:22 +0000)]
Fix Win32 makefiles as per f86864acbf97469fd9e5d5233d51ff743f4d8d6e

14 years agoRemove generated file pod/perluniprops.pod from the source distribution
Rafael Garcia-Suarez [Tue, 24 Nov 2009 08:47:46 +0000 (09:47 +0100)]
Remove generated file pod/perluniprops.pod from the source distribution

14 years agomktables not run unless needed
Karl Williamson [Mon, 23 Nov 2009 23:26:16 +0000 (16:26 -0700)]
mktables not run unless needed

14 years agorecord version of Intel C during configure
Tony Cook [Tue, 24 Nov 2009 06:44:56 +0000 (17:44 +1100)]
record version of Intel C during configure

Currently building with icc records an empty ccversion, the attached
change fixes that.


Signed-off-by: H.Merijn Brand <>
14 years ago* Remove some end-of-line whitespace from perlebcdic
brian d foy [Tue, 24 Nov 2009 00:55:24 +0000 (18:55 -0600)]
* Remove some end-of-line whitespace from perlebcdic

14 years ago* Convert some pod files to UTF-8 (like all of the other pod files)
brian d foy [Tue, 24 Nov 2009 00:53:39 +0000 (18:53 -0600)]
* Convert some pod files to UTF-8 (like all of the other pod files)

14 years ago* Reword the sentence about checking unlink failures
brian d foy [Tue, 24 Nov 2009 00:52:57 +0000 (18:52 -0600)]
* Reword the sentence about checking unlink failures

14 years agoFix code-before-declaration error on Win32 with recent VC++ compilers
Steve Hay [Mon, 23 Nov 2009 23:04:41 +0000 (23:04 +0000)]
Fix code-before-declaration error on Win32 with recent VC++ compilers

(We only #define SET_INVALID_PARAMETER_HANDLER for VC2005 and later, so
users of earlier compilers will not have seen this error)

14 years agoUpgrade to threads 1.75
Jerry D. Hedden [Mon, 23 Nov 2009 15:34:04 +0000 (10:34 -0500)]
Upgrade to threads 1.75

14 years agoDon't suggest Mail::Send isn't availble if we're ignoring it
Abigail [Mon, 23 Nov 2009 17:56:44 +0000 (18:56 +0100)]
Don't suggest Mail::Send isn't availble if we're ignoring it

14 years agoMove change c35076938c7236fb into embed.fnc, from the generated file proto.h
Nicholas Clark [Mon, 23 Nov 2009 15:07:47 +0000 (15:07 +0000)]
Move change c35076938c7236fb into embed.fnc, from the generated file proto.h

14 years agoAdded a perltodo about enabling/disabling individual warnings
Jesse Vincent [Mon, 23 Nov 2009 14:38:10 +0000 (09:38 -0500)]
Added a perltodo about enabling/disabling individual warnings

14 years agoFix mktables calls in Win32 makefiles
Nicholas Clark [Mon, 23 Nov 2009 11:02:17 +0000 (11:02 +0000)]
Fix mktables calls in Win32 makefiles

Subject: Re: Smoke [5.11.2] v5.11.2-42-g02b203e FAIL(M) MSWin32 WinXP/.Net SP3 (x86/2 cpu)
Date: Mon, 23 Nov 2009 11:02:17 +0000
Message-ID: <>

14 years agoMake unicode semantics the default
Karl Williamson [Fri, 20 Nov 2009 18:02:01 +0000 (11:02 -0700)]
Make unicode semantics the default

14 years agodisable Module::Build bundle_inc.t
David Golden [Mon, 23 Nov 2009 12:38:11 +0000 (07:38 -0500)]
disable Module::Build bundle_inc.t

14 years agoMore info about camel in perlrepository.pod
Dennis Kaarsemaker [Sat, 21 Nov 2009 20:51:46 +0000 (21:51 +0100)]
More info about camel in perlrepository.pod

Signed-off-by: H.Merijn Brand <>
14 years agofix logic for a workaround in POSIX.xs
Stepan Kasal [Mon, 23 Nov 2009 11:14:06 +0000 (12:14 +0100)]
fix logic for a workaround in POSIX.xs

There is the assignment "RETVAL = 0" to silence the compiler in case
it incorrectly reports return of an undefined value.
This assignment should be present whenever *any* of the symbols is
not defined.  But the code was written so that the assignment was
compiled only when *none* of the symbols was defined.

14 years agoUse hex instead of octal for larger code points
Karl Williamson [Sat, 21 Nov 2009 00:14:30 +0000 (17:14 -0700)]
Use hex instead of octal for larger code points

14 years agoAdd also mktables.lst to gitignore, since it's generated
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:44:17 +0000 (22:44 +0100)]
Add also mktables.lst to gitignore, since it's generated

14 years agoAdd new pod file to various lists and makefiles
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:35:31 +0000 (22:35 +0100)]
Add new pod file to various lists and makefiles

14 years agoSimplify title of perluniprops
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:30:17 +0000 (22:30 +0100)]
Simplify title of perluniprops

The man standard requires the title to be on one line.

14 years agoAdd deprecation of goto to inner scopes to perldelta
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:17:43 +0000 (22:17 +0100)]
Add deprecation of goto to inner scopes to perldelta

14 years agoAdd Karl's text describing his Unicode property changes to perldelta
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:14:35 +0000 (22:14 +0100)]
Add Karl's text describing his Unicode property changes to perldelta

14 years agoMerge branch 'mktables' into blead
Rafael Garcia-Suarez [Sun, 22 Nov 2009 20:39:07 +0000 (21:39 +0100)]
Merge branch 'mktables' into blead

14 years agoRemove mktables.lst, since it's generated
Rafael Garcia-Suarez [Sun, 22 Nov 2009 20:37:51 +0000 (21:37 +0100)]
Remove mktables.lst, since it's generated

14 years agoAdd new generated file lib/unicore/ to gitignore
Rafael Garcia-Suarez [Sun, 22 Nov 2009 20:10:38 +0000 (21:10 +0100)]
Add new generated file lib/unicore/ to gitignore

Also remove from there files that are no longer generated by mktables.

14 years agoFix plan syntax in TAP output
Rafael Garcia-Suarez [Sun, 22 Nov 2009 18:50:33 +0000 (19:50 +0100)]
Fix plan syntax in TAP output

14 years agomktables revamp
Karl Williamson [Sun, 22 Nov 2009 06:45:28 +0000 (23:45 -0700)]
mktables revamp

14 years agoFix unindented code in perlfunc after 5ed4f2ecec5b66feed399b9a24471aeac4242cdb
Vincent Pit [Sat, 21 Nov 2009 21:07:31 +0000 (22:07 +0100)]
Fix unindented code in perlfunc after 5ed4f2ecec5b66feed399b9a24471aeac4242cdb

14 years agoResort MANIFEST - Latest Module::Build MANIFEST update broke sorting.
Jesse Vincent [Sat, 21 Nov 2009 19:27:39 +0000 (14:27 -0500)]
Resort MANIFEST - Latest Module::Build MANIFEST update broke sorting.

14 years agoAdd new warning introduced by last patch in perldiag.
Rafael Garcia-Suarez [Sat, 21 Nov 2009 19:01:05 +0000 (20:01 +0100)]
Add new warning introduced by last patch in perldiag.

14 years agodeprecate "goto" to jump into a construct
Gerard Goossen [Sat, 21 Nov 2009 11:16:07 +0000 (12:16 +0100)]
deprecate "goto" to jump into a construct

14 years agoForce OP_REQUIRE to scalar context at the end of ck_require and don't let it become...
Gerard Goossen [Mon, 16 Nov 2009 12:58:24 +0000 (13:58 +0100)]
Force OP_REQUIRE to scalar context at the end of ck_require and don't let it become void context. Fixes problem with require not always being in scalar context.

14 years agoAdd a TODO test for "require" always being in scalar context.
Gerard Goossen [Mon, 16 Nov 2009 12:50:23 +0000 (13:50 +0100)]
Add a TODO test for "require" always being in scalar context.

14 years agoMake -UDEBUGGING the default on VMS for 5.12.0.
Craig A. Berry [Sat, 21 Nov 2009 17:17:38 +0000 (11:17 -0600)]
Make -UDEBUGGING the default on VMS for 5.12.0.

Like it has been everywhere else for ages and ages.  Also make
command-line selection of -UDEBUGGING and -DDEBUGGING work in; before the only way to turn it off was by saying
no in answer to the interactive question.

14 years agoPerl_pad_sv and Perl_hv_assert don't exist without -DDEBUGGING.
Craig A. Berry [Sat, 21 Nov 2009 17:13:01 +0000 (11:13 -0600)]
Perl_pad_sv and Perl_hv_assert don't exist without -DDEBUGGING.

So let's not make them part of the API when they don't exist.

14 years agoDeclaration nit in vms.c's Perl_my_fwrite.
Craig A. Berry [Sat, 21 Nov 2009 17:09:47 +0000 (11:09 -0600)]
Declaration nit in vms.c's Perl_my_fwrite.

Don't use register storage class for something we later take the
address of.

14 years agoUpdate generated Module::Build::ConfigData
David Golden [Sat, 21 Nov 2009 04:57:43 +0000 (23:57 -0500)]
Update generated Module::Build::ConfigData

14 years agoAvoid logical name conflicts in File::Path::_rmtree on VMS.
Craig A. Berry [Sat, 21 Nov 2009 04:14:21 +0000 (22:14 -0600)]
Avoid logical name conflicts in File::Path::_rmtree on VMS.

already submitted upstream at:

14 years agoAlways add a manifest resource to perl.exe to specify the <trustInfo>
Jan Dubois [Thu, 30 Apr 2009 23:53:20 +0000 (16:53 -0700)]
Always add a manifest resource to perl.exe to specify the <trustInfo>
settings for Windows Vista and later.  Without this setting Windows
will treat perl.exe as a legacy application and apply various
heuristics like redirecting access to protected file system areas
(like the "Program Files" folder) to the users "VirtualStore"
instead of generating a proper "permission denied" error.

For VC8 and VC9 this manifest setting is automatically generated by
the compiler/linker (together with the binding information for their
respective runtime libraries); for all other compilers we need to
embed the manifest resource explicitly in the external resource file.

This change also requests the Microsoft Common-Controls version 6.0
(themed controls introduced in Windows XP) via the dependency list
in the assembly manifest.  For VC8 and VC9 this is specified using the
/manifestdependency linker commandline option instead.

14 years agoquick-fix broken Module::Build::Platforms::VMS
David Golden [Fri, 20 Nov 2009 20:08:48 +0000 (15:08 -0500)]
quick-fix broken Module::Build::Platforms::VMS

14 years agoUpdate count
Abigail [Fri, 20 Nov 2009 18:05:40 +0000 (19:05 +0100)]
Update count

14 years agoMerge branch 'blead' of ssh:// into blead
Abigail [Fri, 20 Nov 2009 18:01:48 +0000 (19:01 +0100)]
Merge branch 'blead' of ssh:// into blead

14 years agoFix bug #68260
Abigail [Fri, 20 Nov 2009 17:58:34 +0000 (18:58 +0100)]
Fix bug #68260

File::Find was not resolving paths of the form "/..////../" correctly.
Fixed by adding a quantifier to the substitution parameter in

14 years agoParse embed.fnc first, then cross-check consistency between it and =for apidoc
Nicholas Clark [Fri, 20 Nov 2009 13:43:00 +0000 (13:43 +0000)]
Parse embed.fnc first, then cross-check consistency between it and =for apidoc

14 years agoSynchronise "may change"/"experimental" flags between embed.fnc and =for apidoc
Nicholas Clark [Fri, 20 Nov 2009 13:42:04 +0000 (13:42 +0000)]
Synchronise "may change"/"experimental" flags between embed.fnc and =for apidoc

14 years agoMerge near-duplicate code for 'api' and 'guts'.
Nicholas Clark [Fri, 20 Nov 2009 11:03:04 +0000 (11:03 +0000)]
Merge near-duplicate code for 'api' and 'guts'.

14 years agoMerge %apidocs and %gutsdocs into $docs{api} and $docs{guts}.
Nicholas Clark [Fri, 20 Nov 2009 11:00:05 +0000 (11:00 +0000)]
Merge %apidocs and %gutsdocs into $docs{api} and $docs{guts}.

14 years agoClarify docs for implicit "next" on all "when" blocks
Moritz Lenz [Thu, 19 Nov 2009 14:32:19 +0000 (15:32 +0100)]
Clarify docs for implicit "next" on all "when" blocks

14 years agoMissing static storage class for some new static functions
Rafael Garcia-Suarez [Fri, 20 Nov 2009 11:05:23 +0000 (12:05 +0100)]
Missing static storage class for some new static functions