forked from pool/glibc
- Update to glibc 2.41 * In /etc/resolv.conf and the RES_OPTIONS environment variable, option flags can now be prefixed with “-” to clear previously set flags * The DNS stub resolver now supports the strict-error option * On Linux, the sched_setattr and sched_getattr functions have been added * The iconv program now supports converting files in place * Character encoding, character type info, and transliteration tables have been updated to Unicode 16.0.0 * The following ISO C23 function families (introduced in TS 18661-4:2015) are now supported in <math.h>: - Trigonometric functions: acospi, asinpi, atan2pi, atanpi, cospi, sinpi, tanpi. * The GNU C Library now supports a feature test macro _ISOC2Y_SOURCE to enable features from the draft ISO C2Y standard * Optimized and correctly rounded exp10m1f, exp2m1f, expm1f, log10f, log2p1f, log1pf, log10p1f, cbrtf, erff, erfcf, lgammaf, tgammaf, tanf, acosf, acoshf, asinf, asinhf, atanf, atan2f, atanhf, coshf, sinhf, and tanhf functions have been added from the CORE-MATH project <https://core-math.gitlabpages.inria.fr/> * A new tunable, glibc.rtld.execstack, can be used to control whether an executable stack is allowed from the main program, either implicitly due to a mising GNU_STACK ELF header or explicit explicitly because of the executable bit in GNU_STACK * Support for the extensible rseq ABI introduced in the Linux kernel version 6.3 has been added * The GNU C Library now supports the Guarded Control Stack extension that allows to use shadow stacks on AArch64 systems that support this extension * Significant effort has been put into improving the code generation OBS-URL: https://build.opensuse.org/request/show/1242430 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=730
45 lines
1.4 KiB
Diff
45 lines
1.4 KiB
Diff
Wed Jun 4 14:29:07 CEST 2003 - kukuk@suse.de
|
|
|
|
- Make --no-archive default for localedef
|
|
|
|
Index: glibc-2.27/locale/programs/localedef.c
|
|
===================================================================
|
|
--- glibc-2.27.orig/locale/programs/localedef.c
|
|
+++ glibc-2.27/locale/programs/localedef.c
|
|
@@ -71,7 +71,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;
|
|
@@ -101,6 +101,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
|
|
#define OPT_LITTLE_ENDIAN 400
|
|
#define OPT_BIG_ENDIAN 401
|
|
#define OPT_NO_WARN 402
|
|
@@ -133,6 +134,8 @@ static const struct argp_option options[
|
|
"supported warnings are: ascii, intcurrsym") },
|
|
|
|
{ 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,
|
|
@@ -360,6 +363,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;
|