*BSD News Article 80107


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!news.kei.com!news.mathworks.com!news-peer.gsl.net!news.gsl.net!ix.netcom.com!netcom.net.uk!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!usenet
From: brian@anorak.coverform.lan (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: HELP: Ascend's Radius server
Date: 5 Oct 1996 23:23:44 GMT
Organization: Coverform Ltd.
Lines: 22
Message-ID: <536qm0$bd@anorak.coverform.lan>
References: <52af69$45l@news.mel.aone.net.au> <DyBHFv.CqF@interactive.net>
    <slrn55be0g.o28.root@roosevelt.starlinknet.net>
Reply-To: brian@awfulhak.demon.co.uk
NNTP-Posting-Host: anorak.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8

In article <slrn55be0g.o28.root@roosevelt.starlinknet.net>,
	root@roosevelt.starlinknet.net (NetVoyage Root user) writes:
> radiusd.c calls up malloc.h which is pretty much obsolete and gcc 
> automatically uses stdin.h instead which seems to cause havoc when
> trying to make. I tried it on 2.0.5-REL, 2.1.5-REL, and 2.1-stable
> all with the same results.  But this also happens to be Livingston's
> version of Radius. BTW is there a gcc flag that could for it to use
> malloc.h?

Eh ?

Anything that includes malloc.h will get a warning saying to include
stdlib.h instead.  malloc.h consists of this warning and an include
of stdlib.h - stdlib.h contains all of the standard malloc prototypes.
gcc isn't doing anything that it hasn't been told to do, and certainly
can't do anything different with malloc.h given a different "flag".
What would you suggest "should" be in malloc.h ?  What sort of "havoc"
is caused ?

-- 
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....