mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user