| commit | ef1f33b0db5a69afeb4272668089ed5f760aea68 | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Fri Apr 22 10:06:43 2011 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Fri Apr 22 10:06:43 2011 +0000 |
| tree | 5d654c5adb83ebb96f990ff3ae85930fc354fc8c | |
| parent | 64efecc2b5e6824422703a4fd5106c70d4704ef0 [diff] |
Use more precise stat.st_blocks to account cache size on Unix instead of file length rounded to a file system block size. There is no similar way on Windows, so rounding to a cache->bsize is kept.