csh on arm failure?

Hajimu UMEMOTO ume at FreeBSD.org
Wed May 16 15:28:09 UTC 2007


Hi,

>>>>> On Wed, 16 May 2007 08:11:52 -0700
>>>>> Mark Peek <mp at FreeBSD.org> said:

mp> On 5/16/07 12:41 AM, Hajimu UMEMOTO wrote:
> We are not using the system malloc, actually.  SYSMALLOC is undefined
> in config_f.h, and config_f.h is included after config_p.h in
> config.h.

mp> Thank you for correcting me on this issue. I will figure out the right way to 
mp> correct this (probably by moving the config_f.h into src/bin/csh to support 
mp> local modifications) and get us back to using SYSMALLOC.

I think the right way is sending the patch posted by des@ to the
author of tcsh, then import from upstream.
Until then, how about following change for band-aid?  It doesn't
pollute contrib/tcsh.

Index: bin/csh/config.h
diff -u bin/csh/config.h.orig bin/csh/config.h
--- bin/csh/config.h.orig	Sun Feb 26 15:17:59 2006
+++ bin/csh/config.h	Wed May 16 16:27:06 2007
@@ -206,6 +206,8 @@
 #include "config_p.h"
 #include "config_f.h"
 
+#define SYSMALLOC
+
 #ifndef NO_NLS_CATALOGS
 #define NLS_CATALOGS
 #endif


Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


More information about the freebsd-current mailing list