packages/utils/tcsh/patches/001-sysmalloc.patch
Nuno Goncalves 4e82a56ccd tcsh: fix out of memory crash
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2017-10-26 14:40:52 +02:00

15 lines
503 B
Diff

--- 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.