From 42be70d43174c6a6e80fbd25276d4eb04c6e5adf Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 15 Oct 2000 02:17:30 +0000 Subject: Update. 2000-10-28 Jes Sorensen * sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb, inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw, _outl. Reported by Bill Nottingham. 2000-04-06 Andreas Schwab * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and restore register r8 for functions that return a structure. 2000-10-12 Jakub Jelinek * math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl, M_SQRT_PIl): Increase precision. (cbrt_test): If cbrt is not implemented, don't test it. Add L suffix to double constants in results which differ from their L suffixed counterparts. (exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. 2000-10-11 Jakub Jelinek * inet/rexec.c (rexec_af): Convert rport to host order before passing it to snprintf. 2000-10-14 Ulrich Drepper * sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of uintXX_t since this is what defines and we include this header. Reported by Bernhard Rosenkraenzer . * intl/localealias.c (read_alias_file): Update string pointers in map[] if realloc() changed the values. Patch by Jakub Jelinek . * manual/stdio.texi: Update printf extension documentation after z became a valid modifier. Patch by Joseph S. Myers . * timezone/africa: Update from tzcode2000g and tzdata2000g. * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/backward: Likewise. * timezone/europe: Likewise. * timezone/iso3166.tab: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. * timezone/zone.tab: Likewise. --- intl/localealias.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'intl/localealias.c') diff --git a/intl/localealias.c b/intl/localealias.c index 57c693dcde..426db49b97 100644 --- a/intl/localealias.c +++ b/intl/localealias.c @@ -351,6 +351,18 @@ read_alias_file (fname, fname_len) FREE_BLOCKS (block_list); return added; } + + if (__builtin_expect (string_space != new_pool, 0)) + { + size_t i; + + for (i = 0; i < nmap; i++) + { + map[i].alias += new_pool - string_space; + map[i].value += new_pool - string_space; + } + } + string_space = new_pool; string_space_max = new_size; } -- cgit v1.2.3