1 2000-10-20 Ulrich Drepper <drepper@redhat.com>
3 * elf/Makefile: Add rules to build and run unload2.
4 * elf/unload2.c: New file.
5 * elf/unload2mod.c: New file.
6 * elf/unload2dep.c: New file.
8 * intl/libintl.h (ngettext macro): Add missing parameter.
9 (dngettext macro): Likewise.
11 2000-10-19 H.J. Lu <hjl@gnu.org>
13 * elf/Makefile (distribute): Add neededtest.c, neededobj1.c,
14 neededobj2.c and neededobj3.c.
15 (tests): Add neededtest.
16 (modules-names): Add neededobj1, neededobj2 and neededobj3.
17 ($(objpfx)neededobj1.so): New target.
18 ($(objpfx)neededobj2.so): Likewise.
19 ($(objpfx)neededobj3.so): Likewise.
20 ($(objpfx)neededtest): Likewise.
21 ($(objpfx)neededtest.out): Likewise.
22 * elf/neededtest.c: New. Based on the bug report from
23 Allen Bauer <kylix_rd@hotmail.com>.
24 * elf/neededobj1.c: Likewise.
25 * elf/neededobj2.c: Likewise.
26 * elf/neededobj3.c: Likewise.
28 2000-10-20 Ulrich Drepper <drepper@redhat.com>
30 * elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header
31 to elf_machine_matches_host.
32 * sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter
33 is now pointer to ELF header.
34 * sysdeps/arm/dl-machine.h: Likewise.
35 * sysdeps/generic/dl-machine.h: Likewise.
36 * sysdeps/hppa/dl-machine.h: Likewise.
37 * sysdeps/i386/dl-machine.h: Likewise.
38 * sysdeps/ia64/dl-machine.h: Likewise.
39 * sysdeps/m68k/dl-machine.h: Likewise.
40 * sysdeps/mips/dl-machine.h: Likewise.
41 * sysdeps/mips/mips64/dl-machine.h: Likewise.
42 * sysdeps/powerpc/dl-machine.h: Likewise.
43 * sysdeps/s390/dl-machine.h: Likewise.
44 * sysdeps/sh/dl-machine.h: Likewise.
45 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47 Patch by Martin Schwidefsksy <schwidefsky@de.ibm.com>.
49 2000-10-20 Jakub Jelinek <jakub@redhat.com>
51 * include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64
52 check instead of #ifdef __alpha__.
53 * include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on
54 INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when
57 2000-10-20 Ulrich Drepper <drepper@redhat.com>
59 * posix/wordexp-tst.sh (testout): Place output file in build
60 directory. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
62 * sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print.
64 2000-10-19 Ulrich Drepper <drepper@redhat.com>
66 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
67 Correctly handle numeric group member information.
68 Patch by tomasw@cs.huji.ac.il.
70 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
71 Complete test for strtol overflow.
73 2000-10-19 Jakub Jelinek <jakub@redhat.com>
75 * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union
76 semun as 4th argument to semctl syscall, not address of it.
78 2000-10-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
80 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall.
82 2000-10-17 Andreas Schwab <schwab@suse.de>
84 * string/string.h: Remove declaration of __strcasecmp and __strcasestr.
85 * include/string.h: Declare them here.
87 2000-10-18 Ralf Baechle <ralf@gnu.org>
89 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include <asm/unistd.h>.
91 2000-10-19 Geoffrey Keating <geoffk@cygnus.com>
93 * sysdeps/powerpc/fpu/bits/mathinline.h: Add versions
94 of the unordered comparison functions that use the GCC builtins.
96 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function.
97 (__process_machine_rela): Print the address of an overflowing
100 2000-10-18 Ulrich Drepper <drepper@redhat.com>
102 * sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point
104 (freeit): Remove unnecessary test.
106 2000-10-18 Andreas Jaeger <aj@suse.de>
108 * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New.
109 (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers.
110 (elf_machine_runtime_link_map): Likewise.
111 (elf_machine_runtime_setup): Likewise.
112 Handle dynamic linker's local got entries.
113 Patches by Ralf Baechle <ralf@gnu.org>.
115 2000-10-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
117 * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as
118 the frame pointer. Allocate stack space for $a0 for
119 __dl_runtime_resolve(). Do not save $sp in $s0 as it's
122 2000-10-17 Ulrich Drepper <drepper@redhat.com>
124 * sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in
127 2000-10-17 Andreas Schwab <schwab@suse.de>
129 * sysdeps/m68k/fpu/libm-test-ulps: Update for changes in
132 2000-10-17 Jakub Jelinek <jakub@redhat.com>
134 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
135 Add missing backslash.
137 2000-10-16 Ulrich Drepper <drepper@redhat.com>
139 * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Little cleanup.
141 * sysdeps/i386/fpu/libm-test-ulps: Update for changes in libm-test.inc.
143 2000-10-16 Jakub Jelinek <jakub@redhat.com>
145 * math/libm-test.inc (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase
147 (acos_test, asin_text, cexp_test, cos_test, cproj_test, exp10_test,
148 sin_test, sincos_test, sqrt_test): Likewise. Add L suffixes also
150 (acosh_test, asinh_test, atan2_test, atanh_test, atan_test, cabs_test,
151 cacosh_test, cacos_test, casinh_test, casin_test, catanh_test,
152 catan_test, cbrt_test, ccosh_test, ccos_test, clog10_test, cosh_test,
153 csinh_test, csin_test, csqrt_test, ctanh_test, ctan_test, erfc_test,
154 erf_test, exp2_test, expm1_test, exp_test, fmod_test, hypot_test,
155 j0_test, j1_test, jn_test, lgamma_test, llrint_test, llround_test,
156 log10_test, log1p_test, log2_test, log_test, lrint_test, lround_test,
157 nextafter_test, nexttoward_test, pow_test, round_test, scalb_test,
158 sinh_test, static void, tanh_test, tan_test, tgamma_test, y0_test,
159 y1_test, yn_test): Add L suffixes also to parameters.
160 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Fix mask.
161 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
162 * soft-fp/op-2.h (_FP_FRAC_SRS_2): Fix computation of sticky bit.
164 2000-10-16 Ulrich Drepper <drepper@redhat.com>
166 * timezone/Makefile: Define HAVE_GETTEXT for zdump.c, zic.c,
167 ialloc.c, and scheck.c.
168 * malloc/obstack.c: Always include <libintl.h> for glibc.
169 * posix/getopt.c: Likewise.
170 Reported by Petr Vandrovec <VANDROVE@vc.cvut.cz>.
172 2000-10-15 Pete Wyckoff <pw@osc.edu>
174 * Rules: Define _LIBC during generation of bits/stdio_lim.d.
176 2000-10-15 Pete Wyckoff <pw@osc.edu>
178 * iconvdata/tst-tables.sh: Invoke other shell scripts through ${SHELL}.
179 * iconvdata/tst-table.sh: Likewise.
181 2000-10-15 Ulrich Drepper <drepper@redhat.com>
183 * elf/dl-error.c (_dl_signal_error): Allocate memory for objname
184 as well. Reported by Alexander V. Lukyanov <lav@yars.free.net>.
186 * iconvdata/gconv-modules: Add aliases for Winblowz charsets.
187 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
189 2000-10-13 Andreas Schwab <schwab@suse.de>
191 * elf/elf.h (R_IA64_PCREL60B): Add relocation.
193 2000-10-15 Ulrich Drepper <drepper@redhat.com>
195 * sysdeps/unix/sysv/linux/hppa/brk.c: Cleanups.
196 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
197 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
198 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Likewise.
199 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
201 2000-10-14 Ulrich Drepper <drepper@redhat.com>
203 * math/libm-test.inc (frexp_test): Add L suffix also to parameters.
204 (hypot_test): Likewise.
206 * sysdeps/generic/printf_fphex.c: Compute width of decimal point
207 string correctly. Handle padding correctly.
209 * sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters
211 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
212 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
214 2000-10-12 Alan Modra <alan@linuxcare.com.au>
216 * FAQ.in: Add --start-group and --end-group.
218 2000-10-12 Alan Modra <alan@linuxcare.com.au>
220 * malloc/memusage.c: Conditionalize stack usage calculation on
223 2000-10-12 Alan Modra <alan@linuxcare.com.au>
225 * config.h.in: Add ASM_LINE_SEP.
226 * configure.in: Add test for comment and line separators.
227 * include/libc-symbols.h: Define and use ASM_LINE_SEP, and add tabs to
228 placate some hppa assemblers.
229 * sysdeps/hppa/sysdep.h: Likewise.
230 * sysdeps/gnu/siglist.c: Insert \n and \t into inline asm.
231 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
233 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
235 * sysdeps/unix/sysv/linux/Makefile: Include <bits/initspin> in
237 * sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for
238 non-threaded platforms.
240 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
242 * configure.in: Add definitions for hppa.
243 * elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments
244 for IPLT and EPLT relocations.
245 * shlib-versions: Version symbol definitions for hppa-linux.
246 * sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel
249 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
251 * sysdeps/hppa/Makefile: New file.
252 * sysdeps/hppa/Versions: New file.
254 * sysdeps/hppa/setjmp.S: New file.
255 * sysdeps/hppa/__longjmp.S: New file.
256 * sysdeps/hppa/bits/setjmp.h: New file.
257 * sysdeps/hppa/frame.h: New file.
259 * sysdeps/hppa/add_n.s: Don't use %r19 (linkage table pointer).
260 * sysdeps/hppa/sub_n.s: Likewise.
261 * sysdeps/hppa/lshift.s: Likewise.
262 * sysdeps/hppa/rshift.s: Likewise.
263 * sysdeps/hppa/udiv_qrnnd.s: Likewise.
264 * sysdeps/hppa/hppa1.1/addmul_1.s: Likewise.
265 * sysdeps/hppa/hppa1.1/submul_1.s: Likewise.
266 * sysdeps/hppa/hppa1.1/mul_1.s: Likewise.
267 * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Likewise.
269 * sysdeps/hppa/dl-machine.h: New file.
270 * sysdeps/hppa/dl-fptr.c: New file (note that this is almost
271 identical to the IA-64 one).
272 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
273 * sysdeps/hppa/dl-symaddr.c: Likewise.
275 * sysdeps/hppa/elf/initfini.c: New file.
276 * sysdeps/hppa/elf/start.S: New file.
278 * sysdeps/hppa/fpu/bits/fenv.h: New file.
279 * sysdeps/hppa/fpu/fclrexcpt.c: New file.
280 * sysdeps/hppa/fpu/fedisblxcpt.c: New file.
281 * sysdeps/hppa/fpu/feenablxcpt.c: New file.
282 * sysdeps/hppa/fpu/fegetenv.c: New file.
283 * sysdeps/hppa/fpu/fegetexcept.c: New file.
284 * sysdeps/hppa/fpu/fegetround.c: New file.
285 * sysdeps/hppa/fpu/feholdexcpt.c: New file.
286 * sysdeps/hppa/fpu/fesetenv.c: New file.
287 * sysdeps/hppa/fpu/fesetround.c: New file.
288 * sysdeps/hppa/fpu/feupdateenv.c: New file.
289 * sysdeps/hppa/fpu/fegetexcptflg.c: New file.
290 * sysdeps/hppa/fpu/fraiseexcpt.c: New file.
291 * sysdeps/hppa/fpu/fsetexcptflg.c: New file.
292 * sysdeps/hppa/fpu/ftestexcept.c: New file.
294 * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
295 * sysdeps/unix/sysv/linux/hppa/Versions: New file.
296 * sysdeps/unix/sysv/linux/hppa/syscalls.list: New file.
297 * sysdeps/unix/sysv/linux/hppa/sysdep.c: New file.
298 * sysdeps/unix/sysv/linux/hppa/sysdep.h: New file.
301 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: New file.
302 * sysdeps/unix/sysv/linux/hppa/bits/ioctls.h: New file.
303 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: New file.
304 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: New file.
305 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: New file.
306 * sysdeps/unix/sysv/linux/hppa/brk.c: New file.
307 * sysdeps/unix/sysv/linux/hppa/clone.S: New file.
308 * sysdeps/unix/sysv/linux/hppa/socket.S: New file.
309 * sysdeps/unix/sysv/linux/hppa/syscall.S: New file.
310 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: New file.
311 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: New file.
312 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: New file.
313 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: New file.
314 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: New file.
315 * sysdeps/unix/sysv/linux/hppa/mmap.c: New file.
316 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: New file.
317 * sysdeps/unix/sysv/linux/hppa/procfs.h: New file.
318 * sysdeps/unix/sysv/linux/hppa/ucontext.h: New file.
319 * sysdeps/unix/sysv/linux/hppa/umount.c: New file.
321 2000-10-12 Alan Modra <alan@linuxcare.com.au>
323 * sysdeps/hppa/hppa1.1/Implies: New file.
324 * sysdeps/hppa/memusage.h: New file.
326 2000-10-28 Jes Sorensen <jes@linuxcare.com>
328 * sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb,
329 inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw,
330 _outl. Reported by Bill Nottingham.
332 2000-04-06 Andreas Schwab <schwab@suse.de>
334 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
335 restore register r8 for functions that return a structure.
337 2000-10-12 Jakub Jelinek <jakub@redhat.com>
339 * math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl,
340 M_SQRT_PIl): Increase precision.
341 (cbrt_test): If cbrt is not implemented, don't test it.
342 Add L suffix to double constants in results which differ from their
343 L suffixed counterparts.
344 (exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise.
346 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
348 2000-10-11 Jakub Jelinek <jakub@redhat.com>
350 * inet/rexec.c (rexec_af): Convert rport to host order before
351 passing it to snprintf.
353 2000-10-14 Ulrich Drepper <drepper@redhat.com>
355 * sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of
356 uintXX_t since this is what <sys/types.h> defines and we include
357 this header. Reported by Bernhard Rosenkraenzer <bero@redhat.de>.
359 * intl/localealias.c (read_alias_file): Update string pointers
360 in map[] if realloc() changed the values.
361 Patch by Jakub Jelinek <jakub@redhat.com>.
363 * manual/stdio.texi: Update printf extension documentation after
364 z became a valid modifier.
365 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
367 * timezone/africa: Update from tzcode2000g and tzdata2000g.
368 * timezone/asia: Likewise.
369 * timezone/australasia: Likewise.
370 * timezone/backward: Likewise.
371 * timezone/europe: Likewise.
372 * timezone/iso3166.tab: Likewise.
373 * timezone/northamerica: Likewise.
374 * timezone/southamerica: Likewise.
375 * timezone/zone.tab: Likewise.
377 2000-10-14 Geoffrey Keating <geoffk@cygnus.com>
379 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl()
382 2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
384 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file.
385 * sysdeps/unix/sysv/linux/m68k/fcntl.c: New file.
386 * sysdeps/unix/sysv/linux/m68k/getdents64.c: New file.
387 * sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file.
388 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file.
389 * sysdeps/unix/sysv/linux/m68k/glob64.c: New file.
390 * sysdeps/unix/sysv/linux/m68k/lockf64.c: New file.
391 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file.
392 * sysdeps/unix/sysv/linux/m68k/readdir64.c: New file.
393 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file.
394 * sysdeps/unix/sysv/linux/m68k/scandir64.c: New file.
395 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file.
396 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file.
397 * sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c.
398 * sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64.
399 * sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64,
400 __fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit,
401 getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at
403 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit,
404 oldsetrlimit for GLIBC_2.0.
406 * sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct
407 arguments to _dl_init.
409 2000-10-13 Geoffrey Keating <geoffk@cygnus.com>
411 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs for my Pentium III
412 building with the default options.
414 2000-10-11 Andreas Jaeger <aj@suse.de>
416 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache.
417 Patch by Denis Zaitsev <zzz@cd-club.ru>.
419 2000-10-09 Jakub Jelinek <jakub@redhat.com>
421 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): If x == y,
423 * manual/arith.texi (nextafter): Document it.
424 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Fix a comment.
426 2000-10-08 Ulrich Drepper <drepper@redhat.com>
428 * version.h (VERSION): Bump to 2.1.95.
430 * configure.in: Remove warning message.
432 * nscd/Makefile (distribute): Add nscd-types.h.
433 * elf/Makefile (distribute): Add gccframe.h.
434 * sysdeps/sparc/sparc32/Dist: Add ieee754.h.
435 * sysdeps/ia64/Dist: Add ieee754.h.
437 2000-10-07 Ulrich Drepper <drepper@redhat.com>
439 * elf/elf.h: Add a few section-related symbols.
441 * include/features.h (__STDC_ISO_10646__): Set to correct date.
442 Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
444 2000-10-06 Jes Sorensen <jes@linuxcare.com>
446 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Implement
447 overflow generation by adding DBL_MAX to DBL_MAX instead of
448 setting the bits manually in the fpsr and generating the exception
449 with kill() if necessary.
450 (feraiseexcept): Implement underflow by dividing DBL_MIN by
451 DBL_MIN - similar to the overflow change described above.
453 2000-08-27 H.J. Lu <hjl@gnu.org>
455 * sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone
456 is not supported under Linux/ia64, use clone2.
458 2000-10-06 Jakub Jelinek <jakub@redhat.com>
460 * malloc/malloc.h (__THROW): Define to nothing if not gcc.
461 * misc/sys/cdefs.h (__THROW): Likewise.
463 2000-10-05 Jakub Jelinek <jakub@redhat.com>
465 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.
467 2000-10-02 Jakub Jelinek <jakub@redhat.com>
469 * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
470 remaining xp_pad space.
472 2000-10-05 Jakub Jelinek <jakub@redhat.com>
474 * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
475 DF_1_NODELETE, not list[i]'s.
477 2000-10-04 Ulrich Drepper <drepper@redhat.com>
479 * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9.
480 (BODY from direction): Map \x5c to U20a9.
481 * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change.
482 * iconvdata/EUC-KR.irreversible: New file.
483 * iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
485 * argp/argp-parse.c (argp_default_argp): Set libc as message domain.
486 (argp_version_argp): Likewise.
488 2000-10-04 Jakub Jelinek <jakub@redhat.com>
490 * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do
491 input_error() if EOF is seen before processing.
492 * stdio-common/tstscanf.c (main): Add testcase.
494 2000-10-04 Ulrich Drepper <drepper@redhat.com>
496 * argp/argp-help.c: Make sure we get the correct gettext and
497 dgettext definitions.
498 * argp/argp-parse.c: Likewise.
500 2000-10-03 Ulrich Drepper <drepper@redhat.com>
502 * locale/programs/linereader.c (get_string): Also clear wide
503 string info if illegal_string.
505 2000-10-03 Andreas Schwab <schwab@suse.de>
507 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file.
509 2000-10-02 Jakub Jelinek <jakub@redhat.com>
511 * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
514 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
516 2000-10-02 Ralf Baechle <ralf@gnu.org>
518 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the
519 end of inline assembler code.
521 2000-10-02 Ulrich Drepper <drepper@redhat.com>
523 * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define
524 __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing.
526 2000-10-02 Andreas Jaeger <aj@suse.de>
528 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux
531 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS.
533 2000-10-01 Ralf Baechle <ralf@gnu.org>
535 * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp
536 argument passed to _dl_init.
538 2000-09-30 Bruno Haible <haible@clisp.cons.org>
540 * locale/programs/charmap-dir.h: New file.
541 * locale/programs/charmap-dir.c: New file.
542 * locale/programs/linereader.h (lr_create): New declaration.
543 * locale/programs/linereader.c (lr_create): New function, split out
545 (lr_open): Tailcall lr_create.
546 * locale/programs/locale.c: Include "charmap-dir.h". Don't include
548 (xstrdup): New declaration.
549 (more_help): Use xstrdup instead of strdup.
550 (write_locales): Likewise. When encountering a symbolic link, call
552 (write_charmaps): Simplify using the charmap-dir.h functions.
553 Use xstrdup instead of strdup.
554 * locale/programs/charmap.c: Include "charmap-dir.h". Don't include
555 <dirent.h> and <unistd.h>.
556 (cmlr_open): New function.
557 (charmap_read): Use cmlr_open instead of lr_open. Simplify using the
558 charmap-dir.h functions.
559 * locale/Makefile (distribute): Add charmap-dir.h.
560 (lib-modules): Add charmap-dir.
561 (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
562 wants a 'char **', not a 'const char **'.
563 * include/spawn.h: New file.
565 2000-09-30 Bruno Haible <haible@clisp.cons.org>
567 * posix/spawn_faction_init.c: Include "spawn_int.h".
568 (__posix_spawn_file_actions_realloc): Fix second realloc argument.
570 2000-09-30 Bruno Haible <haible@clisp.cons.org>
572 * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.
574 2000-09-30 Bruno Haible <haible@clisp.cons.org>
576 * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
577 (internal_wcwidth): Remove the tests for L'\0' and iswprint.
578 * locale/programs/ld-ctype.c (find_idx): If max == NULL, return
579 a pointer to the table entry, without extending the table.
580 (allocate_arrays): Set a width only for characters with 'print'
581 property. Set the width of L'\0' to 0.
582 * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
583 for unprintable characters. Set entry of NUL to 0.
585 2000-09-30 Bruno Haible <haible@clisp.cons.org>
587 * locale/programs/charmap.c (charmap_read): Avoid redundant tests.
588 Don't forget to call closedir when the filename was found as a
591 2000-09-30 Bruno Haible <haible@clisp.cons.org>
593 * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
596 2000-09-30 Bruno Haible <haible@clisp.cons.org>
598 * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
599 level2, and level3 as well.
600 (wctype_table_add): Remove a few unnecessary conditionals.
602 2000-09-30 Ralf Baechle <ralf@gnu.org>
604 * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.
606 2000-09-30 H.J. Lu <hjl@gnu.org>
608 * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow.
609 * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise.
611 2000-09-29 H.J. Lu <hjl@gnu.org>
613 * math/libm-test.inc (init_max_error): Clear all exceptions
614 before starting test.
615 (acosh_test): Test for existence of function.
616 (asinh_test): Likewise.
617 (atan2_test): Likewise.
618 (cabs_test): Likewise.
619 (cacos_test): Likewise.
620 (cacosh_test): Likewise.
621 (casin_test): Likewise.
622 (casinh_test): Likewise.
623 (catan_test): Likewise.
624 (catanh_test): Likewise.
625 (ccos_test): Likewise.
626 (ccosh_test): Likewise.
627 (cexp_test): Likewise.
628 (clog_test): Likewise.
629 (clog10_test): Likewise.
630 (cosh_test): Likewise.
631 (cpow_test): Likewise.
632 (csin_test): Likewise.
633 (csinh_test): Likewise.
634 (csqrt_test): Likewise.
635 (ctan_test): Likewise.
636 (ctanh_test): Likewise.
637 (fmod_test): Likewise.
638 (hypot_test): Likewise.
639 (remainder_test): Likewise.
640 (remquo_test): Likewise.
641 (sincos_test): Likewise.
642 (sinh_test): Likewise.
643 (tanh_test): Likewise.
645 2000-09-29 H.J. Lu <hjl@gnu.org>
647 * sysdeps/ia64/ieee754.h: New file.
649 * sysdeps/ia64/fpu/math_ldbl.h: New file.
651 2000-09-30 Jakub Jelinek <jakub@redhat.com>
653 * elf/ldconfig.h (FLAG_X8664_LIB64): Define.
654 * sysdeps/unix/sysv/linux/i386/readelflib.c: New file.
656 2000-09-30 Ulrich Drepper <drepper@redhat.com>
658 * manual/charset.texi: Correct notations, reference to C90 amd 1,
659 and some other details.
660 * manual/ctype.texi: Likewise.
661 Patches by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
663 2000-09-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
665 * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
667 2000-09-29 Ulrich Drepper <drepper@redhat.com>
669 * elf/cache.c (save_cache): Initialize __unused field in new cache
670 as well to get reproducable results.
672 2000-09-29 H.J. Lu <hjl@gnu.org>
674 * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
676 2000-09-29 H.J. Lu <hjl@gnu.org>
678 * sysdeps/ia64/bits/huge_val.h: New file.
680 2000-09-29 Ulrich Drepper <drepper@redhat.com>
682 * elf/chroot_canon.c: Don't report a failure if the last path
683 component is not available.
684 * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting
687 * elf/cache.c (print_cache): Use stat64 instead of stat.
688 * elf/ldconfig.c (chroot_stat): Likewise.
689 (create_links): Likewise.
690 (manual_link): Likewise.
691 (search_dir): Likewise.
692 * elf/readlib.c (process_file): Likewise.
694 * Makefile (install): Set LC_ALL and LANGUAGE to C before running
697 2000-09-29 Jakub Jelinek <jakub@redhat.com>
699 * elf/chroot_canon.c: New file.
700 * elf/Makefile: Build and distribute it.
701 * elf/ldconfig.h (process_file): Add real_file_name argument.
702 (chroot_canon): Add prototype.
703 * elf/ldconfig.c (cache_file): Remove const.
705 (create_links): Add real_path argument.
706 If opt_chroot, maintain both real and given filenames.
707 (manual_link): Likewise.
708 (search_dir): Likewise.
709 (parse_conf): If opt_chroot, use chroot_canon to find the real
711 (main): For -r, try to use chroot, if it fails, leave opt_chroot set
712 and use chroot_canon where appropriate to do the same as if chroot
714 * elf/readlib.c (process_file): Add real_file_name argument, pass it
717 2000-09-29 Ulrich Drepper <drepper@redhat.com>
719 * math/complex.h (_Complex): We can be more specific when _Complex
720 is defined by the compiler.
722 2000-09-29 H.J. Lu <hjl@gnu.org>
724 * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
726 * elf/cache.c (print_entry): Replace 64bit with IA-64 in message
727 for x86/IA-64 binary.
729 2000-09-29 Andreas Schwab <schwab@suse.de>
731 * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
733 * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
735 2000-09-29 Mark Kettenis <kettenis@gnu.org>
737 * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
738 implementation for use by the dynamic linker.
740 2000-09-29 Andreas Jaeger <aj@suse.de>
742 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
744 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
745 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
746 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
747 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
748 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
749 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
751 2000-09-29 Andreas Jaeger <aj@suse.de>
753 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
755 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
756 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
757 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
758 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
762 2000-09-29 David Mosberger <davidm@hpl.hp.com>
764 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
766 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
768 2000-06-10 David Mosberger <davidm@hpl.hp.com>
770 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
771 works: call to __sigjmp_save must be done unconditionally to
772 ensure jmp_buf is initialized properly.
774 2000-09-27 Andreas Jaeger <aj@suse.de>
776 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
779 2000-09-29 Jakub Jelinek <jakub@redhat.com>
781 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
782 Use nscd_ssize_t where appropriate.
783 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
784 ssize_t where appropriate.
785 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
786 * nscd/hstcache.c (cache_addhst): Likewise.
787 * nscd/grpcache.c (cache_addgr): Likewise.
788 * sysdeps/generic/nscd-types.h: New file.
789 * sysdeps/alpha/nscd-types.h: New file.
791 2000-09-29 Ulrich Drepper <drepper@redhat.com>
793 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
794 INADDR_LOOPBACK instead of numeric value.
796 2000-09-28 H.J. Lu <hjl@gnu.org>
798 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
800 (ELF_MACHINE_FIXED_STACK): Removed.
802 2000-09-29 Andreas Jaeger <aj@suse.de>
804 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
806 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
808 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
810 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
812 2000-09-28 Ulrich Drepper <drepper@redhat.com>
814 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
815 relocation also for R_ALPHA_RELATIVE.
816 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
818 2000-09-18 Bruno Haible <haible@clisp.cons.org>
820 * intl/dcigettext.c: Outside libc, use local variable names that don't
821 clash with those in libc.
822 * intl/bindtextdom.c: Likewise.
823 * intl/textdomain.c: Likewise.
825 2000-09-28 Ulrich Drepper <drepper@redhat.com>
827 * elf/ldconfig.c (parse_conf): Print full name of config dir
828 including chroot() path.
829 (main): Remove trailing / from opt_chroot string.
831 * include/features.h: Correct description of what happens if no
832 *_SOURCE macro is defined.
834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
835 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
837 2000-09-19 H.J. Lu <hjl@gnu.org>
839 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
840 * malloc/malloc.c (__memalign_hook): Likewise.
841 (memalign_hook_ini): Likewise.
843 2000-09-28 Ulrich Drepper <drepper@redhat.com>
845 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
847 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
848 underlying functions directly.
850 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
851 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
852 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
853 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
854 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
855 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
856 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
858 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
860 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
861 define it for powerpc for kernel >= 2.4.0.
862 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
864 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
865 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
866 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
867 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
868 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
869 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
871 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
873 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
875 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
876 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
878 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
880 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
882 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
884 2000-09-27 Andreas Schwab <schwab@suse.de>
886 * math/Makefile (distribute): Explicitly add the long double test
887 sources, to get them included even if long double is not supported.
889 2000-09-27 Jes Sorensen <jes@linuxcare.com>
891 * elf/soinit.c (struct object): Move definition to gccframe.h and
892 include it. Problem identified by HJ Lu.
894 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
895 struct object to be searched for frame unwind info.
896 * sysdeps/generic/gccframe.h: New file. Generic version of
897 struct object to be searched for frame unwind info.
899 2000-09-28 Ulrich Drepper <drepper@redhat.com>
901 * manual/errno.texi: Correct error text for ENXIO.
902 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
904 2000-09-27 Jes Sorensen <jes@linuxcare.com>
906 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
907 exception status bits rather than the exception disable bits.
908 Don't include math.h.
910 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
911 status of exceptions currently raised rather than which exceptions
914 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
915 rather than unsigned long int.
917 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
918 the exceptions actually requested by the caller and not just
919 disable all exceptions.
921 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
922 the ia64 are enabled by clearing the respective bits in the fpsr,
925 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
926 unsigned long int rather than unsigned long to be consistent with
927 the coding conventions.
929 2000-09-20 H.J. Lu <hjl@gnu.org>
931 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
933 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
935 2000-09-28 Ulrich Drepper <drepper@redhat.com>
937 * string/bits/string2.h: Unify #if usage.
939 2000-09-27 Jakub Jelinek <jakub@redhat.com>
941 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
942 and disabling underflow or overflow, disable inexact as well.
944 2000-09-26 Andreas Jaeger <aj@suse.de>
946 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
948 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
950 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
951 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
953 * elf/ldconfig.c (search_dir): Allow unlimited path length.
954 (create_links): Likewise.
956 2000-09-27 Ulrich Drepper <drepper@redhat.com>
958 * posix/tst-dir.c: Test a few error cases of chdir.
960 2000-09-26 Ulrich Drepper <drepper@redhat.com>
962 * math/math_private.h: Don't add long double prototypes if
963 NO_LONG_DOUBLE is defined.
965 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
967 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
968 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
970 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
972 2000-09-26 Jakub Jelinek <jakub@redhat.com>
974 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
975 * sysdeps/sparc/sparc32/ieee754.h: New.
976 * sysdeps/sparc/sparc64/bits/endian.h: Move...
977 * sysdeps/sparc/bits/endian.h: ...here.
978 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
979 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
980 %o1, not %o0 to see if we're parent or child. Optimize.
982 2000-09-26 Jes Sorensen <jes@linuxcare.com>
984 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
986 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
988 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
990 2000-09-20 H.J. Lu <hjl@gnu.org>
992 * sysdeps/ia64/fpu/printf_fphex.c: New file.
994 * sysdeps/ia64/fpu/libm-test-ulps: New file.
996 2000-09-17 H.J. Lu <hjl@gnu.org>
998 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
1000 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
1001 sysdeps/i386/fpu/s_isinfl.c.
1003 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
1004 sysdeps/i386/fpu/s_isnanl.c.
1006 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
1007 sysdeps/i386/fpu/s_nextafterl.c.
1009 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
1010 sysdeps/i386/fpu/bits/mathdef.h.
1012 2000-09-16 H.J. Lu <hjl@gnu.org>
1014 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
1015 DL_UNMAP_IS_SPECIAL is not defined.
1017 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
1018 (_dl_unmap): New prototype.
1019 (DL_UNMAP): New. Defined as _dl_unmap.
1021 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
1023 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
1025 2000-09-16 H.J. Lu <hjl@gnu.org>
1027 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
1028 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1030 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
1032 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
1034 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
1035 the memory location of a function from a function descriptor.
1037 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
1039 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
1042 2000-09-14 Jes Sorensen <jes@linuxcare.com>
1044 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
1045 variable as input argument.
1046 (__bswap_32): Likewise.
1048 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
1049 - found by Jim Wilson <wilson@cygnus.com>
1051 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1053 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
1056 2000-09-26 Andreas Schwab <schwab@suse.de>
1058 * locale/programs/ld-collate.c (collate_output): Only require
1059 alignment on __alignof__ (int32_t) instead of 4.
1060 * locale/loadlocale.c (_nl_load_locale): Likewise.
1061 * string/strcoll.c: Likewise.
1063 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1065 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
1066 parentheses around arithmetic used in | statement to kill compiler
1069 * math/math_private.h: Add prototype for __finitel.
1070 (__ilogbl): Likewise.
1071 (__isinfl): Likewise.
1072 (__isnanl): Likewise.
1073 (__atanl): Likewise.
1074 (__copysignl): Likewise.
1075 (__expm1l): Likewise.
1076 (__floorl): Likewise.
1077 (__frexpl): Likewise.
1078 (__ldexpl): Likewise.
1079 (__log1pl): Likewise.
1081 (__rintl): Likewise.
1082 (__scalbnl): Likewise.
1083 (__sqrtl): Likewise.
1085 (__sincosl): Likewise.
1087 2000-09-26 Andreas Schwab <schwab@suse.de>
1089 * sysdeps/m68k/fpu/libm-test-ulps: New file
1091 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1093 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
1095 2000-09-26 Andreas Jaeger <aj@suse.de>
1097 * misc/mkstemp64.c: New file.
1098 * misc/Makefile (routines): Add mkstemp64.
1099 * stdlib/stdlib.h: Add prototype and redirection magic.
1100 * misc/Versions: Add mkstemp64.
1102 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
1104 * nscd/dbg_log.c (dbg_log): Add missing format string.
1106 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1108 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
1109 since we filter out the variable once.
1110 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1111 * locale/newlocale.c (__newlocale): Likewise.
1112 * locale/setlocale.c (setlocale): Likewise.
1113 * malloc/malloc.c (ptmalloc_init): Likewise.
1114 * resolv/res_hconf.c (_res_hconf_init): Likewise.
1115 * resolv/res_init.c (__res_vinit): Likewise.
1116 * time/tzfile.c (__tzfile_read): Likewise.
1117 * sysdeps/generic/unsecvars.h: New file.
1118 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
1119 * elf/rtld.c (process_envvars): Likewise.
1120 * elf/Makefile (distribute): Add unsecvars.h.
1122 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
1123 real /dev/null device.
1125 * sysdeps/generic/check_fds.c: Include device-nrs.h.
1126 * sysdeps/generic/device-nrs.h: New file.
1127 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
1128 * misc/Makefile (distribute): Add device-nrs.h.
1130 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
1131 remove possible garbage at the end of the file.
1133 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1135 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
1136 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
1137 * stdio-common/tempnam.c: Warn about insecure tempnam.
1138 * misc/mktemp.c: Warn about insecure mktemp.
1140 * sysdeps/generic/check_fds.c: Check that file opened is really
1142 * posix/wordexp.c (exec_comm_child): Likewise.
1144 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
1146 * locale/Makefile (routines): Add nl_langinfo_l.
1147 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
1148 * locale/nl_langinfo_l.c: New file.
1149 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
1152 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1154 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
1155 (__gbk_to_ucs): Conditionalize private area mappings.
1156 (__gbk_from_ucs4_tab9): Likewise.
1157 (BODY for TO_LOOP): Likewise.
1158 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
1159 * iconvdata/testdata/GBK..UTF-8: Likewise.
1160 * iconvdata/tst-tables.sh: Enable GBK test.
1162 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1164 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
1165 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
1166 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
1168 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
1169 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
1171 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1173 * iconvdata/johab.c (final_to_ucs): Fix typos.
1174 (jamo_from_ucs_table): Likewise.
1175 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
1176 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
1177 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
1178 the range 0xD9E6..0xD9FE.
1179 * iconvdata/tst-tables.sh: Enable JOHAB testing.
1181 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1183 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
1186 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1188 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
1189 stream is in wide mode.
1191 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
1193 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1195 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
1197 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
1199 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1201 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
1202 reallocation logic for MALLOC (%as, %aS formats).
1204 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1206 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
1207 Add missing case in va_arg handling for numbers.
1208 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
1210 * stdio/tst-printf.sh: Adjust expected results.
1211 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1213 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1215 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
1216 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
1218 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
1219 as equivalent to uppercase hexadecimal digits.
1221 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1223 * iconvdata/testdata/EUC-KR..UTF8: New file.
1224 * iconvdata/testdata/EUC-TW: New file.
1225 * iconvdata/testdata/EUC-TW..UTF8: New file.
1226 * iconvdata/testdata/EUC-JP: New file.
1227 * iconvdata/testdata/EUC-JP..UTF8: New file.
1228 * iconvdata/testdata/ISO-2022-JP: New file.
1229 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
1230 * iconvdata/testdata/ISO-2022-JP-2: New file.
1231 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
1232 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
1233 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
1234 * iconvdata/testdata/ISO-2022-CN: New file.
1235 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
1236 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
1237 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
1238 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
1239 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
1241 2000-09-24 Andreas Jaeger <aj@suse.de>
1243 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
1244 function add_single_dir.
1245 (add_single_dir): New function.
1246 (search_dir): Use add_single_dir instead of recursing.
1248 * sysdeps/generic/dl-cache.h: Include stdint.h.
1249 (struct file_entry_new): Use fixed sizes for interoperability
1250 between 32bit and 64bit systems, add __unused to make alignment
1252 (CACHE_VERSION): Increment.
1253 (struct cache_file_new): Use fixed sizes, add one more unused
1254 entry to make alignment explicit.
1256 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1258 * elf/ldconfig.c (search_dir): Make more use of d_type information.
1260 2000-09-23 Ulrich Drepper <drepper@redhat.com>
1262 * stdio-common/printf-parse.h (parse_one_spec): Clear
1263 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1265 2000-09-18 Mark Kettenis <kettenis@gnu.org>
1267 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
1268 #undef since we don't have msync.
1270 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
1271 constant since that is what clock_t is.
1272 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
1274 2000-09-11 Mark Kettenis <kettenis@gnu.org>
1276 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
1277 multiply by LOAD_SCALE.
1279 2000-09-22 Jakub Jelinek <jakub@redhat.com>
1281 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
1282 (crypt_r, setkey_r, encrypt_r): Likewise.
1284 2000-09-22 Andreas Jaeger <aj@suse.de>
1286 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
1289 * sysdeps/alpha/fpu/libm-test-ulps: New file.
1290 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
1292 2000-09-21 Andreas Jaeger <aj@suse.de>
1294 * math/libm-test.inc (atan_test): Test for existence of function.
1295 (expm1_test): Likewise.
1296 (acos_test): Likewise.
1297 (asin_test): Likewise.
1298 (exp_test): Likewise.
1299 (log10_test): Likewise.
1300 (log_test): Likewise.
1301 (pow_test): Likewise.
1302 (sqrt_test): Likewise.
1303 (cos_test): Likewise.
1304 (sin_test): Likewise.
1305 (tan_test): Likewise.
1306 (log1p_test): Likewise.
1307 (log2_test): Likewise.
1309 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
1311 * libio/oldiofsetpos64.c: Fix alias names.
1313 2000-09-21 Martin Buchholz <martin@xemacs.org>
1315 * manual/terminal.texi (Allocation): Sample code correction.
1317 2000-09-20 Andreas Jaeger <aj@suse.de>
1319 * iconvdata/Makefile (generated): Add tst-tables.out.
1321 * intl/Makefile (generated): Add test output.
1323 2000-09-19 Andreas Jaeger <aj@suse.de>
1325 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
1326 Reported by Jens-Uwe Mager <jum@helios.de>.
1328 2000-09-18 Ulrich Drepper <drepper@redhat.com>
1330 * version.h (VERSION): Bump to 2.1.94.
1332 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
1333 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
1334 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
1335 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
1337 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
1339 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1341 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
1342 range 0xD800..0xDFFF.
1343 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1344 (BODY for FROM_LOOP): Likewise.
1345 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
1346 (internal_ucs2_loop): Likewise.
1347 (ucs2reverse_internal_loop): Likewise.
1348 (internal_ucs2reverse_loop): Likewise.
1350 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1352 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
1355 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1357 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
1358 * iconvdata/tst-table-to.c (main): Likewise.
1360 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1362 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
1364 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
1365 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
1366 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
1367 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
1368 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
1369 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
1370 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
1371 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
1372 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
1373 encodings when needed. When outputting an announcement, don't clear
1374 most other announcements.
1376 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1378 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
1379 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
1381 2000-09-14 Bruno Haible <haible@clisp.cons.org>
1383 * intl/Versions: Add bind_textdomain_codeset.
1385 2000-09-16 Ralf Baechle <ralf@gnu.org>
1387 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
1389 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
1390 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
1391 it will even work when not loaded to the standard address.
1392 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
1393 before the dynamic linker itself is relocated.
1395 2000-09-18 Andreas Jaeger <aj@suse.de>
1397 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1398 __ASSUME_32BITUIDS for MIPS.
1399 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
1400 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
1402 2000-09-17 H.J. Lu <hjl@gnu.org>
1404 * catgets/Makefile ($(objpfx)de/libc.cat): Use
1405 $(make-target-directory) instead of mkdir.
1407 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1409 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1410 __ASSUME_32BITUIDS for __powerpc__.
1411 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
1412 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
1414 2000-09-17 Ulrich Drepper <drepper@redhat.com>
1416 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
1418 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1420 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1422 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
1424 * sysdeps/m68k/Implies: Likewise.
1425 * sysdeps/sparc/sparc64/Implies: Likewise.
1427 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1429 * elf/readlib.c (process_file): Don't error for stale .so links either.
1431 2000-09-16 Ulrich Drepper <drepper@redhat.com>
1433 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
1436 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
1437 Patch by Thorsten Kukuk <kukuk@suse.de>.
1439 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
1440 (test): Add default.
1441 (modules-names): Add defaultmod1 and defaultmod2.
1442 Add rules to build test objects.
1444 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1446 * wctype/wctype.h: Always include <bits/types.h>.
1447 Reported by Jim Meyering <meyering@ascend.com>.
1449 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
1450 * elf/dl-support.c: Likewise.
1452 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
1453 st_blocks member in stat and stat64 structs.
1454 Patch by Bill Nottingham <notting@redhat.com>.
1456 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
1459 * math/complex.h: Don't define _Complex macro for gcc 3. Add
1460 __extension__ to _Complex_I definition since gcc warns if -pedantic.
1461 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
1462 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1464 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
1465 necessary. Move includes of POSIX and Unix limits files to the end.
1466 * stdlib/Makefile (tests): Add tst-limits.
1467 * stdlib/tst-limits.h: New file.
1469 2000-09-15 Andreas Jaeger <aj@suse.de>
1471 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
1473 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
1475 2000-09-15 Jakub Jelinek <jakub@redhat.com>
1477 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
1479 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1480 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
1482 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1484 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
1486 (modules-names): Add nextmod1 and nextmod2.
1487 Add rules to build and run next.
1488 * elf/next.c: New file.
1489 * elf/nextmod1.c: New file.
1490 * elf/nextmod2.c: New file.
1492 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1494 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
1496 2000-09-15 Andreas Jaeger <aj@suse.de>
1498 * sysdeps/mips/fpu/fenv_libc.h: New file.
1499 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
1500 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
1501 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
1503 * sysdeps/mips/fpu/feenablxcpt.c: New file.
1504 * sysdeps/mips/fpu/fegetexcept.c: New file.
1505 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
1507 2000-09-14 Ulrich Drepper <drepper@redhat.com>
1509 * intl/Makefile: Avoid unnecessary test reruns.
1511 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
1513 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
1514 to not use sysctl(). Too many architectures have problems with it.
1516 2000-09-14 Andreas Jaeger <aj@suse.de>
1518 * scripts/config.sub: New version from subversions.gnu.org.
1520 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
1523 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1525 * posix/regex.c (compile_range): Cast collseq index to unsigned char
1526 to avoid accessing data before collseq.
1528 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
1529 pasting strings together.
1531 2000-09-14 Greg McGary <greg@mcgary.org>
1533 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
1535 * sysdeps/generic/bp-semctl.h: Likewise.
1536 * sysdeps/generic/bp-start.h: Likewise.
1537 * sysdeps/generic/bp-sym.h: Likewise.
1538 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
1541 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1543 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
1546 * elf/elf.h: Add missing official relocations.
1548 * libio/stdio.h: Define __FILE if __need___FILE is defined.
1549 * stdio/stdio.h: Likewise.
1550 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
1551 * include/stdio.h: Handle __need___FILE like __need_FILE.
1552 * include/wchar.h: Use __FILE instead of FILE.
1553 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
1554 * libio/fwscanf.c: Likewise.
1555 * libio/getwc.c: Likewise.
1557 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
1558 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
1559 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
1561 * assert/assert.h: Update comment header about ISO C section.
1562 * math/complex.h: Likewise.
1563 * ctype/ctype.h: Likewise.
1564 * include/errno.h: Likewise.
1565 * include/limits.h: Likewise.
1566 * locale/locale.h: Likewise.
1567 * math/math.h: Likewise.
1568 * setjmp/setjmp.h: Likewise.
1569 * signal/signal.h: Likewise.
1570 * stdio/stdio.h: Likewise.
1571 * libio/stdio.h: Likewise.
1572 * stdlib/stdlib.h: Likewise.
1573 * string/string.h: Likewise.
1574 * time/time.h: Likewise.
1575 * wcsmbs/wchar.h: Likewise.
1576 * wctype/wctype.h: Likewise.
1577 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1579 2000-09-13 Andreas Jaeger <aj@suse.de>
1581 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
1582 for no more entries.
1583 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
1584 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
1585 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
1587 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1589 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
1590 constant since this is what clock_t is.
1591 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1592 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
1593 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
1594 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
1596 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
1597 definitions are requested.
1599 2000-09-13 Andreas Jaeger <aj@suse.de>
1601 * shlib-versions: libBrokenLocale needs minimal version for ia64,
1602 sparc64 and sh to synch with libc.
1604 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1606 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
1607 (distribute): Add iso-2022-cn-ext.c.
1608 Add definitions to compile the new module.
1609 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
1610 * iconvdata/iso-2022-cn-ext.c: New file.
1611 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
1612 ucs4_from_isoir165. Increment input pointer if successful.
1614 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
1616 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
1618 2000-09-01 Jes Sorensen <jes@linuxcare.com>
1620 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
1621 __syscall_getdents64 wrapper.
1623 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
1625 2000-09-12 Ulrich Drepper <drepper@redhat.com>
1627 * iconvdata/gb18030.c: Many many changes. Make consistent with
1628 charmap and with itself.
1629 * iconvdata/tst-tables.sh: Test GB18030.
1631 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1633 * iconv/skeleton.c: Fix last patch, add missing parameter to
1634 unaligned function call.
1636 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1638 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
1639 of decimal ellipsis.
1641 2000-09-11 Bruno Haible <haible@clisp.cons.org>
1643 * locale/programs/ld-collate.c (collate_read): Always initialize
1646 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1648 * locale/programs/ld-collate.c (collate_finish): Upper bound for
1649 ruleidx is 128, not 256.
1651 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1653 * locale/programs/ld-collate.c (collate_read): Correct check for
1654 already inserted entries.
1656 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1658 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
1661 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1663 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
1664 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
1666 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1668 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
1671 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1673 * iconvdata/utf-7.c: New file.
1674 * iconvdata/gconv-modules (UTF-7): New module entries.
1675 * iconvdata/Makefile (modules): Add UTF-7.
1676 (distribute): Add utf-7.c.
1677 * iconvdata/testdata/UTF-7: New file.
1678 * iconvdata/testdata/UTF-7..UTF8: New file.
1679 * iconvdata/TESTS (UTF-7): New entry.
1680 * iconvdata/run-iconv-test.sh: Fix confusing output.
1682 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1684 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
1686 2000-09-10 David S. Miller <davem@redhat.com>
1688 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
1689 frame pointer offset for non-fast path.
1691 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1693 * locale/programs/3level.h (*_init): Initialize level1, level2,
1695 (*_add): Remove a few unnecessary conditionals.
1697 2000-09-05 Wolfram Gloger <wg@malloc.de>
1699 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
1700 ensure usability of mutex as an `in use' flag.
1702 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1704 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
1706 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
1707 ugly GMON_WEAK_START hack.
1708 Patch by Philip Blundell <philb@gnu.org>.
1710 * sysdeps/i386/i486/bits/string.h: Pretty printing.
1712 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1714 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
1715 and PPC_ICBI asm for broken compilers.
1716 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1718 2000-09-09 Andreas Jaeger <aj@suse.de>
1720 * manual/message.texi (Advanced gettext functions): Fix typo.
1722 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
1725 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1727 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
1729 * sysdeps/ia64/memccpy.S: Likewise.
1730 Patches by Jim Wilson <wilson@redhat.com>.
1732 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
1733 before trying to read /proc.
1734 Patch by Matt Wilson <msw@redhat.com>.
1735 * include/sys/utsname.h: Declare __uname.
1736 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
1737 * sysdeps/mach/hurd/uname.c: Likewise.
1738 * sysdeps/unix/syscalls.list: Likewise.
1740 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
1743 2000-09-08 Ulrich Drepper <drepper@redhat.com>
1745 * posix/getopt.c (_getopt_internal): When long_only is set always
1746 recognize conflicts just like before.
1748 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1750 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
1752 2000-09-08 Greg McGary <greg@mcgary.org>
1754 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
1755 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
1756 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
1758 2000-09-08 Andreas Jaeger <aj@suse.de>
1760 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
1762 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
1764 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
1765 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1766 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
1768 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1770 * iconvdata/tst-tables.sh: Enable EUC-KR test.
1772 * elf/dl-load.c (lose): Decrement _nl_loaded.
1773 (_dl_map_object_from_fd): Don't try to dlopen executables.
1775 * iconvdata/tst-tables.sh: Actually return with an error if
1776 something goes wrong.
1777 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
1778 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
1780 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
1782 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
1783 * iconvdata/tst-table-from.c: Include <string.h>.
1784 (try): Correct cast in iconv call.
1786 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
1788 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
1789 (sysdep_routines): Remove dl-start.
1790 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1792 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
1794 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
1795 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1797 2000-09-06 Andreas Schwab <schwab@suse.de>
1799 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
1801 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1803 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
1805 * scripts/config.sub: Strip out -unknown for Linux targets.
1806 Patch by Scott Bambrough <scottb@netwinder.org>.
1808 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
1811 2000-09-07 Andreas Jaeger <aj@suse.de>
1813 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
1815 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
1818 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
1820 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
1821 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1823 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
1825 * stdlib/tst-bsearch.c (main): Add more test cases.
1827 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
1828 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1829 Reported by GOTO Masanori <gotom@debian.or.jp>.
1831 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1833 * posix/Makefile (tests): Add tst-dir.
1834 (tst-dir-ARGS): New variable.
1835 * posix/tst-dir.c: New file.
1837 2000-09-07 Andreas Jaeger <aj@suse.de>
1839 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
1842 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
1844 2000-09-06 Ulrich Drepper <drepper@redhat.com>
1846 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
1847 use the hack with tryopen_o_directory to determine at runtime
1849 * sysdeps/unix/sysv/linux/opendir.c: New file.
1850 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1851 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
1853 * catgets/Depend: New file. Add intl.
1854 * catgets/Makefile (tests): Add tst-catgets.
1855 (generated): Remove de.msg.
1856 (generated-dirs): Add de.
1857 Add dependency if tst-catgets output on de/libc.cat.
1858 * catgets/tst-catgets.c: New file.
1860 * po/ja.po: New file.
1861 * po/el.po: Update from translation team.
1863 * wcsmbs/Depend: New file.
1864 * wcsmbs/Makefile (tests): Add tst-btowc.
1865 (tst-btowc-ENV): Define.
1866 * wcsmbs/tst-btowc.c: New file.
1868 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
1869 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
1871 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
1873 * stdlib/Makefile (tests): Add tst-bsearch.
1874 * stdlib/tst-bsearch.c: New file.
1876 * posix/getopt.c (_getopt_internal): Don't recognize an option
1877 name as ambiguous if it's a prefix for more than one name but the
1878 other struct option values are identical.
1880 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
1881 Don't depend on visual inspection of the output file to recognize
1883 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
1885 2000-09-06 Andreas Jaeger <aj@suse.de>
1887 * sysdeps/alpha/soft-fp/Dist: New file.
1888 * sysdeps/i386/soft-fp/Dist: New file.
1889 * sysdeps/mips/mips64/soft-fp/Dist: New file.
1890 * sysdeps/mips/soft-fp/Dist: New file.
1891 * sysdeps/powerpc/soft-fp/Dist: New file.
1892 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
1893 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
1895 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
1896 Use sysdep_routines instead of routines to fix make dist failure.
1897 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
1899 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
1901 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
1902 sysdep_headers instead of headers for make dist.
1904 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
1907 2000-09-06 Andreas Schwab <schwab@suse.de>
1909 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
1911 2000-09-06 Andreas Jaeger <aj@suse.de>
1913 * soft-fp/Makefile (distribute): Remove ChangeLog.
1915 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
1916 sysdep_routines instead of routines for make dist.
1918 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1920 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
1921 compatibility check for old stream and call _IO_wide in doubt.
1922 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
1923 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
1924 needed tst for such an old structure and don't do anything.
1925 * libio/freopen.c: Remove declaration of _IO_stdin_used.
1927 2000-09-06 Andreas Jaeger <aj@suse.de>
1929 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
1930 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1933 * soft-fp/ChangeLog: Merged with this file.
1935 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1937 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
1939 * soft-fp/Makefile (distribute): Add the math functions, too.
1941 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
1943 2000-03-03 Geoff Keating <geoffk@cygnus.com>
1945 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
1948 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
1949 * soft-fp/sysdeps/powerpc/q_*: New files.
1951 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1953 * stdio-common/vfprintf.c (process_string_arg): Handle precision
1954 in wide char case correctly. Don't allocate too long temporary
1955 strings with alloca.
1957 * stdio-common/Makefile (tests): Add tst-swprintf.
1958 (tst-swprintf-ENV): New variable.
1959 * stdio-common/tst-swprintf.c: New file.
1961 2000-09-05 Andreas Jaeger <aj@suse.de>
1963 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
1964 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
1965 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1967 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1969 * configure.in: Strip out "unknown" from configuration names.
1971 2000-09-05 Andreas Jaeger <aj@suse.de>
1973 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
1975 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
1976 * sysdeps/sparc/sparc32/Implies: Likewise.
1977 * sysdeps/powerpc/Implies: Likewise.
1979 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
1980 * libio/oldiofgetpos64.c: Likewise.
1982 * soft-fp/Makefile (distribute): Remove configure.
1984 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
1986 * soft-fp/configure: Remove.
1988 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1989 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1991 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
1992 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
1994 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
1995 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
1997 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
1998 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
2000 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2001 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2003 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
2004 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
2006 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
2007 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
2009 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
2010 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
2012 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
2013 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
2015 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
2016 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
2018 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
2019 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
2021 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
2022 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
2024 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
2025 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
2027 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
2028 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
2030 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
2031 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
2033 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
2034 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
2036 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
2037 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
2039 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
2040 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
2042 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
2043 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
2045 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
2046 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
2048 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
2049 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
2051 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
2052 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
2054 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
2055 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
2057 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
2058 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
2060 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
2061 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
2063 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
2064 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
2066 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
2067 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
2069 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
2070 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
2072 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
2073 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
2075 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
2076 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
2078 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
2079 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
2081 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
2082 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
2084 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
2085 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
2087 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
2088 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
2090 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
2091 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
2093 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
2094 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
2096 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
2097 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
2099 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
2100 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
2102 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
2103 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
2105 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
2106 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
2108 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
2109 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
2111 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
2112 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
2114 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
2115 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
2117 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
2118 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
2120 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
2121 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
2123 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
2124 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
2126 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
2127 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
2129 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
2130 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
2132 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
2133 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
2135 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
2136 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
2138 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
2139 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
2141 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
2142 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
2144 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
2145 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
2147 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
2148 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
2150 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
2151 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
2153 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
2154 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
2156 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
2157 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
2159 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
2160 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
2162 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
2163 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
2165 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
2166 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
2168 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
2169 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
2171 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
2172 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
2174 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
2175 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
2177 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
2178 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
2180 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
2181 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
2183 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
2184 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
2186 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
2187 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
2189 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
2190 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
2192 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
2193 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
2195 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
2196 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
2198 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
2199 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
2201 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
2202 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
2204 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
2205 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
2207 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
2208 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
2210 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
2211 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
2213 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
2214 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
2216 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
2217 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
2219 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
2220 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
2222 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
2223 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
2225 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
2226 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
2228 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
2229 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
2231 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
2232 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
2234 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
2235 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
2237 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
2238 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
2240 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
2241 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
2243 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
2244 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
2246 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
2247 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
2249 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
2250 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
2252 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
2253 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
2255 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
2256 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
2258 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
2259 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
2261 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
2262 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
2264 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
2265 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
2267 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
2268 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
2270 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
2271 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
2273 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
2274 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
2276 * soft-fp/sysdeps/powerpc/Versions: Move from here...
2277 * sysdeps/powerpc/soft-fp/Versions: ... to here.
2279 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
2280 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
2282 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
2283 change symbol version.
2284 * libio/oldiofgetpos64.c: Likewise.
2285 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
2287 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
2289 Reported by dyky@kondara.org, closes PR libc/1886.
2291 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
2294 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2296 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
2297 script when ^C is hit.
2299 * locale/programs/localedef.c (construct_output_path): Correct
2300 computation of endp after asprintf.
2301 * locale/programs/locfile.c (write_locale_data): Don't add extra
2304 2000-09-05 Andreas Jaeger <aj@suse.de>
2306 * scripts/config.guess: New upstream version.
2307 * scripts/config.sub: Likewise.
2308 * manual/texinfo.tex: Likewise.
2310 2000-09-04 Andreas Schwab <schwab@suse.de>
2312 * elf/Makefile (all-dl-routines): New variable.
2313 (elide-routines.os): Use it instead of $(dl-routines).
2314 (all-rtld-routines): New variable.
2315 (extra-objs): Use it instead of $(rtld-routines).
2316 ($(objpfx)dl-allobjs.os): Likewise.
2317 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
2318 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2321 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2323 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
2324 Set fname to NULL if the module wasn't found.
2326 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2328 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
2329 true if trans->name already ends in ".so".
2331 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2333 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
2335 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
2336 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
2337 (__gconv_release_shlib): Change return type to void.
2338 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
2339 step->__counter here.
2340 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
2341 if the reference is zero.
2342 (release_step): New function.
2343 (gen_steps): Always initialize the __counter to 1. Use release_step.
2344 Don't call the destructor on the step whose initializer failed.
2345 (increment_counter): Use release_step. Don't normally run destructors
2347 (__gconv_close_transform): Use release_step.
2349 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2351 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
2352 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
2354 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2356 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
2357 If the first byte is 0x8E, don't ask for 4 bytes until it has been
2358 verified that the second byte is valid. Leave it to cns11643_to_ucs4
2359 to check for incomplete input.
2360 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
2361 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
2362 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2363 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
2365 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
2366 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2367 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
2368 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
2371 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2373 * iconv/gconv_db.c (find_derivation): Always use the least-cost
2376 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2378 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
2381 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2383 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
2384 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
2387 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2389 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
2391 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2393 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
2395 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2397 * iconvdata/tst-tables.sh: New file.
2398 * iconvdata/tst-table.sh: New file.
2399 * iconvdata/tst-table-from.c: New file.
2400 * iconvdata/tst-table-to.c: New file.
2401 * iconvdata/tst-table-charmap.sh: New file.
2402 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
2403 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
2404 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
2405 ISIRI-3342.irreversible, SJIS.irreversible.
2406 (tests): Add dependency on tst-tables.out.
2407 (tst-tables.out, tst-tables-clean): New rules.
2408 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
2409 * iconvdata/ISIRI-3342.irreversible: New file.
2410 * iconvdata/EUC-JP.irreversible: New file.
2411 * iconvdata/SJIS.irreversible: New file.
2413 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2415 * manual/locale.texi (General Numeric): Update description of
2416 representation of the grouping information in the locale data.
2417 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
2419 2000-09-04 Andreas Jaeger <aj@suse.de>
2421 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
2422 * iconv/iconv_prog.c (options): Fix typo.
2423 Reported by dyky@kondara.org, closes PR libc/1885.
2425 2000-09-04 Andreas Jaeger <aj@suse.de>
2427 * sysdeps/generic/fegetenv.c: It's __fegetenv.
2428 Reported by Rob Levin <lilo@transvirtual.com>.
2430 2000-09-03 Ulrich Drepper <drepper@redhat.com>
2432 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
2433 to the typedefs of __timezone_ptr_t.
2434 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
2436 2000-09-02 Jakub Jelinek <jakub@redhat.com>
2438 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
2441 2000-09-01 H.J. Lu <hjl@gnu.org>
2443 * Makeconfig (built-program-cmd): Don't use the dynamic linker
2444 to run a binary if it is in $(tests-static).
2446 * Rules (binaries-static): Add $(tests-static).
2448 2000-09-02 Andreas Jaeger <aj@suse.de>
2450 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
2452 * libio/fmemopen.c (fmemopen_close): Revert one part of last
2455 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2457 * iconvdata/big5hkscs.c: Regenerated from charmap.
2458 * iconvdata/testdata/BIG5HKSCS: Regenerated.
2459 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
2461 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
2462 statement. General cleanup.
2464 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2466 * wctype/wcfuncs.c (iswblank): New function.
2467 * wctype/wcfuncs_l.c (__iswblank_l): New function.
2468 * wctype/wcextra.c: Remove file.
2469 * wctype/wcextra_l.c: Remove file.
2470 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
2472 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2474 * locale/programs/ld-collate.c (collate_output): Remove redundant
2476 * string/strcoll.c: Likewise.
2477 * string/strxfrm.c: Include assert.h. Add assert calls like in
2480 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2482 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
2483 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
2484 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
2485 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
2486 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
2487 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
2488 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
2489 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
2490 _NL_CTYPE_GAP5/6 respectively.
2492 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
2493 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
2494 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
2495 Don't initialize __ctype_names and __ctype_width.
2496 * wctype/cname-lookup.h: Remove file.
2497 * wctype/Makefile (distribute): Remove cname-lookup.h.
2498 * wctype/wchar-lookup.h: Include stdint.h.
2499 * wctype/wctype.c (__wctype): Assume new locale format.
2500 * wctype/wctype_l.c (__wctype_l): Likewise.
2501 * wctype/iswctype.c: Don't include cname-lookup.h.
2502 (__iswctype): Assume new locale format.
2503 * wctype/iswctype_l.c: Don't include cname-lookup.h.
2504 (__iswctype_l): Assume new locale format.
2505 * wctype/wctrans.c: Don't include ctype.h.
2506 (wctrans): Assume new locale format.
2507 * wctype/wctrans_l.c (__wctrans_l): Likewise.
2508 * wctype/towctrans.c: Don't include cname-lookup.h.
2509 (__towctrans): Assume new locale format.
2510 * wctype/towctrans_l.c: Don't include cname-lookup.h.
2511 (__towctrans_l): Assume new locale format.
2512 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
2513 localeinfo.h instead.
2514 (__NO_WCTYPE): Remove unused macro.
2515 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
2517 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
2518 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
2519 (towlower, towupper): Likewise.
2520 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
2521 localeinfo.h instead.
2522 (__NO_WCTYPE): Remove unused macro.
2523 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2524 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2525 __iswxdigit_l): Assume new locale format.
2526 (__towlower_l, __towupper_l): Likewise.
2527 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
2528 (__ctype32_b): Remove declaration.
2529 (internal_wcwidth): Assume new locale format.
2530 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
2531 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
2532 to map32_b, rename width_3level to width.
2533 (ctype_output): Always create new locale format. Don't emit
2534 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
2535 (allocate_arrays): Always create new locale format.
2537 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
2538 * locale/weightwc.h (findidx): Assume new locale format.
2539 * string/strcoll.c (wcscoll): Remove local variables size, layers,
2541 * string/strxfrm.c (wcsxfrm): Likewise.
2542 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
2543 local variable collseq to 'const char *'.
2544 (SUFFIX): Don't use, don't undefine.
2545 * posix/fnmatch.c: Remove SUFFIX definition.
2546 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
2547 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
2548 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
2549 (collate_finish): Always create new locale format. Remove local
2550 variables min_total, act_size.
2551 (collate_output): Always create new locale format. Remove local
2552 variables table_size, names, tablewc. Rename tablewc_3level to
2555 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2557 * locale/programs/ld-collate.c (obstack_int32_grow,
2558 obstack_int32_grow_fast): New inline functions.
2559 (output_weightwc, collate_output): Use them where possible.
2561 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2563 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
2564 patch (_mode -> _flags).
2566 * libio/Makefile (headers): Add stdio_ext.h.
2567 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
2568 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
2569 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
2570 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
2571 __fsetlocking, and _flushlbf.
2572 * libio/__fbufsize.c: New file.
2573 * libio/__flbf.c: New file.
2574 * libio/__fpending.c: New file.
2575 * libio/__fpurge.c: New file.
2576 * libio/__freadable.c: New file.
2577 * libio/__freading.c: New file.
2578 * libio/__fsetlocking.c: New file.
2579 * libio/__fwritable.c: New file.
2580 * libio/__fwriting.c: New file.
2581 * libio/stdio_ext.h: New file.
2582 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
2583 * libio/libio.h (_IO_USER_LOCK): Define.
2584 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
2585 test _IO_USER_LOCK flag first.
2587 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
2590 2000-09-01 Andreas Jaeger <aj@suse.de>
2592 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
2594 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
2596 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2598 * math/Makefile (tests): Add tst-defintions.
2599 * math/tst-definitions.c: New file.
2601 * stdlib/Makefile (headers): Add bits/wchar.h.
2602 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
2603 * sysdeps/generic/bits/wchar.h: New file.
2604 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
2605 file to define WCHAR_MIN and WCHAR_MAX.
2606 Change UINT*8_MAX and UIN*16_MAX value to type int.
2607 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
2608 file to define WCHAR_MIN and WCHAR_MAX.
2609 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
2611 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
2612 * sysdeps/generic/bits/mathdef.h: Likewise.
2613 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2614 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2615 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2616 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2617 * locale/locale.h (struct lconv): Add __ prefix to the new members
2619 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
2620 imaxdiv optimizations.
2621 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
2622 * sysdeps/wordsize-64/ldiv.c: Likewise.
2623 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
2625 * sysdeps/generic/bits/fenv.h: Likewise.
2626 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2627 * sysdeps/ia64/bits/fenv.h: Likewise.
2628 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
2629 * sysdeps/mips/bits/fenv.h: Likewise.
2630 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2631 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2632 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2634 * inet/rcmd.c: Use *stat64 instead of *stat internally.
2635 * inet/ruserpass.c: Likewise.
2636 * catgets/open_catalog.c: Likewise.
2637 * intl/loadmsgcat.c: Likewise.
2638 * io/getdirname.c: Likewise.
2639 * locale/loadlocale.c: Likewise.
2640 * misc/getusershell.c: Likewise.
2641 * stdlib/canonicalize.c: Likewise.
2642 * sysdeps/posix/euidaccess.c: Likewise.
2643 * sysdeps/posix/isfdtype.c: Likewise.
2644 * sysdeps/posix/posix_fallocate.c: Likewise.
2645 * sysdeps/posix/tempname.c: Likewise.
2646 * sysdeps/unix/grantpt.c: Likewise.
2647 * sysdeps/unix/opendir.c: Likewise.
2648 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
2649 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
2650 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2651 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
2652 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2653 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2654 * sysvipc/ftok.c: Likewise.
2655 * time/getdate.c: Likewise.
2657 * time/getdate.c: Add extra access test.
2659 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2661 * version.h (VERSION): Bump to 2.1.93.
2663 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
2664 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
2666 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
2667 Make this a new rule depending on tst-gettext.out and run mtrace.
2668 * intl/tst-gettext.c: Call mtrace.
2669 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
2671 * elf/dl-reloc.c: Add a few more __builtin_expect.
2673 * configure.in: Remove --with-gettext option.
2675 * intl/dcigettext.c (free_mem): Correct freeing of
2676 _nl_domain_bindings list.
2678 * sysdeps/generic/setenv.c (free_mem): New function. Free all
2681 * intl/locale.alias: Add aliases for bokmal and nynorsk.
2683 * locale/iso-639.def: Fix 639-1 code for Bokmal.
2685 * stdio-common/itoa-digits.c: Move upper digits to...
2686 * stdio-common/itoa-udigits.c: ...here. New file.
2687 * stdio-common/Makefile (routines): Add itoa-udigits.
2689 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
2690 relocate ld.so don't add supprt for relocations which should not
2693 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
2694 __secure_getenv. Instead test __libc_enable_secure once.
2696 * io/pwd.c (main): Provide a good example, use *_unlocked function.
2698 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2700 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
2701 whether the new record should be freed if it's a duplicate.
2702 (add_module): Adjust insert_module call.
2703 (__gconv_read_conf): Likewise.
2704 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
2706 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
2708 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
2710 * include/link.h (struct r_search_path_struct): New.
2711 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
2712 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
2714 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
2715 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
2716 added at startup time.
2717 * elf/dl-load.c: Fix memory handling. r_search_path_struct
2718 contains element to remember fact that we can free memory.
2719 (all_dirs): Renamed to _dl_all_dirs. Made global.
2720 (_dl_init_all_dirs): New variable.
2721 (fillin_rpath): Save one malloc call.
2722 (decompose_rpath): Change interface. New first parameter points to
2723 r_search_path_struct.
2724 (_dl_init_paths): Adjust for changes. Mark all memory as not
2725 deletable. Set _dl_init_all_paths value.
2726 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
2727 parameter replaced with r_search_path_struct *. Information about
2728 freeing now contained in r_search_path_struct.
2729 (_dl_map_object): Adjust for above changes.
2731 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
2733 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
2734 when adding new entries.
2736 * elf/dl-load.c (fillin_rpath): Make local copy of where string
2737 since the object being loaded can be unloaded.
2739 * iconvdata/Makefile (tests): Add tst-loading.
2740 * iconvdata/tst-loading.c: New file.
2742 2000-08-29 Bruno Haible <haible@clisp.cons.org>
2744 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
2745 When comparing a char with an int, always cast the char to
2746 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
2747 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
2749 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2751 * time/strftime.c (my_strftime): Add compatibility code for use
2752 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
2754 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
2755 return 0 for success but always < 0 on failure.
2757 * nss/getXXbyYY_r.c: Define result to *result before including
2760 2000-08-30 Andreas Jaeger <aj@suse.de>
2762 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
2764 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2766 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
2768 * iconvdata/TESTS: Add BIG5HKSCS entry.
2769 * iconvdata/testdata/BIG5HKSCS: New file.
2770 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
2772 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
2775 * libio/iogetline.c: Set mode before the loop in case n==0.
2776 * libio/iogetwline.c: Likewise.
2778 2000-08-29 H.J. Lu <hjl@gnu.org>
2780 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
2782 (_IO_new_file_overflow): Likewise.
2783 * libio/genops.c (_IO_flush_all): Likewise.
2784 * libio/ioftell.c (_IO_ftell): Likewise.
2786 2000-08-29 Akira Higuchi <a@kondara.org>
2788 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
2789 and __end_fct fields of struct __gconv_step.
2790 * iconv/Makefile (tests): Add iconv-bug2.
2791 * iconv/iconv-bug2.c: New file.
2793 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
2794 instead of 'inptr - inend' to ksc5601_to_ucs4.
2796 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
2798 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
2799 character or shift sequence is found at the end of the input
2800 string, return__GCONV_INCOMPLETE_INPUT instead of
2801 __GCONV_EMPTY_INPUT.
2802 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
2803 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
2805 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
2806 __GCONV_ILLEGAL_INPUT for 8bit characters.
2808 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2810 * signal/signal.h (sigpause): Move __THROW before __asm__.
2812 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
2813 names don't match don't return.
2814 Patch by Olaf Kirch <okir@flash.lst.de>.
2816 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2818 * time/strftime.c (my_strftime): Handle # flag for %b as well.
2820 2000-08-27 H.J. Lu <hjl@gnu.org>
2822 * posix/Makefile (otherlibs): Add for building with static-nss
2825 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2827 * libio/stdio.h: Add fmemopen prototype.
2829 2000-08-25 Andreas Jaeger <aj@suse.de>
2831 * libio/Makefile (routines): Add fmemopen.
2832 (tests): Add test-fmemopen.
2833 * libio/Versions: Add fmemopen with version GLIBC_2.2.
2834 * libio/test-fmemopen.c: New file.
2835 * libio/fmemopen.c: New file.
2836 Patches by Hanno Mueller <kontakt@hanno.de>.
2838 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2840 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
2841 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
2843 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
2844 to avoid crashing statically linked applications.
2846 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2848 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
2849 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
2851 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
2852 If the result is fits in the buffer, copy only as many bytes as needed.
2854 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
2855 buffer after copying numbuf into it.
2856 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2858 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2860 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
2861 the result. When string_len < len, don't clear the rest of the buffer.
2863 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2865 Support for new LC_COLLATE format.
2866 * locale/coll-lookup.h: New file.
2867 * locale/weightwc.h (findidx): When size == 0, call
2868 collidx_table_lookup.
2869 * wcsmbs/wcscoll.c: Include coll-lookup.h.
2870 * wcsmbs/wcsxfrm.c: Likewise.
2871 * posix/fnmatch.c: Likewise.
2872 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
2873 collseq_table_lookup.
2874 * locale/programs/3level.h: New file.
2875 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
2876 by including "3level.h".
2877 * locale/programs/ld-collate.c (wchead_table, collidx_table,
2878 collseq_table): New types, defined by including "3level.h".
2879 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
2880 (encoding_mask, encoding_byte): Remove.
2881 (utf8_encode): Use simple shifts instead.
2882 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
2883 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
2884 (collate_output): New local variable tablewc_3level. When
2885 !oldstyle_tables, set table_size to 0 and names to NULL and fill
2886 tablewc_3level instead of tablewc. Change format of TABLEWC and
2887 COLLSEQWC entries written to the file.
2888 * locale/C-collate.c (collseqwc): Change format.
2889 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
2891 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
2893 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2895 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
2896 (locale_ctype_t): New charnames_idx field.
2897 (ctype_startup): Initialize charnames_idx field.
2898 (find_idx): Speed up dramatically by using charnames_idx inverse table.
2900 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2902 * locale/C-ctype.c: Switch to new locale format.
2903 (_nl_C_LC_CTYPE_names): Remove array.
2904 (STRUCT_CTYPE_CLASS): New macro.
2905 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2906 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2907 New three-level tables.
2908 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
2909 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
2910 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
2911 12 class tables and 2 map tables at the end.
2912 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
2913 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2914 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2916 (b): Remove trailing semicolon.
2917 (__ctype_names, __ctype_width): Don't initialize.
2918 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
2920 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2922 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
2923 is guaranteed to be allocated with the same malloc() and may be
2925 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
2926 been set to empty by an earlier open_path call, don't pass it again.
2928 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2930 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
2931 we are not optimizing.
2933 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
2936 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
2938 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2940 2000-08-28 Andreas Jaeger <aj@suse.de>
2942 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
2944 2000-08-28 Mark Kettenis <kettenis@gnu.org>
2946 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
2947 getpeername. Use ISO C style function definition.
2948 (getpeername): Provide weak alias.
2949 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
2950 setrlimit. Use ISO C style function definition.
2951 (setrlimit): Provide weak alias.
2953 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
2955 * shlib-versions: Add a rule for S/390 to the libm version list.
2956 * sysdeps/s390/Versions: New file.
2957 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
2958 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
2959 * sysdeps/unix/sysv/linux/s390/Versions: New file.
2960 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
2961 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
2962 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
2963 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
2964 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
2965 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
2966 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
2967 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
2968 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
2969 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
2970 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
2971 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
2972 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
2973 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
2974 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
2976 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2978 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
2979 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
2981 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
2982 * elf/dl-close.c (_dl_close): Print debug message if object is not
2984 * elf/dl-open.c (dl_open_worked): Print message about opencount before
2985 returning to caller.
2987 * po/zh.po: Renamed to...
2988 * po/zh_TW.po: ...this.
2990 2000-08-27 Geoff Keating <geoffk@cygnus.com>
2992 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
2994 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
2995 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
2996 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
2997 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
2999 2000-08-27 Ulrich Drepper <drepper@redhat.com>
3001 * locale/programs/ld-collate.c (insert_weights): Also update
3002 backpointer of next element.
3003 (collate_read): Allow definition of new collation symbols in stage 2.
3004 Symbol after reorder-after can be UCS4 value.
3005 Allow reordering of collation symbols and elements.
3006 Do not only move reorder entry in new position. Instead call
3007 insert_weight to do this and read the weights.
3009 * locale/findlocale.c (free_mem): Add cast to avoid warning.
3011 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
3012 to determine invalid locale name.
3013 * locale/findlocale.c (_nl_find_locale): Likewise.
3015 * posix/annexc.c: Correct test for unavailable feature.
3017 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
3020 2000-08-26 Ulrich Drepper <drepper@redhat.com>
3022 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
3025 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
3026 (sysdep_routines): Add oldgetrlimit64.
3028 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
3029 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
3030 (tests): Add unload, reldep, reldep2, and reldep3.
3031 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
3033 Add rules to build and run unload, reldep, reldep2, and reldep3.
3034 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
3035 Don't create relocation dependency if it is nonzero.
3036 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
3037 can never happen here.
3038 (_dl_lookup_versioned_symbol): Add new parameter explicit.
3039 Don't create relocation dependency if it is nonzero.
3040 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
3041 stuff. This can never happen here.
3042 * sysdeps/generic/ldsodefs.h: Change prototypes.
3043 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
3044 _dl_lookup_up and _dl_lookup_versioned_symbol.
3046 * elf/dl-runtime.c (fixup): Likewise.
3047 (profile_fixup): Likewise.
3048 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
3050 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
3051 * elf/rtld.c (dl_main): Likewise.
3052 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
3053 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
3054 and pass down the caller map.
3055 (_dl_vsym): Likewise.
3056 * elf/reldep.c: New file.
3057 * elf/reldep2.c: New file.
3058 * elf/reldep3.c: New file.
3059 * elf/reldepmod1.c: New file.
3060 * elf/reldepmod2.c: New file.
3061 * elf/reldepmod3.c: New file.
3062 * elf/reldepmod4.c: New file.
3063 * elf/unload.c: New file.
3064 * elf/unloadmod.c: New file.
3066 * elf/do-lookup.h: Remove unused undef_name parameter.
3067 * elf/dl-lookup.c: Adjust callers.
3069 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3071 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
3072 irreversible in recursive call of conversion function to signal that
3073 no error handling is wanted.
3074 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
3075 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
3076 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
3077 recursive error handling call, otherwise to &lirreversible. Use it
3078 for calls to conversion functions.
3079 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
3081 (ucs4_internal_loop_unaligned): Likewise.
3082 (ucs4le_internal_loop): Likewise.
3083 (ucs4le_internal_loop_unaligned): Likewise.
3085 2000-08-25 Greg McGary <greg@mcgary.org>
3087 * sysdeps/i386/memchr.S: Check high bound against chars
3089 * sysdeps/i386/memcmp.S: Likewise.
3090 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
3091 account for pointers that lie one beyond end-of-buffer.
3093 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3095 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
3096 * elf/nodelete.c (fini_ran): New global variable.
3097 (do_test): Before every dlclose call clear fini_ran and test
3098 afterwards that it is not set by the destructors.
3099 * elf/nodelmod1.c: Add destructor which sets fini_ran.
3100 * elf/nodelmod2.c: Likewise.
3101 * elf/nodelmod4.c: Likewise.
3103 2000-08-21 Jes Sorensen <jes@linuxcare.com>
3105 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
3106 getrlimit to the list.
3108 2000-08-18 Jes Sorensen <jes@linuxcare.com>
3110 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
3111 long double format so use ldbl-96 instead of ldbl-128.
3113 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3115 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
3116 even if bits 10 a 11 are non-zero.
3117 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
3119 * Makeconfig: Ensures the soversions.mk part of Makefile gets
3120 included before building gnu/lib-names.h
3121 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3123 * elf/dl-close.c (_dl_close): Don't run destructors of objects
3124 marked DF_1_NODELETE.
3126 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
3127 since we call sigaction in the child.
3129 2000-08-25 Andreas Jaeger <aj@suse.de>
3131 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
3134 2000-08-25 Andreas Jaeger <aj@suse.de>
3136 * manual/arith.texi (Control Functions): Clarify possible
3137 arguments. Closes PR libc/1856.
3139 2000-08-24 H.J. Lu <hjl@gnu.org>
3141 * stdio-common/Makefile (tests): Don't do it for cross compiling.
3142 * malloc/Makefile (tests): Likewise.
3144 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3146 * iconvdata/unicode.c (gconv_init): Correct test for direction.
3148 2000-08-24 Andreas Jaeger <aj@suse.de>
3150 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
3151 only if LIBGD is available.
3153 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3155 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
3156 problems with now restrict parameter types.
3157 (convaddr4to6): Likewise.
3159 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
3161 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
3162 * sysdeps/s390/fpu/feenablxcpt.c: New file.
3163 * sysdeps/s390/fpu/fegetexcept.c: New file.
3164 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
3167 2000-08-24 Andreas Jaeger <aj@suse.de>
3169 * malloc/Makefile (extra-objs): Add memusagestat.o.
3170 (generated): Added memusage and memusagestat for make clean.
3172 * libio/tst_putwc.c (do_test): Delete temporary file.
3173 Move inclusion of test-skeleton to front to have prototype for
3176 * posix/Makefile (generated): Add wordexp-tst.out.
3178 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3180 * resolv/res_hconf.c (free_mem): Remove not needed if.
3182 * time/tzset.c (free_mem): New function.
3183 * string/strsignal.c (free_mem): New function.
3184 * inet/inet_ntoa.c (free_mem): New function.
3185 * sunrpc/clnt_perr.c (free_mem): New function.
3187 2000-08-24 Andreas Jaeger <aj@suse.de>
3189 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
3190 * sysdeps/unix/sysv/syscalls.list: Likewise.
3192 * posix/unistd.h: Move internal prototypes from here ...
3193 * include/unistd.h: ... to here.
3195 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
3197 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3199 * grp/initgroups.c (initgroups): Deallocate groups array.
3200 Reported by jani.raiha@sonera.com [PR libc/1868].
3202 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
3203 * sysdeps/alpha/Dist: Likewise.
3205 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3207 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
3208 destructor). Reported by Solar Designer <solar@false.com>.
3210 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
3211 avoid adding double slashes.
3213 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3215 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
3216 out of the __REDIRECT macro.
3218 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3220 * stdio-common/vfscanf.c: Add %F format support.
3222 * locale/programs/ld-ctype.c (ctype_output): Make sure
3223 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
3224 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
3225 (ctype_read): Enable returning of wide character strings for reading
3226 transliteration information.
3228 2000-08-23 Andreas Jaeger <aj@suse.de>
3230 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
3231 Use static __inline instead of _EXTERN_INLINE.
3233 * misc/sys/select.h: Move prototypes of __select from here ...
3234 * include/sys/select.h: ... to here.
3236 * socket/sys/socket.h: Move prototypes of __send and __connect
3238 * include/sys/socket.h: ... to here.
3240 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
3243 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3245 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
3246 __setrlimit as strong name. Takes only 2 arguments.
3248 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
3249 takes only 2 arguments.
3251 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
3253 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
3255 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
3257 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3259 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
3260 default_missing character being specified, pick the first
3263 2000-08-23 Andreas Jaeger <aj@suse.de>
3265 * include/wchar.h: Add some pure attributes.
3267 * time/time.h: Add const attribute for dysize.
3269 * include/stdlib.h: Add malloc attribute to __posix memalign.
3271 * stdlib/stdlib.h: Add some pure and malloc attributes.
3272 * wcsmbs/wchar.h: Likewise.
3274 * dirent/dirent.h: Add some pure attributes.
3275 * include/dirent.h: Likewise.
3277 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3279 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
3282 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3284 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
3285 missing buffer size checks.
3287 2000-08-23 Andreas Jaeger <aj@suse.de>
3289 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
3291 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3293 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
3294 otherwise __LINUX_KERNEL_VERSION might not be defined.
3295 (MIN): Define if not already defined.
3297 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3299 * stdio-common/vfprintf.c: Handle %F format.
3300 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
3301 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3303 * stdio-common/tstdiomisc.c: Add test for %F printf format.
3305 * po/zh.po: New file.
3307 * iconvdata/sjis.c: In conversion from UCS4, correct test for
3308 enough room in target buffer.
3309 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
3310 * iconvdata/bug-iconv1.c: New file.
3311 * iconvdata/Makefile (tests): Add bug-iconv1.
3313 * locale/iso-4217.def: Update entry for Nicaragua.
3315 2000-08-22 Mark Kettenis <kettenis@gnu.org>
3317 * hurd/hurdsig.c: Rearrange headers a bit.
3318 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
3319 when cthreads is being used.
3321 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3323 * elf/Makefile (distribute): Add dl-osinfo.h.
3324 * sysdeps/generic/dl-osinfo.h: New file.
3325 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
3326 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
3328 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
3329 only for !SHARED case. Get the code from dl-osinfo.h.
3331 * stdlib/random_r.c: Cleanups.
3332 * stdlib/tst-random.c: New file.
3333 * stdlib/Makefile (tests): Add tst-random.
3334 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
3336 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3338 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
3339 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
3340 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
3341 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
3343 2000-08-22 Jakub Jelinek <jakub@redhat.com>
3345 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
3346 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
3347 (__syscall__sysctl): Add.
3349 2000-08-21 Andreas Jaeger <aj@suse.de>
3351 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
3353 * stdlib/tst-strtoll.c: Likewise.
3355 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3357 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
3359 (__initstate_r): Set errno on error.
3360 (__random_r): Likewise.
3361 (__setstate_r): Correct offset when computing
3362 new rptr and fptr. Test for arg_state being NULL.
3363 Reported by Michael Fischer <fischer@cs.yale.edu>.
3365 * posix/regex.h: Add macro definitions to allow compiling outside
3368 * sysdeps/i370/Implies: Removed.
3369 * sysdeps/mvs/Implies: Removed.
3371 * catgets/catgets.c (catopen): Filter out env_var values with / if
3374 * locale/findlocale.c (_nl_find_locale): Move test for unusable
3375 locale name after all getenvs.
3377 * configure.in: Allow sed versions like 3.02.8.
3378 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
3380 2000-08-21 Marko Myllynen <myllynen@lut.fi>
3382 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
3384 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3386 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
3387 of gethostbyname2_r call.
3389 * intl/locale.alias: Add aliases for Korean.
3391 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3393 * sysdeps/s390/__longjmp.c: Remove unused variable result.
3394 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
3395 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
3396 * sysdeps/s390/fpu/fegetenv.c: New file.
3397 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
3398 * sysdeps/s390/fpu/feholdexcpt.c: New file.
3399 * sysdeps/s390/fpu/fenv_libc.h: New file.
3400 * sysdeps/s390/fpu/fesetenv.c: New file.
3401 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
3402 * sysdeps/s390/fpu/feupdateenv.c: New file.
3403 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
3404 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
3405 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
3406 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
3407 * sysdeps/s390/fpu/ftestexcept.c: New file.
3408 * sysdeps/s390/fpu/libm-test-ulps: New file.
3409 * sysdeps/s390/gmp-mparam.h: Add end of comment.
3410 * sysdeps/s390/initfini.c: New file.
3411 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
3412 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
3413 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
3414 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
3415 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
3416 sys/procfs.h as proposed by Mark Kettenis.
3417 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
3419 2000-08-21 Andreas Jaeger <aj@suse.de>
3421 * include/poll.h: Include include/sys/poll.h to get __poll
3424 * io/sys/poll.h: Move __poll declaration from here...
3425 * include/sys/poll.h: ...to here.
3427 * include/sys/socket.h (__getpeername): Add declaration.
3429 * include/wchar.h (__vswprintf): Add declaration.
3431 * include/stdio.h (__flockfile): Add declaration.
3432 (__funlockfile): Likewise.
3434 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3436 * misc/sys/cdefs.h: Define __restrict_arr.
3437 * include/sys/time.h: Add restrict where required by AGd4.
3438 * inet/arpa/inet.h: Likewise.
3439 * io/sys/stat.h: Likewise.
3440 * io/sys/statvfs.h: Likewise.
3441 * misc/search.h: Likewise.
3442 * misc/sys/select.h: Likewise.
3443 * posix/glob.h: Likewise.
3444 * posix/regex.h: Likewise.
3445 * posix/spawn.h: Likewise.
3446 * posix/unistd.h: Likewise.
3447 * rt/aio.h: Likewise.
3448 * signal/signal.h: Likewise.
3449 * socket/sys/socket.h: Likewise.
3450 * stdlib/ucontext.h: Likewise.
3451 * streams/stropts.h: Likewise.
3452 * string/string.h: Likewise.
3453 * time/time.h: Likewise.
3454 * time/sys/time.h: Likewise.
3456 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
3457 and posix_spawnattr_setscheparam.
3459 * libio/stdio.h: Make cuserid prototype again available for all
3462 * argp/argp-help.c: Unify use of function aliases to make more compact
3464 * include/libintl.h: Likewise.
3465 * inet/rcmd.c: Likewise.
3466 * intl/dcigettext.c: Likewise.
3467 * libio/iofputws.c: Likewise.
3468 * libio/iofputws_u.c: Likewise.
3469 * libio/iogetwline.c: Likewise.
3470 * libio/swprintf.c: Likewise.
3471 * malloc/malloc.c: Likewise.
3472 * nss/digits_dots.c: Likewise.
3473 * posix/fnmatch.c: Likewise.
3474 * posix/spawn_faction_addclose.c: Likewise.
3475 * posix/spawn_faction_adddup2.c: Likewise.
3476 * posix/spawn_faction_addopen.c: Likewise.
3477 * posix/spawni.c: Likewise.
3478 * posix/wordexp.c: Likewise.
3479 * posix/spawni.c: Likewise.
3480 * resolv/res_hconf.c: Likewise.
3481 * resolv/res_init.c: Likewise.
3482 * shadow/lckpwdf.c: Likewise.
3483 * signal/sighold.c: Likewise.
3484 * signal/sigrelse.c: Likewise.
3485 * stdio-common/printf-parse.h: Likewise.
3486 * stdio-common/printf-prs.c: Likewise.
3487 * stdio-common/printf_fp.c: Likewise.
3488 * stdio-common/vfprintf.c: Likewise.
3489 * stdio-common/vfscanf.c: Likewise.
3490 * stdlib/rpmatch.c: Likewise.
3491 * sunrpc/create_xid.c: Likewise.
3492 * sunrpc/key_call.c: Likewise.
3493 * sysdeps/generic/setrlimit64.c: Likewise.
3494 * sysdeps/generic/utmp_file.c: Likewise.
3495 * sysdeps/generic/vlimit.c: Likewise.
3496 * sysdeps/posix/posix_fallocate.c: Likewise.
3497 * sysdeps/posix/posix_fallocate64.c: Likewise.
3498 * sysdeps/posix/sigpause.c: Likewise.
3499 * sysdeps/posix/sigset.c: Likewise.
3500 * sysdeps/unix/grantpt.c: Likewise.
3501 * sysdeps/unix/bsd/ualarm.c: Likewise.
3502 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
3503 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
3504 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3505 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3506 * time/strftime.c: Likewise.
3507 * wcsmbs/wcscoll.c: Likewise.
3508 * wcsmbs/wcsxfrm.c: Likewise.
3510 * time/tst-getdate.c (main): Make error messages more human readable.
3512 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
3513 postinc/predec instruction.
3514 (_FPU_SETCW): Likewise.
3515 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3517 2000-08-20 Andreas Jaeger <aj@suse.de>
3519 * time/tst-getdate.c (main): Increase error in case of wrong
3521 Fix typo in test case.
3523 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3525 * ctype/ctype.h (isblank): Make available if ISO C99.
3526 * wctype/wctype.h (iswblank): Make available if ISO C99.
3527 * math/math.h (signgam): Don't make available if ISO C99.
3528 * math/tgmath.h (tgamma): Renamed from gamma.
3529 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
3531 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
3533 * intl/plural.y (new_exp): Take number of optional parameters in
3534 second parameter. Test for correct number of parameters and free
3535 correctly in case of failure. Adjust all callers.
3536 (yylex): Allow ';' as terminator character.
3538 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3540 * locale/lc-time.c (free_mem): New function. Free alt_digits and
3543 * locale/findlocale.c (free_mem): Also free here->filename.
3545 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
3547 * math/test-fenv.c (feenv_tests): Clear all exceptions before
3549 (feexcp_nomask_test): Correct printf args.
3550 (feexcp_mask_test): Likewise.
3552 2000-08-19 Andreas Jaeger <aj@suse.de>
3554 * inet/tst-gethnm.c: Include string.h to provide prototype for
3557 * malloc/mtrace.pl (usage): Inform about --help.
3559 2000-08-19 Wolfram Gloger <wg@malloc.de>
3561 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
3564 2000-08-19 Andreas Jaeger <aj@suse.de>
3566 * shlib-versions: Remove libnss_db, libdb and libdb1.
3568 2000-08-19 Jakub Jelinek <jakub@redhat.com>
3570 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
3571 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
3572 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
3573 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
3574 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
3575 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
3576 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
3577 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
3578 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
3579 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
3581 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
3582 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3584 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3586 * include/glob.h (__glob64): Add prototype.
3587 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
3588 define glob and glob_in_dir.
3589 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.