• Troy Rollo's avatar
    ole32: Fix excessive file sizes for Storage files. · 1be295fb
    Troy Rollo authored
    The IStorage (DocFile) implementation was adding empty blocks at the
    end of the file every time a caller wrote data that was not a multiple
    of 512 bytes.  If the caller made a lot of very small writes the file
    size could be huge even though the data in the file was tiny. This was
    caused by BlockChainStream_SetSize trying to allocate file blocks for
    the new data using a condition that bore no relationship to the
    required condition, and it was not necessary to do so at that time
    since it is done (the right way) by StorageImpl_GetNextFreeBigBlock
    (called via BlockChainStream_Enlarge).
    1be295fb
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
ChangeLog Loading commit data...
DEVELOPERS-HINTS Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
Make.rules.in Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...