diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2011-04-29 11:24:25 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2011-04-29 11:24:25 +0000 |
commit | 2f459c4a92065cda8b75678215cb5df1f8a33695 (patch) | |
tree | a4095c8d7ea449245b6dea0a46a1da15bda29d6e | |
parent | 8d089421403388172fcdf03562f6f0442102b15d (diff) |
Add BUGS section explaining that these functions do not cover the entire
Unicode character set in a UTF-8 locale and can therefore return wrong answers.
-rw-r--r-- | lib/libc/locale/iswalnum.3 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/locale/iswalnum.3 b/lib/libc/locale/iswalnum.3 index 4a0eae2cf85..572cf38b48b 100644 --- a/lib/libc/locale/iswalnum.3 +++ b/lib/libc/locale/iswalnum.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: iswalnum.3,v 1.3 2010/09/10 18:38:19 jmc Exp $ +.\" $OpenBSD: iswalnum.3,v 1.4 2011/04/29 11:24:24 stsp Exp $ .\" $NetBSD: iswalnum.3,v 1.8 2003/09/08 17:54:31 wiz Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. @@ -34,7 +34,7 @@ .\" .\" @(#)isalnum.3 5.2 (Berkeley) 6/29/91 .\" -.Dd $Mdocdate: September 10 2010 $ +.Dd $Mdocdate: April 29 2011 $ .Dt ISWALNUM 3 .Os .Sh NAME @@ -115,3 +115,6 @@ The argument to these functions must be or a valid .Fa wchar_t value with the current locale; otherwise, the result is undefined. +.Sh BUGS +In a UTF-8 locale these functions return wrong answers for some characters +because they do not cover the entire Unicode character set. |