unpackExtent() segregates rewrite() from write()
Fix the reported output file size when un-compressing. Part of https://github.com/upx/upx/issues/60 modified: p_lx_elf.cpp modified: p_unix.cpp modified: p_unix.h
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ protected:
|
||||
virtual void unpackExtent(unsigned wanted, OutputFile *fo,
|
||||
unsigned &total_in, unsigned &total_out,
|
||||
unsigned &c_adler, unsigned &u_adler,
|
||||
bool first_PF_X, unsigned szb_info );
|
||||
bool first_PF_X, unsigned szb_info, bool is_rewrite = false);
|
||||
|
||||
int exetype;
|
||||
unsigned blocksize;
|
||||
|
||||
Reference in New Issue
Block a user