From owner-cvs-all Mon Feb 19 17:57: 1 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5785F37B65D; Mon, 19 Feb 2001 17:56:53 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1K1uru29614; Mon, 19 Feb 2001 17:56:53 -0800 (PST) (envelope-from peter) Message-Id: <200102200156.f1K1uru29614@freefall.freebsd.org> From: Peter Wemm Date: Mon, 19 Feb 2001 17:56:53 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio findfp.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG peter 2001/02/19 17:56:53 PST Modified files: lib/libc/stdio findfp.c Log: Place some hooks (__stdin, __stdout, __stderr) into libc for a future ABI change. There is some serious evilness here to work around some gcc weaknesses. We need to know the sizeof(FILE) manually until __sF goes away in the next major bump. We have the size for Alpha and i386, missing is ia64, ppc and sparc* (and i386 with 64 bit longs). At some point down the track we can change the stdin etc #defines to stop hard coding the size of FILE into application binaries. Lots of head scratching and ideas and testing by: green, imp Revision Changes Path 1.16 +24 -1 src/lib/libc/stdio/findfp.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message