[PATCH] relace '/' in the last part of a UDI

Danny Kukawka danny.kukawka at web.de
Wed Sep 24 23:37:11 PDT 2008


On Dienstag, 23. September 2008, David Zeuthen wrote:
> On Tue, 2008-09-23 at 19:14 -0700, Danny Kukawka wrote:
> > I have already an idea how to fix it, but this mean, we have to change
> > some parts of the UDI generating and validating, since the problem is the
> > '/' after the '/org/freedesktop/Hal/devices/' part, which is as it looks
> > forbidden by DBus. I will change the code to replace the '/' with a '_'.
>
> Sounds good to me, thanks!

Maybe someone can test the attached patch. It fixes the problem at least for 
me.

Danny

 hald.c |    2 ++
 util.c |   20 ++++++++++++++++++++
 util.h |    2 ++
 3 files changed, 24 insertions(+)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-20080924-fix-replace_slash_in_end_of_udi.diff
Type: text/x-diff
Size: 1797 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20080924/7b09a557/attachment.diff 


More information about the hal mailing list