From owner-cvs-src@FreeBSD.ORG Fri Apr 6 01:59:00 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DF4A816A401; Fri, 6 Apr 2007 01:59:00 +0000 (UTC) (envelope-from bde@zeta.org.au) Received: from mailout2.pacific.net.au (mailout2-3.pacific.net.au [61.8.2.226]) by mx1.freebsd.org (Postfix) with ESMTP id A695B13C4AD; Fri, 6 Apr 2007 01:59:00 +0000 (UTC) (envelope-from bde@zeta.org.au) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout2.pacific.net.au (Postfix) with ESMTP id 953026E388; Fri, 6 Apr 2007 11:58:53 +1000 (EST) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailproxy2.pacific.net.au (Postfix) with ESMTP id C298E27410; Fri, 6 Apr 2007 11:58:57 +1000 (EST) Date: Fri, 6 Apr 2007 11:58:55 +1000 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Pawel Jakub Dawidek In-Reply-To: <200704052110.l35LAsXH013966@repoman.freebsd.org> Message-ID: <20070406115326.A43678@delplex.bde.org> References: <200704052110.l35LAsXH013966@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/include stdio.h src/lib/libc/sys lseek.2 pathconf.2 src/sys/kern vfs_syscalls.c src/sys/sys filio.h unistd.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 01:59:01 -0000 On Thu, 5 Apr 2007, Pawel Jakub Dawidek wrote: > pjd 2007-04-05 21:10:54 UTC > > FreeBSD src repository > > Modified files: > include stdio.h > lib/libc/sys lseek.2 pathconf.2 > sys/kern vfs_syscalls.c > sys/sys filio.h unistd.h > Log: > Implement SEEK_DATA and SEEK_HOLE extensions to lseek(2) as found in > OpenSolaris. For more information please refer to: > > http://blogs.sun.com/bonwick/entry/seek_hole_and_seek_data These are just namespace pollution in stdio.h. stdio (fseek()) doesn't support them, and the hack of declaring lseek() in stdio.h should not be extended to new interfaces. If stdio ever supports them, then they would need to be declared under a visibility ifdef (not #ifdef self). Bruce