From owner-cvs-src@FreeBSD.ORG Thu Feb 28 10:31:51 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51F511065678; Thu, 28 Feb 2008 10:31:51 +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 0B4D68FC24; Thu, 28 Feb 2008 10:31:50 +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 342792087; Thu, 28 Feb 2008 11:31:44 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.3/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 0D34A2049; Thu, 28 Feb 2008 11:31:42 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: John Baldwin References: <200802271902.m1RJ23wd012246@repoman.freebsd.org> Date: Thu, 28 Feb 2008 11:31:42 +0100 In-Reply-To: <200802271902.m1RJ23wd012246@repoman.freebsd.org> (John Baldwin's message of "Wed\, 27 Feb 2008 19\:02\:03 +0000 \(UTC\)") Message-ID: <86ejax4bjl.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (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 Subject: Re: cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c 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: Thu, 28 Feb 2008 10:31:51 -0000 John Baldwin writes: > At some point in the future we should look at expanding the file descri= ptor > in FILE to an int, but that is a bit complicated due to ABI issues. There shouldn't be any ABI issues, since FILE should never, ever be used directly, only through FILE *. If someone out there is stupid enough to do FILE f =3D *fopen("foo", "r+"); then they deserve the breakage... DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no