]> git.ipfire.org Git - thirdparty/ccache.git/commit
Rename temporary object file to cached object file if possible
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 9 May 2010 15:50:20 +0000 (17:50 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 9 May 2010 15:50:20 +0000 (17:50 +0200)
commitc609b16cc0896ae0ee7f8e1b5eb60f07264204e8
treee2bbf440c6f9577cbaec859f7c60f3e21c85c1a7
parentf12d64243ffae8f1e8a438ee9f6b9703a9826c9e
Rename temporary object file to cached object file if possible

This avoids copying the object file unnecessarily in the common case when we
store object files uncompressed in the cache.
ccache.c
ccache.h
util.c