Re: [Linuxwacom-devel] [PATCH libwacom] lib: ignore empty match strings

2012-05-23 Thread Peter Hutterer
On Wed, May 23, 2012 at 11:03:28AM +0100, Bastien Nocera wrote: > On Wed, 2012-05-23 at 15:24 +1000, Peter Hutterer wrote: > > Match strings that terminate with a semi will have a final, empty, string > > after g_strsplit(). Ignore those too, not just NULL strings. > > > > Removes "failed to match

Re: [Linuxwacom-devel] [PATCH libwacom] lib: ignore empty match strings

2012-05-23 Thread Bastien Nocera
On Wed, 2012-05-23 at 15:24 +1000, Peter Hutterer wrote: > Match strings that terminate with a semi will have a final, empty, string > after g_strsplit(). Ignore those too, not just NULL strings. > > Removes "failed to match '' for product/vendor IDs. Skipping." warnings from > tests. This: strle

[Linuxwacom-devel] [PATCH libwacom] lib: ignore empty match strings

2012-05-22 Thread Peter Hutterer
Match strings that terminate with a semi will have a final, empty, string after g_strsplit(). Ignore those too, not just NULL strings. Removes "failed to match '' for product/vendor IDs. Skipping." warnings from tests. Signed-off-by: Peter Hutterer --- libwacom/libwacom-database.c |2 +- 1