diff options
author | Elijah Grubb <grubb@cs.utah.edu> | 2018-02-13 20:28:01 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-27 20:27:49 +0000 |
commit | 2f9b70c157b70546ae3c0e2511c4f0cb87d3ca58 (patch) | |
tree | c532d5300fa571b3ba166159d1e536c03580fe32 /testing/tcsh/001-sysmalloc.patch | |
parent | c0ce9db148b6d2c6c68c153a3293a5f5ddb9c0d8 (diff) |
testing/tcsh: fix out of memory crash
Diffstat (limited to 'testing/tcsh/001-sysmalloc.patch')
-rw-r--r-- | testing/tcsh/001-sysmalloc.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/tcsh/001-sysmalloc.patch b/testing/tcsh/001-sysmalloc.patch new file mode 100644 index 00000000000..b22c0189834 --- /dev/null +++ b/testing/tcsh/001-sysmalloc.patch @@ -0,0 +1,15 @@ +--- a/config_f.h ++++ b/config_f.h +@@ -139,11 +139,8 @@ + * This can be much slower and no memory statistics will be + * provided. + */ +-#if defined(__MACHTEN__) || defined(PURIFY) || defined(MALLOC_TRACE) || defined(_OSD_POSIX) || defined(__MVS__) || defined (__CYGWIN__) || defined(__GLIBC__) || defined(__OpenBSD__) || defined(__APPLE__) || defined (__ANDROID__) ++ + # define SYSMALLOC +-#else +-# undef SYSMALLOC +-#endif + + /* + * USE_ACCESS Use access(2) rather than stat(2) when POSIX is defined. |