From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 22:21:33 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FEC416A4B3 for ; Sun, 5 Oct 2003 22:21:33 -0700 (PDT) Received: from res241015.resnet.wsu.edu (res241015.resnet.wsu.edu [134.121.241.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91F8443FDF for ; Sun, 5 Oct 2003 22:21:32 -0700 (PDT) (envelope-from james_jacobsen@lycos.co.uk) Received: from res241015.resnet.wsu.edu (localhost [127.0.0.1]) h965KgoG078747 for ; Sun, 5 Oct 2003 22:20:42 -0700 (PDT) (envelope-from james_jacobsen@lycos.co.uk) Date: Sun, 5 Oct 2003 22:20:42 -0700 From: James Jacobsen To: freebsd-questions@freebsd.org Message-ID: <20031006052042.GA22536@res241015.resnet.wsu.edu> References: <27DDB356-F790-11D7-9174-003065838A88@mulle-kybernetik.com> <20031006030656.GK5283@dan.emsphone.com> <16256.57227.924291.290786@jerusalem.litteratus.org> <20031006033200.GL5283@dan.emsphone.com> <20031006042751.GA85685@res241015.resnet.wsu.edu> <16256.62127.618353.861297@jerusalem.litteratus.org> Mime-Version: 1.0 Content-Type: text/plain; Format=Flowed; DelSp=Yes; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <16256.62127.618353.861297@jerusalem.litteratus.org> (from roberthuff@rcn.com on Sun, Oct 05, 2003 at 21:42:23 -0700) X-Mailer: Balsa 2.0.15 Lines: 24 Subject: Re: malloc() behavior (was: Pointer please) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2003 05:21:33 -0000 What's really bad, is that freebsd could potentally change there behavor down the line. Its probably dictated by the way kernel dezined, meaning they may do whats the cheapist. I would. If they do its go to lead to some weird behavior. :-) --James On 10/05/03 21:42:23, Robert Huff wrote: > > James Jacobsen writes: > > > It does not matter what freebsd does, C does not require that > > malloc initialize space according to Kernighan and Ritchie. > > I knew that, and agree depending on a particular behavior is > bad programming practice. That said, there's a lot of "bad > programmers" out there .... > > > Robert Huff > > > >