URL:
<http://savannah.nongnu.org/bugs/?20913>
Summary: Problem with flock() when home is on NFS filesystem
Project: Wee Enhanced Environment for Chat
Submitted by: flashcode
Submitted on: Monday 08/27/2007 at 15:06
Category: other
Severity: 3 - Normal
Item Group: other
Status: In Progress
Privacy: Public
Assigned to: flashcode
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
IRC nick: FlashCode
_______________________________________________________
Details:
When running WeeChat with NFS mounted home, WeeChat always fails with this
message :
"WeeChat Error: unable to create/append to log file (weechat.log)
If another WeeChat process is using this file, try to run WeeChat with
another home using "--dir" command line option."
As written in flock() manual, this function does not work with NFS
filesystem. So WeeChat should check return code of flock() to see if there's a
lock on weechat.log or other error, like flock impossible (in this case, we go
on without locking file).
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?20913>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
Weechat-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/weechat-dev