commit | 78ab0c5807c17e343cc4fa9af86ea2d787e0e047 | [log] [tgz] |
---|---|---|
author | Vojtech Bocek <vbocek@gmail.com> | Fri Mar 20 15:34:45 2015 +0100 |
committer | Vojtech Bocek <vbocek@gmail.com> | Fri Mar 20 15:34:45 2015 +0100 |
tree | 946fa3012624fa64ff64b3ca67019a7163fccdda | |
parent | 7e1b986a31f44fbd67c892d873c18b19f547bcad [diff] [blame] |
libtar: fix handling of files bigger than 2 GiB Change-Id: I96dc1b52b2e4edf366e70a927b263a9aab3e85b7 Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
diff --git a/libtar/append.c b/libtar/append.c index 514cf54..1831990 100644 --- a/libtar/append.c +++ b/libtar/append.c
@@ -233,8 +233,8 @@ { char block[T_BLOCKSIZE]; int filefd; - int i, j; - size_t size; + int j; + size_t size, i; filefd = open(realname, O_RDONLY); if (filefd == -1)