[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ifile-discuss] Re: [Bug #2955] .idata file becomes zero size if dis
From: |
Jason Rennie |
Subject: |
Re: [Ifile-discuss] Re: [Bug #2955] .idata file becomes zero size if disk becomes full |
Date: |
Tue, 13 May 2003 08:29:09 -0400 |
address@hidden said:
> i don't know what ifile does in situations like this, but the
> "standard" way of doing this would be to write a temporary database
> onto the same filesystem and only rename(2) it into its final state
> after the update has been successful. if not, it might return
> "temprary error".
That's what the code does. Pre-1.3.1, it didn't die when there was an
error writing .idata to a temporary file. Now, it should. The code is
in the function ifile_write_db in database.c if you want to take a look.
Jason