This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
8 years agorevise hash overhaul docs
David Golden [Wed, 8 May 2013 21:22:39 +0000 (17:22 -0400)]
revise hash overhaul docs

8 years agoperldelta: drop a reference to a change internal to 5.17
Ricardo Signes [Thu, 9 May 2013 12:54:29 +0000 (08:54 -0400)]
perldelta: drop a reference to a change internal to 5.17

8 years agoperldelta: remove an inscrutable note, clean up another
Ricardo Signes [Thu, 9 May 2013 12:54:14 +0000 (08:54 -0400)]
perldelta: remove an inscrutable note, clean up another

8 years agosilence warnings under NO_TAINT_SUPPORT
David Mitchell [Thu, 9 May 2013 13:23:38 +0000 (14:23 +0100)]
silence warnings under NO_TAINT_SUPPORT

The are lots of places where local vars aren't used when compiled
with NO_TAINT_SUPPORT.

8 years agofix threaded NO_TAINT_SUPPORT build errors
Daniel Dragan [Thu, 9 May 2013 13:03:59 +0000 (14:03 +0100)]
fix threaded NO_TAINT_SUPPORT build errors

NO_TAINT_SUPPORT incorrectly called Perl_croak without aTHX_.

To fix this, change Perl_croak to Perl_croak_nocontext, since it is
slightly more efficient in instruction size than Perl_croak.

8 years agodump.c: avoid compiler warning under -Dmad
David Mitchell [Thu, 9 May 2013 10:55:47 +0000 (11:55 +0100)]
dump.c: avoid compiler warning under -Dmad

this fix was already applied to the non-MAD branch; apply it to
the similar MAD / xml-dump code.

dump.c:2663:57: warning: comparison of constant 85 with expression of type
      'svtype' is always false [-Wtautological-constant-out-of-range-compare]
    else if (sv == (const SV *)0x55555555 || SvTYPE(sv) == 'U') {

8 years agotoke.c/MAD: silence a couple of warnings
David Mitchell [Thu, 9 May 2013 10:19:32 +0000 (11:19 +0100)]
toke.c/MAD: silence a couple of warnings

A couple of vars are set but not used under -Dmad.
The easiest way to silence the warnings is to use PERL_UNUSED_VAR()
rather than try to #ifdef away all the places the vars appear under mad.

8 years agoMinor touch-ups to VMS section of perldelta.
Craig A. Berry [Thu, 9 May 2013 00:26:46 +0000 (19:26 -0500)]
Minor touch-ups to VMS section of perldelta.

8 years agospelling, punct fixes for perldelta
Karen Etheridge [Wed, 8 May 2013 22:30:46 +0000 (15:30 -0700)]
spelling, punct fixes for perldelta

8 years agoOfficially deprecate stdio/sfio builds of perl
Leon Timmermans [Wed, 8 May 2013 20:58:32 +0000 (22:58 +0200)]
Officially deprecate stdio/sfio builds of perl

8 years agoQuick fixes to Yves' hash randomization documentation
Steffen Mueller [Wed, 8 May 2013 17:22:32 +0000 (19:22 +0200)]
Quick fixes to Yves' hash randomization documentation

8 years agoperldelta: Typos, grammar
Karl Williamson [Wed, 8 May 2013 16:47:16 +0000 (10:47 -0600)]
perldelta: Typos, grammar

8 years agoChange some perldelta text
Karl Williamson [Wed, 8 May 2013 16:24:18 +0000 (10:24 -0600)]
Change some perldelta text

This removes things that aren't applicable except to intra-5.17
releases, and rewords some poorly worded text.

8 years agoUse 'was' not 'is' to describe fixed regressions
Karl Williamson [Wed, 8 May 2013 16:21:15 +0000 (10:21 -0600)]
Use 'was' not 'is' to describe fixed regressions

'is' implies it still is extant, contrary to the meaning of the text.

8 years agoperldelta: mention non-blocking sockets on VMS
Ricardo Signes [Wed, 8 May 2013 14:36:02 +0000 (10:36 -0400)]
perldelta: mention non-blocking sockets on VMS

8 years agoperldelta: mention PERL_NO_INLINE_FUNCTIONS in delta
Ricardo Signes [Wed, 8 May 2013 14:35:50 +0000 (10:35 -0400)]
perldelta: mention PERL_NO_INLINE_FUNCTIONS in delta

8 years agoperldelta: use Pod, not asterisks, for emphasis
Ricardo Signes [Wed, 8 May 2013 14:35:37 +0000 (10:35 -0400)]
perldelta: use Pod, not asterisks, for emphasis

8 years agoperldelta: document PERL_PERTURB_KEYS
Ricardo Signes [Wed, 8 May 2013 14:35:09 +0000 (10:35 -0400)]
perldelta: document PERL_PERTURB_KEYS

8 years agoRestore the warning previously issued by (-l $fh)
Ricardo Signes [Tue, 7 May 2013 22:10:17 +0000 (18:10 -0400)]
Restore the warning previously issued by (-l $fh)

This is a partial reversion of 433644eed8, which removed a
secondary, short-circuiting behavior when the warning was issued.

Now, the warning is issued, but the normal behavior (treat the
handle as a string) is maintained.  This work was done after
subsequent refactoring to doio.c, so it couldn't be just a
reversion with the "return" statement removed.

8 years agoadd various HASH defines to perl -V output
David Mitchell [Wed, 8 May 2013 12:36:53 +0000 (13:36 +0100)]
add various HASH defines to perl -V output

5.18 contains lots of new build knobs to control hash randomisation.
Add them to the perl -V output.

8 years agoINSTALL: fix a couple of typos
David Mitchell [Wed, 8 May 2013 12:27:04 +0000 (13:27 +0100)]
INSTALL: fix a couple of typos

8 years agorelease_managers_guide: fix typo
David Mitchell [Wed, 8 May 2013 11:37:03 +0000 (12:37 +0100)]
release_managers_guide: fix typo

8 years agobisect-runner.pl: clarify -D,-U,-A args in docs
David Mitchell [Wed, 8 May 2013 11:18:15 +0000 (12:18 +0100)]
bisect-runner.pl: clarify -D,-U,-A args in docs

Based on http://www.perlmonks.org/?node_id=1032501, these arguments could
be confusing.

8 years agopod/perldelta: Add in some deprecations; fix a typo
Karl Williamson [Tue, 7 May 2013 23:00:10 +0000 (17:00 -0600)]
pod/perldelta: Add in some deprecations; fix a typo

Feel free to improve the wording of these.

8 years agobump dist/IO/lib/IO/Handle.pm version to 1.34
Dominic Hargreaves [Tue, 7 May 2013 22:25:09 +0000 (23:25 +0100)]
bump dist/IO/lib/IO/Handle.pm version to 1.34

8 years ago[perl #117791] Clarify that write does not match the C 'write' semantics
Dominic Hargreaves [Sun, 28 Apr 2013 21:11:57 +0000 (22:11 +0100)]
[perl #117791] Clarify that write does not match the C 'write' semantics

8 years agodocument and improve hash algorithm randomization related build options
Yves Orton [Tue, 7 May 2013 21:52:16 +0000 (23:52 +0200)]
document and improve hash algorithm randomization related build options

Install was a copy of other material, made heavy reference to 5.8.x and
and didnt really document what it should have. I reworked it to be more
up to date.

8 years agocleanup and test PERL_PERTURB_KEYS environment variable handling
Yves Orton [Tue, 7 May 2013 20:24:20 +0000 (22:24 +0200)]
cleanup and test PERL_PERTURB_KEYS environment variable handling

8 years agoremove the 5.17 deltas, update for 5.18
Ricardo Signes [Tue, 7 May 2013 02:01:25 +0000 (22:01 -0400)]
remove the 5.17 deltas, update for 5.18

8 years agoput the perldelta we had been working on in place
Ricardo Signes [Tue, 7 May 2013 01:54:24 +0000 (21:54 -0400)]
put the perldelta we had been working on in place

8 years agoupdate perldiag with new warnings
Ricardo Signes [Tue, 7 May 2013 02:31:40 +0000 (22:31 -0400)]
update perldiag with new warnings

8 years agoregenerate uconfig.h and META.json
Ricardo Signes [Tue, 7 May 2013 01:34:32 +0000 (21:34 -0400)]
regenerate uconfig.h and META.json

8 years agoBump version to 5.18.0-RC0
Ricardo Signes [Tue, 7 May 2013 01:24:52 +0000 (21:24 -0400)]
Bump version to 5.18.0-RC0

This was done with:

  ./perl -Ilib Porting/bump-perl-version -i 5.17.12 5.18.0

Followed by two tiny manual edits: INSTALL and patchlevel.h

8 years agoThe URL for the dist source repo changed
H.Merijn Brand [Tue, 7 May 2013 21:47:21 +0000 (23:47 +0200)]
The URL for the dist source repo changed

8 years agoRMG: say that for maint there are two RMG versions
David Mitchell [Tue, 7 May 2013 16:53:49 +0000 (17:53 +0100)]
RMG: say that for maint there are two RMG versions

8 years agoRMG: add note about maint and Module::CoreList
David Mitchell [Tue, 7 May 2013 16:45:02 +0000 (17:45 +0100)]
RMG: add note about maint and Module::CoreList

8 years agoRMG: maint perlhist: change from push to pull
David Mitchell [Tue, 7 May 2013 16:25:11 +0000 (17:25 +0100)]
RMG: maint perlhist: change from push to pull

When creating a new maint release, rather than copying its perlhist entry
into every other branch just after release, instead just copy it into
blead; then when creating a new maint release, just pull the latest
perlhist file from blead.

8 years agoRMG: maint perldeltas: change from push to pull
David Mitchell [Mon, 6 May 2013 16:12:30 +0000 (17:12 +0100)]
RMG: maint perldeltas: change from push to pull

When creating a new maint release, rather than copying its perldelta into
every other branch just after release, instead just copy it into blead,
then when creating a new maint release, copy any newer perldeltas from
blead.

8 years agoadd PERL_NEW_COPY_ON_WRITE to perl -V output
David Mitchell [Tue, 7 May 2013 15:53:20 +0000 (16:53 +0100)]
add PERL_NEW_COPY_ON_WRITE to perl -V output

8 years agohoping this works finally. gcc is too permissive with my build options
Yves Orton [Tue, 7 May 2013 11:20:34 +0000 (13:20 +0200)]
hoping this works finally. gcc is too permissive with my build options

8 years agodocument Hash::Util::hash_traversal_mask()
Yves Orton [Tue, 7 May 2013 09:22:44 +0000 (11:22 +0200)]
document Hash::Util::hash_traversal_mask()

It still needs tests. But I figured it would be easier to test
by someone else if I documented it. (Ill try to get tests done for it
soon).

8 years agofix build issue with picky compilers
Yves Orton [Tue, 7 May 2013 09:22:22 +0000 (11:22 +0200)]
fix build issue with picky compilers

8 years agoEnsure -DUSE_PERLIO gets into Config's ccflags when using dmake on Windows
Steve Hay [Tue, 7 May 2013 07:44:45 +0000 (08:44 +0100)]
Ensure -DUSE_PERLIO gets into Config's ccflags when using dmake on Windows

The -DUSE_PERLIO flag was being used to build perl itself, but amazingly
didn't end up in Config's ccflags, potentially causing trouble later when
building XS extensions. (The problem isn't new: it's been this way ever
since PerlIO support for Windows was added by e601c439, way back in
November 2000.)

8 years agoMake it possible to disable and control hash key traversal randomization
Yves Orton [Sun, 5 May 2013 14:33:43 +0000 (16:33 +0200)]
Make it possible to disable and control hash key traversal randomization

Adds support for PERL_PERTURB_KEYS environment variable, which in turn allows one to control
the level of randomization applied to keys() and friends.

When PERL_PERTURB_KEYS is 0 we will not randomize key order at all. The
chance that keys() changes due to an insert will be the same as in
previous perls, basically only when the bucket size is changed.

When PERL_PERTURB_KEYS is 1 we will randomize keys in a non repeatedable
way. The chance that keys() changes due to an insert will be very high.
This is the most secure and default mode.

When PERL_PERTURB_KEYS is 2 we will randomize keys in a repeatedable way.
Repititive runs of the same program should produce the same output every
time. The chance that keys changes due to an insert will be very high.

This patch also makes PERL_HASH_SEED imply a non-default
PERL_PERTURB_KEYS setting. Setting PERL_HASH_SEED=0 (exactly one 0) implies
PERL_PERTURB_KEYS=0 (hash key randomization disabled), settng PERL_HASH_SEED
to any other value, implies PERL_PERTURB_KEYS=2 (deterministic/repeatable
hash key randomization). Specifying PERL_PERTURB_KEYS explicitly to a
different level overrides this behavior.

Includes changes to allow one to compile out various aspects of the
patch. One can compile such that PERL_PERTURB_KEYS is not respected, or
can compile without hash key traversal randomization at all. Note that
support for these modes is incomplete, and currently a few tests will
fail.

Also includes a new subroutine in Hash::Util::hash_traversal_mask()
which can be used to ensure a given hash produces a predictable key
order (assuming the same hash seed is in effect). This sub acts as a
getter and a setter.

NOTE - this patch lacks tests, but I lack tuits to get them done quickly,
so I am pushing this with the hope that others can add them afterwards.

8 years agoRemoved confusing reference to new in ties perlfunc entry
Brad Gilbert [Mon, 6 May 2013 15:52:05 +0000 (10:52 -0500)]
Removed confusing reference to new in ties perlfunc entry

8 years agoimprove unpackstring() API docs
David Mitchell [Mon, 6 May 2013 15:28:53 +0000 (16:28 +0100)]
improve unpackstring() API docs

See ticket RT #116366 for the full discussion

8 years agoRevert "Update docs to concur with $`,$&,$' changes"
David Mitchell [Mon, 6 May 2013 11:34:59 +0000 (12:34 +0100)]
Revert "Update docs to concur with $`,$&,$' changes"

This reverts commit d78f32f607952d58a998c5b7554572320dc57b2a.

Since COW has now not been enabled by default for 5.18, revert the
documentation changes which say that that $' etc no longer have a
performance penalty, etc.

8 years agomake /(?p:...)/ keep RXf_PMf_KEEPCOPY flag
David Mitchell [Mon, 6 May 2013 11:14:26 +0000 (12:14 +0100)]
make /(?p:...)/ keep RXf_PMf_KEEPCOPY flag

RT #117135

The /p flag, when used internally within a pattern, isn't like the
other internal patterns, e.g. (?i:...), in that once seen, the
pattern should have the RXf_PMf_KEEPCOPY flag globally set and not
just enabled within the scope of the (?p:...).

8 years agoUse PTR2IV() instead of casting a pointer to IV, to avoid warnings.
Robin Barker [Wed, 1 May 2013 17:39:26 +0000 (18:39 +0100)]
Use PTR2IV() instead of casting a pointer to IV, to avoid warnings.

The cast to IV was added to avoid problems on platforms where pointers are
larger than longs. However, the change instead generates warnings on
platforms where IVs are larger than pointers. Instead, use the PTR2IV()
macro provided by perl.h to make everyone happy.

Also change the type of the variable on that line, because it is cast to
STRLEN the first time it is used, and then passed to a macro that assigns it
to an int regardless.

8 years agoImprove the logic in regen_perly.pl for manually generating token macros.
Nicholas Clark [Thu, 2 May 2013 11:34:13 +0000 (13:34 +0200)]
Improve the logic in regen_perly.pl for manually generating token macros.

Without this fixup the build breaks on Win32. Previously it was enabled using
a second regular expression to parse the bison version string. This
effectively duplicates the first regular expression that parses the bison
version string to determine if the version of bison found can be used.

The second regular expression could get missed when changing the first, as
happened with commit f5cf236ddbe8e24e. So refactor the code to extract the
bison version once, and then use this later as a simple numeric comparison.

With this change, we can actually use bison 2.7 to regenerate perly.*

8 years agoFix non-blocking sockets on VMS.
Craig A. Berry [Sun, 5 May 2013 19:50:54 +0000 (14:50 -0500)]
Fix non-blocking sockets on VMS.

It turns out sockets on VMS (just like Windows) are blocking by
default, but the same code already in IO::Socket::blocking for
Windows that uses ioctl to set non-blocking works just fine on VMS.

This is part of [perl #116433] as the deficieny was exposed by
tests in IO::Socket::IP.

8 years agoMerge perldelta for 5.18, work from past weeks
Ricardo Signes [Sun, 5 May 2013 20:05:53 +0000 (16:05 -0400)]
Merge perldelta for 5.18, work from past weeks

8 years agoperldelta: split change is incompatible
Ricardo Signes [Sun, 21 Apr 2013 23:56:00 +0000 (19:56 -0400)]
perldelta: split change is incompatible

8 years agoperldelta: "corrupts"
Smylers [Thu, 4 Apr 2013 13:14:30 +0000 (14:14 +0100)]
perldelta: "corrupts"

8 years agoperldelta: singular agreement
Smylers [Thu, 4 Apr 2013 13:10:32 +0000 (14:10 +0100)]
perldelta: singular agreement

8 years agoperldelta: "no" missing
Smylers [Thu, 4 Apr 2013 12:55:04 +0000 (13:55 +0100)]
perldelta: "no" missing

8 years agoperldelta: unwanted comma removed
Smylers [Thu, 4 Apr 2013 12:07:14 +0000 (13:07 +0100)]
perldelta: unwanted comma removed

The sense is "matching no longer excludes", which can't take a comma (even
though the qualifiers on "matching" are quite long)>

8 years agoperldelta: mark $_ as code in header
Ricardo Signes [Fri, 5 Apr 2013 23:53:26 +0000 (19:53 -0400)]
perldelta: mark $_ as code in header

8 years agoperldelta: "continuation of"
Smylers [Thu, 4 Apr 2013 11:58:06 +0000 (12:58 +0100)]
perldelta: "continuation of"

Not "for".

8 years agoperldelta: fatal error is an error, not a warning
Smylers [Thu, 4 Apr 2013 11:46:50 +0000 (12:46 +0100)]
perldelta: fatal error is an error, not a warning

"(F)" removed, since everything in the 'New Errors' section is obviously
an error, and none of the other errors in there are marked as such.

8 years agoperldelta: semicolon there isn't code
Smylers [Thu, 4 Apr 2013 10:47:58 +0000 (11:47 +0100)]
perldelta: semicolon there isn't code

8 years agoperldelta: extraneous word removed
Smylers [Thu, 4 Apr 2013 10:43:57 +0000 (11:43 +0100)]
perldelta: extraneous word removed

8 years agoperldelta: join sentence fragment
Smylers [Thu, 4 Apr 2013 10:41:00 +0000 (11:41 +0100)]
perldelta: join sentence fragment

8 years agoperldelta: avoid comma splice
Smylers [Thu, 4 Apr 2013 10:34:21 +0000 (11:34 +0100)]
perldelta: avoid comma splice

8 years agoperldelta: short-circuit cross-reference chain
Smylers [Thu, 4 Apr 2013 09:26:23 +0000 (10:26 +0100)]
perldelta: short-circuit cross-reference chain

perlre/(?[ ]) just says to see perlrecharclass/Extended Bracketed
Character Classes, so may as well point people there in the first place.

8 years agoperldelta: DTrace probes as bullet list
Smylers [Thu, 4 Apr 2013 09:20:11 +0000 (10:20 +0100)]
perldelta: DTrace probes as bullet list

It was a definition list, but with only terms (no definitions), and hence
no indentation.

8 years agoperldelta: spelling fix
Smylers [Thu, 4 Apr 2013 09:17:05 +0000 (10:17 +0100)]
perldelta: spelling fix

8 years agoperldelta: an env var doesn't do anything itself
Smylers [Thu, 4 Apr 2013 09:12:54 +0000 (10:12 +0100)]
perldelta: an env var doesn't do anything itself

8 years agoperldelta: missing parenthetical comma
Smylers [Thu, 4 Apr 2013 09:07:50 +0000 (10:07 +0100)]
perldelta: missing parenthetical comma

"in hex" is parenthetical

8 years agoperldelta: "order" is intended word
Smylers [Thu, 4 Apr 2013 09:04:48 +0000 (10:04 +0100)]
perldelta: "order" is intended word

8 years agowarn of more things to be removed
Ricardo Signes [Thu, 4 Apr 2013 13:58:42 +0000 (09:58 -0400)]
warn of more things to be removed

8 years agocarry forward future deprecations from 5.16 delta
Ricardo Signes [Thu, 4 Apr 2013 02:11:47 +0000 (22:11 -0400)]
carry forward future deprecations from 5.16 delta

8 years agoperldelta: mention the removal of BeOS
Ricardo Signes [Thu, 4 Apr 2013 02:11:21 +0000 (22:11 -0400)]
perldelta: mention the removal of BeOS

8 years agoperldelta: the selected bugs
Ricardo Signes [Wed, 3 Apr 2013 02:13:28 +0000 (22:13 -0400)]
perldelta: the selected bugs

8 years agoperldelta: miscellaneous editing in the middle parts
Ricardo Signes [Wed, 3 Apr 2013 01:48:41 +0000 (21:48 -0400)]
perldelta: miscellaneous editing in the middle parts

8 years agoperldelta: deprecations section
Ricardo Signes [Wed, 3 Apr 2013 01:27:32 +0000 (21:27 -0400)]
perldelta: deprecations section

8 years agoperldelta: the incompatible changes section
Ricardo Signes [Wed, 3 Apr 2013 01:14:43 +0000 (21:14 -0400)]
perldelta: the incompatible changes section

8 years agoperldelta: finish reordering and first pass through Core Enh.
Ricardo Signes [Wed, 3 Apr 2013 01:03:28 +0000 (21:03 -0400)]
perldelta: finish reordering and first pass through Core Enh.

8 years agoexperimental feature warning categories have ::
Ricardo Signes [Wed, 3 Apr 2013 00:58:10 +0000 (20:58 -0400)]
experimental feature warning categories have ::

8 years agoperldelta: collect hash changes
Ricardo Signes [Tue, 2 Apr 2013 14:05:52 +0000 (10:05 -0400)]
perldelta: collect hash changes

8 years agoperldelta: tweak/fix "earlier changes" section
Ricardo Signes [Tue, 2 Apr 2013 14:03:47 +0000 (10:03 -0400)]
perldelta: tweak/fix "earlier changes" section

8 years agoimport perl51710delta content to perl5180delta
Ricardo Signes [Mon, 1 Apr 2013 21:53:27 +0000 (17:53 -0400)]
import perl51710delta content to perl5180delta

8 years agoimport perl5179delta content to perl5180delta
Ricardo Signes [Mon, 1 Apr 2013 21:49:52 +0000 (17:49 -0400)]
import perl5179delta content to perl5180delta

8 years agoimport perl5178delta content to perl5180delta
Ricardo Signes [Mon, 1 Apr 2013 21:42:53 +0000 (17:42 -0400)]
import perl5178delta content to perl5180delta

8 years agoimport perl5177delta content to perl5180delta
Ricardo Signes [Mon, 1 Apr 2013 21:14:03 +0000 (17:14 -0400)]
import perl5177delta content to perl5180delta

8 years agoimport perl5176delta content to perl5180delta
Ricardo Signes [Mon, 1 Apr 2013 21:05:48 +0000 (17:05 -0400)]
import perl5176delta content to perl5180delta

8 years agoimport perl5175delta content to perl5180delta
Ricardo Signes [Mon, 1 Apr 2013 20:56:06 +0000 (16:56 -0400)]
import perl5175delta content to perl5180delta

8 years agoimport perl5174delta content to perl5180delta
Ricardo Signes [Mon, 1 Apr 2013 20:49:25 +0000 (16:49 -0400)]
import perl5174delta content to perl5180delta

8 years agoimport perl5173delta content to perl5180delta
Ricardo Signes [Mon, 1 Apr 2013 20:32:56 +0000 (16:32 -0400)]
import perl5173delta content to perl5180delta

8 years agoimport perl5172delta content to perl5180delta
Ricardo Signes [Wed, 13 Mar 2013 02:52:38 +0000 (22:52 -0400)]
import perl5172delta content to perl5180delta

8 years agoimport perl5171delta content to perl5180delta
Ricardo Signes [Wed, 13 Mar 2013 02:39:37 +0000 (22:39 -0400)]
import perl5171delta content to perl5180delta

8 years agoimport perl5170delta content to perl5180delta
Ricardo Signes [Wed, 13 Mar 2013 02:33:52 +0000 (22:33 -0400)]
import perl5170delta content to perl5180delta

8 years agoFix typo in Module::CoreList POD
Chris 'BinGOs' Williams [Sat, 4 May 2013 21:19:06 +0000 (22:19 +0100)]
Fix typo in Module::CoreList POD

8 years agoupdate AUTHORS
David Mitchell [Fri, 3 May 2013 14:07:46 +0000 (15:07 +0100)]
update AUTHORS

8 years agofix two my_setenv/my_clearenv bugs
Markus Jansen [Fri, 3 May 2013 14:02:30 +0000 (15:02 +0100)]
fix two my_setenv/my_clearenv bugs

RT #117121. This commit fixes two bugs. First, some old glibc's can crash
if unsetenv() is called with a null environ.

Secondly, the code in Perl_my_clearenv(), when freeing env vars with a
name longer than 80 chars, reallocs a tmp buffer, but didn't
update the buf lencausing this to fail under valgrind:

    $ENV{"a"x 90}=1; local %ENV;

8 years agoMerge in -DPERL_NO_INLINE_FUNCTIONS and t/porting/extrefs.t which tests it.
Nicholas Clark [Fri, 3 May 2013 12:13:08 +0000 (14:13 +0200)]
Merge in -DPERL_NO_INLINE_FUNCTIONS and t/porting/extrefs.t which tests it.

8 years agoAdd a space after -o to keep Darwin's g++ happy, in t/porting/extrefs.t
Nicholas Clark [Tue, 30 Apr 2013 14:19:15 +0000 (16:19 +0200)]
Add a space after -o to keep Darwin's g++ happy, in t/porting/extrefs.t

Darwin's g++ 4.2.1 is fussy. FreeBSD's g++ 4.2.1 is not. Hateful software.

8 years agoAdd a "verbose" option to t/porting/extrefs.t for debugging.
Nicholas Clark [Tue, 30 Apr 2013 13:56:53 +0000 (15:56 +0200)]
Add a "verbose" option to t/porting/extrefs.t for debugging.

8 years agosupport MSWin32 too
Tony Cook [Sun, 14 Apr 2013 06:10:04 +0000 (16:10 +1000)]
support MSWin32 too

8 years agoremove code for non-core builds and "modernize"
Tony Cook [Sat, 13 Apr 2013 05:05:33 +0000 (15:05 +1000)]
remove code for non-core builds and "modernize"