]> git.ipfire.org Git - thirdparty/ccache.git/commit
fix: Don't crash with no or nonexistent source file with base_dir
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 9 Sep 2022 07:09:06 +0000 (09:09 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Fri, 9 Sep 2022 07:58:12 +0000 (09:58 +0200)
commite2840d7d4651bd52b16b06b8358ef054f8d494a9
treea2735af7f8e3fa40ed0b418919ec9fc3afaa0d76
parent1e5761e75325a8b45eb61e55d73ee92823ed4da4
fix: Don't crash with no or nonexistent source file with base_dir

Regression in fec405539bca90ebd0992ae6606bd10eec3a64da.

Fixes #1155.
src/util/path.cpp
test/suites/basedir.bash
unittest/test_util_path.cpp