aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-08-15 19:26:53 -0400
committerNick Mathewson <nickm@torproject.org>2012-08-15 19:26:53 -0400
commit6a33c33a12f3af414e97b91d5718ea16f2d26673 (patch)
treea5f4dcd8da4e27ba463fc88b6bcbfb1da0934dd3 /changes
parent91b52a259a271df7ceeea6d8bf7adbd4d7e15a6c (diff)
downloadtor-6a33c33a12f3af414e97b91d5718ea16f2d26673.tar
tor-6a33c33a12f3af414e97b91d5718ea16f2d26673.tar.gz
Fix warnings and 64-bit problems in openbsd-malloc code
The warning fixes are: - Only define issetugid if it's missing. - Explicitly ignore the return value of writev. - Explicitly cast the retval of readlink() to int. The 64-bit problems are related to just storing a size_t in an int. Not cool! Use a size_t instead. Fix for bug 6379. Bugfix on 0.2.0.20-rc, which introduced openbsd-malloc.
Diffstat (limited to 'changes')
-rw-r--r--changes/bug63796
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/bug6379 b/changes/bug6379
new file mode 100644
index 000000000..1f2b6941c
--- /dev/null
+++ b/changes/bug6379
@@ -0,0 +1,6 @@
+ o Minor bugfixes:
+ - Fix build warnings from --enable-openbsd-malloc with gcc warnings
+ enabled. Fixes bug 6379.
+ - Fix 64-bit warnings from --enable-openbsd-malloc. Fixes bug 6379.
+ Bugfix on 0.2.0.20-rc.
+