Use new file+MemBuffer methods.
committer: mfx <mfx> 1042576321 +0000
This commit is contained in:
+2
-2
@@ -508,8 +508,8 @@ void Packer::copyOverlay(OutputFile *fo, unsigned overlay,
|
||||
|
||||
do {
|
||||
unsigned len = overlay < buf_size ? overlay : buf_size;
|
||||
fi->readx(*buf, len);
|
||||
fo->write(*buf, len);
|
||||
fi->readx(buf, len);
|
||||
fo->write(buf, len);
|
||||
overlay -= len;
|
||||
} while (overlay > 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user