Out of disk space? Platform dependent? I wouldn't think so. It might be platform dependent if we want to try to determine the amount of disk space remaining.
I would expect that every write would be atomic. And that following each write we are in a stable state. So that if an IOError occurs during the course of a write, The change could be backed out without problem. We do this through double buffering. Our critical files all have 2 versions. We flip/flop on each write between them. It is actually quite efficient, but our configuration files are not that large. For "huge" files, I would expect some error correction to be built into the format itself, so that on a restart the file could be rebuilt. What we try NOT to do is to have an out of disk space condition lead to a loss of the customer's data and a re-installation. Mike On 10 Jun 2002 at 12:55, Mike Aizatsky wrote: > Michael, > > Well... In fact it's easy to say that this should be fixed... The only > possible solution would be to show some message like "LocalVcs data > can't be saved so it's corrupted, blag-blah-blah" instead of the > "Internal Error" dialog. But I'm not aware of any reliable way of > determining the "out of disk space" error. (Except analyzing error > message o'course. But isn't it platform-dependand?) > > -- > Best regards, > Mike Aizatsky. > ------------------------------ > JetBrains, Inc / IntelliJ Software > http://www.intellij.com > "Develop with pleasure!" > > > > > _______________________________________________ > Eap-bugs mailing list > [EMAIL PROTECTED] > http://lists.jetbrains.com/mailman/listinfo/eap-bugs > --- [EMAIL PROTECTED] To obtain my PGP public key, mail "SEND PUB KEY" in the subject to "[EMAIL PROTECTED]" _______________________________________________ Eap-bugs mailing list [EMAIL PROTECTED] http://lists.jetbrains.com/mailman/listinfo/eap-bugs
