From owner-cvs-all@FreeBSD.ORG Wed Jun 16 21:40:15 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF17516A4F4; Wed, 16 Jun 2004 21:40:15 +0000 (GMT) Received: from mailout2.pacific.net.au (mailout2.pacific.net.au [61.8.0.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72FA243D5F; Wed, 16 Jun 2004 21:40:15 +0000 (GMT) (envelope-from bde@zeta.org.au) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87])i5GLds5v012993; Thu, 17 Jun 2004 07:39:54 +1000 Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) i5GLdpaU026241; Thu, 17 Jun 2004 07:39:52 +1000 Date: Thu, 17 Jun 2004 07:39:50 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Garrett Wollman In-Reply-To: <200406161543.i5GFhYq7009877@khavrinen.lcs.mit.edu> Message-ID: <20040617073321.Q1632@gamplex.bde.org> References: <200406150124.i5F1Ofp9084012@repoman.freebsd.org> <20040616062409.GC20866@ip.net.ua> <200406161543.i5GFhYq7009877@khavrinen.lcs.mit.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: Ruslan Ermilov cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libc/sys read.2 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2004 21:40:16 -0000 On Wed, 16 Jun 2004, Garrett Wollman wrote: > < said: > > >> [I wrote:] > >> Actually, it's {IOV_MAX}. > > > You mean you want it marked up like in POSIX, with curlies? > > I don't care that much about how it is marked up. The important point > is that it is a configuration variable, not a constant. POSIX makes > no guarantee: > > - that IOV_MAX will be defined as a preprocessor macro, > - that sysconf(_SC_IOV_MAX) is time-invariant, or > - that implementations will have any maximum at all. > > I have argued for a long time that such system parameters are due > special markup. POSIX writes it {IOV_MAX}. A macro for this would be good, since parameters like IOV_MAX should be marked up even if they are non-POSIX constants, and changing the markup would be easier than adding braces (something like s/Dv/Pv/). Bruce