Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 1995 14:50:39 -0600
From:      Warner Losh <imp@village.org>
To:        "Garrett A. Wollman" <wollman@lcs.mit.edu>
Cc:        =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) <ache@astral.msk.su>, Kai.Vorma@hut.fi, current@FreeBSD.ORG
Subject:   Re: tail dumps core 
Message-ID:  <199510102050.OAA18737@rover.village.org>
In-Reply-To: Your message of Tue, 10 Oct 1995 13:35:06 EDT

next in thread | raw e-mail | index | archive | help
: Neither of these are portable unless the array being cleared is
: composed of characters.  There is almost never any reason to use
: calloc(3).

The only portible way to fix this is with a for loop...

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510102050.OAA18737>