]> git.ipfire.org Git - thirdparty/ccache.git/commit
Util: Don’t include path in error description from read_file/write_file
authorThomas Otto <thomas.otto@pdv-fs.de>
Thu, 19 Mar 2020 21:41:55 +0000 (22:41 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 16 Apr 2020 20:33:25 +0000 (22:33 +0200)
commitc5dff353530ca02439f00c37dd0ece4a6666a0af
tree7f01c41dbd8c76c9ffce224b446595a7a3bedb69
parentaa109f272adcc3589325ca9ede21333035927b41
Util: Don’t include path in error description from read_file/write_file

By only returning the error description the caller is more flexible when
composing their own error message.
src/Util.cpp
src/Util.hpp
unittest/test_AtomicFile.cpp
unittest/test_Util.cpp