summaryrefslogtreecommitdiff
path: root/locale/programs/ld-ctype.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-11-22 07:29:27 +0000
committerUlrich Drepper <drepper@redhat.com>2003-11-22 07:29:27 +0000
commitcb2eab1f8a11ad4e3e69b89a82a73435f0fa4983 (patch)
treeb9a7e57ccdbd3baf85b2286fb51893b883e75b00 /locale/programs/ld-ctype.c
parentc5c9c929bf093f83292d75fe72268dafa73161df (diff)
downloadglibc-cb2eab1f8a11ad4e3e69b89a82a73435f0fa4983.tar.gz
Update.
* locale/programs/charmap.c (charmap_read): If encoding is found not ASCII compatible, set enc_not_ascii_compatible. * locale/programs/charmap.h: Declare enc_not_ascii_compatible. * locale/programs/ld-ctype.c (ctype_startup): If enc_not_ascii_compatible is set, initialize to_nonascii to 1. 2003-11-22 Jakub Jelinek <jakub@redhat.com> * elf/rtld.c (process_envvars): Only honor LD_USE_LOAD_BIAS if !__libc_enable_secure. * sysdeps/generic/ldsodefs.h (_dl_use_load_bias): New _rtld_global field. * elf/rtld.c (_rtld_global): Initialize _dl_use_load_bias field. (dl_main): Set GL(dl_use_load_bias) default. (process_envvars): Set GL(dl_use_load_bias) from LD_USE_LOAD_BIAS. Add EXTRA_LD_ENVVARS_13. * elf/dl-support.c (_dl_use_load_bias): New variable. * elf/dl-load.c (_dl_map_object_from_fd): Mask c->mapstart with GL(dl_use_load_bias). * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add LD_USE_LOAD_BIAS. * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Remove. (EXTRA_LD_ENVVARS_LINUX): Renamed to... (EXTRA_LD_ENVVARS_13): ... this. Remove case at the beginning. * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): Don't undefine first. Remove EXTRA_LD_ENVVARS_LINUX. 2003-11-21 Ulrich Drepper <drepper@redhat.com>
Diffstat (limited to 'locale/programs/ld-ctype.c')
-rw-r--r--locale/programs/ld-ctype.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
index 499868237b..ca2ca1eaca 100644
--- a/locale/programs/ld-ctype.c
+++ b/locale/programs/ld-ctype.c
@@ -340,6 +340,9 @@ ctype_startup (struct linereader *lr, struct localedef_t *locale,
ctype->map256_collection[1][cnt] = cnt;
}
+ if (enc_not_ascii_compatible)
+ ctype->to_nonascii = 1;
+
obstack_init (&ctype->mempool);
}
else