about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--wctype/wcfuncs.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ce6df9547..1d6e1cfd2a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+	* wctype/wcfuncs.c (towlower): Use __ctype_tolower.
+	Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
+
 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
 
 	* posix/wordexp-test.c: In field-splitting test cases where
diff --git a/wctype/wcfuncs.c b/wctype/wcfuncs.c
index ba4d88b50a..30836edb9b 100644
--- a/wctype/wcfuncs.c
+++ b/wctype/wcfuncs.c
@@ -76,7 +76,7 @@ wint_t
     /* Character is not known.  Default action is to simply return it.  */
     return wc;
 
-  return (wint_t) __ctype_toupper[idx];
+  return (wint_t) __ctype_tolower[idx];
 }
 
 wint_t