[tor-commits] [tor/master] Remove now-pointless SIZE_MAX stanza from OpenBSD_malloc_linux
nickm at torproject.org
nickm at torproject.org
Tue Sep 9 16:09:38 UTC 2014
commit 40b7dfaed2714d727c1e6bcead96cb798b14dffa
Author: Nick Mathewson <nickm at torproject.org>
Date: Tue Sep 9 12:09:18 2014 -0400
Remove now-pointless SIZE_MAX stanza from OpenBSD_malloc_linux
---
src/ext/OpenBSD_malloc_Linux.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/src/ext/OpenBSD_malloc_Linux.c b/src/ext/OpenBSD_malloc_Linux.c
index e296a77..855c912 100644
--- a/src/ext/OpenBSD_malloc_Linux.c
+++ b/src/ext/OpenBSD_malloc_Linux.c
@@ -1961,16 +1961,6 @@ realloc(void *ptr, size_t size)
return (r);
}
-#ifndef SIZE_MAX
-//#if defined(__i386__)||defined(__arm__)||defined(__powerpc__)
-//#define SIZE_MAX 0xffffffff
-//#endif
-//#if defined(__x86_64__)
-//#define SIZE_MAX 0xffffffffffffffff
-//#endif
-#define SIZE_MAX SIZE_MAX
-#endif
-
void *
calloc(size_t num, size_t size)
{
More information about the tor-commits
mailing list