]> err.no Git - varnish/commit
Tweak storage file size calculations. Avoid overflow when calculating 80%
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 16 Sep 2006 12:23:33 +0000 (12:23 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 16 Sep 2006 12:23:33 +0000 (12:23 +0000)
commita1e37c5e8d8497290d0721ae91878922a9d2febc
tree0c71a1c9bf499b80f9698ccfc7c5bd19cd8df875
parent9acb7cf38648b014d8f791835e29035b0d677551
Tweak storage file size calculations.  Avoid overflow when calculating 80%
of available storage on 32-bit Linux (most fields in struct statfs are long
instead of int64_t as in BSD)

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1009 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/storage_file.c