split up the OpenMode into OpenMode and CompressionMode and
authorDavid Kalnischkies <kalnischkies@gmail.com>
Tue, 29 Nov 2011 11:14:31 +0000 (12:14 +0100)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Tue, 29 Nov 2011 11:14:31 +0000 (12:14 +0100)
commit257e8d668c044fb0e9ad8e4b53afd32e07404831
treee33b9c976282c5ff272b79eeaf93036ec3d95463
parent78c9276d29172cbe72fc65ac56bde1627a8f86d1
split up the OpenMode into OpenMode and CompressionMode and
provide ReadOnly, WriteOnly and ReadWrite as flags alongside
the additional flags as decompression will be one-way later,
but certain parts really depend on Write* openmodes being
ReadWrite opens, so we will have to fail for those.
apt-pkg/contrib/fileutl.cc
apt-pkg/contrib/fileutl.h