beta version 2309
Moderators: fgagnon, nikos, Site Mods
Re: beta version 2309
by saving in a silly way: http://www.zabkat.com/blog/21Sep08-save ... mments.htm
Re: beta version 2309
Oohh, icky! (Reminds me of an out-of-body experience I had when a child, and spent too much time pondering what spiders think about while they're spinning down the drain in the bath. [It turns out they think about the film The Deer Hunter - which convinced me that spiders were even weirder than I was, which can come as a quite disturbing revelation to a growing boy.])Bloggy Nikos wrote:...the little known CMirrorFile class, which instead of saving straight to the target filename, it creates a temporary file, writes in it, deletes the original and then renames the temporary to the actual filename. As you can imagine, any streams or hard link information in the original file is lost forever.
That said, as its actual purpose is to allow for CMirrorFile::Abort() to rollback in case the file is attacked by Mongols or Screaming Blue Meanies, there may be a Klingon folk song written about it yet.