In perl.git, the branch maint-5.14 has been updated <http://perl5.git.perl.org/perl.git/commitdiff/439e00f5ef540b3d5ae9d865e8ff48b731cac630?hp=47da7fa9f6a3d3a3f32899a4a7036dbcd8e87860>
- Log ----------------------------------------------------------------- commit 439e00f5ef540b3d5ae9d865e8ff48b731cac630 Author: Jesse Vincent <je...@bestpractical.com> Date: Thu Jun 9 18:10:08 2011 -0400 more perldelta nits M pod/perldelta.pod commit 5bb6b4b8a132bb6c31b2e224fa759cd12c6ba332 Author: Jesse Vincent <je...@bestpractical.com> Date: Thu Jun 9 18:01:26 2011 -0400 Removing XXX sections from perldelta M pod/perldelta.pod commit 51182a96fff8041fc0f9bacfd9e645be61030e3f Author: Jesse Vincent <je...@bestpractical.com> Date: Thu Jun 9 17:57:45 2011 -0400 Fix pod syntax errors M pod/perldelta.pod commit fabfbb19a031cb1e1f1d436d28e82f827c21d17b Author: Jesse Vincent <je...@bestpractical.com> Date: Thu Jun 9 16:05:28 2011 -0400 Documented the most recent cherrypick. M pod/perldelta.pod commit 69f35f97493ac0680485e117546f9fb1992dd737 Author: Jesse Vincent <je...@bestpractical.com> Date: Thu Jun 9 16:02:06 2011 -0400 cherry-pick a delta entry from blead M pod/perldelta.pod commit 08e282ff6ed4ee6c16fc209f5fb2768b24eaaaa9 Author: David Leadbeater <d...@dgl.cx> Date: Sat May 14 13:57:21 2011 +0100 scan_heredoc could reallocate PL_parser->linestr's PV Since f0e67a1 it was possible the freed buffer may be read from when parsing a heredoc. This adds a call to lex_grow_linestr to grow the buffer and ensure the pointers in PL_parser are updated. The bug is pretty hard to reproduce, hence no test. I'm able to reproduce it with the following: perl -Meverywhere=re,debug -MParams::Util -e1 M toke.c commit 180a59da7f8421ef36116a2fc91dffec7a3a35e9 Author: Jesse Vincent <je...@bestpractical.com> Date: Thu Jun 9 14:11:49 2011 -0400 snapshot perldelta work M pod/perldelta.pod ----------------------------------------------------------------------- Summary of changes: pod/perldelta.pod | 262 ++++++++++++++++------------------------------------- toke.c | 1 + 2 files changed, 79 insertions(+), 184 deletions(-) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 84ec204..ef7153f 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -13,79 +13,28 @@ If you are upgrading from an earlier release such as 5.12.0, first read L<perl5140delta>, which describes differences between 5.12.0 and 5.14.0. -=head1 Notice - -XXX Any important notices here - =head1 Core Enhancements -XXX New core language features go here. Summarise user-visible core language -enhancements. Particularly prominent performance optimisations could go -here, but most should go in the L</Performance Enhancements> section. - -[ List each enhancement as a =head2 entry ] +No changes since 5.14.0. =head1 Security -XXX Any security-related notices go here. In particular, any security -vulnerabilities closed should be noted here rather than in the -L</Bug Fixes> section. - -[ List each security issue as a =head2 entry ] +No changes since 5.14.0. =head1 Incompatible Changes -XXX For a release on a stable branch, this section aspires to be: - - There are no changes intentionally incompatible with 5.XXX.XXX. If any - exist, they are bugs and reports are welcome. - -[ List each incompatible change as a =head2 entry ] +There are no changes intentionally incompatible with 5.14.0. If any +exist, they are bugs and reports are welcome. =head1 Deprecations -XXX Any deprecated features, syntax, modules etc. should be listed here. -In particular, deprecated modules should be listed here even if they are -listed as an updated module in the L</Modules and Pragmata> section. - -[ List each deprecation as a =head2 entry ] - -=head1 Performance Enhancements - -XXX Changes which enhance performance without changing behaviour go here. There -may well be none in a stable release. - -[ List each enhancement as a =item entry ] - -=over 4 - -=item * - -XXX - -=back +There have been no deprecations since 5.14.0. =head1 Modules and Pragmata -XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/> -go here. If Module::CoreList is updated, generate an initial draft of the -following sections using F<Porting/corelist-perldelta.pl>, which prints stub -entries to STDOUT. Results can be pasted in place of the '=head2' entries -below. A paragraph summary for important changes should then be added by hand. -In an ideal world, dual-life modules would have a F<Changes> file that could be -cribbed. - -[ Within each section, list entries as a =item entry ] - =head2 New Modules and Pragmata -=over 4 - -=item * - -XXX - -=back +None =head2 Updated Modules and Pragmata @@ -112,33 +61,16 @@ It corrects the search paths on VMS. [perl #90640] =head2 Removed Modules and Pragmata -=over 4 - -=item * - -XXX - -=back +None =head1 Documentation -XXX Changes to files in F<pod/> go here. Consider grouping entries by -file and be sure to link to the appropriate page, e.g. L<perlfunc>. - =head2 New Documentation -XXX Changes which create B<new> files in F<pod/> go here. - -=head3 L<XXX> - -XXX Description of the purpose of the new file here +None =head2 Changes to Existing Documentation -XXX Changes which significantly change existing files in F<pod/> go here. -However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics> -section. - =head3 L<perlfunc> =over @@ -147,6 +79,10 @@ section. C<given>, C<when> and C<default> are now listed in L<perlfunc>. +=item * + +Documentation for C<use> now includes a pointer to F<if.pm>. + =back =head3 L<perllol> @@ -196,69 +132,38 @@ on environment variables has been corrected and expanded. =back -=head1 Diagnostics +=head3 L<POSIX> -The following additions or changes have been made to diagnostic output, -including warnings and fatal error messages. For the complete list of -diagnostic messages, see L<perldiag>. - -XXX New or changed warnings emitted by the core's C<C> code go here. Also -include any changes in L<perldiag> that reconcile it to the C<C> code. - -[ Within each section, list entries as a =item entry ] - -=head2 New Diagnostics - -XXX Newly added diagnostic messages go here - -=over 4 +=over =item * -XXX +The invocation documentation for C<WIFEXITED>, C<WEXITSTATUS>, +C<WIFSIGNALED>, C<WTERMSIG>, C<WIFSTOPPED>, and C<WSTOPSIG> was corrected. =back -=head2 Changes to Existing Diagnostics - -XXX Changes (i.e. rewording) of diagnostic messages go here -=over 4 - -=item * - -XXX - -=back +=head1 Diagnostics -=head1 Utility Changes +The following additions or changes have been made to diagnostic output, +including warnings and fatal error messages. For the complete list of +diagnostic messages, see L<perldiag>. -XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go -here. Most of these are built within the directories F<utils> and F<x2p>. +=head2 New Diagnostics -[ List utility changes as a =head3 entry for each utility and =item -entries for each change -Use L<XXX> with program names to get proper documentation linking. ] +None -=head3 L<XXX> +=head2 Changes to Existing Diagnostics -=over 4 +None -=item * +=head1 Utility Changes -XXX - -=back +None =head1 Configuration and Compilation -XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools -go here. Any other changes to the Perl build process should be listed here. -However, any platform-specific changes should be listed in the -L</Platform Support> section, instead. - -[ List changes as a =item entry ]. - =over 4 =item * @@ -270,14 +175,6 @@ option, as used by some projects that include perl's header files. =head1 Testing -XXX Any significant changes to the testing of a freshly built perl should be -listed here. Changes which create B<new> files in F<t/> go here as do any -large changes to the testing harness (e.g. when parallel testing was added). -Changes to existing files in F<t/> aren't worth summarising, although the bugs -that they represent may be covered elsewhere. - -[ List each test improvement as a =item entry ] - =over 4 =item * @@ -285,57 +182,57 @@ that they represent may be covered elsewhere. Some test failures in F<dist/Locale-Maketext/t/09_compile.t> that could occur depending on the environment have been fixed. [perl #89896] +=item * + +A watchdog timer for F<t/re/re.t> was lengthened to accommodate SH-4 systems +which were unable to complete the tests before the previous timer ran out. + + =back =head1 Platform Support -XXX Any changes to platform support should be listed in the sections below. +=head2 New Platforms -[ Within the sections, list each platform as a =item entry with specific -changes as paragraphs below it. ] +None -=head2 New Platforms +=head2 Discontinued Platforms -XXX List any platforms that this version of perl compiles on, that previous -versions did not. These will either be enabled by new files in the F<hints/> -directories, or new subdirectories and F<README> files at the top level of the -source tree. +None -=over 4 +=head2 Platform-Specific Notes -=item XXX-some-platform +=head3 Solaris -XXX +=over -=back +=item * -=head2 Discontinued Platforms +Documentation listing the Solaris packages required to build Perl on +Solaris 9 and Solaris 10 has been corrected. -XXX List any platforms that this version of perl no longer compiles on. +=back -=over 4 +=head3 Mac OS X -=item XXX-some-platform +=over -XXX +=item * -=back +The F<lib/locale.t> test script has been updated to work on the upcoming +Lion release. -=head2 Platform-Specific Notes +=item * -XXX List any changes for specific platforms. This could include configuration -and compilation changes or changes in portability/compatibility. However, -changes within modules for platforms should generally be listed in the -L</Modules and Pragmata> section. +Mac OS X specific compilation instructions have been clarified. -=over 4 +=back -=item Darwin +=head3 Ubuntu Linux -The F<lib/locale.t> test script has been updated to work on the upcoming -Lion release. +=over -=item Ubuntu Linux +=item * The L<ODBM_File> installation process has been updated with the new library paths on Ubuntu natty. @@ -344,11 +241,7 @@ paths on Ubuntu natty. =head1 Internal Changes -XXX Changes which affect the interface available to C<XS> code go here. -Other significant internal changes for future core maintainers should -be noted as well. - -=over 4 +=over =item * @@ -362,12 +255,6 @@ The first is always 0, the other two now no-ops. =head1 Bug Fixes -XXX Important bug fixes in the core language are summarised here. -Bug fixes in files in F<ext/> and F<lib/> are best summarised in -L</Modules and Pragmata>. - -[ List each fix as a =item entry ] - =over 4 =item * @@ -399,36 +286,43 @@ portion of the fold, plus some more. is one such case. C<\xDF> folds to C<"ss">. +=item * -=back +Several Unicode case-folding bugs have been fixed. -=head1 Known Problems - -XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any -tests that had to be C<TODO>ed for the release would be noted here, unless -they were specific to a particular platform (see below). +=item * -This is a list of some significant unfixed bugs, which are regressions -from either 5.XXX.XXX or 5.XXX.XXX. +The new (in 5.14.0) regular expression modifier C</a> when repeated like +C</aa> forbids the characters outside the ASCII range that match +characters inside that range from matching under C</i>. This did not +work under some circumstances, all involving alternation, such as: -[ List each fix as a =item entry ] + "\N{KELVIN SIGN}" =~ /k|foo/iaa; -=over 4 +succeeded inaprropriately. This is now fixed. =item * -XXX +Fixed a case where it was possible that a freed buffer may have been read +from when parsing a here document. =back -=head1 Obituary +=head1 Acknowledgements -XXX If any significant core contributor has died, we've added a short obituary -here. +Perl 5.14.1 represents approximately four weeks of development since +Perl 5.14.0 and contains approximately 3500 lines of changes +across 38 files from 17 authors. -=head1 Acknowledgements +Perl continues to flourish into its third decade thanks to a vibrant +community of users and developers. The following people are known to +have contributed the improvements that became Perl 5.14.1: + +Bo Lindbergh, Claudio Ramirez, Craig A. Berry, David Leadbeater, Father +Chrysostomos, Jesse Vincent, Jim Cromie, Justin Case, Karl Williamson, +Leo Lapworth, Nicholas Clark, Nobuhiro Iwamatsu, smash, Tom Christiansen, +Ton Hospel, Vladimir Timofeev, and Zsbán Ambrus. -XXX The list of people to thank goes here. =head1 Reporting Bugs diff --git a/toke.c b/toke.c index 0f08d42..358f322 100644 --- a/toke.c +++ b/toke.c @@ -9443,6 +9443,7 @@ S_scan_heredoc(pTHX_ register char *s) if (*s == term && memEQ(s,PL_tokenbuf,len)) { STRLEN off = PL_bufend - 1 - SvPVX_const(PL_linestr); *(SvPVX(PL_linestr) + off ) = ' '; + lex_grow_linestr(SvCUR(PL_linestr) + SvCUR(herewas) + 1); sv_catsv(PL_linestr,herewas); PL_bufend = SvPVX(PL_linestr) + SvCUR(PL_linestr); s = SvPVX(PL_linestr) + off; /* In case PV of PL_linestr moved. */ -- Perl5 Master Repository