Commit 630b7764 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor bug fix; When skipping unknown slices, do not add a skip range

of start==end==0! This causes the entire disk to compressed a second time!
parent 9606491e
......@@ -305,7 +305,8 @@ read_image()
printf(" Slice %d is an unknown type. Skipping ...\n",
i + 1 /* DOS Numbering */);
addskip(start, size);
if (start != size)
addskip(start, size);
if (rval) {
warnx("Stopping zip at Slice %d",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment