summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/package.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-09-22 02:06:53 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-09-22 02:06:53 +0200
commit087851d9f0ff519f4c1907e229f9b3972b44aabf (patch)
tree8ae18a4151c542c290e9cf65f534c8f33f8470c5 /crawl-ref/source/package.h
parentb16ce641bc47d4a723c35128da5867a2142e6e0d (diff)
downloadcrawl-ref-087851d9f0ff519f4c1907e229f9b3972b44aabf.tar.gz
crawl-ref-087851d9f0ff519f4c1907e229f9b3972b44aabf.zip
Don't fsync() --no-save saves.
The temp file is still needed because the "game" might move through levels, but a pre-deleted file is quite unlikely to require durable storage.
Diffstat (limited to 'crawl-ref/source/package.h')
-rw-r--r--crawl-ref/source/package.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/package.h b/crawl-ref/source/package.h
index ace7a1814e..2e00258dab 100644
--- a/crawl-ref/source/package.h
+++ b/crawl-ref/source/package.h
@@ -88,6 +88,7 @@ private:
int n_users;
bool dirty;
bool aborted;
+ bool tmp;
map<string, len_t> directory;
map<len_t, len_t> free_blocks;
vector<len_t> unlinked_blocks;