1 2000-10-23 Andreas Schwab <schwab@suse.de>
3 * sysdeps/m68k/fpu/libm-test-ulps: Updated.
5 2000-10-23 Ulrich Drepper <drepper@redhat.com>
7 * elf/elf.h (R_IA64_GPREL32MSB, R_IA64_GPREL32LSB): New definitions.
9 2000-10-22 Bruno Haible <haible@clisp.cons.org>
11 * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings
12 for 0x8BF8, 0xA27E..0xA2A7.
13 * iconvdata/BIG5HKSCS.irreversible: New file.
15 2000-10-23 Jakub Jelinek <jakub@redhat.com>
17 * timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES.
18 * timezone/zic.c (main): Likewise.
20 2000-10-23 Thorsten Kukuk <kukuk@suse.de>
22 * nscd/connections.c (invalidate_cache): Don't invalidate a cache
25 2000-10-23 Andreas Jaeger <aj@suse.de>
27 * sysdeps/s390/fpu/libm-test-ulps: New ulps.
29 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add fcntl64.
30 Patch by Ralf Baechle <ralf@gnu.org>.
32 2000-10-21 Ulrich Drepper <drepper@redhat.com>
34 * elf/dl-load.c (_dl_map_object_from_fd): Split out ELF file
35 verification in open_verify.
36 (open_verify): New function. Called instead of open. Ignores valid
37 files for other architectures.
38 (open_path): Call open_verify instead of open.
39 (_dl_map_object): Likewise.
40 Somewhat based on a patch by Don Dugger <n0ano@valinux.com>.
42 * io/pwd.c (main): The output was missing a newline.
44 * posix/fnmatch_loop.c: Make FNM_LEADING_DIR behave as GNU tar
45 expects it. Patch by Colin Watson <riva.ucam.org>.
46 * posix/tst-fnmatch.input: Add test cases for FNM_LEADING_DIR.
48 * elf/dl-open.c (add_to_global): New function. Split out from
50 (dl_open_worker): Call add_to_global not only for new objects, also for
51 previously loaded objects when (mode & RTLD_GLOBAL) and the object
52 was not yet in the global scope.
53 * elf/Makefile: Add rules to build and run lateglobal.
54 * elf/lateglobal.c: New file.
55 * elf/ltglobmod1.c: New file.
56 * elf/ltglobmod2.c: New file.
58 2000-10-20 Ulrich Drepper <drepper@redhat.com>
60 * include/link.h (struct link_map): Add l_soname_added bitfield.
61 * elf/dl-load.c (_dl_map_object): Remember when we added the
62 SONAME to the l_libname list and don't try it again.
64 * elf/dl-close.c: Decrement opencount for all dependencies which can
65 be removed even if the object is not yet unloaded.
66 * elf/dl-deps.c (_dl_map_object_deps): If dependency is already in
67 the list decrement opencount of all dependencies.
68 * elf/dl-load.c (_dl_map_object_from_fd): Increment object of object
70 (_dl_map_object): Likewise.
71 * elf/dl-lookup.c (add_dependency): Likewise.
73 * elf/loadtest.c: Add debug when with more output.
75 * elf/Makefile: Add rules to build and run unload2.
76 * elf/unload2.c: New file.
77 * elf/unload2mod.c: New file.
78 * elf/unload2dep.c: New file.
80 * intl/libintl.h (ngettext macro): Add missing parameter.
81 (dngettext macro): Likewise.
83 2000-10-19 H.J. Lu <hjl@gnu.org>
85 * elf/Makefile (distribute): Add neededtest.c, neededobj1.c,
86 neededobj2.c and neededobj3.c.
87 (tests): Add neededtest.
88 (modules-names): Add neededobj1, neededobj2 and neededobj3.
89 ($(objpfx)neededobj1.so): New target.
90 ($(objpfx)neededobj2.so): Likewise.
91 ($(objpfx)neededobj3.so): Likewise.
92 ($(objpfx)neededtest): Likewise.
93 ($(objpfx)neededtest.out): Likewise.
94 * elf/neededtest.c: New. Based on the bug report from
95 Allen Bauer <kylix_rd@hotmail.com>.
96 * elf/neededobj1.c: Likewise.
97 * elf/neededobj2.c: Likewise.
98 * elf/neededobj3.c: Likewise.
100 2000-10-20 Ulrich Drepper <drepper@redhat.com>
102 * elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header
103 to elf_machine_matches_host.
104 * sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter
105 is now pointer to ELF header.
106 * sysdeps/arm/dl-machine.h: Likewise.
107 * sysdeps/generic/dl-machine.h: Likewise.
108 * sysdeps/hppa/dl-machine.h: Likewise.
109 * sysdeps/i386/dl-machine.h: Likewise.
110 * sysdeps/ia64/dl-machine.h: Likewise.
111 * sysdeps/m68k/dl-machine.h: Likewise.
112 * sysdeps/mips/dl-machine.h: Likewise.
113 * sysdeps/mips/mips64/dl-machine.h: Likewise.
114 * sysdeps/powerpc/dl-machine.h: Likewise.
115 * sysdeps/s390/dl-machine.h: Likewise.
116 * sysdeps/sh/dl-machine.h: Likewise.
117 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
118 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
119 Patch by Martin Schwidefsksy <schwidefsky@de.ibm.com>.
121 2000-10-20 Jakub Jelinek <jakub@redhat.com>
123 * include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64
124 check instead of #ifdef __alpha__.
125 * include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on
126 INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when
129 2000-10-20 Ulrich Drepper <drepper@redhat.com>
131 * posix/wordexp-tst.sh (testout): Place output file in build
132 directory. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
134 * sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print.
136 2000-10-19 Ulrich Drepper <drepper@redhat.com>
138 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
139 Correctly handle numeric group member information.
140 Patch by tomasw@cs.huji.ac.il.
142 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
143 Complete test for strtol overflow.
145 2000-10-19 Jakub Jelinek <jakub@redhat.com>
147 * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union
148 semun as 4th argument to semctl syscall, not address of it.
150 2000-10-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
152 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall.
154 2000-10-17 Andreas Schwab <schwab@suse.de>
156 * string/string.h: Remove declaration of __strcasecmp and __strcasestr.
157 * include/string.h: Declare them here.
159 2000-10-18 Ralf Baechle <ralf@gnu.org>
161 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include <asm/unistd.h>.
163 2000-10-19 Geoffrey Keating <geoffk@cygnus.com>
165 * sysdeps/powerpc/fpu/bits/mathinline.h: Add versions
166 of the unordered comparison functions that use the GCC builtins.
168 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function.
169 (__process_machine_rela): Print the address of an overflowing
172 2000-10-18 Ulrich Drepper <drepper@redhat.com>
174 * sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point
176 (freeit): Remove unnecessary test.
178 2000-10-18 Andreas Jaeger <aj@suse.de>
180 * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New.
181 (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers.
182 (elf_machine_runtime_link_map): Likewise.
183 (elf_machine_runtime_setup): Likewise.
184 Handle dynamic linker's local got entries.
185 Patches by Ralf Baechle <ralf@gnu.org>.
187 2000-10-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
189 * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as
190 the frame pointer. Allocate stack space for $a0 for
191 __dl_runtime_resolve(). Do not save $sp in $s0 as it's
194 2000-10-17 Ulrich Drepper <drepper@redhat.com>
196 * sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in
199 2000-10-17 Andreas Schwab <schwab@suse.de>
201 * sysdeps/m68k/fpu/libm-test-ulps: Update for changes in
204 2000-10-17 Jakub Jelinek <jakub@redhat.com>
206 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
207 Add missing backslash.
209 2000-10-16 Ulrich Drepper <drepper@redhat.com>
211 * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Little cleanup.
213 * sysdeps/i386/fpu/libm-test-ulps: Update for changes in libm-test.inc.
215 2000-10-16 Jakub Jelinek <jakub@redhat.com>
217 * math/libm-test.inc (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase
219 (acos_test, asin_text, cexp_test, cos_test, cproj_test, exp10_test,
220 sin_test, sincos_test, sqrt_test): Likewise. Add L suffixes also
222 (acosh_test, asinh_test, atan2_test, atanh_test, atan_test, cabs_test,
223 cacosh_test, cacos_test, casinh_test, casin_test, catanh_test,
224 catan_test, cbrt_test, ccosh_test, ccos_test, clog10_test, cosh_test,
225 csinh_test, csin_test, csqrt_test, ctanh_test, ctan_test, erfc_test,
226 erf_test, exp2_test, expm1_test, exp_test, fmod_test, hypot_test,
227 j0_test, j1_test, jn_test, lgamma_test, llrint_test, llround_test,
228 log10_test, log1p_test, log2_test, log_test, lrint_test, lround_test,
229 nextafter_test, nexttoward_test, pow_test, round_test, scalb_test,
230 sinh_test, static void, tanh_test, tan_test, tgamma_test, y0_test,
231 y1_test, yn_test): Add L suffixes also to parameters.
232 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Fix mask.
233 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
234 * soft-fp/op-2.h (_FP_FRAC_SRS_2): Fix computation of sticky bit.
236 2000-10-16 Ulrich Drepper <drepper@redhat.com>
238 * timezone/Makefile: Define HAVE_GETTEXT for zdump.c, zic.c,
239 ialloc.c, and scheck.c.
240 * malloc/obstack.c: Always include <libintl.h> for glibc.
241 * posix/getopt.c: Likewise.
242 Reported by Petr Vandrovec <VANDROVE@vc.cvut.cz>.
244 2000-10-15 Pete Wyckoff <pw@osc.edu>
246 * Rules: Define _LIBC during generation of bits/stdio_lim.d.
248 2000-10-15 Pete Wyckoff <pw@osc.edu>
250 * iconvdata/tst-tables.sh: Invoke other shell scripts through ${SHELL}.
251 * iconvdata/tst-table.sh: Likewise.
253 2000-10-15 Ulrich Drepper <drepper@redhat.com>
255 * elf/dl-error.c (_dl_signal_error): Allocate memory for objname
256 as well. Reported by Alexander V. Lukyanov <lav@yars.free.net>.
258 * iconvdata/gconv-modules: Add aliases for Winblowz charsets.
259 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
261 2000-10-13 Andreas Schwab <schwab@suse.de>
263 * elf/elf.h (R_IA64_PCREL60B): Add relocation.
265 2000-10-15 Ulrich Drepper <drepper@redhat.com>
267 * sysdeps/unix/sysv/linux/hppa/brk.c: Cleanups.
268 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
269 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
270 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Likewise.
271 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
273 2000-10-14 Ulrich Drepper <drepper@redhat.com>
275 * math/libm-test.inc (frexp_test): Add L suffix also to parameters.
276 (hypot_test): Likewise.
278 * sysdeps/generic/printf_fphex.c: Compute width of decimal point
279 string correctly. Handle padding correctly.
281 * sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters
283 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
284 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
286 2000-10-12 Alan Modra <alan@linuxcare.com.au>
288 * FAQ.in: Add --start-group and --end-group.
290 2000-10-12 Alan Modra <alan@linuxcare.com.au>
292 * malloc/memusage.c: Conditionalize stack usage calculation on
295 2000-10-12 Alan Modra <alan@linuxcare.com.au>
297 * config.h.in: Add ASM_LINE_SEP.
298 * configure.in: Add test for comment and line separators.
299 * include/libc-symbols.h: Define and use ASM_LINE_SEP, and add tabs to
300 placate some hppa assemblers.
301 * sysdeps/hppa/sysdep.h: Likewise.
302 * sysdeps/gnu/siglist.c: Insert \n and \t into inline asm.
303 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
305 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
307 * sysdeps/unix/sysv/linux/Makefile: Include <bits/initspin> in
309 * sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for
310 non-threaded platforms.
312 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
314 * configure.in: Add definitions for hppa.
315 * elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments
316 for IPLT and EPLT relocations.
317 * shlib-versions: Version symbol definitions for hppa-linux.
318 * sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel
321 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
323 * sysdeps/hppa/Makefile: New file.
324 * sysdeps/hppa/Versions: New file.
326 * sysdeps/hppa/setjmp.S: New file.
327 * sysdeps/hppa/__longjmp.S: New file.
328 * sysdeps/hppa/bits/setjmp.h: New file.
329 * sysdeps/hppa/frame.h: New file.
331 * sysdeps/hppa/add_n.s: Don't use %r19 (linkage table pointer).
332 * sysdeps/hppa/sub_n.s: Likewise.
333 * sysdeps/hppa/lshift.s: Likewise.
334 * sysdeps/hppa/rshift.s: Likewise.
335 * sysdeps/hppa/udiv_qrnnd.s: Likewise.
336 * sysdeps/hppa/hppa1.1/addmul_1.s: Likewise.
337 * sysdeps/hppa/hppa1.1/submul_1.s: Likewise.
338 * sysdeps/hppa/hppa1.1/mul_1.s: Likewise.
339 * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Likewise.
341 * sysdeps/hppa/dl-machine.h: New file.
342 * sysdeps/hppa/dl-fptr.c: New file (note that this is almost
343 identical to the IA-64 one).
344 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
345 * sysdeps/hppa/dl-symaddr.c: Likewise.
347 * sysdeps/hppa/elf/initfini.c: New file.
348 * sysdeps/hppa/elf/start.S: New file.
350 * sysdeps/hppa/fpu/bits/fenv.h: New file.
351 * sysdeps/hppa/fpu/fclrexcpt.c: New file.
352 * sysdeps/hppa/fpu/fedisblxcpt.c: New file.
353 * sysdeps/hppa/fpu/feenablxcpt.c: New file.
354 * sysdeps/hppa/fpu/fegetenv.c: New file.
355 * sysdeps/hppa/fpu/fegetexcept.c: New file.
356 * sysdeps/hppa/fpu/fegetround.c: New file.
357 * sysdeps/hppa/fpu/feholdexcpt.c: New file.
358 * sysdeps/hppa/fpu/fesetenv.c: New file.
359 * sysdeps/hppa/fpu/fesetround.c: New file.
360 * sysdeps/hppa/fpu/feupdateenv.c: New file.
361 * sysdeps/hppa/fpu/fegetexcptflg.c: New file.
362 * sysdeps/hppa/fpu/fraiseexcpt.c: New file.
363 * sysdeps/hppa/fpu/fsetexcptflg.c: New file.
364 * sysdeps/hppa/fpu/ftestexcept.c: New file.
366 * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
367 * sysdeps/unix/sysv/linux/hppa/Versions: New file.
368 * sysdeps/unix/sysv/linux/hppa/syscalls.list: New file.
369 * sysdeps/unix/sysv/linux/hppa/sysdep.c: New file.
370 * sysdeps/unix/sysv/linux/hppa/sysdep.h: New file.
373 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: New file.
374 * sysdeps/unix/sysv/linux/hppa/bits/ioctls.h: New file.
375 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: New file.
376 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: New file.
377 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: New file.
378 * sysdeps/unix/sysv/linux/hppa/brk.c: New file.
379 * sysdeps/unix/sysv/linux/hppa/clone.S: New file.
380 * sysdeps/unix/sysv/linux/hppa/socket.S: New file.
381 * sysdeps/unix/sysv/linux/hppa/syscall.S: New file.
382 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: New file.
383 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: New file.
384 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: New file.
385 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: New file.
386 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: New file.
387 * sysdeps/unix/sysv/linux/hppa/mmap.c: New file.
388 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: New file.
389 * sysdeps/unix/sysv/linux/hppa/procfs.h: New file.
390 * sysdeps/unix/sysv/linux/hppa/ucontext.h: New file.
391 * sysdeps/unix/sysv/linux/hppa/umount.c: New file.
393 2000-10-12 Alan Modra <alan@linuxcare.com.au>
395 * sysdeps/hppa/hppa1.1/Implies: New file.
396 * sysdeps/hppa/memusage.h: New file.
398 2000-10-28 Jes Sorensen <jes@linuxcare.com>
400 * sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb,
401 inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw,
402 _outl. Reported by Bill Nottingham.
404 2000-04-06 Andreas Schwab <schwab@suse.de>
406 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
407 restore register r8 for functions that return a structure.
409 2000-10-12 Jakub Jelinek <jakub@redhat.com>
411 * math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl,
412 M_SQRT_PIl): Increase precision.
413 (cbrt_test): If cbrt is not implemented, don't test it.
414 Add L suffix to double constants in results which differ from their
415 L suffixed counterparts.
416 (exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise.
418 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
420 2000-10-11 Jakub Jelinek <jakub@redhat.com>
422 * inet/rexec.c (rexec_af): Convert rport to host order before
423 passing it to snprintf.
425 2000-10-14 Ulrich Drepper <drepper@redhat.com>
427 * sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of
428 uintXX_t since this is what <sys/types.h> defines and we include
429 this header. Reported by Bernhard Rosenkraenzer <bero@redhat.de>.
431 * intl/localealias.c (read_alias_file): Update string pointers
432 in map[] if realloc() changed the values.
433 Patch by Jakub Jelinek <jakub@redhat.com>.
435 * manual/stdio.texi: Update printf extension documentation after
436 z became a valid modifier.
437 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
439 * timezone/africa: Update from tzcode2000g and tzdata2000g.
440 * timezone/asia: Likewise.
441 * timezone/australasia: Likewise.
442 * timezone/backward: Likewise.
443 * timezone/europe: Likewise.
444 * timezone/iso3166.tab: Likewise.
445 * timezone/northamerica: Likewise.
446 * timezone/southamerica: Likewise.
447 * timezone/zone.tab: Likewise.
449 2000-10-14 Geoffrey Keating <geoffk@cygnus.com>
451 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl()
454 2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
456 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file.
457 * sysdeps/unix/sysv/linux/m68k/fcntl.c: New file.
458 * sysdeps/unix/sysv/linux/m68k/getdents64.c: New file.
459 * sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file.
460 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file.
461 * sysdeps/unix/sysv/linux/m68k/glob64.c: New file.
462 * sysdeps/unix/sysv/linux/m68k/lockf64.c: New file.
463 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file.
464 * sysdeps/unix/sysv/linux/m68k/readdir64.c: New file.
465 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file.
466 * sysdeps/unix/sysv/linux/m68k/scandir64.c: New file.
467 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file.
468 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file.
469 * sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c.
470 * sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64.
471 * sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64,
472 __fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit,
473 getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at
475 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit,
476 oldsetrlimit for GLIBC_2.0.
478 * sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct
479 arguments to _dl_init.
481 2000-10-13 Geoffrey Keating <geoffk@cygnus.com>
483 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs for my Pentium III
484 building with the default options.
486 2000-10-11 Andreas Jaeger <aj@suse.de>
488 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache.
489 Patch by Denis Zaitsev <zzz@cd-club.ru>.
491 2000-10-09 Jakub Jelinek <jakub@redhat.com>
493 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): If x == y,
495 * manual/arith.texi (nextafter): Document it.
496 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Fix a comment.
498 2000-10-08 Ulrich Drepper <drepper@redhat.com>
500 * version.h (VERSION): Bump to 2.1.95.
502 * configure.in: Remove warning message.
504 * nscd/Makefile (distribute): Add nscd-types.h.
505 * elf/Makefile (distribute): Add gccframe.h.
506 * sysdeps/sparc/sparc32/Dist: Add ieee754.h.
507 * sysdeps/ia64/Dist: Add ieee754.h.
509 2000-10-07 Ulrich Drepper <drepper@redhat.com>
511 * elf/elf.h: Add a few section-related symbols.
513 * include/features.h (__STDC_ISO_10646__): Set to correct date.
514 Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
516 2000-10-06 Jes Sorensen <jes@linuxcare.com>
518 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Implement
519 overflow generation by adding DBL_MAX to DBL_MAX instead of
520 setting the bits manually in the fpsr and generating the exception
521 with kill() if necessary.
522 (feraiseexcept): Implement underflow by dividing DBL_MIN by
523 DBL_MIN - similar to the overflow change described above.
525 2000-08-27 H.J. Lu <hjl@gnu.org>
527 * sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone
528 is not supported under Linux/ia64, use clone2.
530 2000-10-06 Jakub Jelinek <jakub@redhat.com>
532 * malloc/malloc.h (__THROW): Define to nothing if not gcc.
533 * misc/sys/cdefs.h (__THROW): Likewise.
535 2000-10-05 Jakub Jelinek <jakub@redhat.com>
537 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.
539 2000-10-02 Jakub Jelinek <jakub@redhat.com>
541 * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
542 remaining xp_pad space.
544 2000-10-05 Jakub Jelinek <jakub@redhat.com>
546 * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
547 DF_1_NODELETE, not list[i]'s.
549 2000-10-04 Ulrich Drepper <drepper@redhat.com>
551 * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9.
552 (BODY from direction): Map \x5c to U20a9.
553 * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change.
554 * iconvdata/EUC-KR.irreversible: New file.
555 * iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
557 * argp/argp-parse.c (argp_default_argp): Set libc as message domain.
558 (argp_version_argp): Likewise.
560 2000-10-04 Jakub Jelinek <jakub@redhat.com>
562 * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do
563 input_error() if EOF is seen before processing.
564 * stdio-common/tstscanf.c (main): Add testcase.
566 2000-10-04 Ulrich Drepper <drepper@redhat.com>
568 * argp/argp-help.c: Make sure we get the correct gettext and
569 dgettext definitions.
570 * argp/argp-parse.c: Likewise.
572 2000-10-03 Ulrich Drepper <drepper@redhat.com>
574 * locale/programs/linereader.c (get_string): Also clear wide
575 string info if illegal_string.
577 2000-10-03 Andreas Schwab <schwab@suse.de>
579 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file.
581 2000-10-02 Jakub Jelinek <jakub@redhat.com>
583 * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
586 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
588 2000-10-02 Ralf Baechle <ralf@gnu.org>
590 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the
591 end of inline assembler code.
593 2000-10-02 Ulrich Drepper <drepper@redhat.com>
595 * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define
596 __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing.
598 2000-10-02 Andreas Jaeger <aj@suse.de>
600 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux
603 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS.
605 2000-10-01 Ralf Baechle <ralf@gnu.org>
607 * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp
608 argument passed to _dl_init.
610 2000-09-30 Bruno Haible <haible@clisp.cons.org>
612 * locale/programs/charmap-dir.h: New file.
613 * locale/programs/charmap-dir.c: New file.
614 * locale/programs/linereader.h (lr_create): New declaration.
615 * locale/programs/linereader.c (lr_create): New function, split out
617 (lr_open): Tailcall lr_create.
618 * locale/programs/locale.c: Include "charmap-dir.h". Don't include
620 (xstrdup): New declaration.
621 (more_help): Use xstrdup instead of strdup.
622 (write_locales): Likewise. When encountering a symbolic link, call
624 (write_charmaps): Simplify using the charmap-dir.h functions.
625 Use xstrdup instead of strdup.
626 * locale/programs/charmap.c: Include "charmap-dir.h". Don't include
627 <dirent.h> and <unistd.h>.
628 (cmlr_open): New function.
629 (charmap_read): Use cmlr_open instead of lr_open. Simplify using the
630 charmap-dir.h functions.
631 * locale/Makefile (distribute): Add charmap-dir.h.
632 (lib-modules): Add charmap-dir.
633 (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
634 wants a 'char **', not a 'const char **'.
635 * include/spawn.h: New file.
637 2000-09-30 Bruno Haible <haible@clisp.cons.org>
639 * posix/spawn_faction_init.c: Include "spawn_int.h".
640 (__posix_spawn_file_actions_realloc): Fix second realloc argument.
642 2000-09-30 Bruno Haible <haible@clisp.cons.org>
644 * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.
646 2000-09-30 Bruno Haible <haible@clisp.cons.org>
648 * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
649 (internal_wcwidth): Remove the tests for L'\0' and iswprint.
650 * locale/programs/ld-ctype.c (find_idx): If max == NULL, return
651 a pointer to the table entry, without extending the table.
652 (allocate_arrays): Set a width only for characters with 'print'
653 property. Set the width of L'\0' to 0.
654 * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
655 for unprintable characters. Set entry of NUL to 0.
657 2000-09-30 Bruno Haible <haible@clisp.cons.org>
659 * locale/programs/charmap.c (charmap_read): Avoid redundant tests.
660 Don't forget to call closedir when the filename was found as a
663 2000-09-30 Bruno Haible <haible@clisp.cons.org>
665 * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
668 2000-09-30 Bruno Haible <haible@clisp.cons.org>
670 * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
671 level2, and level3 as well.
672 (wctype_table_add): Remove a few unnecessary conditionals.
674 2000-09-30 Ralf Baechle <ralf@gnu.org>
676 * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.
678 2000-09-30 H.J. Lu <hjl@gnu.org>
680 * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow.
681 * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise.
683 2000-09-29 H.J. Lu <hjl@gnu.org>
685 * math/libm-test.inc (init_max_error): Clear all exceptions
686 before starting test.
687 (acosh_test): Test for existence of function.
688 (asinh_test): Likewise.
689 (atan2_test): Likewise.
690 (cabs_test): Likewise.
691 (cacos_test): Likewise.
692 (cacosh_test): Likewise.
693 (casin_test): Likewise.
694 (casinh_test): Likewise.
695 (catan_test): Likewise.
696 (catanh_test): Likewise.
697 (ccos_test): Likewise.
698 (ccosh_test): Likewise.
699 (cexp_test): Likewise.
700 (clog_test): Likewise.
701 (clog10_test): Likewise.
702 (cosh_test): Likewise.
703 (cpow_test): Likewise.
704 (csin_test): Likewise.
705 (csinh_test): Likewise.
706 (csqrt_test): Likewise.
707 (ctan_test): Likewise.
708 (ctanh_test): Likewise.
709 (fmod_test): Likewise.
710 (hypot_test): Likewise.
711 (remainder_test): Likewise.
712 (remquo_test): Likewise.
713 (sincos_test): Likewise.
714 (sinh_test): Likewise.
715 (tanh_test): Likewise.
717 2000-09-29 H.J. Lu <hjl@gnu.org>
719 * sysdeps/ia64/ieee754.h: New file.
721 * sysdeps/ia64/fpu/math_ldbl.h: New file.
723 2000-09-30 Jakub Jelinek <jakub@redhat.com>
725 * elf/ldconfig.h (FLAG_X8664_LIB64): Define.
726 * sysdeps/unix/sysv/linux/i386/readelflib.c: New file.
728 2000-09-30 Ulrich Drepper <drepper@redhat.com>
730 * manual/charset.texi: Correct notations, reference to C90 amd 1,
731 and some other details.
732 * manual/ctype.texi: Likewise.
733 Patches by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
735 2000-09-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
737 * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
739 2000-09-29 Ulrich Drepper <drepper@redhat.com>
741 * elf/cache.c (save_cache): Initialize __unused field in new cache
742 as well to get reproducable results.
744 2000-09-29 H.J. Lu <hjl@gnu.org>
746 * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
748 2000-09-29 H.J. Lu <hjl@gnu.org>
750 * sysdeps/ia64/bits/huge_val.h: New file.
752 2000-09-29 Ulrich Drepper <drepper@redhat.com>
754 * elf/chroot_canon.c: Don't report a failure if the last path
755 component is not available.
756 * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting
759 * elf/cache.c (print_cache): Use stat64 instead of stat.
760 * elf/ldconfig.c (chroot_stat): Likewise.
761 (create_links): Likewise.
762 (manual_link): Likewise.
763 (search_dir): Likewise.
764 * elf/readlib.c (process_file): Likewise.
766 * Makefile (install): Set LC_ALL and LANGUAGE to C before running
769 2000-09-29 Jakub Jelinek <jakub@redhat.com>
771 * elf/chroot_canon.c: New file.
772 * elf/Makefile: Build and distribute it.
773 * elf/ldconfig.h (process_file): Add real_file_name argument.
774 (chroot_canon): Add prototype.
775 * elf/ldconfig.c (cache_file): Remove const.
777 (create_links): Add real_path argument.
778 If opt_chroot, maintain both real and given filenames.
779 (manual_link): Likewise.
780 (search_dir): Likewise.
781 (parse_conf): If opt_chroot, use chroot_canon to find the real
783 (main): For -r, try to use chroot, if it fails, leave opt_chroot set
784 and use chroot_canon where appropriate to do the same as if chroot
786 * elf/readlib.c (process_file): Add real_file_name argument, pass it
789 2000-09-29 Ulrich Drepper <drepper@redhat.com>
791 * math/complex.h (_Complex): We can be more specific when _Complex
792 is defined by the compiler.
794 2000-09-29 H.J. Lu <hjl@gnu.org>
796 * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
798 * elf/cache.c (print_entry): Replace 64bit with IA-64 in message
799 for x86/IA-64 binary.
801 2000-09-29 Andreas Schwab <schwab@suse.de>
803 * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
805 * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
807 2000-09-29 Mark Kettenis <kettenis@gnu.org>
809 * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
810 implementation for use by the dynamic linker.
812 2000-09-29 Andreas Jaeger <aj@suse.de>
814 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
816 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
817 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
818 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
819 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
820 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
821 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
823 2000-09-29 Andreas Jaeger <aj@suse.de>
825 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
827 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
828 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
829 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
830 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
831 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
834 2000-09-29 David Mosberger <davidm@hpl.hp.com>
836 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
838 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
840 2000-06-10 David Mosberger <davidm@hpl.hp.com>
842 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
843 works: call to __sigjmp_save must be done unconditionally to
844 ensure jmp_buf is initialized properly.
846 2000-09-27 Andreas Jaeger <aj@suse.de>
848 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
851 2000-09-29 Jakub Jelinek <jakub@redhat.com>
853 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
854 Use nscd_ssize_t where appropriate.
855 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
856 ssize_t where appropriate.
857 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
858 * nscd/hstcache.c (cache_addhst): Likewise.
859 * nscd/grpcache.c (cache_addgr): Likewise.
860 * sysdeps/generic/nscd-types.h: New file.
861 * sysdeps/alpha/nscd-types.h: New file.
863 2000-09-29 Ulrich Drepper <drepper@redhat.com>
865 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
866 INADDR_LOOPBACK instead of numeric value.
868 2000-09-28 H.J. Lu <hjl@gnu.org>
870 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
872 (ELF_MACHINE_FIXED_STACK): Removed.
874 2000-09-29 Andreas Jaeger <aj@suse.de>
876 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
878 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
880 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
882 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
884 2000-09-28 Ulrich Drepper <drepper@redhat.com>
886 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
887 relocation also for R_ALPHA_RELATIVE.
888 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
890 2000-09-18 Bruno Haible <haible@clisp.cons.org>
892 * intl/dcigettext.c: Outside libc, use local variable names that don't
893 clash with those in libc.
894 * intl/bindtextdom.c: Likewise.
895 * intl/textdomain.c: Likewise.
897 2000-09-28 Ulrich Drepper <drepper@redhat.com>
899 * elf/ldconfig.c (parse_conf): Print full name of config dir
900 including chroot() path.
901 (main): Remove trailing / from opt_chroot string.
903 * include/features.h: Correct description of what happens if no
904 *_SOURCE macro is defined.
906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
907 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
909 2000-09-19 H.J. Lu <hjl@gnu.org>
911 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
912 * malloc/malloc.c (__memalign_hook): Likewise.
913 (memalign_hook_ini): Likewise.
915 2000-09-28 Ulrich Drepper <drepper@redhat.com>
917 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
919 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
920 underlying functions directly.
922 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
923 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
924 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
925 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
926 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
927 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
928 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
930 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
932 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
933 define it for powerpc for kernel >= 2.4.0.
934 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
936 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
937 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
938 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
939 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
940 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
941 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
943 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
945 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
947 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
948 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
950 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
952 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
954 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
956 2000-09-27 Andreas Schwab <schwab@suse.de>
958 * math/Makefile (distribute): Explicitly add the long double test
959 sources, to get them included even if long double is not supported.
961 2000-09-27 Jes Sorensen <jes@linuxcare.com>
963 * elf/soinit.c (struct object): Move definition to gccframe.h and
964 include it. Problem identified by HJ Lu.
966 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
967 struct object to be searched for frame unwind info.
968 * sysdeps/generic/gccframe.h: New file. Generic version of
969 struct object to be searched for frame unwind info.
971 2000-09-28 Ulrich Drepper <drepper@redhat.com>
973 * manual/errno.texi: Correct error text for ENXIO.
974 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
976 2000-09-27 Jes Sorensen <jes@linuxcare.com>
978 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
979 exception status bits rather than the exception disable bits.
980 Don't include math.h.
982 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
983 status of exceptions currently raised rather than which exceptions
986 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
987 rather than unsigned long int.
989 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
990 the exceptions actually requested by the caller and not just
991 disable all exceptions.
993 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
994 the ia64 are enabled by clearing the respective bits in the fpsr,
997 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
998 unsigned long int rather than unsigned long to be consistent with
999 the coding conventions.
1001 2000-09-20 H.J. Lu <hjl@gnu.org>
1003 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
1005 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1007 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1009 * string/bits/string2.h: Unify #if usage.
1011 2000-09-27 Jakub Jelinek <jakub@redhat.com>
1013 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
1014 and disabling underflow or overflow, disable inexact as well.
1016 2000-09-26 Andreas Jaeger <aj@suse.de>
1018 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
1020 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
1022 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
1023 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
1025 * elf/ldconfig.c (search_dir): Allow unlimited path length.
1026 (create_links): Likewise.
1028 2000-09-27 Ulrich Drepper <drepper@redhat.com>
1030 * posix/tst-dir.c: Test a few error cases of chdir.
1032 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1034 * math/math_private.h: Don't add long double prototypes if
1035 NO_LONG_DOUBLE is defined.
1037 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
1039 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
1040 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
1042 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
1044 2000-09-26 Jakub Jelinek <jakub@redhat.com>
1046 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
1047 * sysdeps/sparc/sparc32/ieee754.h: New.
1048 * sysdeps/sparc/sparc64/bits/endian.h: Move...
1049 * sysdeps/sparc/bits/endian.h: ...here.
1050 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
1051 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
1052 %o1, not %o0 to see if we're parent or child. Optimize.
1054 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1056 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
1058 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
1059 code by Hans Boehm).
1060 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
1062 2000-09-20 H.J. Lu <hjl@gnu.org>
1064 * sysdeps/ia64/fpu/printf_fphex.c: New file.
1066 * sysdeps/ia64/fpu/libm-test-ulps: New file.
1068 2000-09-17 H.J. Lu <hjl@gnu.org>
1070 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
1072 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
1073 sysdeps/i386/fpu/s_isinfl.c.
1075 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
1076 sysdeps/i386/fpu/s_isnanl.c.
1078 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
1079 sysdeps/i386/fpu/s_nextafterl.c.
1081 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
1082 sysdeps/i386/fpu/bits/mathdef.h.
1084 2000-09-16 H.J. Lu <hjl@gnu.org>
1086 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
1087 DL_UNMAP_IS_SPECIAL is not defined.
1089 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
1090 (_dl_unmap): New prototype.
1091 (DL_UNMAP): New. Defined as _dl_unmap.
1093 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
1095 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
1097 2000-09-16 H.J. Lu <hjl@gnu.org>
1099 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
1100 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1102 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
1104 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
1106 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
1107 the memory location of a function from a function descriptor.
1109 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
1111 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
1114 2000-09-14 Jes Sorensen <jes@linuxcare.com>
1116 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
1117 variable as input argument.
1118 (__bswap_32): Likewise.
1120 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
1121 - found by Jim Wilson <wilson@cygnus.com>
1123 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1125 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
1128 2000-09-26 Andreas Schwab <schwab@suse.de>
1130 * locale/programs/ld-collate.c (collate_output): Only require
1131 alignment on __alignof__ (int32_t) instead of 4.
1132 * locale/loadlocale.c (_nl_load_locale): Likewise.
1133 * string/strcoll.c: Likewise.
1135 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1137 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
1138 parentheses around arithmetic used in | statement to kill compiler
1141 * math/math_private.h: Add prototype for __finitel.
1142 (__ilogbl): Likewise.
1143 (__isinfl): Likewise.
1144 (__isnanl): Likewise.
1145 (__atanl): Likewise.
1146 (__copysignl): Likewise.
1147 (__expm1l): Likewise.
1148 (__floorl): Likewise.
1149 (__frexpl): Likewise.
1150 (__ldexpl): Likewise.
1151 (__log1pl): Likewise.
1153 (__rintl): Likewise.
1154 (__scalbnl): Likewise.
1155 (__sqrtl): Likewise.
1157 (__sincosl): Likewise.
1159 2000-09-26 Andreas Schwab <schwab@suse.de>
1161 * sysdeps/m68k/fpu/libm-test-ulps: New file
1163 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1165 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
1167 2000-09-26 Andreas Jaeger <aj@suse.de>
1169 * misc/mkstemp64.c: New file.
1170 * misc/Makefile (routines): Add mkstemp64.
1171 * stdlib/stdlib.h: Add prototype and redirection magic.
1172 * misc/Versions: Add mkstemp64.
1174 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
1176 * nscd/dbg_log.c (dbg_log): Add missing format string.
1178 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1180 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
1181 since we filter out the variable once.
1182 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1183 * locale/newlocale.c (__newlocale): Likewise.
1184 * locale/setlocale.c (setlocale): Likewise.
1185 * malloc/malloc.c (ptmalloc_init): Likewise.
1186 * resolv/res_hconf.c (_res_hconf_init): Likewise.
1187 * resolv/res_init.c (__res_vinit): Likewise.
1188 * time/tzfile.c (__tzfile_read): Likewise.
1189 * sysdeps/generic/unsecvars.h: New file.
1190 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
1191 * elf/rtld.c (process_envvars): Likewise.
1192 * elf/Makefile (distribute): Add unsecvars.h.
1194 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
1195 real /dev/null device.
1197 * sysdeps/generic/check_fds.c: Include device-nrs.h.
1198 * sysdeps/generic/device-nrs.h: New file.
1199 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
1200 * misc/Makefile (distribute): Add device-nrs.h.
1202 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
1203 remove possible garbage at the end of the file.
1205 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1207 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
1208 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
1209 * stdio-common/tempnam.c: Warn about insecure tempnam.
1210 * misc/mktemp.c: Warn about insecure mktemp.
1212 * sysdeps/generic/check_fds.c: Check that file opened is really
1214 * posix/wordexp.c (exec_comm_child): Likewise.
1216 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
1218 * locale/Makefile (routines): Add nl_langinfo_l.
1219 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
1220 * locale/nl_langinfo_l.c: New file.
1221 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
1224 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1226 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
1227 (__gbk_to_ucs): Conditionalize private area mappings.
1228 (__gbk_from_ucs4_tab9): Likewise.
1229 (BODY for TO_LOOP): Likewise.
1230 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
1231 * iconvdata/testdata/GBK..UTF-8: Likewise.
1232 * iconvdata/tst-tables.sh: Enable GBK test.
1234 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1236 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
1237 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
1238 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
1240 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
1241 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
1243 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1245 * iconvdata/johab.c (final_to_ucs): Fix typos.
1246 (jamo_from_ucs_table): Likewise.
1247 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
1248 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
1249 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
1250 the range 0xD9E6..0xD9FE.
1251 * iconvdata/tst-tables.sh: Enable JOHAB testing.
1253 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1255 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
1258 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1260 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
1261 stream is in wide mode.
1263 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
1265 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1267 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
1269 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
1271 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1273 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
1274 reallocation logic for MALLOC (%as, %aS formats).
1276 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1278 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
1279 Add missing case in va_arg handling for numbers.
1280 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
1282 * stdio/tst-printf.sh: Adjust expected results.
1283 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1285 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1287 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
1288 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
1290 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
1291 as equivalent to uppercase hexadecimal digits.
1293 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1295 * iconvdata/testdata/EUC-KR..UTF8: New file.
1296 * iconvdata/testdata/EUC-TW: New file.
1297 * iconvdata/testdata/EUC-TW..UTF8: New file.
1298 * iconvdata/testdata/EUC-JP: New file.
1299 * iconvdata/testdata/EUC-JP..UTF8: New file.
1300 * iconvdata/testdata/ISO-2022-JP: New file.
1301 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
1302 * iconvdata/testdata/ISO-2022-JP-2: New file.
1303 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
1304 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
1305 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
1306 * iconvdata/testdata/ISO-2022-CN: New file.
1307 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
1308 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
1309 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
1310 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
1311 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
1313 2000-09-24 Andreas Jaeger <aj@suse.de>
1315 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
1316 function add_single_dir.
1317 (add_single_dir): New function.
1318 (search_dir): Use add_single_dir instead of recursing.
1320 * sysdeps/generic/dl-cache.h: Include stdint.h.
1321 (struct file_entry_new): Use fixed sizes for interoperability
1322 between 32bit and 64bit systems, add __unused to make alignment
1324 (CACHE_VERSION): Increment.
1325 (struct cache_file_new): Use fixed sizes, add one more unused
1326 entry to make alignment explicit.
1328 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1330 * elf/ldconfig.c (search_dir): Make more use of d_type information.
1332 2000-09-23 Ulrich Drepper <drepper@redhat.com>
1334 * stdio-common/printf-parse.h (parse_one_spec): Clear
1335 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1337 2000-09-18 Mark Kettenis <kettenis@gnu.org>
1339 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
1340 #undef since we don't have msync.
1342 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
1343 constant since that is what clock_t is.
1344 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
1346 2000-09-11 Mark Kettenis <kettenis@gnu.org>
1348 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
1349 multiply by LOAD_SCALE.
1351 2000-09-22 Jakub Jelinek <jakub@redhat.com>
1353 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
1354 (crypt_r, setkey_r, encrypt_r): Likewise.
1356 2000-09-22 Andreas Jaeger <aj@suse.de>
1358 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
1361 * sysdeps/alpha/fpu/libm-test-ulps: New file.
1362 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
1364 2000-09-21 Andreas Jaeger <aj@suse.de>
1366 * math/libm-test.inc (atan_test): Test for existence of function.
1367 (expm1_test): Likewise.
1368 (acos_test): Likewise.
1369 (asin_test): Likewise.
1370 (exp_test): Likewise.
1371 (log10_test): Likewise.
1372 (log_test): Likewise.
1373 (pow_test): Likewise.
1374 (sqrt_test): Likewise.
1375 (cos_test): Likewise.
1376 (sin_test): Likewise.
1377 (tan_test): Likewise.
1378 (log1p_test): Likewise.
1379 (log2_test): Likewise.
1381 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
1383 * libio/oldiofsetpos64.c: Fix alias names.
1385 2000-09-21 Martin Buchholz <martin@xemacs.org>
1387 * manual/terminal.texi (Allocation): Sample code correction.
1389 2000-09-20 Andreas Jaeger <aj@suse.de>
1391 * iconvdata/Makefile (generated): Add tst-tables.out.
1393 * intl/Makefile (generated): Add test output.
1395 2000-09-19 Andreas Jaeger <aj@suse.de>
1397 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
1398 Reported by Jens-Uwe Mager <jum@helios.de>.
1400 2000-09-18 Ulrich Drepper <drepper@redhat.com>
1402 * version.h (VERSION): Bump to 2.1.94.
1404 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
1405 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
1406 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
1407 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
1409 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
1411 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1413 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
1414 range 0xD800..0xDFFF.
1415 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1416 (BODY for FROM_LOOP): Likewise.
1417 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
1418 (internal_ucs2_loop): Likewise.
1419 (ucs2reverse_internal_loop): Likewise.
1420 (internal_ucs2reverse_loop): Likewise.
1422 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1424 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
1427 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1429 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
1430 * iconvdata/tst-table-to.c (main): Likewise.
1432 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1434 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
1436 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
1437 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
1438 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
1439 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
1440 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
1441 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
1442 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
1443 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
1444 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
1445 encodings when needed. When outputting an announcement, don't clear
1446 most other announcements.
1448 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1450 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
1451 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
1453 2000-09-14 Bruno Haible <haible@clisp.cons.org>
1455 * intl/Versions: Add bind_textdomain_codeset.
1457 2000-09-16 Ralf Baechle <ralf@gnu.org>
1459 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
1461 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
1462 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
1463 it will even work when not loaded to the standard address.
1464 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
1465 before the dynamic linker itself is relocated.
1467 2000-09-18 Andreas Jaeger <aj@suse.de>
1469 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1470 __ASSUME_32BITUIDS for MIPS.
1471 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
1472 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
1474 2000-09-17 H.J. Lu <hjl@gnu.org>
1476 * catgets/Makefile ($(objpfx)de/libc.cat): Use
1477 $(make-target-directory) instead of mkdir.
1479 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1481 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1482 __ASSUME_32BITUIDS for __powerpc__.
1483 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
1484 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
1486 2000-09-17 Ulrich Drepper <drepper@redhat.com>
1488 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
1490 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1492 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1494 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
1496 * sysdeps/m68k/Implies: Likewise.
1497 * sysdeps/sparc/sparc64/Implies: Likewise.
1499 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1501 * elf/readlib.c (process_file): Don't error for stale .so links either.
1503 2000-09-16 Ulrich Drepper <drepper@redhat.com>
1505 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
1508 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
1509 Patch by Thorsten Kukuk <kukuk@suse.de>.
1511 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
1512 (test): Add default.
1513 (modules-names): Add defaultmod1 and defaultmod2.
1514 Add rules to build test objects.
1516 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1518 * wctype/wctype.h: Always include <bits/types.h>.
1519 Reported by Jim Meyering <meyering@ascend.com>.
1521 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
1522 * elf/dl-support.c: Likewise.
1524 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
1525 st_blocks member in stat and stat64 structs.
1526 Patch by Bill Nottingham <notting@redhat.com>.
1528 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
1531 * math/complex.h: Don't define _Complex macro for gcc 3. Add
1532 __extension__ to _Complex_I definition since gcc warns if -pedantic.
1533 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
1534 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1536 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
1537 necessary. Move includes of POSIX and Unix limits files to the end.
1538 * stdlib/Makefile (tests): Add tst-limits.
1539 * stdlib/tst-limits.h: New file.
1541 2000-09-15 Andreas Jaeger <aj@suse.de>
1543 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
1545 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
1547 2000-09-15 Jakub Jelinek <jakub@redhat.com>
1549 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
1551 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1552 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
1554 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1556 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
1558 (modules-names): Add nextmod1 and nextmod2.
1559 Add rules to build and run next.
1560 * elf/next.c: New file.
1561 * elf/nextmod1.c: New file.
1562 * elf/nextmod2.c: New file.
1564 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1566 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
1568 2000-09-15 Andreas Jaeger <aj@suse.de>
1570 * sysdeps/mips/fpu/fenv_libc.h: New file.
1571 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
1572 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
1573 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
1575 * sysdeps/mips/fpu/feenablxcpt.c: New file.
1576 * sysdeps/mips/fpu/fegetexcept.c: New file.
1577 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
1579 2000-09-14 Ulrich Drepper <drepper@redhat.com>
1581 * intl/Makefile: Avoid unnecessary test reruns.
1583 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
1585 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
1586 to not use sysctl(). Too many architectures have problems with it.
1588 2000-09-14 Andreas Jaeger <aj@suse.de>
1590 * scripts/config.sub: New version from subversions.gnu.org.
1592 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
1595 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1597 * posix/regex.c (compile_range): Cast collseq index to unsigned char
1598 to avoid accessing data before collseq.
1600 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
1601 pasting strings together.
1603 2000-09-14 Greg McGary <greg@mcgary.org>
1605 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
1607 * sysdeps/generic/bp-semctl.h: Likewise.
1608 * sysdeps/generic/bp-start.h: Likewise.
1609 * sysdeps/generic/bp-sym.h: Likewise.
1610 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
1613 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1615 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
1618 * elf/elf.h: Add missing official relocations.
1620 * libio/stdio.h: Define __FILE if __need___FILE is defined.
1621 * stdio/stdio.h: Likewise.
1622 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
1623 * include/stdio.h: Handle __need___FILE like __need_FILE.
1624 * include/wchar.h: Use __FILE instead of FILE.
1625 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
1626 * libio/fwscanf.c: Likewise.
1627 * libio/getwc.c: Likewise.
1629 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
1630 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
1631 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
1633 * assert/assert.h: Update comment header about ISO C section.
1634 * math/complex.h: Likewise.
1635 * ctype/ctype.h: Likewise.
1636 * include/errno.h: Likewise.
1637 * include/limits.h: Likewise.
1638 * locale/locale.h: Likewise.
1639 * math/math.h: Likewise.
1640 * setjmp/setjmp.h: Likewise.
1641 * signal/signal.h: Likewise.
1642 * stdio/stdio.h: Likewise.
1643 * libio/stdio.h: Likewise.
1644 * stdlib/stdlib.h: Likewise.
1645 * string/string.h: Likewise.
1646 * time/time.h: Likewise.
1647 * wcsmbs/wchar.h: Likewise.
1648 * wctype/wctype.h: Likewise.
1649 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1651 2000-09-13 Andreas Jaeger <aj@suse.de>
1653 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
1654 for no more entries.
1655 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
1656 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
1657 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
1659 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1661 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
1662 constant since this is what clock_t is.
1663 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1664 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
1665 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
1666 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
1668 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
1669 definitions are requested.
1671 2000-09-13 Andreas Jaeger <aj@suse.de>
1673 * shlib-versions: libBrokenLocale needs minimal version for ia64,
1674 sparc64 and sh to synch with libc.
1676 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1678 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
1679 (distribute): Add iso-2022-cn-ext.c.
1680 Add definitions to compile the new module.
1681 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
1682 * iconvdata/iso-2022-cn-ext.c: New file.
1683 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
1684 ucs4_from_isoir165. Increment input pointer if successful.
1686 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
1688 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
1690 2000-09-01 Jes Sorensen <jes@linuxcare.com>
1692 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
1693 __syscall_getdents64 wrapper.
1695 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
1697 2000-09-12 Ulrich Drepper <drepper@redhat.com>
1699 * iconvdata/gb18030.c: Many many changes. Make consistent with
1700 charmap and with itself.
1701 * iconvdata/tst-tables.sh: Test GB18030.
1703 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1705 * iconv/skeleton.c: Fix last patch, add missing parameter to
1706 unaligned function call.
1708 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1710 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
1711 of decimal ellipsis.
1713 2000-09-11 Bruno Haible <haible@clisp.cons.org>
1715 * locale/programs/ld-collate.c (collate_read): Always initialize
1718 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1720 * locale/programs/ld-collate.c (collate_finish): Upper bound for
1721 ruleidx is 128, not 256.
1723 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1725 * locale/programs/ld-collate.c (collate_read): Correct check for
1726 already inserted entries.
1728 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1730 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
1733 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1735 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
1736 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
1738 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1740 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
1743 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1745 * iconvdata/utf-7.c: New file.
1746 * iconvdata/gconv-modules (UTF-7): New module entries.
1747 * iconvdata/Makefile (modules): Add UTF-7.
1748 (distribute): Add utf-7.c.
1749 * iconvdata/testdata/UTF-7: New file.
1750 * iconvdata/testdata/UTF-7..UTF8: New file.
1751 * iconvdata/TESTS (UTF-7): New entry.
1752 * iconvdata/run-iconv-test.sh: Fix confusing output.
1754 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1756 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
1758 2000-09-10 David S. Miller <davem@redhat.com>
1760 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
1761 frame pointer offset for non-fast path.
1763 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1765 * locale/programs/3level.h (*_init): Initialize level1, level2,
1767 (*_add): Remove a few unnecessary conditionals.
1769 2000-09-05 Wolfram Gloger <wg@malloc.de>
1771 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
1772 ensure usability of mutex as an `in use' flag.
1774 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1776 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
1778 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
1779 ugly GMON_WEAK_START hack.
1780 Patch by Philip Blundell <philb@gnu.org>.
1782 * sysdeps/i386/i486/bits/string.h: Pretty printing.
1784 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1786 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
1787 and PPC_ICBI asm for broken compilers.
1788 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1790 2000-09-09 Andreas Jaeger <aj@suse.de>
1792 * manual/message.texi (Advanced gettext functions): Fix typo.
1794 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
1797 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1799 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
1801 * sysdeps/ia64/memccpy.S: Likewise.
1802 Patches by Jim Wilson <wilson@redhat.com>.
1804 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
1805 before trying to read /proc.
1806 Patch by Matt Wilson <msw@redhat.com>.
1807 * include/sys/utsname.h: Declare __uname.
1808 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
1809 * sysdeps/mach/hurd/uname.c: Likewise.
1810 * sysdeps/unix/syscalls.list: Likewise.
1812 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
1815 2000-09-08 Ulrich Drepper <drepper@redhat.com>
1817 * posix/getopt.c (_getopt_internal): When long_only is set always
1818 recognize conflicts just like before.
1820 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1822 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
1824 2000-09-08 Greg McGary <greg@mcgary.org>
1826 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
1827 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
1828 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
1830 2000-09-08 Andreas Jaeger <aj@suse.de>
1832 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
1834 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
1836 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
1837 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1838 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
1840 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1842 * iconvdata/tst-tables.sh: Enable EUC-KR test.
1844 * elf/dl-load.c (lose): Decrement _nl_loaded.
1845 (_dl_map_object_from_fd): Don't try to dlopen executables.
1847 * iconvdata/tst-tables.sh: Actually return with an error if
1848 something goes wrong.
1849 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
1850 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
1852 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
1854 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
1855 * iconvdata/tst-table-from.c: Include <string.h>.
1856 (try): Correct cast in iconv call.
1858 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
1860 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
1861 (sysdep_routines): Remove dl-start.
1862 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1864 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
1866 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
1867 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1869 2000-09-06 Andreas Schwab <schwab@suse.de>
1871 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
1873 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1875 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
1877 * scripts/config.sub: Strip out -unknown for Linux targets.
1878 Patch by Scott Bambrough <scottb@netwinder.org>.
1880 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
1883 2000-09-07 Andreas Jaeger <aj@suse.de>
1885 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
1887 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
1890 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
1892 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
1893 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1895 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
1897 * stdlib/tst-bsearch.c (main): Add more test cases.
1899 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
1900 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1901 Reported by GOTO Masanori <gotom@debian.or.jp>.
1903 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1905 * posix/Makefile (tests): Add tst-dir.
1906 (tst-dir-ARGS): New variable.
1907 * posix/tst-dir.c: New file.
1909 2000-09-07 Andreas Jaeger <aj@suse.de>
1911 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
1914 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
1916 2000-09-06 Ulrich Drepper <drepper@redhat.com>
1918 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
1919 use the hack with tryopen_o_directory to determine at runtime
1921 * sysdeps/unix/sysv/linux/opendir.c: New file.
1922 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1923 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
1925 * catgets/Depend: New file. Add intl.
1926 * catgets/Makefile (tests): Add tst-catgets.
1927 (generated): Remove de.msg.
1928 (generated-dirs): Add de.
1929 Add dependency if tst-catgets output on de/libc.cat.
1930 * catgets/tst-catgets.c: New file.
1932 * po/ja.po: New file.
1933 * po/el.po: Update from translation team.
1935 * wcsmbs/Depend: New file.
1936 * wcsmbs/Makefile (tests): Add tst-btowc.
1937 (tst-btowc-ENV): Define.
1938 * wcsmbs/tst-btowc.c: New file.
1940 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
1941 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
1943 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
1945 * stdlib/Makefile (tests): Add tst-bsearch.
1946 * stdlib/tst-bsearch.c: New file.
1948 * posix/getopt.c (_getopt_internal): Don't recognize an option
1949 name as ambiguous if it's a prefix for more than one name but the
1950 other struct option values are identical.
1952 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
1953 Don't depend on visual inspection of the output file to recognize
1955 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
1957 2000-09-06 Andreas Jaeger <aj@suse.de>
1959 * sysdeps/alpha/soft-fp/Dist: New file.
1960 * sysdeps/i386/soft-fp/Dist: New file.
1961 * sysdeps/mips/mips64/soft-fp/Dist: New file.
1962 * sysdeps/mips/soft-fp/Dist: New file.
1963 * sysdeps/powerpc/soft-fp/Dist: New file.
1964 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
1965 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
1967 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
1968 Use sysdep_routines instead of routines to fix make dist failure.
1969 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
1971 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
1973 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
1974 sysdep_headers instead of headers for make dist.
1976 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
1979 2000-09-06 Andreas Schwab <schwab@suse.de>
1981 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
1983 2000-09-06 Andreas Jaeger <aj@suse.de>
1985 * soft-fp/Makefile (distribute): Remove ChangeLog.
1987 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
1988 sysdep_routines instead of routines for make dist.
1990 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1992 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
1993 compatibility check for old stream and call _IO_wide in doubt.
1994 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
1995 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
1996 needed tst for such an old structure and don't do anything.
1997 * libio/freopen.c: Remove declaration of _IO_stdin_used.
1999 2000-09-06 Andreas Jaeger <aj@suse.de>
2001 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
2002 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2005 * soft-fp/ChangeLog: Merged with this file.
2007 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2009 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
2011 * soft-fp/Makefile (distribute): Add the math functions, too.
2013 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
2015 2000-03-03 Geoff Keating <geoffk@cygnus.com>
2017 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
2020 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
2021 * soft-fp/sysdeps/powerpc/q_*: New files.
2023 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2025 * stdio-common/vfprintf.c (process_string_arg): Handle precision
2026 in wide char case correctly. Don't allocate too long temporary
2027 strings with alloca.
2029 * stdio-common/Makefile (tests): Add tst-swprintf.
2030 (tst-swprintf-ENV): New variable.
2031 * stdio-common/tst-swprintf.c: New file.
2033 2000-09-05 Andreas Jaeger <aj@suse.de>
2035 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
2036 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
2037 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2039 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2041 * configure.in: Strip out "unknown" from configuration names.
2043 2000-09-05 Andreas Jaeger <aj@suse.de>
2045 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
2047 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
2048 * sysdeps/sparc/sparc32/Implies: Likewise.
2049 * sysdeps/powerpc/Implies: Likewise.
2051 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
2052 * libio/oldiofgetpos64.c: Likewise.
2054 * soft-fp/Makefile (distribute): Remove configure.
2056 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
2058 * soft-fp/configure: Remove.
2060 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2061 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2063 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
2064 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
2066 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
2067 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
2069 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
2070 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
2072 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2073 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2075 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
2076 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
2078 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
2079 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
2081 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
2082 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
2084 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
2085 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
2087 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
2088 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
2090 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
2091 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
2093 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
2094 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
2096 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
2097 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
2099 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
2100 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
2102 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
2103 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
2105 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
2106 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
2108 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
2109 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
2111 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
2112 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
2114 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
2115 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
2117 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
2118 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
2120 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
2121 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
2123 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
2124 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
2126 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
2127 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
2129 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
2130 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
2132 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
2133 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
2135 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
2136 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
2138 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
2139 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
2141 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
2142 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
2144 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
2145 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
2147 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
2148 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
2150 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
2151 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
2153 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
2154 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
2156 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
2157 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
2159 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
2160 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
2162 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
2163 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
2165 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
2166 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
2168 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
2169 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
2171 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
2172 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
2174 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
2175 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
2177 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
2178 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
2180 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
2181 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
2183 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
2184 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
2186 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
2187 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
2189 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
2190 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
2192 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
2193 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
2195 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
2196 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
2198 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
2199 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
2201 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
2202 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
2204 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
2205 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
2207 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
2208 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
2210 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
2211 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
2213 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
2214 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
2216 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
2217 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
2219 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
2220 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
2222 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
2223 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
2225 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
2226 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
2228 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
2229 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
2231 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
2232 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
2234 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
2235 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
2237 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
2238 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
2240 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
2241 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
2243 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
2244 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
2246 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
2247 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
2249 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
2250 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
2252 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
2253 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
2255 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
2256 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
2258 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
2259 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
2261 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
2262 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
2264 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
2265 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
2267 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
2268 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
2270 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
2271 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
2273 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
2274 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
2276 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
2277 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
2279 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
2280 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
2282 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
2283 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
2285 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
2286 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
2288 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
2289 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
2291 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
2292 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
2294 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
2295 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
2297 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
2298 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
2300 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
2301 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
2303 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
2304 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
2306 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
2307 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
2309 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
2310 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
2312 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
2313 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
2315 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
2316 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
2318 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
2319 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
2321 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
2322 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
2324 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
2325 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
2327 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
2328 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
2330 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
2331 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
2333 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
2334 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
2336 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
2337 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
2339 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
2340 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
2342 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
2343 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
2345 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
2346 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
2348 * soft-fp/sysdeps/powerpc/Versions: Move from here...
2349 * sysdeps/powerpc/soft-fp/Versions: ... to here.
2351 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
2352 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
2354 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
2355 change symbol version.
2356 * libio/oldiofgetpos64.c: Likewise.
2357 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
2359 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
2361 Reported by dyky@kondara.org, closes PR libc/1886.
2363 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
2366 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2368 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
2369 script when ^C is hit.
2371 * locale/programs/localedef.c (construct_output_path): Correct
2372 computation of endp after asprintf.
2373 * locale/programs/locfile.c (write_locale_data): Don't add extra
2376 2000-09-05 Andreas Jaeger <aj@suse.de>
2378 * scripts/config.guess: New upstream version.
2379 * scripts/config.sub: Likewise.
2380 * manual/texinfo.tex: Likewise.
2382 2000-09-04 Andreas Schwab <schwab@suse.de>
2384 * elf/Makefile (all-dl-routines): New variable.
2385 (elide-routines.os): Use it instead of $(dl-routines).
2386 (all-rtld-routines): New variable.
2387 (extra-objs): Use it instead of $(rtld-routines).
2388 ($(objpfx)dl-allobjs.os): Likewise.
2389 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
2390 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2393 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2395 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
2396 Set fname to NULL if the module wasn't found.
2398 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2400 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
2401 true if trans->name already ends in ".so".
2403 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2405 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
2407 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
2408 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
2409 (__gconv_release_shlib): Change return type to void.
2410 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
2411 step->__counter here.
2412 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
2413 if the reference is zero.
2414 (release_step): New function.
2415 (gen_steps): Always initialize the __counter to 1. Use release_step.
2416 Don't call the destructor on the step whose initializer failed.
2417 (increment_counter): Use release_step. Don't normally run destructors
2419 (__gconv_close_transform): Use release_step.
2421 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2423 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
2424 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
2426 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2428 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
2429 If the first byte is 0x8E, don't ask for 4 bytes until it has been
2430 verified that the second byte is valid. Leave it to cns11643_to_ucs4
2431 to check for incomplete input.
2432 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
2433 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
2434 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2435 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
2437 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
2438 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2439 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
2440 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
2443 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2445 * iconv/gconv_db.c (find_derivation): Always use the least-cost
2448 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2450 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
2453 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2455 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
2456 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
2459 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2461 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
2463 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2465 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
2467 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2469 * iconvdata/tst-tables.sh: New file.
2470 * iconvdata/tst-table.sh: New file.
2471 * iconvdata/tst-table-from.c: New file.
2472 * iconvdata/tst-table-to.c: New file.
2473 * iconvdata/tst-table-charmap.sh: New file.
2474 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
2475 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
2476 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
2477 ISIRI-3342.irreversible, SJIS.irreversible.
2478 (tests): Add dependency on tst-tables.out.
2479 (tst-tables.out, tst-tables-clean): New rules.
2480 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
2481 * iconvdata/ISIRI-3342.irreversible: New file.
2482 * iconvdata/EUC-JP.irreversible: New file.
2483 * iconvdata/SJIS.irreversible: New file.
2485 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2487 * manual/locale.texi (General Numeric): Update description of
2488 representation of the grouping information in the locale data.
2489 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
2491 2000-09-04 Andreas Jaeger <aj@suse.de>
2493 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
2494 * iconv/iconv_prog.c (options): Fix typo.
2495 Reported by dyky@kondara.org, closes PR libc/1885.
2497 2000-09-04 Andreas Jaeger <aj@suse.de>
2499 * sysdeps/generic/fegetenv.c: It's __fegetenv.
2500 Reported by Rob Levin <lilo@transvirtual.com>.
2502 2000-09-03 Ulrich Drepper <drepper@redhat.com>
2504 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
2505 to the typedefs of __timezone_ptr_t.
2506 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
2508 2000-09-02 Jakub Jelinek <jakub@redhat.com>
2510 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
2513 2000-09-01 H.J. Lu <hjl@gnu.org>
2515 * Makeconfig (built-program-cmd): Don't use the dynamic linker
2516 to run a binary if it is in $(tests-static).
2518 * Rules (binaries-static): Add $(tests-static).
2520 2000-09-02 Andreas Jaeger <aj@suse.de>
2522 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
2524 * libio/fmemopen.c (fmemopen_close): Revert one part of last
2527 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2529 * iconvdata/big5hkscs.c: Regenerated from charmap.
2530 * iconvdata/testdata/BIG5HKSCS: Regenerated.
2531 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
2533 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
2534 statement. General cleanup.
2536 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2538 * wctype/wcfuncs.c (iswblank): New function.
2539 * wctype/wcfuncs_l.c (__iswblank_l): New function.
2540 * wctype/wcextra.c: Remove file.
2541 * wctype/wcextra_l.c: Remove file.
2542 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
2544 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2546 * locale/programs/ld-collate.c (collate_output): Remove redundant
2548 * string/strcoll.c: Likewise.
2549 * string/strxfrm.c: Include assert.h. Add assert calls like in
2552 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2554 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
2555 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
2556 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
2557 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
2558 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
2559 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
2560 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
2561 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
2562 _NL_CTYPE_GAP5/6 respectively.
2564 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
2565 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
2566 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
2567 Don't initialize __ctype_names and __ctype_width.
2568 * wctype/cname-lookup.h: Remove file.
2569 * wctype/Makefile (distribute): Remove cname-lookup.h.
2570 * wctype/wchar-lookup.h: Include stdint.h.
2571 * wctype/wctype.c (__wctype): Assume new locale format.
2572 * wctype/wctype_l.c (__wctype_l): Likewise.
2573 * wctype/iswctype.c: Don't include cname-lookup.h.
2574 (__iswctype): Assume new locale format.
2575 * wctype/iswctype_l.c: Don't include cname-lookup.h.
2576 (__iswctype_l): Assume new locale format.
2577 * wctype/wctrans.c: Don't include ctype.h.
2578 (wctrans): Assume new locale format.
2579 * wctype/wctrans_l.c (__wctrans_l): Likewise.
2580 * wctype/towctrans.c: Don't include cname-lookup.h.
2581 (__towctrans): Assume new locale format.
2582 * wctype/towctrans_l.c: Don't include cname-lookup.h.
2583 (__towctrans_l): Assume new locale format.
2584 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
2585 localeinfo.h instead.
2586 (__NO_WCTYPE): Remove unused macro.
2587 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
2589 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
2590 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
2591 (towlower, towupper): Likewise.
2592 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
2593 localeinfo.h instead.
2594 (__NO_WCTYPE): Remove unused macro.
2595 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2596 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2597 __iswxdigit_l): Assume new locale format.
2598 (__towlower_l, __towupper_l): Likewise.
2599 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
2600 (__ctype32_b): Remove declaration.
2601 (internal_wcwidth): Assume new locale format.
2602 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
2603 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
2604 to map32_b, rename width_3level to width.
2605 (ctype_output): Always create new locale format. Don't emit
2606 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
2607 (allocate_arrays): Always create new locale format.
2609 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
2610 * locale/weightwc.h (findidx): Assume new locale format.
2611 * string/strcoll.c (wcscoll): Remove local variables size, layers,
2613 * string/strxfrm.c (wcsxfrm): Likewise.
2614 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
2615 local variable collseq to 'const char *'.
2616 (SUFFIX): Don't use, don't undefine.
2617 * posix/fnmatch.c: Remove SUFFIX definition.
2618 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
2619 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
2620 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
2621 (collate_finish): Always create new locale format. Remove local
2622 variables min_total, act_size.
2623 (collate_output): Always create new locale format. Remove local
2624 variables table_size, names, tablewc. Rename tablewc_3level to
2627 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2629 * locale/programs/ld-collate.c (obstack_int32_grow,
2630 obstack_int32_grow_fast): New inline functions.
2631 (output_weightwc, collate_output): Use them where possible.
2633 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2635 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
2636 patch (_mode -> _flags).
2638 * libio/Makefile (headers): Add stdio_ext.h.
2639 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
2640 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
2641 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
2642 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
2643 __fsetlocking, and _flushlbf.
2644 * libio/__fbufsize.c: New file.
2645 * libio/__flbf.c: New file.
2646 * libio/__fpending.c: New file.
2647 * libio/__fpurge.c: New file.
2648 * libio/__freadable.c: New file.
2649 * libio/__freading.c: New file.
2650 * libio/__fsetlocking.c: New file.
2651 * libio/__fwritable.c: New file.
2652 * libio/__fwriting.c: New file.
2653 * libio/stdio_ext.h: New file.
2654 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
2655 * libio/libio.h (_IO_USER_LOCK): Define.
2656 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
2657 test _IO_USER_LOCK flag first.
2659 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
2662 2000-09-01 Andreas Jaeger <aj@suse.de>
2664 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
2666 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
2668 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2670 * math/Makefile (tests): Add tst-defintions.
2671 * math/tst-definitions.c: New file.
2673 * stdlib/Makefile (headers): Add bits/wchar.h.
2674 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
2675 * sysdeps/generic/bits/wchar.h: New file.
2676 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
2677 file to define WCHAR_MIN and WCHAR_MAX.
2678 Change UINT*8_MAX and UIN*16_MAX value to type int.
2679 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
2680 file to define WCHAR_MIN and WCHAR_MAX.
2681 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
2683 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
2684 * sysdeps/generic/bits/mathdef.h: Likewise.
2685 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2686 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2687 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2688 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2689 * locale/locale.h (struct lconv): Add __ prefix to the new members
2691 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
2692 imaxdiv optimizations.
2693 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
2694 * sysdeps/wordsize-64/ldiv.c: Likewise.
2695 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
2697 * sysdeps/generic/bits/fenv.h: Likewise.
2698 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2699 * sysdeps/ia64/bits/fenv.h: Likewise.
2700 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
2701 * sysdeps/mips/bits/fenv.h: Likewise.
2702 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2703 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2704 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2706 * inet/rcmd.c: Use *stat64 instead of *stat internally.
2707 * inet/ruserpass.c: Likewise.
2708 * catgets/open_catalog.c: Likewise.
2709 * intl/loadmsgcat.c: Likewise.
2710 * io/getdirname.c: Likewise.
2711 * locale/loadlocale.c: Likewise.
2712 * misc/getusershell.c: Likewise.
2713 * stdlib/canonicalize.c: Likewise.
2714 * sysdeps/posix/euidaccess.c: Likewise.
2715 * sysdeps/posix/isfdtype.c: Likewise.
2716 * sysdeps/posix/posix_fallocate.c: Likewise.
2717 * sysdeps/posix/tempname.c: Likewise.
2718 * sysdeps/unix/grantpt.c: Likewise.
2719 * sysdeps/unix/opendir.c: Likewise.
2720 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
2721 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
2722 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2723 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
2724 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2725 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2726 * sysvipc/ftok.c: Likewise.
2727 * time/getdate.c: Likewise.
2729 * time/getdate.c: Add extra access test.
2731 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2733 * version.h (VERSION): Bump to 2.1.93.
2735 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
2736 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
2738 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
2739 Make this a new rule depending on tst-gettext.out and run mtrace.
2740 * intl/tst-gettext.c: Call mtrace.
2741 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
2743 * elf/dl-reloc.c: Add a few more __builtin_expect.
2745 * configure.in: Remove --with-gettext option.
2747 * intl/dcigettext.c (free_mem): Correct freeing of
2748 _nl_domain_bindings list.
2750 * sysdeps/generic/setenv.c (free_mem): New function. Free all
2753 * intl/locale.alias: Add aliases for bokmal and nynorsk.
2755 * locale/iso-639.def: Fix 639-1 code for Bokmal.
2757 * stdio-common/itoa-digits.c: Move upper digits to...
2758 * stdio-common/itoa-udigits.c: ...here. New file.
2759 * stdio-common/Makefile (routines): Add itoa-udigits.
2761 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
2762 relocate ld.so don't add supprt for relocations which should not
2765 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
2766 __secure_getenv. Instead test __libc_enable_secure once.
2768 * io/pwd.c (main): Provide a good example, use *_unlocked function.
2770 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2772 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
2773 whether the new record should be freed if it's a duplicate.
2774 (add_module): Adjust insert_module call.
2775 (__gconv_read_conf): Likewise.
2776 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
2778 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
2780 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
2782 * include/link.h (struct r_search_path_struct): New.
2783 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
2784 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
2786 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
2787 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
2788 added at startup time.
2789 * elf/dl-load.c: Fix memory handling. r_search_path_struct
2790 contains element to remember fact that we can free memory.
2791 (all_dirs): Renamed to _dl_all_dirs. Made global.
2792 (_dl_init_all_dirs): New variable.
2793 (fillin_rpath): Save one malloc call.
2794 (decompose_rpath): Change interface. New first parameter points to
2795 r_search_path_struct.
2796 (_dl_init_paths): Adjust for changes. Mark all memory as not
2797 deletable. Set _dl_init_all_paths value.
2798 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
2799 parameter replaced with r_search_path_struct *. Information about
2800 freeing now contained in r_search_path_struct.
2801 (_dl_map_object): Adjust for above changes.
2803 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
2805 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
2806 when adding new entries.
2808 * elf/dl-load.c (fillin_rpath): Make local copy of where string
2809 since the object being loaded can be unloaded.
2811 * iconvdata/Makefile (tests): Add tst-loading.
2812 * iconvdata/tst-loading.c: New file.
2814 2000-08-29 Bruno Haible <haible@clisp.cons.org>
2816 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
2817 When comparing a char with an int, always cast the char to
2818 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
2819 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
2821 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2823 * time/strftime.c (my_strftime): Add compatibility code for use
2824 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
2826 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
2827 return 0 for success but always < 0 on failure.
2829 * nss/getXXbyYY_r.c: Define result to *result before including
2832 2000-08-30 Andreas Jaeger <aj@suse.de>
2834 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
2836 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2838 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
2840 * iconvdata/TESTS: Add BIG5HKSCS entry.
2841 * iconvdata/testdata/BIG5HKSCS: New file.
2842 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
2844 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
2847 * libio/iogetline.c: Set mode before the loop in case n==0.
2848 * libio/iogetwline.c: Likewise.
2850 2000-08-29 H.J. Lu <hjl@gnu.org>
2852 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
2854 (_IO_new_file_overflow): Likewise.
2855 * libio/genops.c (_IO_flush_all): Likewise.
2856 * libio/ioftell.c (_IO_ftell): Likewise.
2858 2000-08-29 Akira Higuchi <a@kondara.org>
2860 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
2861 and __end_fct fields of struct __gconv_step.
2862 * iconv/Makefile (tests): Add iconv-bug2.
2863 * iconv/iconv-bug2.c: New file.
2865 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
2866 instead of 'inptr - inend' to ksc5601_to_ucs4.
2868 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
2870 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
2871 character or shift sequence is found at the end of the input
2872 string, return__GCONV_INCOMPLETE_INPUT instead of
2873 __GCONV_EMPTY_INPUT.
2874 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
2875 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
2877 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
2878 __GCONV_ILLEGAL_INPUT for 8bit characters.
2880 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2882 * signal/signal.h (sigpause): Move __THROW before __asm__.
2884 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
2885 names don't match don't return.
2886 Patch by Olaf Kirch <okir@flash.lst.de>.
2888 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2890 * time/strftime.c (my_strftime): Handle # flag for %b as well.
2892 2000-08-27 H.J. Lu <hjl@gnu.org>
2894 * posix/Makefile (otherlibs): Add for building with static-nss
2897 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2899 * libio/stdio.h: Add fmemopen prototype.
2901 2000-08-25 Andreas Jaeger <aj@suse.de>
2903 * libio/Makefile (routines): Add fmemopen.
2904 (tests): Add test-fmemopen.
2905 * libio/Versions: Add fmemopen with version GLIBC_2.2.
2906 * libio/test-fmemopen.c: New file.
2907 * libio/fmemopen.c: New file.
2908 Patches by Hanno Mueller <kontakt@hanno.de>.
2910 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2912 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
2913 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
2915 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
2916 to avoid crashing statically linked applications.
2918 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2920 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
2921 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
2923 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
2924 If the result is fits in the buffer, copy only as many bytes as needed.
2926 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
2927 buffer after copying numbuf into it.
2928 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2930 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2932 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
2933 the result. When string_len < len, don't clear the rest of the buffer.
2935 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2937 Support for new LC_COLLATE format.
2938 * locale/coll-lookup.h: New file.
2939 * locale/weightwc.h (findidx): When size == 0, call
2940 collidx_table_lookup.
2941 * wcsmbs/wcscoll.c: Include coll-lookup.h.
2942 * wcsmbs/wcsxfrm.c: Likewise.
2943 * posix/fnmatch.c: Likewise.
2944 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
2945 collseq_table_lookup.
2946 * locale/programs/3level.h: New file.
2947 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
2948 by including "3level.h".
2949 * locale/programs/ld-collate.c (wchead_table, collidx_table,
2950 collseq_table): New types, defined by including "3level.h".
2951 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
2952 (encoding_mask, encoding_byte): Remove.
2953 (utf8_encode): Use simple shifts instead.
2954 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
2955 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
2956 (collate_output): New local variable tablewc_3level. When
2957 !oldstyle_tables, set table_size to 0 and names to NULL and fill
2958 tablewc_3level instead of tablewc. Change format of TABLEWC and
2959 COLLSEQWC entries written to the file.
2960 * locale/C-collate.c (collseqwc): Change format.
2961 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
2963 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
2965 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2967 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
2968 (locale_ctype_t): New charnames_idx field.
2969 (ctype_startup): Initialize charnames_idx field.
2970 (find_idx): Speed up dramatically by using charnames_idx inverse table.
2972 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2974 * locale/C-ctype.c: Switch to new locale format.
2975 (_nl_C_LC_CTYPE_names): Remove array.
2976 (STRUCT_CTYPE_CLASS): New macro.
2977 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2978 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2979 New three-level tables.
2980 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
2981 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
2982 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
2983 12 class tables and 2 map tables at the end.
2984 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
2985 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2986 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2988 (b): Remove trailing semicolon.
2989 (__ctype_names, __ctype_width): Don't initialize.
2990 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
2992 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2994 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
2995 is guaranteed to be allocated with the same malloc() and may be
2997 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
2998 been set to empty by an earlier open_path call, don't pass it again.
3000 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3002 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
3003 we are not optimizing.
3005 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
3008 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
3010 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3012 2000-08-28 Andreas Jaeger <aj@suse.de>
3014 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
3016 2000-08-28 Mark Kettenis <kettenis@gnu.org>
3018 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
3019 getpeername. Use ISO C style function definition.
3020 (getpeername): Provide weak alias.
3021 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
3022 setrlimit. Use ISO C style function definition.
3023 (setrlimit): Provide weak alias.
3025 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
3027 * shlib-versions: Add a rule for S/390 to the libm version list.
3028 * sysdeps/s390/Versions: New file.
3029 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
3030 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
3031 * sysdeps/unix/sysv/linux/s390/Versions: New file.
3032 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
3033 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
3034 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
3035 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
3036 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
3037 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
3038 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
3039 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
3040 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
3041 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
3042 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
3043 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
3044 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
3045 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
3046 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
3048 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3050 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
3051 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
3053 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
3054 * elf/dl-close.c (_dl_close): Print debug message if object is not
3056 * elf/dl-open.c (dl_open_worked): Print message about opencount before
3057 returning to caller.
3059 * po/zh.po: Renamed to...
3060 * po/zh_TW.po: ...this.
3062 2000-08-27 Geoff Keating <geoffk@cygnus.com>
3064 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
3066 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
3067 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
3068 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
3069 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
3071 2000-08-27 Ulrich Drepper <drepper@redhat.com>
3073 * locale/programs/ld-collate.c (insert_weights): Also update
3074 backpointer of next element.
3075 (collate_read): Allow definition of new collation symbols in stage 2.
3076 Symbol after reorder-after can be UCS4 value.
3077 Allow reordering of collation symbols and elements.
3078 Do not only move reorder entry in new position. Instead call
3079 insert_weight to do this and read the weights.
3081 * locale/findlocale.c (free_mem): Add cast to avoid warning.
3083 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
3084 to determine invalid locale name.
3085 * locale/findlocale.c (_nl_find_locale): Likewise.
3087 * posix/annexc.c: Correct test for unavailable feature.
3089 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
3092 2000-08-26 Ulrich Drepper <drepper@redhat.com>
3094 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
3097 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
3098 (sysdep_routines): Add oldgetrlimit64.
3100 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
3101 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
3102 (tests): Add unload, reldep, reldep2, and reldep3.
3103 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
3105 Add rules to build and run unload, reldep, reldep2, and reldep3.
3106 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
3107 Don't create relocation dependency if it is nonzero.
3108 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
3109 can never happen here.
3110 (_dl_lookup_versioned_symbol): Add new parameter explicit.
3111 Don't create relocation dependency if it is nonzero.
3112 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
3113 stuff. This can never happen here.
3114 * sysdeps/generic/ldsodefs.h: Change prototypes.
3115 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
3116 _dl_lookup_up and _dl_lookup_versioned_symbol.
3118 * elf/dl-runtime.c (fixup): Likewise.
3119 (profile_fixup): Likewise.
3120 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
3122 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
3123 * elf/rtld.c (dl_main): Likewise.
3124 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
3125 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
3126 and pass down the caller map.
3127 (_dl_vsym): Likewise.
3128 * elf/reldep.c: New file.
3129 * elf/reldep2.c: New file.
3130 * elf/reldep3.c: New file.
3131 * elf/reldepmod1.c: New file.
3132 * elf/reldepmod2.c: New file.
3133 * elf/reldepmod3.c: New file.
3134 * elf/reldepmod4.c: New file.
3135 * elf/unload.c: New file.
3136 * elf/unloadmod.c: New file.
3138 * elf/do-lookup.h: Remove unused undef_name parameter.
3139 * elf/dl-lookup.c: Adjust callers.
3141 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3143 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
3144 irreversible in recursive call of conversion function to signal that
3145 no error handling is wanted.
3146 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
3147 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
3148 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
3149 recursive error handling call, otherwise to &lirreversible. Use it
3150 for calls to conversion functions.
3151 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
3153 (ucs4_internal_loop_unaligned): Likewise.
3154 (ucs4le_internal_loop): Likewise.
3155 (ucs4le_internal_loop_unaligned): Likewise.
3157 2000-08-25 Greg McGary <greg@mcgary.org>
3159 * sysdeps/i386/memchr.S: Check high bound against chars
3161 * sysdeps/i386/memcmp.S: Likewise.
3162 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
3163 account for pointers that lie one beyond end-of-buffer.
3165 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3167 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
3168 * elf/nodelete.c (fini_ran): New global variable.
3169 (do_test): Before every dlclose call clear fini_ran and test
3170 afterwards that it is not set by the destructors.
3171 * elf/nodelmod1.c: Add destructor which sets fini_ran.
3172 * elf/nodelmod2.c: Likewise.
3173 * elf/nodelmod4.c: Likewise.
3175 2000-08-21 Jes Sorensen <jes@linuxcare.com>
3177 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
3178 getrlimit to the list.
3180 2000-08-18 Jes Sorensen <jes@linuxcare.com>
3182 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
3183 long double format so use ldbl-96 instead of ldbl-128.
3185 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3187 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
3188 even if bits 10 a 11 are non-zero.
3189 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
3191 * Makeconfig: Ensures the soversions.mk part of Makefile gets
3192 included before building gnu/lib-names.h
3193 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3195 * elf/dl-close.c (_dl_close): Don't run destructors of objects
3196 marked DF_1_NODELETE.
3198 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
3199 since we call sigaction in the child.
3201 2000-08-25 Andreas Jaeger <aj@suse.de>
3203 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
3206 2000-08-25 Andreas Jaeger <aj@suse.de>
3208 * manual/arith.texi (Control Functions): Clarify possible
3209 arguments. Closes PR libc/1856.
3211 2000-08-24 H.J. Lu <hjl@gnu.org>
3213 * stdio-common/Makefile (tests): Don't do it for cross compiling.
3214 * malloc/Makefile (tests): Likewise.
3216 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3218 * iconvdata/unicode.c (gconv_init): Correct test for direction.
3220 2000-08-24 Andreas Jaeger <aj@suse.de>
3222 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
3223 only if LIBGD is available.
3225 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3227 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
3228 problems with now restrict parameter types.
3229 (convaddr4to6): Likewise.
3231 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
3233 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
3234 * sysdeps/s390/fpu/feenablxcpt.c: New file.
3235 * sysdeps/s390/fpu/fegetexcept.c: New file.
3236 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
3239 2000-08-24 Andreas Jaeger <aj@suse.de>
3241 * malloc/Makefile (extra-objs): Add memusagestat.o.
3242 (generated): Added memusage and memusagestat for make clean.
3244 * libio/tst_putwc.c (do_test): Delete temporary file.
3245 Move inclusion of test-skeleton to front to have prototype for
3248 * posix/Makefile (generated): Add wordexp-tst.out.
3250 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3252 * resolv/res_hconf.c (free_mem): Remove not needed if.
3254 * time/tzset.c (free_mem): New function.
3255 * string/strsignal.c (free_mem): New function.
3256 * inet/inet_ntoa.c (free_mem): New function.
3257 * sunrpc/clnt_perr.c (free_mem): New function.
3259 2000-08-24 Andreas Jaeger <aj@suse.de>
3261 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
3262 * sysdeps/unix/sysv/syscalls.list: Likewise.
3264 * posix/unistd.h: Move internal prototypes from here ...
3265 * include/unistd.h: ... to here.
3267 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
3269 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3271 * grp/initgroups.c (initgroups): Deallocate groups array.
3272 Reported by jani.raiha@sonera.com [PR libc/1868].
3274 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
3275 * sysdeps/alpha/Dist: Likewise.
3277 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3279 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
3280 destructor). Reported by Solar Designer <solar@false.com>.
3282 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
3283 avoid adding double slashes.
3285 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3287 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
3288 out of the __REDIRECT macro.
3290 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3292 * stdio-common/vfscanf.c: Add %F format support.
3294 * locale/programs/ld-ctype.c (ctype_output): Make sure
3295 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
3296 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
3297 (ctype_read): Enable returning of wide character strings for reading
3298 transliteration information.
3300 2000-08-23 Andreas Jaeger <aj@suse.de>
3302 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
3303 Use static __inline instead of _EXTERN_INLINE.
3305 * misc/sys/select.h: Move prototypes of __select from here ...
3306 * include/sys/select.h: ... to here.
3308 * socket/sys/socket.h: Move prototypes of __send and __connect
3310 * include/sys/socket.h: ... to here.
3312 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
3315 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3317 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
3318 __setrlimit as strong name. Takes only 2 arguments.
3320 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
3321 takes only 2 arguments.
3323 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
3325 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
3327 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
3329 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3331 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
3332 default_missing character being specified, pick the first
3335 2000-08-23 Andreas Jaeger <aj@suse.de>
3337 * include/wchar.h: Add some pure attributes.
3339 * time/time.h: Add const attribute for dysize.
3341 * include/stdlib.h: Add malloc attribute to __posix memalign.
3343 * stdlib/stdlib.h: Add some pure and malloc attributes.
3344 * wcsmbs/wchar.h: Likewise.
3346 * dirent/dirent.h: Add some pure attributes.
3347 * include/dirent.h: Likewise.
3349 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3351 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
3354 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3356 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
3357 missing buffer size checks.
3359 2000-08-23 Andreas Jaeger <aj@suse.de>
3361 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
3363 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3365 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
3366 otherwise __LINUX_KERNEL_VERSION might not be defined.
3367 (MIN): Define if not already defined.
3369 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3371 * stdio-common/vfprintf.c: Handle %F format.
3372 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
3373 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3375 * stdio-common/tstdiomisc.c: Add test for %F printf format.
3377 * po/zh.po: New file.
3379 * iconvdata/sjis.c: In conversion from UCS4, correct test for
3380 enough room in target buffer.
3381 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
3382 * iconvdata/bug-iconv1.c: New file.
3383 * iconvdata/Makefile (tests): Add bug-iconv1.
3385 * locale/iso-4217.def: Update entry for Nicaragua.
3387 2000-08-22 Mark Kettenis <kettenis@gnu.org>
3389 * hurd/hurdsig.c: Rearrange headers a bit.
3390 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
3391 when cthreads is being used.
3393 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3395 * elf/Makefile (distribute): Add dl-osinfo.h.
3396 * sysdeps/generic/dl-osinfo.h: New file.
3397 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
3398 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
3400 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
3401 only for !SHARED case. Get the code from dl-osinfo.h.
3403 * stdlib/random_r.c: Cleanups.
3404 * stdlib/tst-random.c: New file.
3405 * stdlib/Makefile (tests): Add tst-random.
3406 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
3408 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3410 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
3411 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
3412 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
3413 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
3415 2000-08-22 Jakub Jelinek <jakub@redhat.com>
3417 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
3418 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
3419 (__syscall__sysctl): Add.
3421 2000-08-21 Andreas Jaeger <aj@suse.de>
3423 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
3425 * stdlib/tst-strtoll.c: Likewise.
3427 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3429 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
3431 (__initstate_r): Set errno on error.
3432 (__random_r): Likewise.
3433 (__setstate_r): Correct offset when computing
3434 new rptr and fptr. Test for arg_state being NULL.
3435 Reported by Michael Fischer <fischer@cs.yale.edu>.
3437 * posix/regex.h: Add macro definitions to allow compiling outside
3440 * sysdeps/i370/Implies: Removed.
3441 * sysdeps/mvs/Implies: Removed.
3443 * catgets/catgets.c (catopen): Filter out env_var values with / if
3446 * locale/findlocale.c (_nl_find_locale): Move test for unusable
3447 locale name after all getenvs.
3449 * configure.in: Allow sed versions like 3.02.8.
3450 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
3452 2000-08-21 Marko Myllynen <myllynen@lut.fi>
3454 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
3456 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3458 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
3459 of gethostbyname2_r call.
3461 * intl/locale.alias: Add aliases for Korean.
3463 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3465 * sysdeps/s390/__longjmp.c: Remove unused variable result.
3466 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
3467 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
3468 * sysdeps/s390/fpu/fegetenv.c: New file.
3469 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
3470 * sysdeps/s390/fpu/feholdexcpt.c: New file.
3471 * sysdeps/s390/fpu/fenv_libc.h: New file.
3472 * sysdeps/s390/fpu/fesetenv.c: New file.
3473 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
3474 * sysdeps/s390/fpu/feupdateenv.c: New file.
3475 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
3476 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
3477 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
3478 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
3479 * sysdeps/s390/fpu/ftestexcept.c: New file.
3480 * sysdeps/s390/fpu/libm-test-ulps: New file.
3481 * sysdeps/s390/gmp-mparam.h: Add end of comment.
3482 * sysdeps/s390/initfini.c: New file.
3483 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
3484 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
3485 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
3486 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
3487 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
3488 sys/procfs.h as proposed by Mark Kettenis.
3489 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
3491 2000-08-21 Andreas Jaeger <aj@suse.de>
3493 * include/poll.h: Include include/sys/poll.h to get __poll
3496 * io/sys/poll.h: Move __poll declaration from here...
3497 * include/sys/poll.h: ...to here.
3499 * include/sys/socket.h (__getpeername): Add declaration.
3501 * include/wchar.h (__vswprintf): Add declaration.
3503 * include/stdio.h (__flockfile): Add declaration.
3504 (__funlockfile): Likewise.
3506 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3508 * misc/sys/cdefs.h: Define __restrict_arr.
3509 * include/sys/time.h: Add restrict where required by AGd4.
3510 * inet/arpa/inet.h: Likewise.
3511 * io/sys/stat.h: Likewise.
3512 * io/sys/statvfs.h: Likewise.
3513 * misc/search.h: Likewise.
3514 * misc/sys/select.h: Likewise.
3515 * posix/glob.h: Likewise.
3516 * posix/regex.h: Likewise.
3517 * posix/spawn.h: Likewise.
3518 * posix/unistd.h: Likewise.
3519 * rt/aio.h: Likewise.
3520 * signal/signal.h: Likewise.
3521 * socket/sys/socket.h: Likewise.
3522 * stdlib/ucontext.h: Likewise.
3523 * streams/stropts.h: Likewise.
3524 * string/string.h: Likewise.
3525 * time/time.h: Likewise.
3526 * time/sys/time.h: Likewise.
3528 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
3529 and posix_spawnattr_setscheparam.
3531 * libio/stdio.h: Make cuserid prototype again available for all
3534 * argp/argp-help.c: Unify use of function aliases to make more compact
3536 * include/libintl.h: Likewise.
3537 * inet/rcmd.c: Likewise.
3538 * intl/dcigettext.c: Likewise.
3539 * libio/iofputws.c: Likewise.
3540 * libio/iofputws_u.c: Likewise.
3541 * libio/iogetwline.c: Likewise.
3542 * libio/swprintf.c: Likewise.
3543 * malloc/malloc.c: Likewise.
3544 * nss/digits_dots.c: Likewise.
3545 * posix/fnmatch.c: Likewise.
3546 * posix/spawn_faction_addclose.c: Likewise.
3547 * posix/spawn_faction_adddup2.c: Likewise.
3548 * posix/spawn_faction_addopen.c: Likewise.
3549 * posix/spawni.c: Likewise.
3550 * posix/wordexp.c: Likewise.
3551 * posix/spawni.c: Likewise.
3552 * resolv/res_hconf.c: Likewise.
3553 * resolv/res_init.c: Likewise.
3554 * shadow/lckpwdf.c: Likewise.
3555 * signal/sighold.c: Likewise.
3556 * signal/sigrelse.c: Likewise.
3557 * stdio-common/printf-parse.h: Likewise.
3558 * stdio-common/printf-prs.c: Likewise.
3559 * stdio-common/printf_fp.c: Likewise.
3560 * stdio-common/vfprintf.c: Likewise.
3561 * stdio-common/vfscanf.c: Likewise.
3562 * stdlib/rpmatch.c: Likewise.
3563 * sunrpc/create_xid.c: Likewise.
3564 * sunrpc/key_call.c: Likewise.
3565 * sysdeps/generic/setrlimit64.c: Likewise.
3566 * sysdeps/generic/utmp_file.c: Likewise.
3567 * sysdeps/generic/vlimit.c: Likewise.
3568 * sysdeps/posix/posix_fallocate.c: Likewise.
3569 * sysdeps/posix/posix_fallocate64.c: Likewise.
3570 * sysdeps/posix/sigpause.c: Likewise.
3571 * sysdeps/posix/sigset.c: Likewise.
3572 * sysdeps/unix/grantpt.c: Likewise.
3573 * sysdeps/unix/bsd/ualarm.c: Likewise.
3574 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
3575 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
3576 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3577 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3578 * time/strftime.c: Likewise.
3579 * wcsmbs/wcscoll.c: Likewise.
3580 * wcsmbs/wcsxfrm.c: Likewise.
3582 * time/tst-getdate.c (main): Make error messages more human readable.
3584 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
3585 postinc/predec instruction.
3586 (_FPU_SETCW): Likewise.
3587 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3589 2000-08-20 Andreas Jaeger <aj@suse.de>
3591 * time/tst-getdate.c (main): Increase error in case of wrong
3593 Fix typo in test case.
3595 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3597 * ctype/ctype.h (isblank): Make available if ISO C99.
3598 * wctype/wctype.h (iswblank): Make available if ISO C99.
3599 * math/math.h (signgam): Don't make available if ISO C99.
3600 * math/tgmath.h (tgamma): Renamed from gamma.
3601 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
3603 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
3605 * intl/plural.y (new_exp): Take number of optional parameters in
3606 second parameter. Test for correct number of parameters and free
3607 correctly in case of failure. Adjust all callers.
3608 (yylex): Allow ';' as terminator character.
3610 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3612 * locale/lc-time.c (free_mem): New function. Free alt_digits and
3615 * locale/findlocale.c (free_mem): Also free here->filename.
3617 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
3619 * math/test-fenv.c (feenv_tests): Clear all exceptions before
3621 (feexcp_nomask_test): Correct printf args.
3622 (feexcp_mask_test): Likewise.
3624 2000-08-19 Andreas Jaeger <aj@suse.de>
3626 * inet/tst-gethnm.c: Include string.h to provide prototype for
3629 * malloc/mtrace.pl (usage): Inform about --help.
3631 2000-08-19 Wolfram Gloger <wg@malloc.de>
3633 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
3636 2000-08-19 Andreas Jaeger <aj@suse.de>
3638 * shlib-versions: Remove libnss_db, libdb and libdb1.
3640 2000-08-19 Jakub Jelinek <jakub@redhat.com>
3642 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
3643 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
3644 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
3645 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
3646 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
3647 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
3648 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
3649 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
3650 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
3651 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
3653 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
3654 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3656 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3658 * include/glob.h (__glob64): Add prototype.
3659 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
3660 define glob and glob_in_dir.
3661 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
3662 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
3663 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
3664 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
3665 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
3666 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
3667 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
3668 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
3670 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3672 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
3674 2000-08-17 Andreas Jaeger <aj@suse.de>
3676 * math/test-fenv.c (fe_single_test): New function.
3677 (fe_env_tests): Use fe_single_test.
3678 (feenable_test): New tests for feenable/fedisable and
3680 (feexcp_mask_test): New function.
3681 (feexcp_nomask_test): New function.
3683 2000-08-19 Richard Henderson <rth@cygnus.com>
3685 * sysdeps/alpha/fpu/fenv_libc.h: New file.
3686 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
3687 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3688 * sysdeps/alpha/fpu/fesetround.c: Likewise.
3689 * sysdeps/alpha/fpu/fegetround.c: Likewise.
3690 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3691 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3692 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
3693 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
3694 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
3695 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
3696 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
3697 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3698 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3699 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3700 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
3701 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
3703 2000-08-19 Andreas Jaeger <aj@suse.de>
3705 * elf/constload1.c: Include <stdio.h> for puts prototype.
3707 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3709 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
3710 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
3711 a dynamically loaded object remove old l_initfini list.
3712 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
3713 remove some dynamically allocated memory blocks in the dynamic
3714 loading data structures.
3715 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
3716 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
3717 Instead call _dl_check_map_versions only for the dependencies.
3718 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
3719 information of initial objects as not free-able.
3720 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
3723 * elf/filter.c: Call mtrace.
3724 * elf/restest1.c: Likewise. Close the objects.
3725 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
3728 * elf/constload1.c: Add comment explaining not freed memory.
3730 2000-08-18 Andreas Jaeger <aj@suse.de>
3732 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
3733 alignment for structs stat and stat64.
3734 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3736 2000-08-17 Ulrich Drepper <drepper@redhat.com>
3738 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
3739 handling. Patch by Richard Henderson <rth@twiddle.net>.
3741 * nss/Versions: Remove libnss_db information.
3743 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3745 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
3746 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
3747 * sysdeps/sparc/fpu/fegetexcept.c: New file.
3748 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
3750 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
3753 2000-08-17 Ulrich Drepper <drepper@redhat.com>
3755 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
3756 (_FPU_SETCW): Likewise.
3757 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3759 * stdio-common/printf_fp.c: Fix chars_needed computation.
3760 Patch by Greg McGary <greg@mcgary.org>.
3762 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3764 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
3765 _dl_loaded are NULL.
3767 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3769 * manual/arith.texi (feholdexcept): Returns 0 on success.
3771 2000-08-17 Andreas Jaeger <aj@suse.de>
3773 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
3775 Reported by Andi Kleen <ak@suse.de>.
3777 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3779 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
3780 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
3781 * sysdeps/alpha/fpu/fegetexcept.c: New file.
3783 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3785 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
3786 of buf->st_ino and kbuf->st_ino, not __st_ino.
3787 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
3788 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
3789 directive so that only linux/getdents.c is used, not some
3790 architecture specific one.
3792 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3794 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
3795 enabled, not disabled exceptions.
3796 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3797 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3799 2000-08-17 Greg McGary <greg@mcgary.org>
3801 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
3802 from test program name when constructing suffix for $(LDLIBS-*).
3803 (bounded-thread-library): New variable.
3805 [build-shared, build-static] (libcrypt-dep): Remove variable.
3806 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3807 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3808 * linuxthreads/Makefile (libpthread, librt): Remove variables.
3809 (librt-tests): Add variable. (tests): Use it.
3810 [build-shared, build-static]
3811 ($(addprefix $(objpfx),$(tests)),
3812 $(addprefix $(objpfx),$(librt-tests))):
3813 Consolidate individual dependencies.
3815 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
3817 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
3818 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3820 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
3822 [build-shared, build-static]
3823 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3824 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3826 2000-08-17 Greg McGary <greg@mcgary.org>
3828 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
3829 * sysdeps/unix/make-syscalls.sh: Likewise.
3830 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3831 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3832 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3833 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3834 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3836 2000-08-17 Greg McGary <greg@mcgary.org>
3838 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
3839 Wrap extern symbols in BP_SYM ().
3840 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3841 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3842 * sysdeps/i386/fpu/s_remquo.S: Likewise.
3843 * sysdeps/i386/fpu/s_remquof.S: Likewise.
3844 * sysdeps/i386/fpu/s_remquol.S: Likewise.
3845 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3846 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3847 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3848 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3849 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3851 2000-08-16 Andreas Schwab <schwab@suse.de>
3853 * sysdeps/m68k/fpu/fegetexcept.c: New file.
3854 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
3855 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
3857 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3859 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
3860 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
3861 * elf/dl-support.c: Define _nl_nloaded.
3862 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
3863 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
3864 object to global list.
3865 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
3866 from _dl_loaded list.
3867 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3868 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
3871 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
3873 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
3875 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
3877 2000-08-16 Andreas Jaeger <aj@suse.de>
3879 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
3881 2000-08-15 Marko Myllynen <myllynen@lut.fi>
3883 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
3885 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3887 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
3888 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
3889 (sysdep_routines): Add oldgetrlimit64.
3890 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
3891 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3893 * include/link.h: Undo last patches. Hurd now has stat64.
3894 * elf/Makefile: Likewise.
3895 * elf/dl-load.c: Likewise.
3896 * elf/dl-misc.c: Likewise.
3897 * elf/dl-profile.c: Likewise.
3898 * sysdeps/generic/sysd-link.h: Removed.
3899 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
3901 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
3902 thread event callback function.
3903 (__aio_notify_only): Use function above.
3904 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
3906 2000-08-16 Mark Kettenis <kettenis@gnu.org>
3908 * sysdeps/mach/hurd/lseek64.c: New file.
3910 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3912 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
3914 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
3916 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
3918 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
3920 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3922 * sysdeps/mach/hurd/xstatconv.c: New file.
3923 * sysdeps/mach/hurd/fxstat64.c: New file.
3924 * sysdeps/mach/hurd/lxstat64.c: New file.
3925 * sysdeps/mach/hurd/xstat64.c: New file.
3926 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
3928 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3930 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
3931 Initialize, needed for change in common symbol handling in newer
3932 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
3934 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3936 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
3937 * elf/constload2.c: Add destructor to unload constload3.
3939 * include/link.h: Include sysd-link.h.
3940 * sysdeps/generic/sysd-link.h: New file.
3941 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
3942 * elf/Makefile (distribute): Add sysd-link.h.
3943 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
3944 types and functions directly.
3945 * elf/dl-misc.c: Likewise.
3946 * elf/dl-profile.c: Likewise.
3948 * elf/loadfail.c (main): Close all successfully loaded objects.
3950 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
3952 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
3953 there is already one.
3955 * elf/dl-close.c: Pretty print.
3957 2000-08-14 Ulrich Drepper <drepper@redhat.com>
3959 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
3960 global (with file scope). Add __libc_subfreeres function to free the
3962 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
3963 in ttyname function.
3965 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
3967 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
3969 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
3970 mapping them to /x5c and /x7e respectively.
3972 * locale/programs/ld-ctype.c: Add support for more definitions after
3975 2000-08-14 Jakub Jelinek <jakub@redhat.com>
3977 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
3978 * sysdeps/unix/sysv/linux/kernel-features.h
3979 (__ASSUME_GETDENTS64_SYSCALL): Define.
3980 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
3981 syscall if available to get d_type fields.
3982 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
3983 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
3984 __lxstat64): Export at GLIBC_2.2.
3985 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
3987 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
3988 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
3989 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
3990 getdirentries64, versionsort64): Remove.
3991 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
3992 getdirentries64, versionsort64): Remove.
3994 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3996 * posix/Makefile: Remove rules to generate glob package.
3998 * posix/Makefile (tests): Add tst-regexloc.
3999 (tst-regexloc-ENV): Add LOCPATH.
4000 * posix/tst-regexloc.c: New file.
4002 2000-08-12 Andreas Jaeger <aj@suse.de>
4004 * include/features.h (__STDC_ISO_10646__): Define.
4005 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
4007 2000-08-13 Ulrich Drepper <drepper@redhat.com>
4009 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
4011 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
4012 for revision 6 and up).
4014 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
4016 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
4017 to get definitions of just these types.
4019 * signal/signal.h: Define thread signal handling functions also for
4022 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
4024 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4025 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
4026 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4027 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4029 * sysvipc/sys/shm.h: Define pid_t for XPG.
4031 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
4032 they are not anymore required here.
4034 * wcsmbs/wchar.h: Make the various wide char string and stream
4035 functions available for the respective XPG versions.
4037 * nss/Makefile: Remove rules to build and distribute nss_db.
4039 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
4040 * sysdeps/generic/scandir64.c: Likewise.
4041 * sysdeps/generic/versionsort64.c: Likewise.
4043 2000-08-13 Ulrich Drepper <drepper@redhat.com>
4044 Benjamin Koznik <bkoz@redhat.com>
4046 * libio/fileops.c: Merge with libstdc++-v3.
4047 * libio/genops.c: Likewise.
4048 * libio/iofclose.c: Likewise.
4049 * libio/iofopen.c: Likewise.
4050 * libio/iofwide.c: Likewise.
4051 * libio/libio.h: Likewise.
4052 * libio/libioP.h: Likewise.
4053 * libio/stdfiles.c: Likewise.
4054 * libio/stdio.c: Likewise.
4055 * libio/wfileops.c: Likewise.
4056 * libio/wgenops.c: Likewise.
4058 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
4060 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4062 * locale/programs/localedef.c: Implement --prefix option to allow
4063 writing in standard places of alternative install directories.
4065 * posix/regex.c (compile_range): Implement collation sequence
4066 handling for glibc. Use simple character ordering otherwise and
4069 2000-08-12 Mark Kettenis <kettenis@gnu.org>
4071 * sysdeps/generic/scandir64.c: Include <dirent.h>.
4073 2000-08-12 Andreas Jaeger <aj@suse.de>
4075 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
4076 __USE_FILE_OFFSET64 correctly for locking.
4077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4079 2000-08-12 Jakub Jelinek <jakub@redhat.com>
4081 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4082 Define for 2.4.1 on sparc as well.
4083 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
4084 for F_GETLK64, F_SETLK64, and F_SETLKW64.
4085 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
4086 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
4088 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4090 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
4093 2000-08-12 Andreas Jaeger <aj@suse.de>
4095 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
4096 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
4098 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
4099 mips2 for assembler.
4101 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
4102 if fnctl64 is not available for F_*LK*64.
4104 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
4106 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4108 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4109 Define for 2.4.1 on x86.
4110 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
4111 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
4112 for F_GETLK64, F_SETLK64, and F_SETLKW64.
4114 * dirent/dirent.h: Define DT_WHT.
4116 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
4117 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
4118 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
4119 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
4120 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
4121 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
4123 2000-08-11 Ulrich Drepper <drepper@redhat.com>
4125 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
4126 lookup, pass pointer to array with NULL pointer [PR libc/1858].
4127 * inet/Makefile (tests): Add tst-gethnm.
4128 * inet/tst-gethnm.c: New file.
4130 * rt/aio_cancel.c: If canceling a specific request which is running
4131 *really* do nothing.
4132 * rt/aio_misc.h: Add `done' to states of a request.
4133 * rt/aio_misc.c: Add several tests for the correct state.
4134 Simplify request table memory handling.
4136 2000-08-10 Jakub Jelinek <jakub@redhat.com>
4138 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
4139 * dirent/scandir64.c: Move...
4140 * sysdeps/generic/scandir64.c: ...here.
4141 * dirent/alphasort64.c: Move...
4142 * sysdeps/generic/alphasort64.c: ...here.
4143 * dirent/versionsort64.c: Move...
4144 * sysdeps/generic/versionsort64.c: ...here.
4145 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
4146 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
4147 Export symbols at GLIBC_2.2.
4148 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
4149 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
4150 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
4151 __versionsort64): Add prototypes.
4152 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
4153 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
4155 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
4157 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
4158 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
4159 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
4160 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
4162 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
4163 Adjust for kernel-2.4.0-test6 layout.
4164 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
4165 GLIBC_2.1 and GLIBC_2.2.
4166 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
4167 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
4168 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
4169 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
4170 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
4171 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
4172 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
4173 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
4174 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
4175 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
4176 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
4177 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
4178 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
4179 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
4181 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
4182 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
4183 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
4184 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
4185 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
4186 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
4187 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
4189 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
4190 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
4192 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
4193 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
4194 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
4195 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
4196 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
4198 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
4200 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
4202 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
4203 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
4204 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
4205 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
4206 st_ino from __st_ino.
4207 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
4208 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
4209 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
4210 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
4211 set __st_ino in addition to st_ino.
4212 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
4213 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and