From owner-freebsd-current@FreeBSD.ORG Wed May 16 07:58:43 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB58616A402; Wed, 16 May 2007 07:58:43 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.freebsd.org (Postfix) with ESMTP id 80AC413C447; Wed, 16 May 2007 07:58:43 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from localhost (IDENT:CgGxhcWRHfvP8b4qiIeTJofNmJzWvrVwY89n90yCooqp5Yk5Ggxn6bfFoisSofBX@localhost [IPv6:::1]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.8/8.13.8) with ESMTP/inet6 id l4G7fStT079099 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 May 2007 16:41:28 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Wed, 16 May 2007 16:41:27 +0900 Message-ID: From: Hajimu UMEMOTO To: Mark Peek In-Reply-To: <464A008E.5040508@FreeBSD.org> References: <4649A81A.60609@bulinfo.net> <4649B5FB.2060808@bulinfo.net> <20070515105611.00747584.rnsanchez@wait4.org> <464A008E.5040508@FreeBSD.org> User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.0.99 (i386-pc-freebsd) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.2-RELEASE-p4 X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (ameno.mahoroba.org [IPv6:::1]); Wed, 16 May 2007 16:41:28 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on ameno.mahoroba.org Cc: freebsd-current@FreeBSD.org Subject: Re: csh on arm failure? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2007 07:58:44 -0000 Hi, >>>>> On Tue, 15 May 2007 11:48:46 -0700 >>>>> Mark Peek said: mp> No, this is different. The tcsh malloc is showing it is out of memory and mp> aborting. The thing I don't understand is the malloc is coming from tcsh mp> instead of using the system malloc. Looking at this file: mp> src/bin/csh/config_p.h: mp> ... mp> #if defined(__FreeBSD__) mp> #define NLS_BUGS mp> #define BSD_STYLE_COLORLS mp> /* we want to use the system malloc when we install as /bin/csh */ mp> #define SYSMALLOC mp> /* Use LC_MESSAGES locale category to open the message catalog */ mp> #define MCLoadBySet NL_CAT_LOCALE mp> #define BUFSIZE 8192 mp> #endif mp> The SYSMALLOC define should cause it to use the system malloc and not the tcsh mp> malloc. Could __FreeBSD__ not be defined? 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. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/