[Bug 1258940] perl-Log-Dispatch >= 2.47 causes other modules to fail

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

 



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

Petr Pisar <ppisar@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppisar@xxxxxxxxxx
            Summary|new versions of             |perl-Log-Dispatch >= 2.47
                   |perl-Log-Dispatch cause     |causes other modules to
                   |other modules to fail       |fail



--- Comment #2 from Petr Pisar <ppisar@xxxxxxxxxx> ---
That's because the commit logs into STDERR's file descriptor. It logged into
perl's STDERR handle before.

For example Log-Dispatch-Config test ties a scalar variable to the STDERR
object in order to redirect the logging I/O into the variable. As a result of
the commit, the log messages are printed to /dev/stderr instead of into the
$err scalar tied to the STDERR object, and the test fail.

While I can fix Log-Dispatch-Config's tests (even Log-Dispatch's tests were
changed in the commit) because the Log::Dispatch::Config is just a simple
wrapper around Log::Dispatch constructor, the Log-Dispatch's behavior will
remain changed and other code using the module possibly affected.

There is Log-Dispatch's CPAN RT#106605 supposedly fixed in 2.49, but this still
does not fix this bug.

-- 
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