summaryrefslogtreecommitdiff
path: root/src/basic/path-util.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-06-17 12:37:16 -0400
committerSven Eden <yamakuzure@gmx.net>2017-07-25 09:46:52 +0200
commit15f07f3172e69e87b1c6d3d03911e3dc38b0110c (patch)
tree40d4b08aec2bf4b7da65968c609ec47517eabf02 /src/basic/path-util.h
parent1ea8dbd9cd30a46d8f410a7f651bd3e730d2378a (diff)
basic/path-util: allow flags for path_equal_or_files_same
No functional change, just a new parameters and the tests that AT_SYMLINK_NOFOLLOW works as expected.
Diffstat (limited to 'src/basic/path-util.h')
-rw-r--r--src/basic/path-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/path-util.h b/src/basic/path-util.h
index 487ae1396..3c0dbb321 100644
--- a/src/basic/path-util.h
+++ b/src/basic/path-util.h
@@ -52,7 +52,7 @@ char* path_kill_slashes(char *path);
char* path_startswith(const char *path, const char *prefix) _pure_;
int path_compare(const char *a, const char *b) _pure_;
bool path_equal(const char *a, const char *b) _pure_;
-bool path_equal_or_files_same(const char *a, const char *b);
+bool path_equal_or_files_same(const char *a, const char *b, int flags);
char* path_join(const char *root, const char *path, const char *rest);
static inline bool path_equal_ptr(const char *a, const char *b) {