[Bug 1450364] New: read_file(, binmode => ':utf8) produces warnings

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

 



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

            Bug ID: 1450364
           Summary: read_file(, binmode => ':utf8) produces warnings
           Product: Fedora
           Version: 25
         Component: perl-File-Slurp
          Keywords: Regression
          Assignee: rc040203@xxxxxxxxxx
          Reporter: ppisar@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: lxtnow@xxxxxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx,
                    rc040203@xxxxxxxxxx
   External Bug ID: CPAN 117005



Perl 5.24 started to warn when performing sysread() on a UTF-8 file handle
<http://search.cpan.org/~shay/perl-5.24.1/pod/perl5240delta.pod#sysread(),_syswrite(),_recv()_and_send()_are_deprecated_on_:utf8_handles>.

That means File::Slurp as provided in Fedora 25
(perl-File-Slurp-9999.19-15.fc25.noarch) and newer triggers the warning:

$ perl -MFile::Slurp -e 'File::Slurp::read_file(q{/etc/hosts}, q{binmode} =>
q{:utf8})'
sysread() is deprecated on :utf8 handles at
/usr/share/perl5/vendor_perl/File/Slurp.pm line 225.

It would be great to fix File::Slurp not to produce the warning.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[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