Joel Rosdahl
0a6b820cc4
Use bool, true and false for boolean values
2010-08-29 13:26:55 +02:00
Joel Rosdahl
1b298bb748
Remove includes that are redundant after system.h introduction
2010-08-29 12:02:44 +02:00
Joel Rosdahl
c358e7c801
Read files into memory instead of using mmap()
...
This has two benefits:
- It's more robust against file changes during reading.
- It improves performance on poor systems where mmap() doesn't use the disk
cache.
2010-08-26 22:23:32 +02:00
Joel Rosdahl
530dfe7c11
Format code to use a more consistent coding style
2010-08-01 17:20:33 +02:00
Ramiro Polla
1fc590556f
Introduce and use x_fmmap() and x_munmap()
...
x_fmmap() opens, stats, and mmap()s a file. x_munmap() is currently just a
wrapper around munmap().
2010-07-16 15:45:52 +02:00
Joel Rosdahl
e1c9e3f330
Switch license to GPLv3+
2010-04-22 22:47:16 +02:00
Kovarththanan Rajaratnam
e8d07ea50c
Mark token array as const
2010-03-18 12:45:31 +01:00
Ramiro Polla
38926cce43
Always close(fd) as soon as file is mmap()'d.
2010-02-28 16:41:56 +01:00
Joel Rosdahl
8ce0a8475f
Portability: Include headers to get O_RDONLY and friend
2010-02-28 00:02:29 +01:00
Joel Rosdahl
815d96dd6a
Let cc_log and fatal add a newline character to the message
2010-02-24 21:25:32 +01:00
Kovarththanan Rajaratnam
8f2365f24d
use size_t when we refer to memory sizes
2010-02-22 23:02:22 +01:00
Joel Rosdahl
ecf85fc492
Remove standard includes from ccache.h
2010-02-17 21:03:27 +01:00
Joel Rosdahl
9928604eb5
Let hash_* functions take a hash context so that they are reusable
2010-01-05 18:53:01 +01:00
Joel Rosdahl
dca11d321b
Remove trailing whitespace
2010-01-05 18:53:01 +01:00
Andrew Tridgell
2090a5dd8d
- attempt to make ccache work with cygwin by using O_BINARY (thanks
...
to email from Emilio Lopes <eclig@gmx.net>)
- disabled the direct .ii tests as these break with newest gcc
2004-09-06 14:24:05 +02:00
Andrew Tridgell
93ef062cc5
fixed some warnings
2002-04-01 05:41:44 +02:00
Andrew Tridgell
633b80ed37
minor unifier bug fix
2002-04-01 05:26:49 +02:00
Andrew Tridgell
985ef02f05
more unifier docs
2002-04-01 05:20:51 +02:00
Andrew Tridgell
aa617d17e2
more length checks
2002-04-01 03:00:48 +02:00
Andrew Tridgell
4867d787f2
added CCACHE_NOUNIFY option
2002-04-01 02:23:31 +02:00
Andrew Tridgell
83c0593f7f
added the C/C++ unifier
2002-03-31 16:26:49 +02:00
Andrew Tridgell
9bb1cf8507
not used yet, but probably will be soon
2002-03-31 16:15:33 +02:00