[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Remove now-pointless SIZE_MAX stanza from OpenBSD_malloc_linux
commit 40b7dfaed2714d727c1e6bcead96cb798b14dffa
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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)
{
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits