tcsh-6.19.00-025-more-generous-ROUNDUP-_LP64.patch added

> More generous ROUNDUP for _LP64
This commit is contained in:
David Kaspar [Dee'Kej] 2016-05-03 16:58:09 +02:00
parent db9c1e5cec
commit 1a0ab756e4
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
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

View File

@ -53,6 +53,7 @@ Patch021: tcsh-6.19.00-021-remove-extra-semicolon.patch
Patch022: tcsh-6.19.00-022-fix-source-command-memory-leak.patch
Patch023: tcsh-6.19.00-023-fix-debugging-code.patch
Patch024: tcsh-6.19.00-024-use-sysmalloc.patch
Patch025: tcsh-6.19.00-025-more-generous-ROUNDUP-_LP64.patch
# Downstream patches -- these should be always included when doing rebase:
@ -198,6 +199,7 @@ fi
tcsh-6.19.00-022-fix-source-command-memory-leak.patch
tcsh-6.19.00-023-fix-debugging-code.patch
tcsh-6.19.00-024-use-sysmalloc.patch
tcsh-6.19.00-025-more-generous-ROUNDUP-_LP64.patch
* Thu Apr 21 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 6.19.00-6
- Drop tcsh-6.15.00-closem.patch - issue not reproducible, patch not accepted by upstream