=encoding euc-jp =head1 NAME =begin original perldelta - what is new for perl v5.24.1 =end original perl5241delta - perl v5.24.1 での変更点 =head1 DESCRIPTION =begin original This document describes differences between the 5.24.0 release and the 5.24.1 release. =end original この文書は 5.24.0 リリースと 5.24.1 リリースの変更点を記述しています。 =begin original If you are upgrading from an earlier release such as 5.22.0, first read L, which describes differences between 5.22.0 and 5.24.0. =end original 5.22.0 のような以前のリリースから更新する場合は、まず 5.22.0 と 5.24.0 の違いについて記述している L を読んでください。 =head1 Security (セキュリティ) =head2 B<-Di> switch is now required for PerlIO debugging output (PerlIO デバッグ出力には B<-Di> オプションが必要になりました) =begin original Previously PerlIO debugging output would be sent to the file specified by the C environment variable if perl wasn't running setuid and the B<-T> or B<-t> switches hadn't been parsed yet. =end original 以前は、perl が setuid されておらず B<-T> や B<-t> オプションがまだ 渡されていない場合は、PerlIO デバッグ出力は C 環境変数で 指定されたファイルに出力されていました。 =begin original If perl performed output at a point where it hadn't yet parsed its switches this could result in perl creating or overwriting the file named by C even when the B<-T> switch had been supplied. =end original これらのオプションがまだパースされていない時点で perl が出力を行うと、 B<-T> オプションが指定されているときでも perl が C の名前の ファイルを作成したり上書きしたりしていました。 =begin original Perl now requires the B<-Di> switch to produce PerlIO debugging output. By default this is written to C, but can optionally be redirected to a file by setting the C environment variable. =end original PerlIO デバッグ出力を作成するためには B<-Di> オプションが必要になりました。 デフォルトではこれは C に書かれますが、C 環境変数を 設定することでファイルにリダイレクトすることも出来ます。 =begin original If perl is running setuid or the B<-T> switch was supplied C is ignored and the debugging output is sent to C as for any other B<-D> switch. =end original perl が setuid されていたり B<-T> オプションが指定されている場合は、 C は無視され、デバッグ出力は他の B<-D> オプションと同様 C に出力されます。 =head2 Core modules and tools no longer search F<"."> for optional modules (コアモジュールとツールはオプションのモジュールを F<"."> から探さなくなりました) =begin original The tools and many modules supplied in core no longer search the default current directory entry in L|perlvar/@INC> for optional modules. For example, L will remove the final F<"."> from C<@INC> before trying to load L. =end original コアで適用されているツールや多くのモジュールは、もはやオプションのモジュールを L|perlvar/@INC> のデフォルトのカレントディレクトリエントリを 探さなくなりました。 例えば、L は L を読み込もうとする前に C<@INC> の末尾の F<"."> を取り除きます。 =begin original This prevents an attacker injecting an optional module into a process run by another user where the current directory is writable by the attacker, e.g. the F directory. =end original これにより、攻撃者によって書き込み可能なディレクトリ (F など) を カレントディレクトリとして実行されているプロセスに、攻撃者がオプションの モジュールを注入するのを防ぎます。 =begin original In most cases this removal should not cause problems, but difficulties were encountered with L, which treats every module name supplied as optional. These difficulties have not yet been resolved, so for this release there are no changes to L. We hope to have a fix for L in Perl 5.24.2. =end original ほとんどの場合、この除去によって問題は起こらないはずですが、指定された全ての モジュール名をオプションとして扱う L では問題があります。 この問題はまだ解決していないので、このリリースでは L は 変更されていません。 私たちは Perl 5.24.2 で L を修正したいと考えています。 =begin original To protect your own code from this attack, either remove the default F<"."> entry from C<@INC> at the start of your script, so: =end original 自分自身のコードをこの攻撃から守るには、スクリプトの先頭で C<@INC> から デフォルトの F<"."> エントリを取り除く、つまり: #!/usr/bin/perl use strict; ... =begin original becomes: =end original これを: #!/usr/bin/perl BEGIN { pop @INC if $INC[-1] eq '.' } use strict; ... =begin original or for modules, remove F<"."> from a localized C<@INC>, so: =end original のようにするか、モジュールに対しては、ローカル化された C<@INC> から F<"."> を 取り除く、つまり: my $can_foo = eval { require Foo; } =begin original becomes: =end original これを以下のようにします: my $can_foo = eval { local @INC = @INC; pop @INC if $INC[-1] eq '.'; require Foo; }; =head1 Incompatible Changes (互換性のない変更) =begin original Other than the security changes above there are no changes intentionally incompatible with Perl 5.24.0. If any exist, they are bugs, and we request that you submit a report. See L below. =end original 前述のセキュリティ上の変更を除いて、故意に 5.24.0 から互換性が なくなるようにした変更はありません。 もし 5.24.0 との互換性がなければ、それはバグですので、報告をお願いします。 以下の L を参照してください。 =head1 Modules and Pragmata (モジュールとプラグマ) =head2 Updated Modules and Pragmata (更新されたモジュールとプラグマ) =over 4 =item * =begin original L has been upgraded from version 2.04 to 2.04_01. =end original L はバージョン 2.04 から 2.04_01 に更新されました。 =item * =begin original L has been upgraded from version 0.42 to 0.42_01. =end original L はバージョン 0.42 から 0.42_01 に更新されました。 =item * =begin original L has been upgraded from version 2.11 to 2.11_01. =end original L はバージョン 2.11 から 2.11_01 に更新されました。 =item * =begin original L has been upgraded from version 1.17 to 1.17_01. =end original L はバージョン 1.17 から 1.17_01 に更新されました。 =item * =begin original L has been upgraded from version 5.95 to 5.95_01. =end original L はバージョン 5.95 から 5.95_01 に更新されました。 =item * =begin original L has been upgraded from version 2.80 to 2.80_01. =end original L はバージョン 2.80 から 2.80_01 に更新されました。 =item * =begin original L has been upgraded from version 7.10_01 to 7.10_02. =end original L はバージョン 7.10_01 から 7.10_02 に更新されました。 =item * =begin original L has been upgraded from version 0.48 to 0.48_01. =end original L はバージョン 0.48 から 0.48_01 に更新されました。 =item * =begin original L has been upgraded from version 3.63 to 3.63_01. =end original L はバージョン 3.63 から 3.63_01 に更新されました。 =item * =begin original L has been upgraded from version 0.056 to 0.056_001. =end original L はバージョン 0.056 から 0.056_001 に更新されました。 =item * =begin original L has been upgraded from version 1.36 to 1.36_01. =end original L はバージョン 1.36 から 1.36_01 に更新されました。 =item * =begin original The IO-Compress modules have been upgraded from version 2.069 to 2.069_001. =end original IO-Compress モジュールはバージョン 2.069 から 2.069_001 に更新されました。 =item * =begin original L has been upgraded from version 0.92 to 0.92_01. =end original L はバージョン 0.92 から 0.92_01 に更新されました。 =item * =begin original L has been upgraded from version 2.27300 to 2.27300_01. =end original L はバージョン 2.27300 から 2.27300_01 に更新されました。 =item * =begin original L has been upgraded from version 1.26 to 1.26_01. =end original L はバージョン 1.26 から 1.26_01 に更新されました。 =item * =begin original L has been upgraded from version 0.21 to 0.21_01. =end original L はバージョン 0.21 から 0.21_01 に更新されました。 =item * =begin original L has been upgraded from version 1.03 to 1.03_01. =end original L はバージョン 1.03 から 1.03_01 に更新されました。 =item * =begin original L has been upgraded from version 5.20160506 to 5.20170114_24. =end original L はバージョン 5.20160506 から 5.20170114_24 に更新されました。 =item * =begin original L has been upgraded from version 2.43 to 2.43_01. =end original L はバージョン 2.43 から 2.43_01 に更新されました。 =item * =begin original L has been upgraded from version 1.4417 to 1.4417_001. =end original L はバージョン 1.4417 から 1.4417_001 に更新されました。 =item * =begin original L has been upgraded from version 1.22 to 1.2201. =end original L はバージョン 1.22 から 1.2201 に更新されました。 =item * =begin original L has been upgraded from version 3.25_02 to 3.25_03. =end original L はバージョン 3.25_02 から 3.25_03 に更新されました。 =item * =begin original L has been upgraded from version 2.56 to 2.56_01. =end original L はバージョン 2.56 から 2.56_01 に更新されました。 =item * =begin original L has been upgraded from version 0.33 to 0.33_01. =end original L はバージョン 0.33 から 0.33_01 に更新されました。 =item * =begin original L has been upgraded from version 1.28 to 1.28_01. =end original L はバージョン 1.28 から 1.28_01 に更新されました。 =item * =begin original L has been upgraded from version 3.36 to 3.36_01. =end original L はバージョン 3.36 から 3.36_01 に更新されました。 =item * =begin original L has been upgraded from version 0.21 to 0.22, fixing a security hole in which binary files could be loaded from a path outside of C<@INC>. L<[perl #128528]|https://rt.perl.org/Public/Bug/Display.html?id=128528> =end original L はバージョン 0.21 から 0.22 に更新されました; バイナリファイルが C<@INC> 以外のパスから読み込まれることがある セキュリティーホールが修正されました。 L<[perl #128528]|https://rt.perl.org/Public/Bug/Display.html?id=128528> =back =head1 Documentation (文書) =head2 Changes to Existing Documentation (既存の文書の変更) =head3 L =over 4 =item * =begin original The documentation of C has been updated. =end original C の文書が更新されました。 =back =head3 L =over 4 =item * =begin original The new B<-Di> switch has been documented, and the documentation of C has been updated. =end original 新しい B<-Di> オプションが文書化され、C の文書が更新されました。 =back =head1 Testing (テスト) =over 4 =item * =begin original A new test script, F, has been added to test that the new B<-Di> switch is working correctly. =end original 新しい B<-Di> オプションが正しく動作するかをテストする新しい テストスクリプト F が追加されました。 =back =head1 Selected Bug Fixes (バグ修正の抜粋) =over 4 =item * =begin original The change to hashbang redirection introduced in Perl 5.24.0, whereby perl would redirect to another interpreter (Perl 6) if it found a hashbang path which contains "perl" followed by "6", has been reverted because it broke in cases such as C<#!/opt/perl64/bin/perl>. =end original シェバンパスに "perl" に引き続いて "6" が含まれている場合、他のインタプリタ (Perl 6) にリダイレクトするという、Perl 5.24.0 で導入された シェバンリダイレクトの変更は取り消されました; C<#!/opt/perl64/bin/perl> のような場合に壊れるからです。 =back =head1 Acknowledgements =begin original Perl 5.24.1 represents approximately 8 months of development since Perl 5.24.0 and contains approximately 8,100 lines of changes across 240 files from 18 authors. =end original Perl 5.24.1 は、Perl 5.24.0 以降、18 人の作者によって、 240 のファイルに約 8,100 行の変更を加えて、 約 8 months開発されてきました。 =begin original Excluding auto-generated files, documentation and release tools, there were approximately 2,200 lines of changes to 170 .pm, .t, .c and .h files. =end original 自動生成ファイル、文書、リリースツールを除くと、170 の .pm, .t, .c, .h ファイルに約 2,200 行の変更を加えました。 =begin original 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.24.1: =end original Perl は、活気のあるユーザーと開発者のコミュニティのおかげで 20 年を超えて 繁栄しています。 以下の人々が、Perl 5.24.1 になるための改良に貢献したことが分かっています: Aaron Crane, Alex Vandiver, Aristotle Pagaltzis, Chad Granum, Chris 'BinGOs' Williams, Craig A. Berry, Father Chrysostomos, James E Keenan, Jarkko Hietaniemi, Karen Etheridge, Leon Timmermans, Matthew Horsfall, Ricardo Signes, Sawyer X, SEbastien Aperghis-Tramoni, Stevan Little, Steve Hay, Tony Cook. =begin original The list above is almost certainly incomplete as it is automatically generated from version control history. In particular, it does not include the names of the (very much appreciated) contributors who reported issues to the Perl bug tracker. =end original これはバージョンコントロール履歴から自動的に生成しているので、ほぼ確実に 不完全です。 特に、Perl バグトラッカーに問題を報告をしてくれた (とてもありがたい)貢献者の 名前を含んでいません。 =begin original Many of the changes included in this version originated in the CPAN modules included in Perl's core. We're grateful to the entire CPAN community for helping Perl to flourish. =end original このバージョンに含まれている変更の多くは、Perl コアに含まれている CPAN モジュール由来のものです。 私たちは Perl の発展を助けている CPAN コミュニティ全体に感謝します。 =begin original For a more complete list of all of Perl's historical contributors, please see the F file in the Perl source distribution. =end original 全ての Perl の歴史的な貢献者のより完全な一覧については、どうか Perl ソース 配布に含まれている F を参照してください。 =head1 Reporting Bugs (バグ報告) =begin original If you find what you think is a bug, you might check the articles recently posted to the comp.lang.perl.misc newsgroup and the Perl bug database at L . There may also be information at L , the Perl Home Page. =end original もしバグと思われるものを見つけたら、comp.lang.perl.misc ニュースグループに 最近投稿された記事や L にある Perl バグ データベースを確認してください。 Perl ホームページ、L にも情報があります。 =begin original If you believe you have an unreported bug, please run the L program included with your release. Be sure to trim your bug down to a tiny but sufficient test case. Your bug report, along with the output of C, will be sent off to perlbug@perl.org to be analysed by the Perl porting team. =end original もしまだ報告されていないバグだと確信したら、そのリリースに含まれている L プログラムを実行してください。 バグの再現スクリプトを十分小さく、しかし有効なコードに切りつめることを 意識してください。 バグレポートは C の出力と一緒に perlbug@perl.org に送られ Perl porting チームによって解析されます。 =begin original If the bug you are reporting has security implications which make it inappropriate to send to a publicly archived mailing list, then see L for details of how to report the issue. =end original もし報告しようとしているバグがセキュリティに関するもので、公開されている メーリングリストに送るのが不適切なものなら、 問題の報告方法の詳細について L を参照してください。 =head1 SEE ALSO =begin original The F file for an explanation of how to view exhaustive details on what changed. =end original 変更点の完全な詳細を見る方法については F ファイル。 =begin original The F file for how to build Perl. =end original Perl のビルド方法については F ファイル。 =begin original The F file for general stuff. =end original 一般的なことについては F ファイル。 =begin original The F and F files for copyright information. =end original 著作権情報については F 及び F ファイル。 =cut =begin meta Translate: SHIRAKATA Kentaro Status: completed =end meta