From bdff7e3299d78cd2f7aa4a31e5f57c1aeef5ffa1 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 12 May 2011 11:19:52 -0400 Subject: Unmap microdesc cache before replacing it. If we do a replace-then-munmap, windows will never actually rewrite the microdesc cache. Found by wanoskarnet; bugfix on 0.2.2.6-alpha. --- changes/md_cache_replace | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 changes/md_cache_replace (limited to 'changes/md_cache_replace') diff --git a/changes/md_cache_replace b/changes/md_cache_replace new file mode 100644 index 000000000..88e029c00 --- /dev/null +++ b/changes/md_cache_replace @@ -0,0 +1,6 @@ + o Minor bugfixes + - Avoid a bug that would keep us from replacing a microdescriptor + cache on Windows. (We would try to replace the file while still + holding it open. That's fine on Unix, but Windows doesn't let us + do that.) Bugfix on 0.2.2.6-alpha; bug found by wanoskarnet. + -- cgit v1.2.3