From owner-cvs-ports@FreeBSD.ORG Thu Apr 7 01:18:24 2005 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAD2416A4CE; Thu, 7 Apr 2005 01:18:24 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2C8C43D2D; Thu, 7 Apr 2005 01:18:24 +0000 (GMT) (envelope-from marcus@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j371IOPP099425; Thu, 7 Apr 2005 01:18:24 GMT (envelope-from marcus@repoman.freebsd.org) Received: (from marcus@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j371ION9099424; Thu, 7 Apr 2005 01:18:24 GMT (envelope-from marcus) Message-Id: <200504070118.j371ION9099424@repoman.freebsd.org> From: Joe Marcus Clarke Date: Thu, 7 Apr 2005 01:18:24 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/devel/gamin Makefile ports/devel/gamin/files patch-server_gam_kqueue.c X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2005 01:18:25 -0000 marcus 2005-04-07 01:18:24 UTC FreeBSD ports repository Modified files: devel/gamin Makefile devel/gamin/files patch-server_gam_kqueue.c Log: * When a file monitored with kqueue is moved or removed, gamin does not monitor it anymore. The patch fixes the issue by adding moved/removed files to the exist_list, so that gamin detects when they are recreated * No CHANGED event is emitted for the files contained in a monitored directory, because kqueue can't do that. The patch adds periodic polling for these files * Instead of calling kevent() every second, the patch uses an I/O watch (g_io_add_watch()) PR: 79605 Submitted by: Jean-Yves Lefort Revision Changes Path 1.2 +1 -1 ports/devel/gamin/Makefile 1.2 +188 -104 ports/devel/gamin/files/patch-server_gam_kqueue.c