From owner-freebsd-standards@FreeBSD.ORG Sun Feb 29 02:48:50 2004 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B43F16A4CE; Sun, 29 Feb 2004 02:48:50 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BEEC43D2F; Sun, 29 Feb 2004 02:48:50 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: from freefall.freebsd.org (phk@localhost [127.0.0.1]) i1TAmnbv060374; Sun, 29 Feb 2004 02:48:49 -0800 (PST) (envelope-from phk@freefall.freebsd.org) Received: (from phk@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1TAmnCt060370; Sun, 29 Feb 2004 02:48:49 -0800 (PST) (envelope-from phk) Date: Sun, 29 Feb 2004 02:48:49 -0800 (PST) From: Poul-Henning Kamp Message-Id: <200402291048.i1TAmnCt060370@freefall.freebsd.org> To: stefan@fafoe.narf.at, phk@FreeBSD.org, freebsd-standards@FreeBSD.org Subject: Re: standards/62858: malloc(0) not C99 compliant X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 10:48:50 -0000 Synopsis: malloc(0) not C99 compliant State-Changed-From-To: open->suspended State-Changed-By: phk State-Changed-When: Sun Feb 29 02:46:49 PST 2004 State-Changed-Why: This is a deliberate choice. Handling zero-size pointers correctly in malloc(3) would be a rather involved and is currently not high on the todolist. A good patch might change that. http://www.freebsd.org/cgi/query-pr.cgi?pr=62858