From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2236 invoked by alias); 24 Mar 2005 12:09:09 -0000 Mailing-List: contact gsl-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sources.redhat.com Received: (qmail 2194 invoked from network); 24 Mar 2005 12:09:03 -0000 Received: from unknown (HELO mail.ukfsn.org) (217.158.120.143) by sourceware.org with SMTP; 24 Mar 2005 12:09:03 -0000 Received: from localhost (lucy.ukfsn.org [127.0.0.1]) by mail.ukfsn.org (Postfix) with ESMTP id AF335E6D4F; Thu, 24 Mar 2005 12:08:18 +0000 (GMT) Received: from mail.ukfsn.org ([127.0.0.1]) by localhost (lucy.ukfsn.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25204-11; Thu, 24 Mar 2005 12:08:18 +0000 (GMT) Received: from debian.network-theory.co.uk (dsl-80-42-165-131.access.as9105.com [80.42.165.131]) by mail.ukfsn.org (Postfix) with ESMTP id 6F08AE6D4E; Thu, 24 Mar 2005 12:08:18 +0000 (GMT) Received: by debian.network-theory.co.uk with local (Exim 3.35 #1 (Debian)) id 1DEQgq-0000kM-00; Thu, 24 Mar 2005 11:39:52 +0000 From: Brian Gough MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16962.42760.249108.650017@network-theory.co.uk> Date: Thu, 24 Mar 2005 12:09:00 -0000 To: Keith Weinman Cc: gsl-discuss@sources.redhat.com Subject: Re: gsl comments In-Reply-To: <42419C09.2010208@dlr.de> References: <42419C09.2010208@dlr.de> X-SW-Source: 2005-q1/txt/msg00110.txt.bz2 Keith Weinman writes: > (1) the routines to free memory should check if the pointer > argument is null - otherwise on some platforms an additional check for > NULL is required to prevent a segmentation error occuring. What platforms are these? --- the C standard explicitly defines free(0) as being a noop. -- Brian Gough Network Theory Ltd, Commercial support for GSL --- http://www.network-theory.co.uk/gsl/