Re: csh on arm failure?

From: Hajimu UMEMOTO <ume_at_FreeBSD.org>
Date: Thu, 17 May 2007 00:27:59 +0900
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_at_ 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
_at__at_ -206,6 +206,8 _at__at_
 #include "config_p.h"
 #include "config_f.h"
 
+#define SYSMALLOC
+
 #ifndef NO_NLS_CATALOGS
 #define NLS_CATALOGS
 #endif


Sincerely,

--
Hajimu UMEMOTO _at_ Internet Mutual Aid Society Yokohama, Japan
ume_at_mahoroba.org  ume_at_{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
Received on Wed May 16 2007 - 13:28:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:10 UTC