4 years agoRecord another known problem in perldelta v5.13.5
Steve Hay [Sun, 19 Sep 2010 20:01:49 +0000]
Record another known problem in perldelta

Testers on IRC have also discovered that the upgrade to
ExtUtils-MakeMaker-6.57_05 has resulted in some Module-Install tests
failing

4 years agoRecord a known problem in perldelta
Steve Hay [Sun, 19 Sep 2010 17:56:26 +0000]
Record a known problem in perldelta

Testers on IRC have discovered that the upgrade to Encode-2.40 has resulted
in some libwww-perl tests failing

4 years agoDon't use wildcards in Porting/exec-bit.txt
Steve Hay [Sun, 19 Sep 2010 17:25:25 +0000]
Don't use wildcards in Porting/exec-bit.txt

The *.SH wildcard wrongly matched *.sh files on Windows's case-insensitive
filesystem, leading to an exec bit getting set where it shouldn't have been

Thanks to rafl and vincent for spotting the problem and the cause

4 years agoFinal update to perldelta.pod for Perl 5.13.5
Steve Hay [Sun, 19 Sep 2010 16:04:39 +0000]
Final update to perldelta.pod for Perl 5.13.5

4 years agoRecord Perl 5.13.5 in perlhist
Steve Hay [Sun, 19 Sep 2010 15:41:18 +0000]
Record Perl 5.13.5 in perlhist

4 years agoUpdate Module::CoreList for Perl 5.13.5
Steve Hay [Sun, 19 Sep 2010 15:29:08 +0000]
Update Module::CoreList for Perl 5.13.5

4 years agoUpdate Changes for 5.13.5
Steve Hay [Sun, 19 Sep 2010 14:31:48 +0000]
Update Changes for 5.13.5

4 years agoBump version to 5.13.5
Steve Hay [Sun, 19 Sep 2010 14:21:29 +0000]
Bump version to 5.13.5

4 years agoUpdate perldelta for 5.13.5
Steve Hay [Sun, 19 Sep 2010 12:31:11 +0000]
Update perldelta for 5.13.5

Hopefully the last-but-one update

4 years agoBump VERSIONs in XS-APItest and XS-APItest-KeywordRPN
Steve Hay [Sun, 19 Sep 2010 12:29:35 +0000]
Bump VERSIONs in XS-APItest and XS-APItest-KeywordRPN

Not strictly necessary for these modules since they don't get installed
anyway, but their XS files have been changed since 5.13.4

4 years agoBump VERSION in PerlIO-scalar
Steve Hay [Sun, 19 Sep 2010 12:28:26 +0000]
Bump VERSION in PerlIO-scalar

The XS file has been changed since 5.13.4

4 years agoBump VERSION in threads-shared
Steve Hay [Sun, 19 Sep 2010 12:28:09 +0000]
Bump VERSION in threads-shared

The XS file has been changed since 5.13.4

4 years agoUpdate perldelta for 5.13.5 tomorrow (err, later today)
Steve Hay [Sun, 19 Sep 2010 01:20:27 +0000]
Update perldelta for 5.13.5 tomorrow (err, later today)

Not finished yet, but nearly there already thanks to the efforts of rafl
over the last month :-)

4 years agoFix Porting/cmpVERSION.pl to work on Win32
Steve Hay [Sat, 18 Sep 2010 23:05:27 +0000]
Fix Porting/cmpVERSION.pl to work on Win32

4 years agoVarious perldelta tweaks
Florian Ragwitz [Sat, 18 Sep 2010 21:30:21 +0000]
Various perldelta tweaks

Fixes some minor typos, and adds more links, mostly to rt.perl.org.

4 years agoperldelta recent module upgrades
Florian Ragwitz [Sat, 18 Sep 2010 21:17:55 +0000]
perldelta recent module upgrades

4 years agoUpgrade Encode from 2.39 to 2.40
Steve Hay [Sat, 18 Sep 2010 20:29:05 +0000]
Upgrade Encode from 2.39 to 2.40

4 years agoUpgrade B-Debug from 1.14 to 1.16
Steve Hay [Sat, 18 Sep 2010 20:10:42 +0000]
Upgrade B-Debug from 1.14 to 1.16

4 years agoSilence compiler warnings
Steve Hay [Sat, 18 Sep 2010 16:02:07 +0000]
Silence compiler warnings

4 years agoUpdate the perl distribution's abstract
Florian Ragwitz [Sat, 18 Sep 2010 01:51:33 +0000]
Update the perl distribution's abstract

Commit d27f2b2f9d9e8675f5b63a1453279409ca22f8b6 changed the abstract in the main
pod file. This does the same thing for the abstract in META.yml.

Also update our no_index directories for some moved dual-life modules, while
we're at it.

4 years agoFix inconsistency in perlpod
Florian Ragwitz [Fri, 17 Sep 2010 22:29:08 +0000]
Fix inconsistency in perlpod

4 years agoperldelta up to ebeb11a
Florian Ragwitz [Fri, 17 Sep 2010 20:31:54 +0000]
perldelta up to ebeb11a

4 years ago* Fix 'a keys' question title in perlfaq4
brian d foy [Fri, 17 Sep 2010 16:03:30 +0000]
* Fix 'a keys' question title in perlfaq4

4 years agoExplicitly disable unicode for non-unicode tests in t/op/warn.t
Tony Cook [Fri, 17 Sep 2010 09:46:10 +0000]
Explicitly disable unicode for non-unicode tests in t/op/warn.t

These would fail when smokes tested under unicode locales.

4 years agoPATCH: perldelta entry for [\8] [perl #76840] fix.
Karl Williamson [Thu, 16 Sep 2010 19:26:07 +0000]
PATCH: perldelta entry for [\8] [perl #76840] fix.

4 years agoreftype() used without checking for undef
Chas. Owens [Thu, 16 Sep 2010 14:59:30 +0000]
reftype() used without checking for undef

Hash::Util used "reftype($v) eq 'HASH'" without checking for
undefinendness. This patch rectifies that. Also bumps Hash::Util
version.

Original patch and detective work by Chas. Owens. Modified by Steffen
Mueller.

4 years agoBack out the mauve module and related changes
Florian Ragwitz [Sun, 5 Sep 2010 18:30:54 +0000]
Back out the mauve module and related changes

It's was intended as a temporary namespace only, and we really don't want to
ship it in any release until we've figured out what it should really look like.

This reverts commit 05c0d6bbe3ec5cc9af99d105b8648ad02ed7cc95,
  "add sv_reftype_len() and make sv_reftype() be a wrapper for it"
commit 792477b9c2e4c75cb03d07bd6d25dc7e1fdf448e,
 "create the "mauve" temporary namespace for things like reftype"
commit 8df6b97c1de8326d50ac9c8cae4bf716393b45bb,
  "mauve.t needs access to %Config, make sure it's available"
commit cfe9162d0d593cd12a979c73df82c7509b324343,
 "use more efficient sv_reftype_len() interface"
and commit 47b13905e23c2a72acdde8bb4669e25e5eaefec4
  "add more tests to lib/mauve.t so it tests also that mauve::reftype can return "LVALUE""

There's a `mauve' branch still containing all the code for the temporary mauve
namespace. That should be used to work on it until it's mostly ready to be
released, and only then merged to blead. Alternatively, it should be deleted if
another way to provide mauve's features in the core is found.

4 years agoFix /[\8]/ to not match NULL; give correct warning
Karl Williamson [Sun, 18 Jul 2010 18:28:14 +0000]
Fix /[\8]/ to not match NULL; give correct warning

8 and 9 are not treated as alphas in parsing as opposed to illegal
octals.

This also adds tests to verify that 1-3 digits work in char classes.

I created an isOCTAL macro in case that lookup gets moved to a bit
field, as I plan to do later, for speed.

4 years agoFix "Wide character in warn" warning
Father Chrysostomos [Thu, 16 Sep 2010 12:09:17 +0000]
Fix "Wide character in warn" warning

4 years agoFix warn to respect utf8-encoded scalars [perl #45549]
Father Chrysostomos [Thu, 16 Sep 2010 12:07:50 +0000]
Fix warn to respect utf8-encoded scalars [perl #45549]

4 years agochange warn.t to use test.pl
Father Chrysostomos [Thu, 16 Sep 2010 12:07:13 +0000]
change warn.t to use test.pl

4 years agoAdd info regarding AIX 7.1
Rainer Tammer [Thu, 16 Sep 2010 07:22:52 +0000]
Add info regarding AIX 7.1

4 years agoadd hv_copy_hints_hv and save_hints to the API
Zefram [Tue, 14 Sep 2010 23:21:16 +0000]
add hv_copy_hints_hv and save_hints to the API

4 years ago'make regen' really shouldn't be special
Jim Cromie [Thu, 17 Jun 2010 02:38:12 +0000]
'make regen' really shouldn't be special

Revert 'make regen' special case advice of
94e892a68016a417b1b324213d39309b8b744d0e, leave the minor whitespace cleanup.

4 years agoFix a pod link I broke
Florian Ragwitz [Wed, 15 Sep 2010 23:45:52 +0000]
Fix a pod link I broke

Oooops!

4 years agoif.pm is upstream blead
Florian Ragwitz [Wed, 15 Sep 2010 23:25:06 +0000]
if.pm is upstream blead

4 years agoCPAN is UPSTREAM for Digest and Digest-MD5
Gisle Aas [Wed, 15 Sep 2010 18:01:02 +0000]
CPAN is UPSTREAM for Digest and Digest-MD5

4 years agoAdd Rob to AUTHORS
Florian Ragwitz [Wed, 15 Sep 2010 17:45:29 +0000]
Add Rob to AUTHORS

4 years agoUpdate AUTOLOAD section in perlsub
Rob Hoelz [Mon, 13 Sep 2010 16:44:57 +0000]
Update AUTOLOAD section in perlsub

AUTOLOAD documentation didn't mention that if AUTOLOAD is implemented
as an XSUB, $AUTOLOAD is not populated.

4 years agoperlunicode.pod: Clarify user-defined casing.
Karl Williamson [Wed, 15 Sep 2010 16:49:30 +0000]
perlunicode.pod: Clarify user-defined casing.

I ran some experiments and found out that the user-defined casing worked
in ways that were surprises to me. And thus, this brutally lays out its
shortcomings.

4 years agoPATCH: regex longjmp flaws
Karl Williamson [Wed, 15 Sep 2010 16:39:34 +0000]
PATCH: regex longjmp flaws

The netbsd - 5.0.2 compiler pointed out that the recent changes to add
longjmps to speed up some regex compilations can result in clobbering a
few values.  These depend on the compiled code, and so didn't show up in
other compiler's warnings.  This patch reinitializes them after a
longjmp.

4 years agoAdd new_ok() to create and test objects. From Test::More.
Michael G. Schwern [Tue, 14 Sep 2010 02:14:54 +0000]
Add new_ok() to create and test objects. From Test::More.

4 years agoAdd note() to put informational notes into the TAP (from Test::More)
Michael G. Schwern [Tue, 14 Sep 2010 02:14:30 +0000]
Add note() to put informational notes into the TAP (from Test::More)

4 years agoAdd done_testing from Test::More
Michael G. Schwern [Tue, 14 Sep 2010 02:14:04 +0000]
Add done_testing from Test::More

4 years agoShut up "used only once" warnings.
Michael G. Schwern [Tue, 14 Sep 2010 02:10:18 +0000]
Shut up "used only once" warnings.

Not very elegant, but it avoids using $^W or warnings.pm.

4 years agoMerge branch 'briandfoy/perlfaq' of ssh://perl5.git.perl.org/perl into briandfoy...
brian d foy [Wed, 15 Sep 2010 15:22:39 +0000]
Merge branch 'briandfoy/perlfaq' of ssh://perl5.git.perl.org/perl into briandfoy/perlfaq

4 years agoMove book info to perlbook from perlfaq2
brian d foy [Wed, 15 Sep 2010 14:57:02 +0000]
Move book info to perlbook from perlfaq2

* Updated all the book info
* Added some missing books
* Don't call the Camel 'definitive' anymore, until we update it :)
* There's more to do, but this is enough to now

4 years agoUpgrade Math::BigRat from version 0.25 to 0.26
Florian Ragwitz [Wed, 15 Sep 2010 14:54:22 +0000]
Upgrade Math::BigRat from version 0.25 to 0.26

Lots of unnecessary test boilerplate has been removed, allowing us to remove the
dist from both %abs and %temp_no_core in t/TEST.

4 years agoWe now include Safe version 2.28
Florian Ragwitz [Wed, 15 Sep 2010 02:17:03 +0000]
We now include Safe version 2.28

4 years agoSynchronize Module-CoreList's META.yml
Florian Ragwitz [Wed, 15 Sep 2010 02:06:55 +0000]
Synchronize Module-CoreList's META.yml

I wish it would just be deleted. Apparently no one ever uses the one in blead.

4 years agoUpgrade bignum from version 0.24 to 0.25
Florian Ragwitz [Wed, 15 Sep 2010 01:46:02 +0000]
Upgrade bignum from version 0.24 to 0.25

4 years agoBump $open::VERSION
Florian Ragwitz [Wed, 15 Sep 2010 01:28:58 +0000]
Bump $open::VERSION

4 years agoUpgrade Math::BigRat from version 0.24 to 0.25
Florian Ragwitz [Tue, 14 Sep 2010 19:27:15 +0000]
Upgrade Math::BigRat from version 0.24 to 0.25

4 years agoPod fix for perldelta
Florian Ragwitz [Tue, 14 Sep 2010 20:01:40 +0000]
Pod fix for perldelta

4 years agoperldelta up to a1bbdff
Florian Ragwitz [Tue, 14 Sep 2010 17:48:03 +0000]
perldelta up to a1bbdff

4 years agoMerge branch 'briandfoy/perlfaq' of ssh://perl5.git.perl.org/perl into briandfoy...
brian d foy [Tue, 14 Sep 2010 17:22:15 +0000]
Merge branch 'briandfoy/perlfaq' of ssh://perl5.git.perl.org/perl into briandfoy/perlfaq

4 years ago* Add multilevel hash exists() to perlfaq4
brian d foy [Tue, 14 Sep 2010 17:16:49 +0000]
* Add multilevel hash exists() to perlfaq4

 How can I check if a keys exists in a multilevel hash?

How is it we got this far without ever answering this
FAQ? :)

4 years ago* Added a smart match example to perlfaq6
brian d foy [Tue, 14 Sep 2010 17:15:10 +0000]
* Added a smart match example to perlfaq6

How do I efficiently match many regular expressions at once?

It's almost trivial with smart matching. Barely worth
asking anymore.

4 years agoMore whitespace cleanups
brian d foy [Mon, 13 Sep 2010 03:56:58 +0000]
More whitespace cleanups

4 years agoWhitespace cleanups
brian d foy [Mon, 13 Sep 2010 03:53:09 +0000]
Whitespace cleanups

4 years agoperlfaq4: fix a minor grammar problem in the Y2K answer
brian d foy [Wed, 1 Sep 2010 07:32:12 +0000]
perlfaq4: fix a minor grammar problem in the Y2K answer

4 years ago* Correct Higher Order Perl to Higher-Order Perl
brian d foy [Sun, 22 Aug 2010 18:53:59 +0000]
* Correct Higher Order Perl to Higher-Order Perl

4 years agoFix trailing whitespace
brian d foy [Sat, 21 Aug 2010 17:03:46 +0000]
Fix trailing whitespace

4 years ago* Update Effective Perl Programming reference
brian d foy [Sat, 21 Aug 2010 17:01:02 +0000]
* Update Effective Perl Programming reference

4 years ago* How can I read in an entire file all at once?
brian d foy [Sat, 21 Aug 2010 16:37:49 +0000]
* How can I read in an entire file all at once?
+ Incorporate a few suggestions from Uri

4 years ago* How can I read in an entire file all at once?
brian d foy [Sat, 21 Aug 2010 16:27:10 +0000]
* How can I read in an entire file all at once?
* Modulate my assertions about File::Map

4 years ago* How come when I open a file read-write it wipes it out?
brian d foy [Sat, 21 Aug 2010 16:23:28 +0000]
* How come when I open a file read-write it wipes it out?
+ adjust some code lines to come in under 80 columns
+ other minor formatting issues.

4 years ago* How do I handle linked lists?
brian d foy [Sat, 21 Aug 2010 16:12:35 +0000]
* How do I handle linked lists?
+ Steve Lembark makes interesting cases for perly
linked lists, depending on the task.

4 years ago* How can I write() into a string?
brian d foy [Sat, 21 Aug 2010 15:47:37 +0000]
* How can I write() into a string?
+ Actually answer the question, now that we have
filehandles to strings.
+ The swrite in perlform is no good anyway.

4 years agoHow do I make sure users can't enter values into a form that cause my CGI script...
brian d foy [Sat, 21 Aug 2010 00:10:21 +0000]
How do I make sure users can't enter values into a form that cause my CGI script to do bad things?
+ The CGI Meta FAQ is gone, so this needs a new
answer

4 years ago* My CGI script runs from the command line but not the browser.
brian d foy [Sat, 21 Aug 2010 00:00:02 +0000]
* My CGI script runs from the command line but not the browser.
+ Tom's troubleshooting guide has disappeared in
the perl.com move (I think).
+ The CGI Meta FAQ is not such a fresh resource

4 years ago* How do I fetch/put an FTP file?
brian d foy [Fri, 20 Aug 2010 23:45:23 +0000]
* How do I fetch/put an FTP file?
+ Net::FTP has been in core a long time
l Please enter the commit message for your changes. Lines starting

4 years ago* Add multilevel hash exists() to perlfaq4
brian d foy [Tue, 14 Sep 2010 17:16:49 +0000]
* Add multilevel hash exists() to perlfaq4

 How can I check if a keys exists in a multilevel hash?

How is it we got this far without ever answering this
FAQ? :)

4 years ago* Added a smart match example to perlfaq6
brian d foy [Tue, 14 Sep 2010 17:15:10 +0000]
* Added a smart match example to perlfaq6

How do I efficiently match many regular expressions at once?

It's almost trivial with smart matching. Barely worth
asking anymore.

4 years agoIn Perl_ck_subr(), no need to create/set o3 in the !proto block.
Nicholas Clark [Tue, 14 Sep 2010 09:09:29 +0000]
In Perl_ck_subr(), no need to create/set o3 in the !proto block.

A good optimising compiler can already spot this, but removing dead code makes
it easier for the humans.

4 years agoUpgrade Math::BigInt::FastCalc from 0.21 to 0.22
Florian Ragwitz [Mon, 13 Sep 2010 23:02:03 +0000]
Upgrade Math::BigInt::FastCalc from 0.21 to 0.22

4 years agoUpgrade Math::BigInt from version 1.93 to 1.95
Florian Ragwitz [Mon, 13 Sep 2010 22:44:35 +0000]
Upgrade Math::BigInt from version 1.93 to 1.95

4 years agoMake the setting of write-bits safer in Porting\makerel
Steve Hay [Mon, 13 Sep 2010 20:32:50 +0000]
Make the setting of write-bits safer in Porting\makerel

When rolling a release on Windows it is useful to use the Cygwin tools, but
the chmod command doesn't honour the user's umask when operating outside of
the Cygwin bash shell. For example, with a umask of 0022 and a file having
permissions 0400, one would expect "chmod +w" to change the file's
permissions to 0600. It does inside the Cygwin bash shell, but inside the
standard Windows command prompt it changes the file permissions to 0622
instead.

The problem is avoided by using "chmod u+w" instead to be sure that we only
set the write-bit for the owner user.

Note that the PAUSE indexer now detects uploads containining world writable
files or directories and will not index them. In such cases, it generates
new tarballs with "-withoutworldwritables" injected into the names and
indexes those instead of the original uploads. We do not want this
happening to perl distributions!

4 years agoFix typo in Porting\makerel comments
Steve Hay [Mon, 13 Sep 2010 19:41:24 +0000]
Fix typo in Porting\makerel comments

4 years agoAdd perl-5.12.2 to perlhist.pod
Steve Hay [Mon, 13 Sep 2010 19:34:57 +0000]
Add perl-5.12.2 to perlhist.pod

4 years agoIn Perl_ck_subr, remove delete_op, unused since assertions were removed.
Nicholas Clark [Mon, 13 Sep 2010 15:31:11 +0000]
In Perl_ck_subr, remove delete_op, unused since assertions were removed.

The implementation of assertions was (mostly) removed in 584420f022db5722.
It turns out that b1233c72f2dabb53 didn't remove the last vestige of it.

4 years agoUpgrade Math::BigInt from version 1.92 to 1.93
Florian Ragwitz [Mon, 13 Sep 2010 14:47:53 +0000]
Upgrade Math::BigInt from version 1.92 to 1.93

4 years agoMake Math-BigInt require perl 5.6.2
Florian Ragwitz [Mon, 13 Sep 2010 14:18:50 +0000]
Make Math-BigInt require perl 5.6.2

It has been broken on 5.6.1 and earlier for quite some time now, and it isn't
clear why. If anyone wants 5.6.2 support back, patches are welcome.

4 years agoimprove open.pm layer class error message
Aristotle Pagaltzis [Mon, 13 Sep 2010 14:58:24 +0000]
improve open.pm layer class error message

4 years agoIn Perl_ck_subr(), move to once place all setting of bits in o->op_private.
Nicholas Clark [Mon, 13 Sep 2010 14:32:05 +0000]
In Perl_ck_subr(), move to once place all setting of bits in o->op_private.

The later conditional setting of HINT_STRICT_REFS and of OPpENTERSUB_DB are
unaffected by any code triggered by cvop->op_type. Moving them together lets
the C compiler produce better code.

4 years agoIn Perl_ck_subr(), consolidate all the prototype code in one if block.
Nicholas Clark [Mon, 13 Sep 2010 14:10:40 +0000]
In Perl_ck_subr(), consolidate all the prototype code in one if block.

This reveals that there is no need to set the variable prev when looping for
the !proto case.

4 years agoBump Safe's VERSION to 2.28
Rafael Garcia-Suarez [Mon, 13 Sep 2010 13:15:40 +0000]
Bump Safe's VERSION to 2.28

4 years agoAvoid infinite loop in _find_code_refs.
Rafael Garcia-Suarez [Mon, 13 Sep 2010 13:11:27 +0000]
Avoid infinite loop in _find_code_refs.

Patch by Yasushi Nakajima (rt.cpan.org #61262)

4 years agoIn Perl_ck_subr(), hoist the if (proto) check outside of the while loop.
Nicholas Clark [Mon, 13 Sep 2010 12:38:27 +0000]
In Perl_ck_subr(), hoist the if (proto) check outside of the while loop.

Prototype checking is currently 165 lines of code. The rest of the while loop
is 19, including comments. It's much easier to see how prototype checking fits
into the structure this way, *and* it avoids a repeated if check inside a loop.

4 years agoExtra tests for a regex followed by an operator or a statement modifier.
Bram [Mon, 13 Sep 2010 12:43:36 +0000]
Extra tests for a regex followed by an operator or a statement modifier.

(For example: m//and print "foo")

4 years agoAdd tests for 72922.
Bram [Sat, 27 Feb 2010 22:46:46 +0000]
Add tests for 72922.

Check that a Regex object which was previous copied and weaken'ed can be used in another pattern.

4 years agoregcomp.c: Use longjmp to abandon first pass quickly
Karl Williamson [Wed, 1 Sep 2010 17:40:32 +0000]
regcomp.c: Use longjmp to abandon first pass quickly

regcomp.c currently does a first pass to determine the size needed for
the regex.  If the regex needs to be in utf8, but this wasn't known at
the beginning of the pass the size computation needs to be completely
redone with that in mind.  The input is converted to utf8 and the first
pass is redone.  Prior to this patch, the discovery of needing to redo
the first pass merely set a flag and continued the now useless rest of
the first pass.  This patch causes this first pass to be aborted
immediately upon discovering that it will have to be redone.

This uses the Perl macros that wrap setjmp and longjmp.  When the first
pass is abandoned, it longjmps back to the corresponding setjmp to
convert to utf8 and redo.  I was advised that I could use setjmp and
longjump directly, but it seemed safer to use the wrappers, as they
should know about any platform-dependent issues.

If this code intercepts a longjmp that wasn't meant for it, it simply
reissues the longjmp so that the correct handler will get it.

This patch should have no effect on externally visible behavior, except
for a speedup of some regex compiles.

4 years agoregcomp.c: Macroize changing regex to utf8
Karl Williamson [Wed, 1 Sep 2010 16:32:44 +0000]
regcomp.c: Macroize changing regex to utf8

This is in preparation for changing what the macro will do.

4 years agoregcomp.c: Clarify and typos in comments
Karl Williamson [Wed, 1 Sep 2010 16:18:20 +0000]
regcomp.c: Clarify and typos in comments

4 years agohandy.h: Add bounds checking to case change arrays
Karl Williamson [Wed, 1 Sep 2010 02:20:01 +0000]
handy.h: Add bounds checking to case change arrays

This makes sure that the index into the arrays used to change between
lower and upper case will fit into their bounds; returning an error
character if not.  The check is likely to be optimized out if the index
is stored in 8 bits.

4 years agohandy.h: Add FITS_IN_8_BITS() macro
Karl Williamson [Wed, 1 Sep 2010 01:34:50 +0000]
handy.h: Add FITS_IN_8_BITS() macro

This macro is designed to be optimized out if the argument is
byte-length, but otherwise to be a bomb-proof way of making sure that
the argument occupies only 8 bits or fewer in whatever storage class it
is in.

4 years ago[perl #77684] Restore the 5.10/12 behaviour of open $fh, ">", \$glob_copy
Father Chrysostomos [Mon, 13 Sep 2010 07:57:15 +0000]
[perl #77684] Restore the 5.10/12 behaviour of open $fh, ">", \$glob_copy

This restores the perl 5.10/12 behaviour, making open treat \$foo as a
scalar reference if it is a glob copy (SvFAKE).

It also fixes an existing assertion failure that the test now trig-
gers. PerlIOScalar_pushed was not downgrading the sv before set-
ting SvCUR.

4 years agoMore whitespace cleanups
brian d foy [Mon, 13 Sep 2010 03:56:58 +0000]
More whitespace cleanups

4 years agoWhitespace cleanups
brian d foy [Mon, 13 Sep 2010 03:53:09 +0000]
Whitespace cleanups

4 years agoTest %main::OVERLOAD, which was almost broken by a proposed fix for
Father Chrysostomos [Mon, 13 Sep 2010 00:34:21 +0000]
Test %main::OVERLOAD, which was almost broken by a proposed fix for
[perl #76138].