hal: Branch 'master'
Danny Kukawka
dkukawka at kemper.freedesktop.org
Tue Feb 5 06:30:23 PST 2008
hald/device.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 20294d46019d268f4ae6143e43b0e96b398f8f11
Author: Danny Kukawka <danny.kukawka at web.de>
Date: Tue Feb 5 15:30:17 2008 +0100
add more useful debug output on UTF-8 problems
Add more useful debug output on UTF-8 problems, show also the
new string after replace non-UTF-8 chars.
diff --git a/hald/device.c b/hald/device.c
index a3b84f4..304f177 100644
--- a/hald/device.c
+++ b/hald/device.c
@@ -211,7 +211,8 @@ hal_property_set_string (HalProperty *prop, const char *value)
}
if (!validated) {
- HAL_WARNING (("Property has invalid UTF-8 string '%s'", value));
+ HAL_WARNING (("Property has invalid UTF-8 string '%s', it was changed to: '%s'",
+ value, prop->v.str_value));
}
}
More information about the hal-commit
mailing list