tcsh/tcsh-6.19.00-025-more-generous-ROUNDUP-_LP64.patch
David Kaspar [Dee'Kej] 1a0ab756e4 tcsh-6.19.00-025-more-generous-ROUNDUP-_LP64.patch added
> More generous ROUNDUP for _LP64
2016-05-03 17:11:24 +02:00

29 lines
552 B
Diff

From f71cda754740dbf7a2d6aee848a93a8239ba4480 Mon Sep 17 00:00:00 2001
From: christos <christos>
Date: Tue, 8 Mar 2016 12:47:43 +0000
Subject: [PATCH] More generous ROUNDUP for _LP64
---
tc.alloc.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tc.alloc.c b/tc.alloc.c
index f68a8c5..86aae80 100644
--- a/tc.alloc.c
+++ b/tc.alloc.c
@@ -134,7 +134,11 @@ union overhead {
#endif
+#ifdef _LP64
+#define ROUNDUP 15
+#else
#define ROUNDUP 7
+#endif
/*
* nextf[i] is the pointer to the next free block of size 2^(i+3). The
--
2.5.5