The log file is no longer configurable: it is always "${CT_PREFIX_DIR}/build.log".
Add an option to compress the log file upon successfull build.
Make rendering the toolchain read-only optional.
A few eye-candy fixes.
1 2000-08-27 Ulrich Drepper <drepper@redhat.com>
3 * intl/dcgettext.c (DCGETTEXT): Remove _nl_find_language in code
4 to determine invalid locale name.
5 * locale/findlocale.c (_nl_find_locale): Likewise.
7 2000-08-21 Ulrich Drepper <drepper@redhat.com>
9 * catgets/catgets.c (catopen): Filter out env_var values with / if
12 * locale/findlocale.c (_nl_find_locale): Move test for unusable
13 locale name after all getenvs.
15 --- glibc-2.1.3/catgets/catgets.c 2000/01/29 11:56:33 1.15
16 +++ glibc-2.1.3/catgets/catgets.c 2000/08/21 20:55:30 1.16
18 /* Use the LANG environment variable. */
19 env_var = getenv ("LANG");
21 - if (env_var == NULL)
22 + if (env_var == NULL || *env_var == '\0'
23 + || (__libc_enable_secure && strchr (env_var, '/') != NULL))
26 env_var_len = strlen (env_var) + 1;
27 --- glibc-2.1.3/locale/findlocale.c 1999/11/08 23:45:13 1.10.2.1
28 +++ glibc-2.1.3/locale/findlocale.c 2000/08/21 21:02:42 1.10.2.2
30 -/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
31 +/* Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
32 This file is part of the GNU C Library.
33 Contributed by Ulrich Drepper <drepper@gnu.org>, 1996.
37 struct loaded_l10nfile *locale_file;
39 - if ((*name)[0] == '\0'
40 - /* In SUID binaries we must not allow people to access files
41 - outside the dedicated locale directories. */
42 - || (__libc_enable_secure
43 - && memchr (*name, '/', _nl_find_language (*name) - *name) != NULL))
44 + if ((*name)[0] == '\0')
46 /* The user decides which locale to use by setting environment
49 *name = getenv (_nl_category_names[category]);
50 if (*name == NULL || (*name)[0] == '\0')
51 *name = getenv ("LANG");
52 - if (*name == NULL || (*name)[0] == '\0')
53 - *name = (char *) _nl_C_name;
56 + if (*name == NULL || (*name)[0] == '\0'
57 + || (__builtin_expect (__libc_enable_secure, 0)
58 + && strchr (*name, '/') != NULL))
59 + *name = (char *) _nl_C_name;
61 if (strcmp (*name, _nl_C_name) == 0 || strcmp (*name, _nl_POSIX_name) == 0)
63 --- glibc-2.1.3/intl/dcgettext.c Sun Aug 27 23:15:33 2000
64 +++ glibc-2.1.3/intl/dcgettext.c Sun Aug 27 23:16:34 2000
67 /* When this is a SUID binary we must not allow accessing files
68 outside the dedicated directories. */
70 - && (memchr (single_locale, '/',
71 - _nl_find_language (single_locale) - single_locale)
73 + if (ENABLE_SECURE && strchr (single_locale, '/') != NULL)
74 /* Ingore this entry. */