csh on arm failure?

Krassimir Slavchev krassi at bulinfo.net
Wed May 16 06:32:40 UTC 2007


Alexander Kabaev wrote:
> On Tue, 15 May 2007 11:48:46 -0700
> Mark Peek <mp at FreeBSD.org> 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 at bulinfo.net           (+359 2) 969-9160
http://www.bulinfo.net       (+359 2) 969-9166



More information about the freebsd-current mailing list