From owner-cvs-all@FreeBSD.ORG Mon Jan 28 10:55:37 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D919E16A419; Mon, 28 Jan 2008 10:55:37 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 903A313C43E; Mon, 28 Jan 2008 10:55:37 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 733792090; Mon, 28 Jan 2008 11:55:29 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 4567B208F; Mon, 28 Jan 2008 11:55:29 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 23107844B0; Mon, 28 Jan 2008 11:55:29 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Yar Tikhiy References: <200801261709.m0QH9f2D024309@repoman.freebsd.org> <20080127043334.GA75235@dragon.NUXI.org> <20080127053813.GH49535@comp.chem.msu.su> <20080127094653.GA74753@dragon.NUXI.org> <20080128053514.GK49535@comp.chem.msu.su> Date: Mon, 28 Jan 2008 11:55:29 +0100 In-Reply-To: <20080128053514.GK49535@comp.chem.msu.su> (Yar Tikhiy's message of "Mon\, 28 Jan 2008 08\:35\:15 +0300") Message-ID: <86odb6usm6.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, David O'Brien Subject: Re: cvs commit: src UPDATING src/include fts.h src/lib/libc/gen Makefile.inc Symbol.map fts-compat.c fts-compat.h fts.3 fts.c src/sys/sys param.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 28 Jan 2008 10:55:38 -0000 Yar Tikhiy writes: > Excuse me, but did you notice that fts(3) is not a part of sys? It's > generic userland code, albeit it's contaminated by system-dependent > parts for performance or whatever. Irrelevant. > But let intN_t be mostly confined in the kernel and system-dependent > userland code. E.g., system-dependent include files can use them > to define more portable types such as ino_t, nlink_t, or whatever. C99 doesn't define those either. > Userland code should be portable and useful to other systems in the > chosen domain of compatibility, e.g., C99 or POSIX, unless there > are substantial reasons for it not to. That's how different projects > can benefit from each other's work. Both C99 and POSIX *require* int64_t and uint64_t on all platforms that have 64-bit integer types. FreeBSD has never run on any platform that doesn't. I don't think NetBSD or OpenBSD has either, nor Solaris, nor Linux to my knowledge. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no