[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Weechat-dev] [bug #20913] Problem with flock() when home is on NFS file
From: |
FlashCode |
Subject: |
[Weechat-dev] [bug #20913] Problem with flock() when home is on NFS filesystem |
Date: |
Mon, 27 Aug 2007 13:06:14 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 (CK-IBM) Firefox/2.0.0.6 |
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] [bug #20913] Problem with flock() when home is on NFS filesystem,
FlashCode <=