[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: Gecko/20070725 (CK-IBM) Firefox/


                 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



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:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]