23357f tcsh-6.19.00.local.patch: always use the libc-provided malloc.

1 file Authored by midipix 8 years ago, Committed by Lucio Andrés Illanes Albornoz (arab, vxp) 8 years ago,
    tcsh-6.19.00.local.patch: always use the libc-provided malloc.
    
    Signed-off-by: Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>
    
        
file modified
+16 -0
tcsh-6.19.00.local.patch CHANGED
@@ -183,3 +183,19 @@
183
183
+#define HAVE_SLASHSLASH 1
184
184
+
185
185
+#endif /* _h_config */
186
+ --- tcsh-6.19.00/config_f.h.orig 2015-02-22 17:31:54.000000000 +0100
187
+ +++ tcsh-6.19.00/config_f.h 2016-10-14 22:10:42.212000000 +0200
188
+ @@ -135,11 +135,9 @@
189
+ * This can be much slower and no memory statistics will be
190
+ * provided.
191
+ */
192
+ -#if defined(__MACHTEN__) || defined(PURIFY) || defined(MALLOC_TRACE) || defined(_OSD_POSIX) || defined(__MVS__) || defined (__CYGWIN__) || defined(__GLIBC__) || defined(__OpenBSD__) || defined(__APPLE__)
193
+ +
194
+ +/* always use the system malloc. seriously guys. */
195
+ # define SYSMALLOC
196
+ -#else
197
+ -# undef SYSMALLOC
198
+ -#endif
199
+
200
+ /*
201
+ * USE_ACCESS Use access(2) rather than stat(2) when POSIX is defined.