]> git.tdb.fi Git - libs/datafile.git/commit
Pass mode to ZlibCompressed
authorMikko Rasa <tdb@tdb.fi>
Sat, 5 Jan 2013 09:40:42 +0000 (11:40 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 5 Jan 2013 11:01:49 +0000 (13:01 +0200)
commit73ef0d0378ba1c987f99522ba904cba9fd4b0ad4
treea3e73c45bd7c1b783d2dbd2eb0b4750377142e5f
parent835fcd2f79e8848fa0d92be667c0e02952e23436
Pass mode to ZlibCompressed

This makes creating compressed packs work.  The temporary file is opened
with M_RDWR because we want to read the data back from the same handle, so
ZlibCompressed can't autodetect the mode.
source/input.cpp
source/output.cpp