From owner-svn-src-head@FreeBSD.ORG Fri Mar 2 07:17:22 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3CB3106564A; Fri, 2 Mar 2012 07:17:22 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id A1C638FC08; Fri, 2 Mar 2012 07:17:22 +0000 (UTC) Received: from julian-mac.elischer.org (c-67-180-24-15.hsd1.ca.comcast.net [67.180.24.15]) (authenticated bits=0) by vps1.elischer.org (8.14.5/8.14.5) with ESMTP id q227HKPc002744 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 1 Mar 2012 23:17:21 -0800 (PST) (envelope-from julian@freebsd.org) Message-ID: <4F507405.5030901@freebsd.org> Date: Thu, 01 Mar 2012 23:17:25 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19 MIME-Version: 1.0 To: Bruce Evans References: <201202281815.q1SIFSbB082030@svn.freebsd.org> <20120229071721.G989@besplex.bde.org> <201203012346.00228.tijl@freebsd.org> <20120302151400.Y1224@besplex.bde.org> In-Reply-To: <20120302151400.Y1224@besplex.bde.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, Tijl Coosemans , src-committers@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r232261 - in head/sys: amd64/include i386/include pc98/include x86/include X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 07:17:22 -0000 On 3/1/12 9:10 PM, Bruce Evans wrote: > > Grepping for clock_t shows some nice bugs in pthread_condattr(3). It > declares some parameters as "clock_t * restrict clock_id" and > "clock_t clock_id". This is nonsense, since clock ids aren't clock > ticks. POSIX specifies correct declarations "clockid_t * restrict > clock_id" and "clockid_t clock_id". matches POSIX > except it doesn't say "restrict". The man page is missing > pthread_getcpuclockid() but has the other 2 (with type errors). send patches to David Xu..