mirror of
https://github.com/upx/upx.git
synced 2024-12-01 00:20:33 +00:00
OutputFile::unset_extent() sets bytes_written
This commit is contained in:
parent
6e68ab6d9e
commit
2f529158a0
@ -411,6 +411,7 @@ off_t OutputFile::unset_extent()
|
||||
{
|
||||
_offset = 0;
|
||||
_length = ::lseek(_fd, 0, SEEK_END);
|
||||
bytes_written = _length;
|
||||
return _length;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user