From: Joel Rosdahl Date: Sun, 12 Sep 2010 14:33:43 +0000 (+0200) Subject: Don't hard-code size hint when reading preprocessed file X-Git-Tag: v3.1~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6a562c1dfc6cc04608da9730cfad2cde081ffa4d;p=thirdparty%2Fccache.git Don't hard-code size hint when reading preprocessed file --- diff --git a/ccache.c b/ccache.c index 8c9045b6d..ef99d814f 100644 --- 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; }