From owner-freebsd-current Tue Oct 10 13:52:21 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA03788 for current-outgoing; Tue, 10 Oct 1995 13:52:21 -0700 Received: from rover.village.org (rover.village.org [198.137.146.49]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA03782 for ; Tue, 10 Oct 1995 13:52:11 -0700 Received: from LOCALHOST (LOCALHOST [127.0.0.1]) by rover.village.org (8.6.11/8.6.6) with SMTP id OAA18737; Tue, 10 Oct 1995 14:50:40 -0600 Message-Id: <199510102050.OAA18737@rover.village.org> To: "Garrett A. Wollman" Subject: Re: tail dumps core Cc: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) , Kai.Vorma@hut.fi, current@FreeBSD.ORG In-reply-to: Your message of Tue, 10 Oct 1995 13:35:06 EDT Date: Tue, 10 Oct 1995 14:50:39 -0600 From: Warner Losh Sender: owner-current@FreeBSD.ORG Precedence: bulk : 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