forked from pool/glibc
Andreas Schwab
746e16d2b9
- Update to glibc 2.17.90 85891acadf1b: * CVE-2013-2207 Incorrectly granting access to another user's pseudo-terminal has been fixed by disabling the use of pt_chown (Bugzilla #15755). Distributions can re-enable building and using pt_chown via the new configure option `--enable-pt_chown'. Enabling the use of pt_chown carries with it considerable security risks and should only be used if the distribution understands and accepts the risks. * CVE-2013-0242 Buffer overrun in regexp matcher has been fixed (Bugzilla #15078). * CVE-2013-1914 Stack overflow in getaddrinfo with many results has been fixed (Bugzilla #15330). * Add support for calling C++11 thread_local object destructors on thread and program exit. This needs compiler support for offloading C++11 destructor calls to glibc. * Improved worst case performance of libm functions with double inputs and output. * Support for priority inherited mutexes in pthread condition variables on non-x86 architectures. * Optimized string functions for AArch64. Implemented by Marcus Shawcroft. * Optimized string functions for ARM. Implemented by Will Newton and Richard Henderson. * Added a benchmark framework to track performance of functions in glibc. * New <math.h> macro named issignaling to check for a signaling NaN (sNaN). It is based on draft TS 18661 and currently enabled as a GNU extension. * On Linux, the clock function now uses the clock_gettime system call for improved precision, rather than old times system call. * Added new API functions pthread_getattr_default_np and pthread_setattr_default_np to get and set the default pthread attributes of a process. * Added support for TSX lock elision for pthread mutexes on i386 and x86-64. OBS-URL: https://build.opensuse.org/request/show/186119 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=304
46 lines
1.6 KiB
Diff
46 lines
1.6 KiB
Diff
-------------------------------------------------------------------
|
|
Wed Jun 4 14:29:07 CEST 2003 - kukuk@suse.de
|
|
|
|
- Make --no-archive default for localedef
|
|
|
|
Index: glibc-2.17.90/locale/programs/localedef.c
|
|
===================================================================
|
|
--- glibc-2.17.90.orig/locale/programs/localedef.c
|
|
+++ glibc-2.17.90/locale/programs/localedef.c
|
|
@@ -81,7 +81,7 @@ const char *alias_file;
|
|
static struct localedef_t *locales;
|
|
|
|
/* If true don't add locale data to archive. */
|
|
-bool no_archive;
|
|
+bool no_archive = true;
|
|
|
|
/* If true add named locales to archive. */
|
|
static bool add_to_archive;
|
|
@@ -112,6 +112,7 @@ void (*argp_program_version_hook) (FILE
|
|
#define OPT_REPLACE 307
|
|
#define OPT_DELETE_FROM_ARCHIVE 308
|
|
#define OPT_LIST_ARCHIVE 309
|
|
+#define OPT_ARCHIVE 310
|
|
|
|
/* Definitions of arguments for argp functions. */
|
|
static const struct argp_option options[] =
|
|
@@ -134,6 +135,8 @@ static const struct argp_option options[
|
|
N_("Suppress warnings and information messages") },
|
|
{ "verbose", 'v', NULL, 0, N_("Print more messages") },
|
|
{ NULL, 0, NULL, 0, N_("Archive control:") },
|
|
+ { "archive", OPT_ARCHIVE, NULL, 0,
|
|
+ N_("Add new data to archive") },
|
|
{ "no-archive", OPT_NO_ARCHIVE, NULL, 0,
|
|
N_("Don't add new data to archive") },
|
|
{ "add-to-archive", OPT_ADD_TO_ARCHIVE, NULL, 0,
|
|
@@ -311,6 +314,9 @@ parse_opt (int key, char *arg, struct ar
|
|
case OPT_PREFIX:
|
|
output_prefix = arg;
|
|
break;
|
|
+ case OPT_ARCHIVE:
|
|
+ no_archive = false;
|
|
+ break;
|
|
case OPT_NO_ARCHIVE:
|
|
no_archive = true;
|
|
break;
|