aboutsummaryrefslogtreecommitdiffstats
path: root/src/UpdateWalk.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-14 22:38:29 +0200
committerMax Kellermann <max@duempel.org>2013-10-14 22:38:29 +0200
commit9508ea982b8feb012a9d354a7c80005421a854bc (patch)
tree4c50648506d2ad1bcc5ebbf93138b62074310840 /src/UpdateWalk.cxx
parent47d655ea7f0ed9c26ceba4767ef6aa82e434d129 (diff)
downloadmpd-9508ea982b8feb012a9d354a7c80005421a854bc.tar.gz
mpd-9508ea982b8feb012a9d354a7c80005421a854bc.tar.xz
mpd-9508ea982b8feb012a9d354a7c80005421a854bc.zip
fs/Path: add method IsAbsolute()
Diffstat (limited to 'src/UpdateWalk.cxx')
-rw-r--r--src/UpdateWalk.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UpdateWalk.cxx b/src/UpdateWalk.cxx
index d7dfd3015..2bc1f335e 100644
--- a/src/UpdateWalk.cxx
+++ b/src/UpdateWalk.cxx
@@ -295,7 +295,7 @@ skip_symlink(const Directory *directory, const char *utf8_name)
const char *target_str = target.c_str();
- if (g_path_is_absolute(target_str)) {
+ if (Path::IsAbsoluteFS(target_str)) {
/* if the symlink points to an absolute path, see if
that path is inside the music directory */
const char *relative = map_to_relative_path(target_str);