Fixed writing to pseudo memory mapped areas (at least on Linux).
This commit is contained in:
parent
b18c048a91
commit
da52f17aa4
@ -280,6 +280,7 @@ namespace Exiv2 {
|
||||
p_->hFile_ = 0;
|
||||
#else
|
||||
if (p_->isWriteable_) {
|
||||
seek(0, BasicIo::beg);
|
||||
write(p_->pMappedArea_, p_->mappedLength_);
|
||||
}
|
||||
if (p_->isMalloced_) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user