From owner-freebsd-ports@FreeBSD.ORG Mon Jan 23 06:57:00 2006 Return-Path: X-Original-To: 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 C5E2716A41F for ; Mon, 23 Jan 2006 06:57:00 +0000 (GMT) (envelope-from ale@FreeBSD.org) Received: from andxor.it (relay.andxor.it [195.223.2.3]) by mx1.FreeBSD.org (Postfix) with SMTP id C31EC43D49 for ; Mon, 23 Jan 2006 06:56:57 +0000 (GMT) (envelope-from ale@FreeBSD.org) Received: (qmail 32292 invoked from network); 23 Jan 2006 06:56:55 -0000 Received: from unknown (HELO ?192.168.178.2?) (a.premoli@andxor.it@81.174.31.42) by andxor.it with SMTP; 23 Jan 2006 06:56:55 -0000 Message-ID: <43D47E36.1070906@FreeBSD.org> Date: Mon, 23 Jan 2006 07:56:54 +0100 From: Alex Dupre User-Agent: Thunderbird 1.5 (X11/20060113) MIME-Version: 1.0 To: Kris Kennaway References: <20060123040721.GA95972@xor.obsecurity.org> In-Reply-To: <20060123040721.GA95972@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: Re: fam vs gamin 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: Mon, 23 Jan 2006 06:57:00 -0000 Kris Kennaway wrote: > Are devel/fam and gamin supposed to be compatible? They both provide > a libfam, but since I switched from fam to gamin, my courier-imap is > segfaulting. This persists after I rebuild it. The library should be 100% compatible, since gamin uses the fam interface, but it doesn't implement all the fam functions (for a complete list of differences look here: http://www.gnome.org/~veillard/gamin/differences.html). If your courier-imap doesn't do something unsupported in gamin, the libraries should be completely interchangeble. *But* I'm working at my real job on a project using gamin, and just friday I found a very strange behaviour (probably a bug) of gamin with kqueue backend monitoring a few directories with thousands of files inside (lost or delayed events). Switching to polling solved the problem, this is the reason I think it's a kqueue implementation bug. Today I'll do other tests, more accurately. Stay tuned. -- Alex Dupre