diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-01 22:43:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-01 22:43:28 -0500 |
commit | f7dda6c625c7b12a1d4635a679e442250a0f69f0 (patch) | |
tree | 9f585f8d382e8a388b06711caf418fcfe5ee6abe /src/basic/path-util.h | |
parent | ef2f4f911b6a6499db4468570ed868add45b3069 (diff) | |
parent | 9ff233dc1fa2f47fc4499a12a8ee0640aba30657 (diff) |
Merge pull request #5203 from poettering/dotdot
trivial unification of checking for "." and ".." when iterating through directories...
Diffstat (limited to 'src/basic/path-util.h')
-rw-r--r-- | src/basic/path-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/path-util.h b/src/basic/path-util.h index 349cdac7d6..35aef3adc8 100644 --- a/src/basic/path-util.h +++ b/src/basic/path-util.h @@ -141,3 +141,5 @@ bool is_device_path(const char *path); bool is_deviceallow_pattern(const char *path); int systemd_installation_has_version(const char *root, unsigned minimal_version); + +bool dot_or_dot_dot(const char *path); |