From owner-freebsd-bugs@FreeBSD.ORG Fri Jul 16 17:45:16 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DB0B16A4CE; Fri, 16 Jul 2004 17:45:16 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 324F043D64; Fri, 16 Jul 2004 17:45:16 +0000 (GMT) (envelope-from harti@FreeBSD.org) Received: from freefall.freebsd.org (harti@localhost [127.0.0.1]) i6GHjGK4048176; Fri, 16 Jul 2004 17:45:16 GMT (envelope-from harti@freefall.freebsd.org) Received: (from harti@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6GHjFE0048172; Fri, 16 Jul 2004 17:45:15 GMT (envelope-from harti) Date: Fri, 16 Jul 2004 17:45:15 GMT From: Hartmut Brandt Message-Id: <200407161745.i6GHjFE0048172@freefall.freebsd.org> To: peff-freebsd@peff.net, harti@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/60309: sys/socket.h: CMSG_NXTHDR requires definition of NULL X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 17:45:16 -0000 Synopsis: sys/socket.h: CMSG_NXTHDR requires definition of NULL State-Changed-From-To: open->closed State-Changed-By: harti State-Changed-When: Fri Jul 16 17:43:26 GMT 2004 State-Changed-Why: Replace the NULL with a 0. We cannot define NULL here, because socket.h isn't allowed to define NULL. We can also not require the user to include another file, because POSIX requires that CMSG_NXTHDR is useable with socket.h alone. Committed. Thanks. http://www.freebsd.org/cgi/query-pr.cgi?pr=60309