commit | 906dc5f452ea7bb2a46b456aabf10e3cd34a7942 | [log] [tgz] |
---|---|---|
author | Dieter Baron <dillo@nih.at> | Tue May 05 13:21:23 2020 +0200 |
committer | Dieter Baron <dillo@nih.at> | Tue May 05 13:21:32 2020 +0200 |
tree | 49ee382ed02643df194a925ecbe4d9443706167a | |
parent | 196fae2c2d96b850ca67954e129674c99d4788a9 [diff] |
Actually seek when necessary.
diff --git a/lib/zip_source_win32handle.c b/lib/zip_source_win32handle.c index 256d997..3a6b9a0 100644 --- a/lib/zip_source_win32handle.c +++ b/lib/zip_source_win32handle.c
@@ -338,7 +338,7 @@ if (args == NULL) return -1; - need_seek = ctx->closep; + need_seek = 1; switch (args->whence) { case SEEK_SET: