https://qa.mandrakesoft.com/show_bug.cgi?id=558

           Summary: perl-File-MMagic - bug found in this module. binmode()
                    called too early, please apply fix
           Version: 1.15-2mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


bug found in this module. binmode() called too early, please apply. 
  :-) 
 
# diff -u /usr/lib/perl5/vendor_perl/5.8.0/File/MMagic.pm.org  
/usr/lib/perl5/vendor_perl/5.8.0/File/MMagic.pm 
--- /usr/lib/perl5/vendor_perl/5.8.0/File/MMagic.pm.org 2002-11-21  
13:23:05.000000000 +0100 
+++ /usr/lib/perl5/vendor_perl/5.8.0/File/MMagic.pm     2002-11-21  
13:23:47.000000000 +0100 
@@ -351,8 +351,8 @@ 
     } else { 
        my $filename = shift; 
        my $fh = new FileHandle; 
-        binmode($fh); 
        if ($fh->open("< $filename")) { 
+               binmode($fh); 
            &readMagicHandle($self, $fh); 
        } else { 
            warn __PACKAGE__ . " couldn't load specified file $filename";



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to