Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
1 diff --git a/intl/icu/source/common/umutex.h b/intl/icu/source/common/umutex.h
2 --- a/intl/icu/source/common/umutex.h
3 +++ b/intl/icu/source/common/umutex.h
4 @@ -315,17 +315,17 @@ U_NAMESPACE_END
5 # define NOMCX
6 # ifndef NOMINMAX
7 # define NOMINMAX
8 # endif
9 # include <windows.h>
12 typedef struct UMutex {
13 - UInitOnce fInitOnce;
14 + icu::UInitOnce fInitOnce;
15 CRITICAL_SECTION fCS;
16 } UMutex;
18 /* Initializer for a static UMUTEX. Deliberately contains no value for the
19 * CRITICAL_SECTION.
20 */
21 #define U_MUTEX_INITIALIZER {U_INITONCE_INITIALIZER}