Navin Gupta <[EMAIL PROTECTED]> writes:
>If you have nsOutputFileStream on a mailbox and you are writing messages to the
>disk, Can you do flush() and close() even when the disk is full.
>I have been able to do close() on WinNT but have no idea whether flush()
>will work. Also what about other platforms Mac, Unix.
You can flush/close them. What state the file ends up in is
indeterminate. I.e. the file may well be truncated. (For that matter, any
other files we typically write may end up truncated or lost or
inconsistent, such as prefs.js, cache.db, the history.dat file, etc.)
--
Randell Jesup, Worldgate Communications, ex-Scala, ex-Amiga OS team ('88-94)
[EMAIL PROTECTED]