summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-06-30 18:17:52 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-06-30 18:17:52 +0200
commit556aa54bfdfdc72c49a9ea705fe81c03f596c732 (patch)
tree42f9223f9d2e3a9f9a8ff9ff1bbae1b2fc915e75
parent2737c26b6b88568ee9ccd88f63d4cdded9723aca (diff)
Supposedly fixing issue with raw .gz files.
-rw-r--r--lib/Input.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Input.cc b/lib/Input.cc
index 4c2f419..45a238f 100644
--- a/lib/Input.cc
+++ b/lib/Input.cc
@@ -204,8 +204,10 @@ int Input::wrapopen(const String & fname, openresults_t * results) {
}
void Input::SetZ(int l) throw(GeneralException) {
- if (!fromarchive)
+ if (!fromarchive) {
Handle::SetZ(l);
+ size = -1;
+ }
}
#ifdef HOOK_STDS