Re: How to prevent Gnumeric from overwriting the same file by different gnumeric instances



I believe  timestamp checking must be anyway. Just lock files cannot
be a very reliable solution. A lock file could be deleted. I am not
talking about more exotic hard links when lock files will be saved in
different directories.


---------------------------------------------------
On Thu, 22 Mar 2018 20:28:29 -0400, Morten Welinder <mortenw gnome org>
wrote :
 [...]

Yes.

And now a reasonable follow-up question would be what that reason was,
but I don't
remember the details.  It was discussed in mail or on IRC.

However, a quick look says that it can't work right under NFS -- and
networked
file systems are the primary reason why one would want locking.
Specifically,
O_EXCL isn't going to be necessarily exclusive.

M.
_______________________________________________
gnumeric-list mailing list
gnumeric-list gnome org
https://mail.gnome.org/mailman/listinfo/gnumeric-list
_______________________________________________
gnumeric-list mailing list
gnumeric-list gnome org
https://mail.gnome.org/mailman/listinfo/gnumeric-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]