https://bugs.documentfoundation.org/show_bug.cgi?id=83282

--- Comment #8 from Vincent Povirk <[email protected]> ---
Created attachment 113841
  --> https://bugs.documentfoundation.org/attachment.cgi?id=113841&action=edit
test program that prints currently-open range locks on a file

I wrote a quick test program (attached) to check what range locks are open on a
file. For a .doc file opened by Word 2013 on real Windows through samba
(version 2:3.6.6-6+deb7u5), it shows me this:

write lock start 2147483539 len 1
write lock start 2147483559 len 1
write lock start 2147483599 len 1

For a .doc file opened locally in Libreoffice writer, it shows this:

write lock start 0 len 0

This is roughly what I expected.

For completeness, I also tried the 'flock' command, and it succeeded in taking
an exclusive lock in both cases.

I still have to do a test opening the same file with both, which requires
setting up NFS to the server running samba.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to