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

Roman Divacky rdivacky at FreeBSD.org
Wed Jan 28 00:21:47 PST 2009


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?


>   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


More information about the svn-src-head mailing list