aboutsummaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/duplocale.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/locale/duplocale.c b/locale/duplocale.c
index 14eeddd..2fe23fc 100644
--- a/locale/duplocale.c
+++ b/locale/duplocale.c
@@ -1,5 +1,5 @@
/* Duplicate handle for selection of locales.
- Copyright (C) 1997, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -51,6 +51,11 @@ __duplocale (__locale_t dataset)
}
}
+ /* Update the special members. */
+ result->__ctype_b = dataset->__ctype_b;
+ result->__ctype_tolower = dataset->__ctype_tolower;
+ result->__ctype_toupper = dataset->__ctype_toupper;
+
/* It's done. */
__libc_lock_unlock (__libc_setlocale_lock);