hmm this commit doesn't exactly work; it allows the user to not specify a subsystem or a type, which means that the enumerate will always be blank and return no devices.
On Sun, May 12, 2013 at 9:24 PM, Boris 'billiob' Faure - Enlightenment Git < no-re...@enlightenment.org> wrote: > billiob pushed a commit to branch master. > > commit c313a46b5e065ef3174af75314308647744bfe15 > Author: Boris 'billiob' Faure <bill...@gmail.com> > Date: Sun May 12 22:22:48 2013 +0200 > > eeze: do no try to match an unknown property > --- > src/lib/eeze/eeze_udev_find.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/src/lib/eeze/eeze_udev_find.c b/src/lib/eeze/eeze_udev_find.c > index 5682a36..805f4e6 100644 > --- a/src/lib/eeze/eeze_udev_find.c > +++ b/src/lib/eeze/eeze_udev_find.c > @@ -319,7 +319,8 @@ eeze_udev_find_by_filter(const char *subsystem, > if (subsystem) > udev_enumerate_add_match_subsystem(en, subsystem); > > - udev_enumerate_add_match_property(en, type, "1"); > + if (type) > + udev_enumerate_add_match_property(en, type, "1"); > udev_enumerate_scan_devices(en); > devs = udev_enumerate_get_list_entry(en); > udev_list_entry_foreach(cur, devs) > > -- > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel