svn commit: r187805 - head/lib/libc/stdio

Tom Rhodes trhodes at FreeBSD.org
Wed Jan 28 04:02:21 PST 2009


On Wed, 28 Jan 2009 09:19:14 +0100
Roman Divacky <rdivacky at 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 at 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


More information about the svn-src-all mailing list