[Bug 834221] New: perl-5.16.0: Reopening by scalar handler does not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=834221

            Bug ID: 834221
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
          Severity: unspecified
               URL: https://rt.perl.org/rt3/Public/Bug/Display.html?id=113
                    764
           Version: rawhide
          Priority: unspecified
                CC: cweyl@xxxxxxxxxxxxxxx, iarnell@xxxxxxxxx,
                    jplesnik@xxxxxxxxxx, kasal@xxxxxx, lkundrak@xxxxx,
                    mmaslano@xxxxxxxxxx,
                    perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, ppisar@xxxxxxxxxx,
                    psabata@xxxxxxxxxx, rc040203@xxxxxxxxxx,
                    tcallawa@xxxxxxxxxx
          Assignee: mmaslano@xxxxxxxxxx
           Summary: perl-5.16.0: Reopening by scalar handler does not work
        Regression: ---
      Story Points: ---
    Classification: Fedora
                OS: Unspecified
          Reporter: ppisar@xxxxxxxxxx
              Type: Bug
     Documentation: ---
          Hardware: Unspecified
        Mount Type: ---
            Status: ASSIGNED
         Component: perl
           Product: Fedora

Reopening file by scalar handler has been broken in perl 5.16.0:

    open FILE, '>', \my $content or die "Couldn't open scalar filehandle";
    open my $fh, ">&=FILE" or die "Couldn't open: $!";
    print $fh "Foo-Bar\n";
    close $fh;
    close FILE;
    print $content;

This has been fixed by upstream commit:

commit 7b3cf1c058e25efdde99ad84398db2e7bc9892b4
Author: Father Chrysostomos <sprout@xxxxxxxx>
Date:   Wed Jun 20 23:33:28 2012 -0700

    [perl #113764] Make &= duping work with PerlIO::scalar

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux