svn commit: r231966 - stable/8/lib/libc/locale

Xin LI delphij at FreeBSD.org
Tue Feb 21 10:13:38 UTC 2012


Author: delphij
Date: Tue Feb 21 10:13:37 2012
New Revision: 231966
URL: http://svn.freebsd.org/changeset/base/231966

Log:
  MFC r231632:
  
  wctob() returns EOF and not WEOF.
  
  Noticed by:	Zhihao Yuan <lichray gmail com>
  Approved by:	re (kib)

Modified:
  stable/8/lib/libc/locale/btowc.3
Directory Properties:
  stable/8/lib/libc/   (props changed)

Modified: stable/8/lib/libc/locale/btowc.3
==============================================================================
--- stable/8/lib/libc/locale/btowc.3	Tue Feb 21 10:11:17 2012	(r231965)
+++ stable/8/lib/libc/locale/btowc.3	Tue Feb 21 10:13:37 2012	(r231966)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd August 3, 2002
+.Dd February 13, 2012
 .Dt BTOWC 3
 .Os
 .Sh NAME
@@ -58,7 +58,7 @@ If the wide character is
 or not able to be represented as a single byte in the initial shift state,
 .Fn wctob
 returns
-.Dv WEOF .
+.Dv EOF .
 .Sh SEE ALSO
 .Xr mbrtowc 3 ,
 .Xr multibyte 3 ,


More information about the svn-src-all mailing list