Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2009 06:21:59 -0500
From:      Tom Rhodes <trhodes@FreeBSD.org>
To:        Roman Divacky <rdivacky@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r187805 - head/lib/libc/stdio
Message-ID:  <20090128062159.4c9b9ffb.trhodes@FreeBSD.org>
In-Reply-To: <20090128081914.GA22309@freebsd.org>
References:  <200901280111.n0S1BL7n003092@svn.freebsd.org> <20090128081914.GA22309@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 28 Jan 2009 09:19:14 +0100
Roman Divacky <rdivacky@FreeBSD.org> 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 <mistral@imasy.or.jp>
> > 
> > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090128062159.4c9b9ffb.trhodes>