aboutsummaryrefslogtreecommitdiffstats
path: root/src/input
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-17 23:23:25 +0200
committerMax Kellermann <max@duempel.org>2013-10-17 23:23:25 +0200
commitb3611524f45c2a478f9decd6d22ecd1dbbbb64b9 (patch)
treed15d0c161e24e5db7d77b768458aa11cb6650878 /src/input
parenta63613dba0374367907180be5e244db450ff234b (diff)
downloadmpd-b3611524f45c2a478f9decd6d22ecd1dbbbb64b9.tar.gz
mpd-b3611524f45c2a478f9decd6d22ecd1dbbbb64b9.tar.xz
mpd-b3611524f45c2a478f9decd6d22ecd1dbbbb64b9.zip
fs/Path: move definitions to struct PathTraits
Diffstat (limited to 'src/input')
-rw-r--r--src/input/ArchiveInputPlugin.cxx4
-rw-r--r--src/input/FileInputPlugin.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/input/ArchiveInputPlugin.cxx b/src/input/ArchiveInputPlugin.cxx
index 39d71f740..38435d563 100644
--- a/src/input/ArchiveInputPlugin.cxx
+++ b/src/input/ArchiveInputPlugin.cxx
@@ -26,7 +26,7 @@
#include "ArchiveFile.hxx"
#include "InputPlugin.hxx"
#include "util/Error.hxx"
-#include "fs/Path.hxx"
+#include "fs/Traits.hxx"
#include "Log.hxx"
#include <glib.h>
@@ -47,7 +47,7 @@ input_archive_open(const char *pathname,
const struct archive_plugin *arplug;
struct input_stream *is;
- if (!Path::IsAbsoluteFS(pathname))
+ if (!PathTraits::IsAbsoluteFS(pathname))
return NULL;
char *pname = g_strdup(pathname);
diff --git a/src/input/FileInputPlugin.cxx b/src/input/FileInputPlugin.cxx
index f52b1cd14..22cb8d5e6 100644
--- a/src/input/FileInputPlugin.cxx
+++ b/src/input/FileInputPlugin.cxx
@@ -24,7 +24,7 @@
#include "InputPlugin.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
-#include "fs/Path.hxx"
+#include "fs/Traits.hxx"
#include "system/fd_util.h"
#include "open.h"
@@ -63,7 +63,7 @@ input_file_open(const char *filename,
int fd, ret;
struct stat st;
- if (!Path::IsAbsoluteFS(filename))
+ if (!PathTraits::IsAbsoluteFS(filename))
return nullptr;
fd = open_cloexec(filename, O_RDONLY|O_BINARY, 0);