10 Commits

Author SHA1 Message Date
Joel Rosdahl
59eb6b9fc3 Don't create empty stderr files in the cache 2010-01-05 18:53:03 +01:00
Joel Rosdahl
63a505fe79 Fix statistics and cache cleanup for files generated by direct mode
The statistics counters "files in cache" and "cache size" now only include
object files. It's not worth the effort to keep track of the .manifest, .d and
.stderr files since the cache size is dominated by the object files, and it's
unlikely that anyone is bothered by du(1) having a different opinion (which
also was the case before anyway). Consequently, the "max file" and "max cache
size" settings now specify thresholds for object files count and size.
2010-01-05 18:53:03 +01:00
Joel Rosdahl
dca11d321b Remove trailing whitespace 2010-01-05 18:53:01 +01:00
Andrew Tridgell
b826a4d9c1 make sure we cleanup any tmp files leftover from dead ccache runs 2006-07-17 03:09:56 +02:00
Andrew Tridgell
0bd4ffafcf - avoid using basename() to fix systems with that already defined
- add EINTR handling in lock_fd()

- make sure we prototype asprintf on systems that don't have it
2003-09-25 08:11:28 +02:00
Andrew Tridgell
4bf504a663 fixed some warnings 2003-01-06 03:10:15 +01:00
Andrew Tridgell
8b44312b4a added -C option 2002-06-03 05:22:17 +02:00
Andrew Tridgell
3442427f47 fixed some warnings 2002-04-06 08:45:31 +02:00
Andrew Tridgell
949054c711 fixed some allocation bugs 2002-03-30 13:03:04 +01:00
Andrew Tridgell
ea710755c4 added built-in stats and cache management 2002-03-30 11:43:26 +01:00