Skip Menu |
 

This queue is for tickets about the MIME-tools CPAN distribution.

Report information
The Basics
Id: 18791
Status: resolved
Priority: 0/
Queue: MIME-tools

People
Owner: Nobody in particular
Requestors: cpan [...] pjedwards.co.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 5.420
Fixed in: 5.420_01



Subject: Small PATCH for MIME::tools 5.420 flush() called on IO::ScalarArray is false.
Download (untitled) / with headers
text/plain 712b
MIME::tools 5.420 Perl 5.83 on VMS (but not limited to VMS - I think) In lib/MIME/Parser.pm When $ENCODE is a IO::ScalarArray, calling flush on it returns false. flush is a no-op in IO::ScalarArray This results in die being called incorrectly. I noticed this while running tests for SOAP::Lite 0.67 lib/MIME/Parser.pm 821 $ENCODED->flush or die "$ME: can't flush: $!"; 822 $ENCODED->seek(0, 0) or die "$ME: can't seek: $!"; lib/MIME/Parser.pm 821 if (ref $ENCODED ne 'IO::ScalarArray') { 822 $ENCODED->flush or die "$ME: can't flush: $!"; 823 } 824 $ENCODED->seek(0, 0) or die "$ME: can't seek: $!"; Cheers, Peter (Stig) Edwards
Download (untitled) / with headers
text/plain 104b
Fixed over two years ago in IO-Stringy 2.110. The next release of MIME-tools will require that version.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.