tcsh-6.19.00-024-use-sysmalloc.patch added
This will force tcsh to use system malloc instead of builtin malloc, and is related to BZ: #1303323 > Detect __GLIBC__ so it uses sysmalloc from <features.h> > https://bugzilla.redhat.com/show_bug.cgi?id=1303323
This commit is contained in:
parent
686b342ebc
commit
db9c1e5cec
28
tcsh-6.19.00-024-use-sysmalloc.patch
Normal file
28
tcsh-6.19.00-024-use-sysmalloc.patch
Normal file
@ -0,0 +1,28 @@
|
||||
From b2c7dbcf2b32ad5ad6dec5575fb630180677555a Mon Sep 17 00:00:00 2001
|
||||
From: christos <christos>
|
||||
Date: Tue, 8 Mar 2016 12:42:06 +0000
|
||||
Subject: [PATCH] Detect __GLIBC__ so it uses sysmalloc from <features.h>
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=1303323
|
||||
|
||||
---
|
||||
config_f.h | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/config_f.h b/config_f.h
|
||||
index f6fec55..4a9fe3a 100644
|
||||
--- a/config_f.h
|
||||
+++ b/config_f.h
|
||||
@@ -38,6 +38,10 @@
|
||||
#ifndef _h_config_f
|
||||
#define _h_config_f
|
||||
|
||||
+#ifdef HAVE_FEATURES_H
|
||||
+#include <features.h> /* for __GLIBC__ */
|
||||
+#endif
|
||||
+
|
||||
/*
|
||||
* SHORT_STRINGS Use at least 16 bit characters instead of 8 bit chars
|
||||
* This fixes up quoting problems and eases implementation
|
||||
--
|
||||
2.5.5
|
||||
|
@ -52,6 +52,7 @@ Patch020: tcsh-6.19.00-020-make-heredoc-interruptible-again.patch
|
||||
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
|
||||
|
||||
|
||||
# Downstream patches -- these should be always included when doing rebase:
|
||||
@ -196,6 +197,7 @@ fi
|
||||
tcsh-6.19.00-021-remove-extra-semicolon.patch
|
||||
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
|
||||
|
||||
* 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
|
||||
|
Loading…
Reference in New Issue
Block a user