]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Don't hard-code size hint when reading preprocessed file
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 12 Sep 2010 14:33:43 +0000 (16:33 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 12 Sep 2010 14:33:43 +0000 (16:33 +0200)
ccache.c

index 8c9045b6d8a6e17a324dc01a03dad8cfa8d24803..ef99d814f80e1f0442553213f186ff90c285c5e1 100644 (file)
--- a/ccache.c
+++ b/ccache.c
@@ -409,7 +409,7 @@ process_preprocessed_file(struct mdfour *hash, const char *path)
        char *p, *q, *end;
        size_t size;
 
-       if (!read_file(path, 32768, &data, &size)) {
+       if (!read_file(path, 0, &data, &size)) {
                return false;
        }