From cb2eab1f8a11ad4e3e69b89a82a73435f0fa4983 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 22 Nov 2003 07:29:27 +0000 Subject: 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 * 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 --- locale/programs/charmap.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'locale/programs/charmap.h') diff --git a/locale/programs/charmap.h b/locale/programs/charmap.h index f4ca3abe6c..a4a6d3833b 100644 --- a/locale/programs/charmap.h +++ b/locale/programs/charmap.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1996-1999, 2001, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1996. @@ -21,6 +21,7 @@ #define _CHARMAP_H #include +#include #include "repertoire.h" #include "simple-hash.h" @@ -64,6 +65,10 @@ struct charseq }; +/* True if the encoding is not ASCII compatible. */ +extern bool enc_not_ascii_compatible; + + /* Prototypes for charmap handling functions. */ extern struct charmap_t *charmap_read (const char *filename, int verbose, int be_quiet, int use_default); -- cgit 1.4.1