From owner-freebsd-current@FreeBSD.ORG Wed May 16 06:32:40 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 23E6416A401 for ; Wed, 16 May 2007 06:32:40 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from mx.bulinfo.net (mx.bulinfo.net [193.194.156.1]) by mx1.freebsd.org (Postfix) with ESMTP id C91A813C44B for ; Wed, 16 May 2007 06:32:39 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id 9365235731; Wed, 16 May 2007 09:32:37 +0300 (EEST) Received: from mx.bulinfo.net ([127.0.0.1]) by localhost (mx.bulinfo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 96342-09; Wed, 16 May 2007 09:32:36 +0300 (EEST) Received: from [192.168.2.188] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id 5B3793572F; Wed, 16 May 2007 09:32:36 +0300 (EEST) Message-ID: <464AA582.3050609@bulinfo.net> Date: Wed, 16 May 2007 09:32:34 +0300 From: Krassimir Slavchev User-Agent: Thunderbird 1.5 (X11/20060201) MIME-Version: 1.0 To: Alexander Kabaev References: <4649A81A.60609@bulinfo.net> <4649B5FB.2060808@bulinfo.net> <20070515105611.00747584.rnsanchez@wait4.org> <464A008E.5040508@FreeBSD.org> <20070515201004.5b1f751a@kan.dnsalias.net> In-Reply-To: <20070515201004.5b1f751a@kan.dnsalias.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at mx.bulinfo.net Cc: Mark Peek , 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 06:32:40 -0000 Alexander Kabaev wrote: > On Tue, 15 May 2007 11:48:46 -0700 > Mark Peek wrote: > > >> src/bin/csh/config_p.h: >> >> ... >> #if defined(__FreeBSD__) >> #define NLS_BUGS >> #define BSD_STYLE_COLORLS >> /* we want to use the system malloc when we install as /bin/csh */ >> #define SYSMALLOC >> /* Use LC_MESSAGES locale category to open the message catalog */ >> #define MCLoadBySet NL_CAT_LOCALE >> #define BUFSIZE 8192 >> #endif >> >> The SYSMALLOC define should cause it to use the system malloc and not >> the tcsh malloc. Could __FreeBSD__ not be defined? >> >> > Easy to find out: > > cc -E -dM -x c /dev/null | grep __FreeBSD__ > #define __FreeBSD__ 7 -- Krassimir Slavchev Bulinfo Ltd. krassi@bulinfo.net (+359 2) 969-9160 http://www.bulinfo.net (+359 2) 969-9166