Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
hal
hal-computeudi.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hal-computeudi.diff of Package hal
--- ./hald/linux/device.c.orig 2009-11-17 18:14:35.000000000 +0000 +++ ./hald/linux/device.c 2009-11-17 18:15:36.000000000 +0000 @@ -2270,9 +2270,10 @@ ppdev_compute_udi (HalDevice *d) gchar udi[256]; const char *name; - name = hal_util_get_last_element( hal_device_property_get_string(d, "linux.device_file")); + name = hal_device_property_get_string (d, "linux.device_file"); if (name) { + name = hal_util_get_last_element (name); hald_compute_udi (udi, sizeof (udi), "/org/freedesktop/Hal/devices/ppdev_%s", name); } else { hald_compute_udi (udi, sizeof (udi), "/org/freedesktop/Hal/devices/ppdev");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor