[PATCH] konqueror crash recovery

Alexander Kellett kelletta at eidetica.com
Fri May 17 13:29:13 BST 2002


On Thu, May 16, 2002 at 12:42:13PM -0700, Waldo Bastian wrote:
> On Thursday 16 May 2002 11:04 am, Alexander Kellett wrote:
> > though i haven't done any real thorough tests as of yet,
> > do you see anything obviously wrong with the patch?
> 
> I don't see the file being flushed anywhere, so I was wondering whether 
> anything ended up on disk at all when you get a crash.

In the original post I made a note about opening the file for 
writing in 'raw' mode but thats just to show my confusion with
the opening flags ;-)

Maybe its the filesystem/kernel/qt system that I have that makes
it actually work. I'll add a 'flush()' call in various strategic
places just in case.

I was thinking about the speed problems with this but of course a 
flush isn't an implicit fsync, but just a flush, so no problem :)

Thanks for the input,
Alex




More information about the kfm-devel mailing list