Skip Menu | You are currently an anonymous guest. | Login | Return to Main | About rt.cpan.org
 

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

X Report information
Id: 7793
Status: resolved
Left: 0 min
Priority: 0/0
Queue: Config-Simple

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

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



X History Display mode: Brief headersFull headers
#   Tue Sep 28 07:00:18 2004 guest - Ticket created  
Subject: O_RDONLY
[text/plain 417b]
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

#   Sun Oct 17 18:39:17 2004 SHERZODR - Status changed from 'new' to 'resolved'  
#   Sun Oct 17 18:39:17 2004 SHERZODR - Correspondence added  
[text/plain 16b]
Resolved in 4.57