From owner-freebsd-usb@FreeBSD.ORG Mon May 18 13:07:42 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2231F10656B9; Mon, 18 May 2009 13:07:37 +0000 (UTC) (envelope-from root@mail.sagedata.net) Received: from mail.sagedata.net (mail.sagedata.net [63.214.156.21]) by mx1.freebsd.org (Postfix) with ESMTP id 43EA98FC47; Mon, 18 May 2009 13:07:35 +0000 (UTC) (envelope-from root@mail.sagedata.net) Received: from mail.sagedata.net (localhost [127.0.0.1]) by mail.sagedata.net (8.14.3/8.14.3) with ESMTP id n4ICqO6w034477; Mon, 18 May 2009 07:52:24 -0500 (CDT) (envelope-from root@mail.sagedata.net) Received: (from root@localhost) by mail.sagedata.net (8.14.3/8.14.3/Submit) id n4ICqOXP034474; Mon, 18 May 2009 07:52:24 -0500 (CDT) (envelope-from root) X-Envelope-Sender: owner-freebsd-ports@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mail.sagedata.net (8.14.3/8.14.3) with ESMTP id n4I9ZEw0005478 for ; Mon, 18 May 2009 04:35:15 -0500 (CDT) (envelope-from owner-freebsd-ports@freebsd.org) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 2ED33176A86; Mon, 18 May 2009 09:34:33 +0000 (UTC) (envelope-from owner-freebsd-ports@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id D188A10656E4; Mon, 18 May 2009 09:34:32 +0000 (UTC) (envelope-from owner-freebsd-ports@freebsd.org) Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4046B1065674; Mon, 18 May 2009 09:34:19 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 496EB8FC2B; Mon, 18 May 2009 09:34:18 +0000 (UTC) (envelope-from hselasky@freebsd.org) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=ezY8gES9d9YA:10 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=RRgnrM4ICHkkUpFZu5kA:9 a=hTeHOaKq-z6AlGNJI1RKctCXjiEA:4 a=UlvUavXRAAAA:8 a=rL6TIayMHYZ-YPLjhE0A:9 a=_aIzSSXiGnr7tqotQBo1JtEGD3AA:4 a=6FRLwHsFNoYA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1241156808; Mon, 18 May 2009 10:34:15 +0200 Received-SPF: softfail receiver=mailfe07.swip.net; client-ip=81.191.55.181; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: gnome@freebsd.org, ports@freebsd.org, freebsd-usb@freebsd.org, freebsd-current@freebsd.org Date: Mon, 18 May 2009 10:36:50 +0200 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_j4REKGJO9Qvs4M9" Message-Id: <200905181036.51184.hselasky@freebsd.org> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-ports@freebsd.org Errors-To: owner-freebsd-ports@freebsd.org X-Scanned-By: milter-sender/1.16.915 (localhost [0.0.0.0]); Mon, 18 May 2009 07:52:24 -0500 X-Scanned-By: milter-spamc/1.13.385 (mail.sagedata.net [63.214.156.21]); Mon, 18 May 2009 04:35:16 -0500 X-Scanned-By: milter-sender/1.16.915 (mail.sagedata.net [63.214.156.21]); Mon, 18 May 2009 04:35:15 -0500 X-Spam-Status: NO, hits=-100.00 required=4.50 X-Spam-Report: Content analysis details: (-100.0 points, 4.5 required) | | pts rule name description | ---- ---------------------- -------------------------------------------------- | -100 USER_IN_WHITELIST From: address is in the user's white-list | X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Minor USB related sysutils/hal patch X-BeenThere: freebsd-usb@freebsd.org List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2009 13:07:49 -0000 --Boundary-00=_j4REKGJO9Qvs4M9 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I've made some minor patches for sysutils/hal If the device is detached during config read, the config can be NULL. Check that. Make sure that we close the device handles as we go, to save number of open files. When the backend is freed any leftover file handles will get freed, so it is not absolutely needed to close the device handle in every case. --HPS --Boundary-00=_j4REKGJO9Qvs4M9 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" --Boundary-00=_j4REKGJO9Qvs4M9--