# New Ticket Created by  Zoffix Znet 
# Please include the string:  [perl #131158]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=131158 >


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

Reply via email to