Date: Sat, 24 Oct 2009 16:03:07 -0400 From: "J.R. Oldroyd" <fbsd@opal.com> To: Joe Marcus Clarke <marcus@marcuscom.com> Cc: freebsd-gnome@freebsd.org Subject: Re: hal truncating block.device on freebsd-8.0rc1 Message-ID: <20091024160307.106e1fcc@shibato.opal.com> In-Reply-To: <1256366142.54447.188.camel@shumai.marcuscom.com> References: <20091022212532.23a0b972@shibato.opal.com> <1256270523.54447.113.camel@shumai.marcuscom.com> <20091023013730.6300fd64@shibato.opal.com> <1256276672.54447.130.camel@shumai.marcuscom.com> <20091023141921.7aaecf23@shibato.opal.com> <1256366142.54447.188.camel@shumai.marcuscom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 24 Oct 2009 02:35:42 -0400, Joe Marcus Clarke <marcus@marcuscom.com> wrote: > > > > I have a simple patch to the conftxt parser that looks for LABEL > > lines and appends fields until the "i" field is in the right > > place. This fixes things for this camera. > > > Thanks. I believe this will work given that the format of conftxt looks > to be consistent across 6.X, 7.X, 8.X, and 9.X. I've modified the patch > some for safety and style, and added it to hal-0.5.13 which will be > committed with GNOME 2.28 when 8.0 is released. > > Joe > You're welcome. Your earlier note about parsing confxml would probably be the correct, long-term solution. This solution will not properly handle names with multiple spaces or with tabs - the parser will eliminate those and leave just single spaces. But I don't have time to write an xml parser! And I think this solution is an improvement over not having it at all. I suspect devices that use multiple spaces or tabs are rare. Don't forget to update the documentation at that URL you sent me too. -jr
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091024160307.106e1fcc>