summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/chardump.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-12-17 13:16:59 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-12-17 13:26:41 +0100
commit2a677709eed5238f1ca6754770e52343286d68eb (patch)
treeaf0a7a07b9918ce4bb1387f29ca97f9953328260 /crawl-ref/source/chardump.cc
parent8f1bf02ff69b91399f66c8542e115848ba0d79bb (diff)
downloadcrawl-ref-2a677709eed5238f1ca6754770e52343286d68eb.tar.gz
crawl-ref-2a677709eed5238f1ca6754770e52343286d68eb.zip
Revert "Remove unused option to ignore write errors for save fragments."
Wasn't unused after all. This reverts commit 85c029f90f2150304624966408f27ed03fa557e6. This reverts commit 8f1bf02ff69b91399f66c8542e115848ba0d79bb.
Diffstat (limited to 'crawl-ref/source/chardump.cc')
-rw-r--r--crawl-ref/source/chardump.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc
index 42da5734b0..3e74485c85 100644
--- a/crawl-ref/source/chardump.cc
+++ b/crawl-ref/source/chardump.cc
@@ -1555,7 +1555,7 @@ void dgl_record_timestamp(unsigned long file_offset, time_t time)
static bool timestamp_first_write = true;
if (FILE *ftimestamp = dgl_timestamp_filehandle())
{
- writer w(dgl_timestamp_filename(), ftimestamp);
+ writer w(dgl_timestamp_filename(), ftimestamp, true);
if (timestamp_first_write)
{
unsigned long ts_size = file_size(ftimestamp);