Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2012 04:12:28 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r231961 - stable/9/lib/libc/locale
Message-ID:  <201202210412.q1L4CSTB082122@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Tue Feb 21 04:12:28 2012
New Revision: 231961
URL: http://svn.freebsd.org/changeset/base/231961

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

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

Modified: stable/9/lib/libc/locale/btowc.3
==============================================================================
--- stable/9/lib/libc/locale/btowc.3	Tue Feb 21 04:08:31 2012	(r231960)
+++ stable/9/lib/libc/locale/btowc.3	Tue Feb 21 04:12:28 2012	(r231961)
@@ -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 ,



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