aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-11-02 13:14:39 -0400
committerNick Mathewson <nickm@torproject.org>2012-11-02 13:14:39 -0400
commit05194cce626ee40770ffa1772b78f2b728addf33 (patch)
treea22689948dc0af4ad9de1bddd276cdaf415fbc3c /changes
parentae99fc1ccb91ff3f7f23962377a5ffe0d92ef9a1 (diff)
downloadtor-05194cce626ee40770ffa1772b78f2b728addf33.tar
tor-05194cce626ee40770ffa1772b78f2b728addf33.tar.gz
Avoid c99 designated initializers in circuitmux_ewma.c
We still want to build on compilers w/o c99 support, such as (notoriously, shamefully) MSVC. So I'm commenting out the designated initializers in circuitmux_ewma.c. The alternative would have been to use some kind of macros to use designated initializers only when they're supported, but that's error-prone, and can lead to code having different meanings under different compilers. Bug 7286; fix on 0.2.4.4-alpha; spotted by Gisle Vanem.
Diffstat (limited to 'changes')
-rw-r--r--changes/ewma_policy_c993
1 files changed, 3 insertions, 0 deletions
diff --git a/changes/ewma_policy_c99 b/changes/ewma_policy_c99
new file mode 100644
index 000000000..49177b388
--- /dev/null
+++ b/changes/ewma_policy_c99
@@ -0,0 +1,3 @@
+ o Minor bugfixes:
+ - Compile correctly on compilers without C99 designated initializer
+ support. Fixes bug 7286; bugfix on 0.2.4.4-alpha.