aboutsummaryrefslogtreecommitdiff
path: root/src/common/OpenBSD_malloc_Linux.c
Commit message (Expand)AuthorAge
* Fix more warnings from openbsd_malloc•••Apparently, (void)writev is not enough to suppress the "you are ignoring the return value!" warnings on Linux. Instead, remove the whole warning/error logic when compiling openbsd_malloc for Tor: we can't use it. Nick Mathewson2012-08-17
* 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. Nick Mathewson2012-08-15
* Fix compile warnings in openbsd mallocSebastian Hahn2012-03-08
* Fix a potentially useless integer overflow check.•••GCC 4.2 and maybe other compilers optimize away unsigned integer overflow checks of the form (foo + bar < foo), for all bar. Fix one such check in `src/common/OpenBSD_malloc_Linux.c'. Mansour Moufid2011-09-20
* Fix the rest of the GCC warnings on OpenBSD_malloc_linux.c•••svn:r15698 Nick Mathewson2008-07-06
* Remove spurious "netintet" check from configure.in•••svn:r15672 Nick Mathewson2008-07-05
* And use 16k pages on ia64. Maybe this should be a configure thing•••svn:r14073 Peter Palfrader2008-03-17
* r18850@catbus: nickm | 2008-03-16 22:35:38 -0400••• Use 8k pages in openbsd malloc code on alpha. Bug and solution found by weasel. Also, when initializing openbsd malloc code, check that compiled page size matches output of getpagesize(). svn:r14056 Nick Mathewson2008-03-17
* r18793@catbus: nickm | 2008-03-13 14:09:19 -0400••• Add a malloc_good_size() implementation to OpenBSD_malloc_Linux.c. Also, make configure.in not use support functions for the platform malloc when we are not using the platform mallocs. svn:r14010 Nick Mathewson2008-03-13
* r18783@catbus: nickm | 2008-03-13 11:06:45 -0400••• Oops, do a better fix for that. svn:r14001 Nick Mathewson2008-03-13
* r18781@catbus: nickm | 2008-03-13 11:00:51 -0400••• Have OpenBSD_malloc_Linux.c use SIZE_T_MAX from torint.h, instead of checking cpu macros. There is always one more cpu you havent checked for. svn:r14000 Nick Mathewson2008-03-13
* r14238@tombo: nickm | 2008-02-17 14:03:44 -0500••• Add openbsd memory allocator discussed in bug 468, to make it easier for linux users to get non-awful allocation patterns. Use --enable-openbsd-malloc to turn it on. Needs more testing. svn:r13544 Nick Mathewson2008-02-17