]> git.ipfire.org Git - thirdparty/ccache.git/commit
Remove the hard link mode
authorJoel Rosdahl <joel@rosdahl.net>
Thu, 6 Jun 2019 18:10:10 +0000 (20:10 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 6 Jun 2019 18:10:10 +0000 (20:10 +0200)
commita1dbb8a15e034e5a63eb6b4407c9e3ccac469162
tree0dc26b3f484259caca3da1a60381c1eacbfacc76
parentb7fdaedcfb0e7358d5baebea5f078045b216771a
Remove the hard link mode

Rationale:

* The hard link feature is prone to errors: a) changes to files outside
  the cache will corrupt the cache, and b) the mtime field in the file's
  i-node is used for different purposes by ccache and build tools like
  make.
* The upcoming enabling of LZ4 compression by default will make the hard
  link mode obsolete as a means of saving cache space.
* Not supporting hard links will make a future backend storage API
  simpler.
doc/MANUAL.adoc
misc/performance
src/ccache.c
src/conf.c
src/conf.h
src/confitems.gperf
src/envtoconfitems.gperf
test/run
test/suites/hardlink.bash [deleted file]
unittest/test_conf.c