Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2007 00:27:59 +0900
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        Mark Peek <mp@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org, Hajimu UMEMOTO <ume@FreeBSD.org>
Subject:   Re: csh on arm failure?
Message-ID:  <yged510hjpc.wl%ume@mahoroba.org>
In-Reply-To: <464B1F38.10404@FreeBSD.org>
References:  <4649A81A.60609@bulinfo.net> <4649B5FB.2060808@bulinfo.net> <20070515105611.00747584.rnsanchez@wait4.org> <464A008E.5040508@FreeBSD.org> <ygeveetjjvc.wl%ume@mahoroba.org> <464B1F38.10404@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

>>>>> On Wed, 16 May 2007 08:11:52 -0700
>>>>> Mark Peek <mp@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@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?yged510hjpc.wl%ume>