On 11/03/2010 05:31 AM, Lin CHENG wrote:
When OOo saving an existed file, I found ZipOutputStream in package module
write directly the original file. What if OOo or System crash when saving
the existed file. It's impossible to recover the file after OOo or system
restart.
My question is why not write to a temp file at first, then overwriting the
existed file by copying the temp file.
Best regards!
My guess (note, just a guess) is that it has to do with file permissions
(and similar issues).
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
Info: http://www.pitonyak.org/oo.php
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org