From: Tony Cook Date: Wed, 8 Jun 2016 06:41:38 +0000 (+1000) Subject: perldelta for the 79881ad71252 merge X-Git-Tag: v5.25.2~73 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/1ba11575b2c75391c309a50dd8070f5c2af46656?hp=79881ad7125261d7f9907e57713035b0602cd9de perldelta for the 79881ad71252 merge --- diff --git a/pod/perldelta.pod b/pod/perldelta.pod index dccd1d1..ee4944c 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -53,6 +53,25 @@ L section. [ List each security issue as a =head2 entry ] +=head2 C<-Di> switch is now required for PerlIO debugging output + +Previously PerlIO debugging output would be sent to the file specified +by the C environment variable if perl wasn't running +setuid and the C<-T> or C<-t> switches hadn't been parsed yet. + +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 C<-T> switch had been supplied. + +Perl now requires the C<-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. + +If perl is running setuid or the C<-T> switch has supplied +C is ignored and the debugging output is sent to +C as for any other C<-D> switch. + =head1 Incompatible Changes XXX For a release on a stable branch, this section aspires to be: