[blam] Remove itemfile as we can't overwrite it
- From: Carlos MartÃn Nieto <cmartin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [blam] Remove itemfile as we can't overwrite it
- Date: Wed, 17 Aug 2011 17:41:53 +0000 (UTC)
commit 9d955836edb6cdfa55201df61bedc8df94de68fe
Author: Carlos MartÃn Nieto <carlos cmartin tk>
Date: Sun Jul 31 13:16:37 2011 +0200
Remove itemfile as we can't overwrite it
Signed-off-by: Carlos MartÃn Nieto <carlos cmartin tk>
src/ItemStore.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/ItemStore.cs b/src/ItemStore.cs
index 3f68051..e46841c 100644
--- a/src/ItemStore.cs
+++ b/src/ItemStore.cs
@@ -118,6 +118,7 @@ namespace Imendio.Blam
Atom10FeedFormatter fmtr = sf.GetAtom10Formatter();
fmtr.WriteTo(writer);
writer.Close();
+ File.Delete(itemfile);
File.Move(itemfile_tmp, itemfile);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]