From owner-freebsd-ports@FreeBSD.ORG Wed Feb 8 20:29:01 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 347E116A420; Wed, 8 Feb 2006 20:29:01 +0000 (GMT) (envelope-from eculp@encontacto.net) Received: from bafirst.com (72-12-2-214.wan.networktel.net [72.12.2.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 603C643D45; Wed, 8 Feb 2006 20:29:00 +0000 (GMT) (envelope-from eculp@encontacto.net) Received: from morando.org ([201.144.83.54]) by bafirst.com with esmtp; Wed, 08 Feb 2006 14:28:58 -0600 id 00095815.43EA548A.00016BF7 Received: from localhost (localhost [127.0.0.1]) (uid 80) by morando.org with local; Wed, 08 Feb 2006 14:28:56 -0600 id 000CF025.43EA5488.000108DF Received: from local4 (local4 [192.168.1.4]) by mail.encontacto.net (Horde MIME library) with HTTP; Wed, 08 Feb 2006 14:28:56 -0600 Message-ID: <20060208142856.0ojbnsgmmw0c80o0@mail.encontacto.net> X-Priority: 3 (Normal) Date: Wed, 08 Feb 2006 14:28:56 -0600 From: eculp@encontacto.net To: Alex Dupre References: <43E9FFAE.5020500@FreeBSD.org> <20060208133916.dzyx74skookookk4@mail.encontacto.net> <43EA4F1F.8060206@FreeBSD.org> In-Reply-To: <43EA4F1F.8060206@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1-cvs) Cc: freebsd-ports@freebsd.org Subject: Re: gamin 0.1.7 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2006 20:29:01 -0000 Quoting Alex Dupre : > eculp@encontacto.net wrote: >> I'm a bit confused. With this port will the fam/gamin conflict with >> courier still exist or will gamin be used in place of fam? > > gamin is a replacement for fam. Unfortunately it's not 100% > compatible with fam. suspend/resume monitor is not implemented for > security reasons, but the main *undocumented* difference is the use > of the select(2) system call to check if there are new events to be > read. For different reasons it may be that select() doesn't find any > new events, while FAMPending find them, and viceversa. The only safe > and correct way to check for pending events before calling a > non-blocking FAMNextEvent is to call FAMPending before and after the > select() system call (and return true as soon as any call to > FAMPending return true). > I don't know why courier-imap doesn't work with gamin. If the problem > was a bug in gamin, maybe I've fixed it, but if it was due to one of > the differences exposed above then the problem remains unless we fix > the courier code to work with gamin. Alex, IIRC, gamin was dumping core, but since it was a production server I didn't look further but went back to courier. I hope someone else had time to look at it a bit closer. If you think the new version has a chance of working with courier, I could give it a try. Early tomorrow morning or maybe this evening if I can get caught up. (CST). ed