Fixed writing to pseudo memory mapped areas (at least on Linux).

This commit is contained in:
Andreas Huggel 2010-07-18 15:55:08 +00:00
parent b18c048a91
commit da52f17aa4

View File

@ -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_) {