]> git.ipfire.org Git - thirdparty/ccache.git/commit
Remove short read optimization from #551
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 8 Jul 2020 07:54:50 +0000 (09:54 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 8 Jul 2020 08:01:05 +0000 (10:01 +0200)
commit4b71108612f7ed2c7d14738ff02f3783970f5ee4
tree081bb6d28f1b3e6e3cfcd0e3118bd650cf5ae64a
parent850dcf5b5870fac7bcee0b1b54b4278315a0bbdc
Remove short read optimization from #551

I don’t feel confident about assuming that a short read for a file means
EOF in all situations. For instance, it looks like short reads can
happen of an NFS file system mounted with the “intr” option, and it can
also happen if a file entry actually is a named pipe.
src/hash.cpp
src/hash.hpp