From owner-cvs-all Sun Jan 26 6: 8: 9 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F42137B401 for ; Sun, 26 Jan 2003 06:08:08 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0E39843F1E for ; Sun, 26 Jan 2003 06:08:07 -0800 (PST) (envelope-from csharp@gmx.net) Received: (qmail 13933 invoked by uid 0); 26 Jan 2003 14:08:05 -0000 Received: from pD9E46519.dip.t-dialin.net (HELO dagon.cthulhu.net) (217.228.101.25) by mail.gmx.net (mp014-rz3) with SMTP; 26 Jan 2003 14:08:05 -0000 Received: from mephisto by dagon.cthulhu.net with local (Exim 4.12) id 18cnSG-000GB4-00 for cvs-all@FreeBSD.org; Sun, 26 Jan 2003 15:08:12 +0100 Date: Sun, 26 Jan 2003 15:08:12 +0100 From: Christopher Sharp To: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/stdio fopen.3 freopen.c Message-ID: <20030126140812.GA594@gmx.net> Mail-Followup-To: cvs-all@FreeBSD.org References: <200301261001.h0QA1xpo065748@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200301261001.h0QA1xpo065748@repoman.freebsd.org> User-Agent: Mutt/1.5.3i 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 On (26/01/03 02:01), Tim J. Robbins wrote: > tjr 2003/01/26 02:01:59 PST > > Modified files: > lib/libc/stdio fopen.3 freopen.c > Log: > Initial implementation of the C99 feature whereby calling freopen() with > a NULL filename argument allows a stream's mode to be changed. At the > moment it just recycles the old file descriptor instead of storing the > filename somewhere and using that to reopen the file, as the standard > seems to require. Strictly conforming C99 applications probably can't > tell the difference but POSIX ones can. > > PR: 46791 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=46791 > > Revision Changes Path > 1.18 +36 -1 src/lib/libc/stdio/fopen.3 > 1.11 +58 -1 src/lib/libc/stdio/freopen.c Is the problem below I'm seeing maybe related to this commit ? cc -pg -O -pipe -march=athlon -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -D__DBINTERFACE_PRIVATE -DINET6 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -DYP -DHESIOD -c /usr/src/lib/libc/stdio/freopen.c -o freopen.po /usr/src/lib/libc/stdio/freopen.c: In function `freopen': /usr/src/lib/libc/stdio/freopen.c:191: structure has no member named `state' /usr/src/lib/libc/stdio/freopen.c:191: structure has no member named `state' /usr/src/lib/libc/stdio/freopen.c:192: structure has no member named `cstate' /usr/src/lib/libc/stdio/freopen.c:192: structure has no member named `cstate' /usr/src/lib/libc/stdio/freopen.c:193: structure has no member named `cstatepos' *** Error code 1 /usr/src/lib/libc/stdio/freopen.c: In function `freopen': /usr/src/lib/libc/stdio/freopen.c:191: structure has no member named `state' /usr/src/lib/libc/stdio/freopen.c:191: structure has no member named `state' /usr/src/lib/libc/stdio/freopen.c:192: structure has no member named `cstate' /usr/src/lib/libc/stdio/freopen.c:192: structure has no member named `cstate' /usr/src/lib/libc/stdio/freopen.c:193: structure has no member named `cstatepos' *** Error code 1 2 errors *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message