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

bugzilla at redhat.com bugzilla at redhat.com
Thu Jun 21 09:17:43 UTC 2012


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

            Bug ID: 834221
        QA Contact: extras-qa at fedoraproject.org
          Severity: unspecified
               URL: https://rt.perl.org/rt3/Public/Bug/Display.html?id=113
                    764
           Version: rawhide
          Priority: unspecified
                CC: cweyl at alumni.drew.edu, iarnell at gmail.com,
                    jplesnik at redhat.com, kasal at ucw.cz, lkundrak at v3.sk,
                    mmaslano at redhat.com,
                    perl-devel at lists.fedoraproject.org, ppisar at redhat.com,
                    psabata at redhat.com, rc040203 at freenet.de,
                    tcallawa at redhat.com
          Assignee: mmaslano at redhat.com
           Summary: perl-5.16.0: Reopening by scalar handler does not work
        Regression: ---
      Story Points: ---
    Classification: Fedora
                OS: Unspecified
          Reporter: ppisar at redhat.com
              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 at cpan.org>
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.



More information about the perl-devel mailing list