]> git.ipfire.org Git - thirdparty/ccache.git/commit
Remove obsolete (and now incorrect) fallback replacement of realpath(3)
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 29 Dec 2020 18:33:54 +0000 (19:33 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 29 Dec 2020 19:37:52 +0000 (20:37 +0100)
commit76eb7f4c46e876db07bbc8fa850b7d84a480c5ea
tree3f84c302d784a23ffe4a3ab00e8a0e7937012819
parentd609e926050dc0812a4d0b47330a291bd3c22d95
Remove obsolete (and now incorrect) fallback replacement of realpath(3)

The fallback replacement of realpath(3) (from 8e918ccc) uses readlink(3)
under the assumption that we’re only interested about symlinks, but
that’s no longer the case: we’re using it for normalization purposes as
well. Let’s just remove it. If it turns out that there still are
non-Windows systems that don’t have realpath(3) and that we care about
we’ll figure out something else.
src/Util.cpp