Date: Sun, 11 Feb 2001 18:50:31 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/include stdio.h src/lib/libc/stdio findfp.c Message-ID: <200102120250.f1C2oVx87804@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2001/02/11 18:50:31 PST Modified files: include stdio.h lib/libc/stdio findfp.c Log: Take advantage of the current libc sizeof(FILE) breakage (__sF[]) and try a hopefully more robust stdin/stdout/stderr. This costs an indirect pointer fetch, but saves us from changes in 'FILE'. The __stdin stuff is there to not pollute application name space if the application does not use <stdio.h> and also in case something depended on the current behavior where stdin etc was a #define. Reviewed by: eischen, dillon Revision Changes Path 1.27 +7 -4 src/include/stdio.h 1.11 +5 -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102120250.f1C2oVx87804>