diff options
author | Denis Krjuchkov <denis@crazydev.net> | 2013-12-05 03:53:43 +0600 |
---|---|---|
committer | Denis Krjuchkov <denis@crazydev.net> | 2013-12-05 03:53:43 +0600 |
commit | 0a6c4c31b2a9e79c9c0119202f9e50e123f98ac6 (patch) | |
tree | eeea8005badbf5b9c8ccea8b961ea498d2da3d47 /src/input | |
parent | 02fcf184b5620c9ccbbc26024f9b0f341061a39a (diff) | |
download | mpd-0a6c4c31b2a9e79c9c0119202f9e50e123f98ac6.tar.gz mpd-0a6c4c31b2a9e79c9c0119202f9e50e123f98ac6.tar.xz mpd-0a6c4c31b2a9e79c9c0119202f9e50e123f98ac6.zip |
fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8
Diffstat (limited to '')
-rw-r--r-- | src/input/ArchiveInputPlugin.cxx | 2 | ||||
-rw-r--r-- | src/input/FileInputPlugin.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/input/ArchiveInputPlugin.cxx b/src/input/ArchiveInputPlugin.cxx index 72572defc..5797caced 100644 --- a/src/input/ArchiveInputPlugin.cxx +++ b/src/input/ArchiveInputPlugin.cxx @@ -46,7 +46,7 @@ input_archive_open(const char *pathname, const struct archive_plugin *arplug; InputStream *is; - if (!PathTraits::IsAbsoluteFS(pathname)) + if (!PathTraitsFS::IsAbsolute(pathname)) return nullptr; char *pname = g_strdup(pathname); diff --git a/src/input/FileInputPlugin.cxx b/src/input/FileInputPlugin.cxx index dd6a28b97..5a63a469c 100644 --- a/src/input/FileInputPlugin.cxx +++ b/src/input/FileInputPlugin.cxx @@ -60,7 +60,7 @@ input_file_open(const char *filename, int fd, ret; struct stat st; - if (!PathTraits::IsAbsoluteFS(filename)) + if (!PathTraitsFS::IsAbsolute(filename)) return nullptr; fd = open_cloexec(filename, O_RDONLY|O_BINARY, 0); |