about summary refs log tree commit diff
path: root/src/ctype/iswlower.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-04-23 19:19:26 -0400
committerRich Felker <dalias@aerifal.cx>2012-04-23 19:19:26 -0400
commit1a63a9fc30e7a1f1239e3cedcb5041e5ec1c5351 (patch)
tree9ab2438310a30b91aa19962205d0a6fe065d868e /src/ctype/iswlower.c
parent38b5d7d0526be24fba0f0789407727e4e7950e63 (diff)
downloadmusl-1a63a9fc30e7a1f1239e3cedcb5041e5ec1c5351.tar.gz
musl-1a63a9fc30e7a1f1239e3cedcb5041e5ec1c5351.tar.xz
musl-1a63a9fc30e7a1f1239e3cedcb5041e5ec1c5351.zip
sync case mappings with unicode 6.1
also special-case ß (U+00DF) as lowercase even though it does not have
a mapping to uppercase. unicode added an uppercase version of this
character but does not map it, presumably because the uppercase
version is not actually used except for some obscure purpose...
Diffstat (limited to 'src/ctype/iswlower.c')
-rw-r--r--src/ctype/iswlower.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctype/iswlower.c b/src/ctype/iswlower.c
index 0a568e77..438fe26a 100644
--- a/src/ctype/iswlower.c
+++ b/src/ctype/iswlower.c
@@ -2,5 +2,5 @@
 
 int iswlower(wint_t wc)
 {
-	return towupper(wc) != wc;
+	return towupper(wc) != wc || wc == 0xdf;
 }