Hi,
I also experienced this bug several times on a laptop that sometimes
fails to resume from suspend and with an ext4 filesystem.
Here is a patch that should fix the problem:
--- urec.c~ 2009-01-02 00:46:00.000000000 +0100
+++ urec.c 2011-01-18 08:07:28.886203152 +0100
@@ -263,6 +263,7 @@
if ((max > 0) && (++i >= max)) break;
}
}
+ fflush(f);
fclose(f);
rename(FILE_RECORDS, FILE_RECORDS".old");
rename(FILE_RECORDS".tmp", FILE_RECORDS);
--
Laurent Bonnaud.
http://www.lis.inpg.fr/pages_perso/bonnaud/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]