[RFC] replace non utf8 always with the same char

Richard Hughes hughsient at gmail.com
Wed May 10 11:05:54 PDT 2006


On Wed, 2006-05-10 at 19:54 +0200, Danny Kukawka wrote:
> I propose to use always the same char in HAL and to add a function
> to  
> hald/linux2/probing/shared.h to allow validate in prober and addons
> always in 
> the same way. IMO we should use '_' in all cases to replace invalid
> chars.

I like the idea, but what about a proper function in
hald/linux2/probing/shared.c (which we can move some other stuff from
the .h), that can let us do this shared stuff properly. There's loads of
warnings in the hal source at the moment about functions defined but not
used (e.g. drop_privileges) -- or is there a better way to do this?

Richard.



More information about the hal mailing list