Open the cache in binary mode.
commit1dd89a2322216a3143f5e7b216856de282b161d4
authorTyler Nielsen <tyler.nielsen@gmail.com>
Tue, 23 Mar 2010 20:52:19 +0000 (23 14:52 -0600)
committerHeikki Hokkanen <hoxu@users.sf.net>
Wed, 24 Mar 2010 04:58:56 +0000 (24 06:58 +0200)
tree976ad9ba9096749204277bc9114fb4942a848754
parentcef3478bec35f7b48d1ee857078e2610937d14ae
Open the cache in binary mode.

This fixes an issue where the cache fails to load on Windows machines.
EOL characters were getting modified, causing zlib uncompression to fail.

[hoxu@users.sf.net: slightly modified the commit message]

Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
gitstats