From owner-cvs-src@FreeBSD.ORG Fri Apr 6 10:35:39 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 69D8A16A401; Fri, 6 Apr 2007 10:35:39 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 8734F13C4BA; Fri, 6 Apr 2007 10:35:38 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id CC35C456AB; Fri, 6 Apr 2007 12:35:34 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 5422048804; Fri, 6 Apr 2007 12:35:24 +0200 (CEST) Date: Fri, 6 Apr 2007 12:35:19 +0200 From: Pawel Jakub Dawidek To: Andrey Chernov , Bruce Evans , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20070406103519.GA1251@garage.freebsd.pl> References: <200704052110.l35LAsXH013966@repoman.freebsd.org> <20070406115326.A43678@delplex.bde.org> <20070406053934.GA84722@nagual.pp.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <20070406053934.GA84722@nagual.pp.ru> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: 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 10:35:39 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 06, 2007 at 09:39:35AM +0400, Andrey Chernov wrote: > On Fri, Apr 06, 2007 at 11:58:55AM +1000, Bruce Evans wrote: > > On Thu, 5 Apr 2007, Pawel Jakub Dawidek wrote: > >=20 > > >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 > >=20 > > 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). >=20 > I agree. They must be implemented in fseek.c code first before adding the= m=20 > to stdio.h and ifdefed with proper *_VISIBLE tags in all places. > Perhaps new __CDDL_VISIBLE tag required for it. This is not CDDL licensed. I'm planning to implement support for SEEK_DATA and SEEK_HOLE for UFS. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGFiJnForvXbEpPzQRAq71AKC/HrqZwR6/dYAKPzcnC5TFmDqw5ACfap5b 9k2vFRXcGraX9ZiQ0tNCclE= =cxgH -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO--