aboutsummaryrefslogtreecommitdiff
path: root/include/stringop.h
diff options
context:
space:
mode:
authorPavel 'LEdoian' Turinsky <ledoian@matfyz.cz>2024-05-03 09:09:14 +0200
committerSimon Ser <contact@emersion.fr>2025-04-28 23:34:23 +0200
commit6cac61b6b96c4a48a69f8ec3c06c2df560b01827 (patch)
treed82c5c0ac4c2f5611ebfe2a237a7c46178e9bd14 /include/stringop.h
parent6894b498a889d809093c920d397a42db7f5e4970 (diff)
Fix includes with relative paths
The function `load_include_configs` already changes the directory to the one containing the parent config. Therefore, `load_include_config` trying to assemble the "full" path leads to repetition of path segments, making the `realpath` call fail with ENOENT. Just calling `realpath` on the path itself from the directory with the parent configuration is sufficient, so there is no point in passing `parent_dir` to `load_include_config`.
Diffstat (limited to 'include/stringop.h')
0 files changed, 0 insertions, 0 deletions