2006-10-10 Jonathan Matthew <jonathan@kaolin.wh9.net>
commit95ebe1f263d73ab5d4df048cf649ef364a5c1851
authorjmatthew <jmatthew>
Tue, 10 Oct 2006 11:25:57 +0000 (10 11:25 +0000)
committerjmatthew <jmatthew>
Tue, 10 Oct 2006 11:25:57 +0000 (10 11:25 +0000)
treeadd8602b77339c593e90c804173fc1c1f9a55697
parentef3422964dabdc3c8210eb1008acd3f1f821d93b
2006-10-10  Jonathan Matthew  <jonathan@kaolin.wh9.net>

* sources/rb-ipod-source.c: (generate_ipod_filename):
* lib/rb-cut-and-paste-code.c: (rb_make_valid_utf8):
* lib/rb-cut-and-paste-code.h:
Move eel_make_valid_utf8 to lib/, make the replacement
character a parameter.

* rhythmdb/rhythmdb.c: (make_access_failed_error),
(rhythmdb_execute_multi_stat_info_cb),
(rhythmdb_execute_stat_info_cb), (rhythmdb_execute_load):
When constructing an error message that includes a URI, make sure the
URI is valid utf-8.  Fixes #353588.
ChangeLog
lib/rb-cut-and-paste-code.c
lib/rb-cut-and-paste-code.h
rhythmdb/rhythmdb.c
sources/rb-ipod-source.c