Bug 955210 - perl-Log-Message: use explicit mode specified in open
Summary: perl-Log-Message: use explicit mode specified in open
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Log-Message
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 955212
TreeView+ depends on / blocked
 
Reported: 2013-04-22 14:41 UTC by Florian Weimer
Modified: 2014-07-02 13:17 UTC (History)
2 users (show)

Fixed In Version: perl-Log-Message-0.06-2.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-02 13:17:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 84844 0 None None None Never

Description Florian Weimer 2013-04-22 14:41:18 UTC
In Log/Message/Config.pm, sub _read_config_file, I think it's appropriate to specify a "<" mode indicator to open, as in:

    $FH->open("<$file") or (

Comment 1 Petr Pisar 2013-04-25 08:46:46 UTC
Good catch. Actually more portable way is to write $FH->open("$file", 'r') otherwise one could not open file starting which name starts with a special character like '<'.

Comment 2 Petr Pisar 2013-04-25 08:57:28 UTC
Patch submitted to the upstream.

Comment 3 Fedora Update System 2013-04-25 09:39:53 UTC
perl-Log-Message-0.06-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/perl-Log-Message-0.06-2.fc19

Comment 4 Fedora Update System 2013-04-30 04:35:07 UTC
perl-Log-Message-0.06-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora End Of Life 2013-09-16 16:57:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20


Note You need to log in before you can comment on or make changes to this bug.