Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Wed, 4 Apr 2001 17:59:11 +0900
From: Madoka Machitani <madokam@dd.iij4u.or.jp>
To: cygwin@cygwin.com
Subject: Re: "Lock count exceeded" in mutt
Message-ID: <20010404175911.A4079865@iij4u.or.jp>
References: <3AC9FED1.8F525542@upf.es> <20010403215627.A8718@gintaras>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20010403215627.A8718@gintaras>; from marius.gedminas@uosis.mif.vu.lt on Tue, Apr 03, 2001 at 09:56:27PM +0200
X-Operating-System: CYGWIN_98-4.10  http://cygwin.com
X-Editor: VIM 6.0z  http://www.vim.org/
X-Accept-Language: en ja

Hi,

* Marius Gedminas <marius.gedminas@uosis.mif.vu.lt> [010404 12:32]:
> Perhaps Mutt CygWin package should be compiled without dotlocking by
> default (#undef USE_DOTLOCK in config.h)?  Mutt also uses flock/fcntl to
> do locking, shouldn't that be enough?  And there are also native Windows
> mandatory locks.

FYI.  I'm running fetchmail, procmail and mutt, all of which compiled
almost OOTB under Cygwin 1.1.8.  OS is Win98 with FAT32 partition.

As for Mutt, problems around permissions were solved by excluding dotlock
related things:
(1) Comment out these two lines.
    #define USE_DOTLOCK 1
    #define DL_STANDALONE 1
    ("./configure --disable-external_dotlock" doesn't seem to undef them.)
(2) Remove every occurence of "mutt_dotlock", "dotlock.c",
    "$(mutt_dotlock_SOURCES)", "$(mutt_dotlock_OBJECTS)" from Makefile.

I don't think this way of tweaking is so nice.  It's just a workaround.

> Or maybe use --with-homespool instead?  But that will not solve the
> problem with FAT partitions.

I'm not sure about this.  As I said, I'm running mutt on FAT32 system 
(but not FAT) with no problems.

Regards.


P.S.

> "I'll be Bach."  -- Johann Sebastian Schwarzenegger

I laughed loud.  Good line.

-- 
Madoka Machitani <madokam@dd.iij4u.or.jp>
  Why don't you replace Perl/Python with Ruby? (www.ruby-lang.org)

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

