From owner-cvs-all Tue Aug 14 5:24:50 2001 Delivered-To: cvs-all@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 6B37537B407; Tue, 14 Aug 2001 05:24:41 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from vigrid.com (pm3-pt7.pcnet.net [206.105.29.81]) by pcnet1.pcnet.com (8.8.7/PCNet) with ESMTP id IAA14984; Tue, 14 Aug 2001 08:23:56 -0400 (EDT) Message-ID: <3B7918B8.84C6B879@vigrid.com> Date: Tue, 14 Aug 2001 08:25:28 -0400 From: "Daniel M. Eischen" X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Peter Wemm Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/include stdio.h src/lib/libc Makefilesrc/lib/libc/stdio findfp.c References: <200108132148.f7DLmji84262@freefall.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Wemm wrote: > > peter 2001/08/13 14:48:44 PDT > > Modified files: > include stdio.h > lib/libc Makefile > lib/libc/stdio findfp.c > Log: > Rip out the old __stdin/out/err stuff. It was completely 100% useless. :-( > It was foiled because of dynamic copy relocations that caused compile-time > space to be reserved in .bss and at run time a blob of data was copied to > that space and everything used the .bss version.. The problem is that > the space is reserved at compile time, not runtime... So we *still* could > not change the size of FILE. Sigh. :-( > > Replace it with something that does actually work and really does let us > make 'FILE' extendable. It also happens to be the same as Linux does in > glibc, but has the slight cost of a pointer. Note that this is the > same cost that 'fp = fopen(), fprintf(fp, ...); fclose(fp);' has. > Fortunately, actual references to stdin/out/err are not all that common > since we have implicit stdin/out/err-using versions of functions > (printf() vs. fprintf()). Yes! So do we allow FILE to be extended only after bumping the library version once (after 5.0-release)? And thereafter all extensions to FILE do not need a version bump? -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message