mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
d07a4868a1
When creating a new transacted storage object (or reverting an existing one), rather than copy the original storage, we simply create a "stub directory entry" for the root. As stub entries are accessed, we fill in their data from the parent and create new stubs for any linked entries. The streams have copy on write semantics - reads are from the original entry until a change is made, then we make a copy in the scratch file. When committing transacted storages, we have to create a new tree with the new data so that the storage entry can be modified in one step, but unmodified sections of the tree can now be shared between the new tree and the old. An entry can be shared if it and all entries reachable from it are unmodified. In the trivial case where nothing has been modified, we don't have to make a new tree at all. |
||
---|---|---|
.. | ||
tests | ||
antimoniker.c | ||
bindctx.c | ||
classmoniker.c | ||
clipboard.c | ||
comcat.c | ||
compobj_private.h | ||
compobj.c | ||
compositemoniker.c | ||
datacache.c | ||
dcom.idl | ||
defaulthandler.c | ||
dictionary.c | ||
dictionary.h | ||
drag_copy.cur | ||
drag_link.cur | ||
drag_move.cur | ||
enumx.c | ||
enumx.h | ||
errorinfo.c | ||
filemoniker.c | ||
ftmarshal.c | ||
git.c | ||
hglobalstream.c | ||
ifs.c | ||
irot.idl | ||
itemmoniker.c | ||
Makefile.in | ||
marshal.c | ||
memlockbytes.c | ||
moniker.c | ||
moniker.h | ||
nodrop.cur | ||
ole2.c | ||
ole2impl.c | ||
ole2stubs.c | ||
ole32_main.c | ||
ole32_objidl.idl | ||
ole32_oleidl.idl | ||
ole32_unknwn.idl | ||
ole32.spec | ||
ole32res.rc | ||
oleobj.c | ||
oleproxy.c | ||
olestd.h | ||
pointermoniker.c | ||
regsvr.c | ||
rpc.c | ||
stg_bigblockfile.c | ||
stg_prop.c | ||
stg_stream.c | ||
storage32.c | ||
storage32.h | ||
stubmanager.c | ||
usrmarshal.c |