From owner-cvs-src@FreeBSD.ORG Fri Apr 6 16:27:25 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 ACC7D16A5B2; Fri, 6 Apr 2007 16:27:25 +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 3E40D13C4BE; Fri, 6 Apr 2007 16:27:24 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 53EB3487F5; Fri, 6 Apr 2007 18:27:23 +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 44E9D456AB; Fri, 6 Apr 2007 18:27:17 +0200 (CEST) Date: Fri, 6 Apr 2007 18:27:11 +0200 From: Pawel Jakub Dawidek To: Andrey Chernov , Bruce Evans , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20070406162711.GD3519@garage.freebsd.pl> References: <200704052110.l35LAsXH013966@repoman.freebsd.org> <20070406115326.A43678@delplex.bde.org> <20070406053934.GA84722@nagual.pp.ru> <20070406103519.GA1251@garage.freebsd.pl> <20070406131127.GA91320@nagual.pp.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OaZoDhBhXzo6bW1J" Content-Disposition: inline In-Reply-To: <20070406131127.GA91320@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 16:27:25 -0000 --OaZoDhBhXzo6bW1J Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 06, 2007 at 05:11:28PM +0400, Andrey Chernov wrote: > On Fri, Apr 06, 2007 at 12:35:19PM +0200, Pawel Jakub Dawidek wrote: > > > > These are just namespace pollution in stdio.h. stdio (fseek()) doe= sn't > > > > support them, and the hack of declaring lseek() in stdio.h should n= ot > > > > be extended to new interfaces. If stdio ever supports them, then t= hey > > > > 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= them=20 > > > to stdio.h and ifdefed with proper *_VISIBLE tags in all places. > > > Perhaps new __CDDL_VISIBLE tag required for it. > >=20 > > This is not CDDL licensed. I'm planning to implement support for > > SEEK_DATA and SEEK_HOLE for UFS. >=20 > This is not matter of license at all but matter of standards conformance. >=20 > Feel free to invent any other __*_VISIBLE tag to exclude this addition=20 > from namespace for programs which may define their own SEEK_DATA etc=20 > which is allowed f.e. in POSIX namespace. Look like other __*_VISIBLE tag= s=20 > are implemented and what they does. Default is turn all on. Ok, can someone help me with this? > In any case adding them to stdio.h is premature action - I not see yet > corresponding fseek() code. I'm looking at removing it from stdio.h. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --OaZoDhBhXzo6bW1J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGFnTfForvXbEpPzQRAvT6AJ0YLvTnTsEPlmk61Qp9GSLwWtxFigCfW2eh +EmUysQuiJriFOVHE5q/KvI= =szmJ -----END PGP SIGNATURE----- --OaZoDhBhXzo6bW1J--