From owner-svn-src-all@FreeBSD.ORG Wed Jan 28 12:02:12 2009 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF985106571A; Wed, 28 Jan 2009 12:02:12 +0000 (UTC) (envelope-from trhodes@FreeBSD.org) Received: from gloomweaver.pittgoth.com (gloomweaver.pittgoth.com [205.134.165.107]) by mx1.freebsd.org (Postfix) with ESMTP id 01BA28FC13; Wed, 28 Jan 2009 12:02:08 +0000 (UTC) (envelope-from trhodes@FreeBSD.org) Received: from localhost.fbsdsecure.org (c-68-83-213-214.hsd1.va.comcast.net [68.83.213.214]) (authenticated bits=0) by gloomweaver.pittgoth.com (8.14.3/8.14.3) with ESMTP id n0SBNNkU089580 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 28 Jan 2009 06:23:24 -0500 (EST) (envelope-from trhodes@FreeBSD.org) Date: Wed, 28 Jan 2009 06:21:59 -0500 From: Tom Rhodes To: Roman Divacky Message-Id: <20090128062159.4c9b9ffb.trhodes@FreeBSD.org> In-Reply-To: <20090128081914.GA22309@freebsd.org> References: <200901280111.n0S1BL7n003092@svn.freebsd.org> <20090128081914.GA22309@freebsd.org> X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r187805 - head/lib/libc/stdio X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2009 12:02:21 -0000 On Wed, 28 Jan 2009 09:19:14 +0100 Roman Divacky wrote: > On Wed, Jan 28, 2009 at 01:11:21AM +0000, Tom Rhodes wrote: > > Author: trhodes > > Date: Wed Jan 28 01:11:20 2009 > > New Revision: 187805 > > URL: http://svn.freebsd.org/changeset/base/187805 > > > > Log: > > Remove comment about clearerr() being the only method of clearing > > the EOF indicator, fseek() may also be used for this. > > why not saying what you state in the commit message in the man page > instead of removing the info entirely? Isn't there other ways to do this as well? Such as writing extra bytes to the stream? I'm not sure listing every way to clear the EOF indicator is the right way, but open to suggestion. :) Thanks, > > > > Bump document date. > > > > PR: 76333 > > Submitted by: Yoshihiko Sarumaru > > > > Modified: > > head/lib/libc/stdio/ferror.3 > > > > Modified: head/lib/libc/stdio/ferror.3 > > ============================================================================== > > --- head/lib/libc/stdio/ferror.3 Wed Jan 28 00:15:35 2009 (r187804) > > +++ head/lib/libc/stdio/ferror.3 Wed Jan 28 01:11:20 2009 (r187805) > > @@ -32,7 +32,7 @@ > > .\" @(#)ferror.3 8.2 (Berkeley) 4/19/94 > > .\" $FreeBSD$ > > .\" > > -.Dd January 10, 2003 > > +.Dd January 27, 2009 > > .Dt FERROR 3 > > .Os > > .Sh NAME > > @@ -77,8 +77,6 @@ The function > > tests the end-of-file indicator for the stream pointed to by > > .Fa stream , > > returning non-zero if it is set. > > -The end-of-file indicator can only be cleared by the function > > -.Fn clearerr . > > .Pp > > The function > > .Fn ferror > -- Tom Rhodes