diff options
author | David Robillard <d@drobilla.net> | 2020-12-01 10:23:54 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-01 10:23:54 +0100 |
commit | 3e19bbfc801e2f983c857797b36f8c7ab3d95d60 (patch) | |
tree | 0fff58922382f5b706275e48ba39daacb009fbb4 /src/zix/tree.c | |
parent | 375cc69f6de5c75e0c2091696a406163d59b536e (diff) | |
download | lilv-3e19bbfc801e2f983c857797b36f8c7ab3d95d60.tar.gz lilv-3e19bbfc801e2f983c857797b36f8c7ab3d95d60.tar.bz2 lilv-3e19bbfc801e2f983c857797b36f8c7ab3d95d60.zip |
Use the canonical path for state directories
This fixes an issue on MacOS if hosts use a temporary directory generated with
mkdtemp, which can create paths that involve symlinks. This is problematic
since the parent directory comparisons here need to determine if a file is
really in one of the state directories. The actual paths here shouldn't be
visible in saved state, so resolve them fully so that the directory membership
tests work correctly and copies and/or links are created when necessary.
Diffstat (limited to 'src/zix/tree.c')
0 files changed, 0 insertions, 0 deletions