Skip Menu |
Report information
Id: 131158
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: cpan [at] zoffix.com
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: Inconsistent lock/unlock behaviour on Windows/Linux
Download (untitled) / with headers
text/plain 438b
On Linux, placing a shared lock on handle opened in write mode (or exclusive on a handle in read mode) throws, while doesn't on Windows. Also, unlocking a non-locked handle does not throw on Linux, but does throw on Windows. I think Linux's behaviour is more desirable and Windows's behaviour should be adjusted to match. I was also given this link, in case it was helpful: https://github.com/baudehlo/node-fs-ext/blob/master/fs-ext.cc


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

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org