summaryrefslogtreecommitdiff
path: root/user/tcsh/001-sysmalloc.patch
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-27 22:42:20 -0700
committerDan Theisen <djt@hxx.in>2018-09-27 22:42:20 -0700
commit1af97d0c4495ab4d323538fa3f86c26f3b063efb (patch)
tree330a2478caf47b93eb5a77d8c363e1092b11a7ea /user/tcsh/001-sysmalloc.patch
parenta9317a57f10e562a57e3a964868688aef8a70129 (diff)
downloadpackages-1af97d0c4495ab4d323538fa3f86c26f3b063efb.tar.gz
packages-1af97d0c4495ab4d323538fa3f86c26f3b063efb.tar.bz2
packages-1af97d0c4495ab4d323538fa3f86c26f3b063efb.tar.xz
packages-1af97d0c4495ab4d323538fa3f86c26f3b063efb.zip
user/tcsh: new package
Diffstat (limited to 'user/tcsh/001-sysmalloc.patch')
-rw-r--r--user/tcsh/001-sysmalloc.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/user/tcsh/001-sysmalloc.patch b/user/tcsh/001-sysmalloc.patch
new file mode 100644
index 000000000..b22c01898
--- /dev/null
+++ b/user/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.