mapper, update, ...: use g_build_filename(), G_DIR_SEPARATOR, ...

Try to be as portable as possible, use GLib path name functions and
macros.
This commit is contained in:
Max Kellermann
2009-10-20 21:01:55 +02:00
parent 447e4d3583
commit c953d6409d
7 changed files with 10 additions and 11 deletions

View File

@@ -74,7 +74,7 @@ decoder_file_decode(const struct decoder_plugin *plugin,
assert(decoder->stream_tag == NULL);
assert(decoder->decoder_tag == NULL);
assert(path != NULL);
assert(path[0] == '/');
assert(g_path_is_absolute(path));
assert(dc.state == DECODE_STATE_START);
decoder_unlock();