Skip Menu |

This queue is for tickets about the Config-Simple CPAN distribution.

Report information
The Basics
Id: 7793
Status: resolved
Priority: 0/
Queue: Config-Simple

People
Owner: Nobody in particular
Requestors: neyuki [...] bsx.ru
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 4.56
Fixed in: (no value)



Subject: O_RDONLY
1. In _get_fh method (line 142): $mode ||= O_RDWR; But then you give O_RDONLY mode value for this method, you actually give it zero value, so it's always will be opened for read-write. Fix: $mode = O_RDWR unless defined $mode; 2. In parse_http_file method (line 362): Calling _get_fh without O_RDONLY, but this method doesn't need writing capabilities... Adding O_RDONLY will be appreciated. Thanks. -- neyuki
Resolved in 4.57