From owner-svn-src-stable-9@FreeBSD.ORG Tue Feb 21 04:12:29 2012 Return-Path: Delivered-To: svn-src-stable-9@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E9F51065673; Tue, 21 Feb 2012 04:12:29 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id ECD6D8FC0A; Tue, 21 Feb 2012 04:12:28 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q1L4CS99082124; Tue, 21 Feb 2012 04:12:28 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q1L4CSTB082122; Tue, 21 Feb 2012 04:12:28 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <201202210412.q1L4CSTB082122@svn.freebsd.org> From: Xin LI Date: Tue, 21 Feb 2012 04:12:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r231961 - stable/9/lib/libc/locale X-BeenThere: svn-src-stable-9@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 9-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2012 04:12:29 -0000 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 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 ,