1 2000-10-23 Jim Meyering <meyering@ascend.com>
3 Allow this code to be used outside of glibc.
4 * sysdeps/generic/memrchr.c: Undef __memrchr, too.
5 [!weak_alias]: Define __memrchr to memrchr.
6 Guard weak_alias use with `#ifdef weak_alias'.
8 2000-10-23 Ulrich Drepper <drepper@redhat.com>
10 * elf/unload.c: Generate more debugging output.
12 * elf/neededtest.c: Make it more complicated.
13 * elf/neededtest2.c: New file.
14 * elf/Makefile: Add rules to build and run neededtest2.
16 * elf/dl-sym.c (_dl_sym): Use exact check for caller PC in range
20 * elf/dl-sym.c (_dl_sym): For RTLD_DEFAULT, search in objects
21 global scope if we can determine it.
23 2000-10-23 Andreas Schwab <schwab@suse.de>
25 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (RLIMIT_LOCKS): Added.
26 (RLIMIT_NLIMITS): Sync with kernel definition.
27 (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Also define as macros.
29 2000-10-23 Andreas Schwab <schwab@suse.de>
31 * sysdeps/m68k/fpu/libm-test-ulps: Updated.
33 2000-10-23 Ulrich Drepper <drepper@redhat.com>
35 * elf/elf.h (R_IA64_GPREL32MSB, R_IA64_GPREL32LSB): New definitions.
37 2000-10-22 Bruno Haible <haible@clisp.cons.org>
39 * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings
40 for 0x8BF8, 0xA27E..0xA2A7.
41 * iconvdata/BIG5HKSCS.irreversible: New file.
43 2000-10-23 Jakub Jelinek <jakub@redhat.com>
45 * timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES.
46 * timezone/zic.c (main): Likewise.
48 2000-10-23 Thorsten Kukuk <kukuk@suse.de>
50 * nscd/connections.c (invalidate_cache): Don't invalidate a cache
53 2000-10-23 Andreas Jaeger <aj@suse.de>
55 * sysdeps/s390/fpu/libm-test-ulps: New ulps.
57 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add fcntl64.
58 Patch by Ralf Baechle <ralf@gnu.org>.
60 2000-10-21 Ulrich Drepper <drepper@redhat.com>
62 * elf/dl-load.c (_dl_map_object_from_fd): Split out ELF file
63 verification in open_verify.
64 (open_verify): New function. Called instead of open. Ignores valid
65 files for other architectures.
66 (open_path): Call open_verify instead of open.
67 (_dl_map_object): Likewise.
68 Somewhat based on a patch by Don Dugger <n0ano@valinux.com>.
70 * io/pwd.c (main): The output was missing a newline.
72 * posix/fnmatch_loop.c: Make FNM_LEADING_DIR behave as GNU tar
73 expects it. Patch by Colin Watson <riva.ucam.org>.
74 * posix/tst-fnmatch.input: Add test cases for FNM_LEADING_DIR.
76 * elf/dl-open.c (add_to_global): New function. Split out from
78 (dl_open_worker): Call add_to_global not only for new objects, also for
79 previously loaded objects when (mode & RTLD_GLOBAL) and the object
80 was not yet in the global scope.
81 * elf/Makefile: Add rules to build and run lateglobal.
82 * elf/lateglobal.c: New file.
83 * elf/ltglobmod1.c: New file.
84 * elf/ltglobmod2.c: New file.
86 2000-10-20 Ulrich Drepper <drepper@redhat.com>
88 * include/link.h (struct link_map): Add l_soname_added bitfield.
89 * elf/dl-load.c (_dl_map_object): Remember when we added the
90 SONAME to the l_libname list and don't try it again.
92 * elf/dl-close.c: Decrement opencount for all dependencies which can
93 be removed even if the object is not yet unloaded.
94 * elf/dl-deps.c (_dl_map_object_deps): If dependency is already in
95 the list decrement opencount of all dependencies.
96 * elf/dl-load.c (_dl_map_object_from_fd): Increment object of object
98 (_dl_map_object): Likewise.
99 * elf/dl-lookup.c (add_dependency): Likewise.
101 * elf/loadtest.c: Add debug when with more output.
103 * elf/Makefile: Add rules to build and run unload2.
104 * elf/unload2.c: New file.
105 * elf/unload2mod.c: New file.
106 * elf/unload2dep.c: New file.
108 * intl/libintl.h (ngettext macro): Add missing parameter.
109 (dngettext macro): Likewise.
111 2000-10-19 H.J. Lu <hjl@gnu.org>
113 * elf/Makefile (distribute): Add neededtest.c, neededobj1.c,
114 neededobj2.c and neededobj3.c.
115 (tests): Add neededtest.
116 (modules-names): Add neededobj1, neededobj2 and neededobj3.
117 ($(objpfx)neededobj1.so): New target.
118 ($(objpfx)neededobj2.so): Likewise.
119 ($(objpfx)neededobj3.so): Likewise.
120 ($(objpfx)neededtest): Likewise.
121 ($(objpfx)neededtest.out): Likewise.
122 * elf/neededtest.c: New. Based on the bug report from
123 Allen Bauer <kylix_rd@hotmail.com>.
124 * elf/neededobj1.c: Likewise.
125 * elf/neededobj2.c: Likewise.
126 * elf/neededobj3.c: Likewise.
128 2000-10-20 Ulrich Drepper <drepper@redhat.com>
130 * elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header
131 to elf_machine_matches_host.
132 * sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter
133 is now pointer to ELF header.
134 * sysdeps/arm/dl-machine.h: Likewise.
135 * sysdeps/generic/dl-machine.h: Likewise.
136 * sysdeps/hppa/dl-machine.h: Likewise.
137 * sysdeps/i386/dl-machine.h: Likewise.
138 * sysdeps/ia64/dl-machine.h: Likewise.
139 * sysdeps/m68k/dl-machine.h: Likewise.
140 * sysdeps/mips/dl-machine.h: Likewise.
141 * sysdeps/mips/mips64/dl-machine.h: Likewise.
142 * sysdeps/powerpc/dl-machine.h: Likewise.
143 * sysdeps/s390/dl-machine.h: Likewise.
144 * sysdeps/sh/dl-machine.h: Likewise.
145 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
146 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
147 Patch by Martin Schwidefsksy <schwidefsky@de.ibm.com>.
149 2000-10-20 Jakub Jelinek <jakub@redhat.com>
151 * include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64
152 check instead of #ifdef __alpha__.
153 * include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on
154 INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when
157 2000-10-20 Ulrich Drepper <drepper@redhat.com>
159 * posix/wordexp-tst.sh (testout): Place output file in build
160 directory. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
162 * sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print.
164 2000-10-19 Ulrich Drepper <drepper@redhat.com>
166 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
167 Correctly handle numeric group member information.
168 Patch by tomasw@cs.huji.ac.il.
170 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
171 Complete test for strtol overflow.
173 2000-10-19 Jakub Jelinek <jakub@redhat.com>
175 * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union
176 semun as 4th argument to semctl syscall, not address of it.
178 2000-10-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
180 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall.
182 2000-10-17 Andreas Schwab <schwab@suse.de>
184 * string/string.h: Remove declaration of __strcasecmp and __strcasestr.
185 * include/string.h: Declare them here.
187 2000-10-18 Ralf Baechle <ralf@gnu.org>
189 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include <asm/unistd.h>.
191 2000-10-19 Geoffrey Keating <geoffk@cygnus.com>
193 * sysdeps/powerpc/fpu/bits/mathinline.h: Add versions
194 of the unordered comparison functions that use the GCC builtins.
196 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function.
197 (__process_machine_rela): Print the address of an overflowing
200 2000-10-18 Ulrich Drepper <drepper@redhat.com>
202 * sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point
204 (freeit): Remove unnecessary test.
206 2000-10-18 Andreas Jaeger <aj@suse.de>
208 * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New.
209 (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers.
210 (elf_machine_runtime_link_map): Likewise.
211 (elf_machine_runtime_setup): Likewise.
212 Handle dynamic linker's local got entries.
213 Patches by Ralf Baechle <ralf@gnu.org>.
215 2000-10-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
217 * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as
218 the frame pointer. Allocate stack space for $a0 for
219 __dl_runtime_resolve(). Do not save $sp in $s0 as it's
222 2000-10-17 Ulrich Drepper <drepper@redhat.com>
224 * sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in
227 2000-10-17 Andreas Schwab <schwab@suse.de>
229 * sysdeps/m68k/fpu/libm-test-ulps: Update for changes in
232 2000-10-17 Jakub Jelinek <jakub@redhat.com>
234 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
235 Add missing backslash.
237 2000-10-16 Ulrich Drepper <drepper@redhat.com>
239 * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Little cleanup.
241 * sysdeps/i386/fpu/libm-test-ulps: Update for changes in libm-test.inc.
243 2000-10-16 Jakub Jelinek <jakub@redhat.com>
245 * math/libm-test.inc (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase
247 (acos_test, asin_text, cexp_test, cos_test, cproj_test, exp10_test,
248 sin_test, sincos_test, sqrt_test): Likewise. Add L suffixes also
250 (acosh_test, asinh_test, atan2_test, atanh_test, atan_test, cabs_test,
251 cacosh_test, cacos_test, casinh_test, casin_test, catanh_test,
252 catan_test, cbrt_test, ccosh_test, ccos_test, clog10_test, cosh_test,
253 csinh_test, csin_test, csqrt_test, ctanh_test, ctan_test, erfc_test,
254 erf_test, exp2_test, expm1_test, exp_test, fmod_test, hypot_test,
255 j0_test, j1_test, jn_test, lgamma_test, llrint_test, llround_test,
256 log10_test, log1p_test, log2_test, log_test, lrint_test, lround_test,
257 nextafter_test, nexttoward_test, pow_test, round_test, scalb_test,
258 sinh_test, static void, tanh_test, tan_test, tgamma_test, y0_test,
259 y1_test, yn_test): Add L suffixes also to parameters.
260 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Fix mask.
261 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
262 * soft-fp/op-2.h (_FP_FRAC_SRS_2): Fix computation of sticky bit.
264 2000-10-16 Ulrich Drepper <drepper@redhat.com>
266 * timezone/Makefile: Define HAVE_GETTEXT for zdump.c, zic.c,
267 ialloc.c, and scheck.c.
268 * malloc/obstack.c: Always include <libintl.h> for glibc.
269 * posix/getopt.c: Likewise.
270 Reported by Petr Vandrovec <VANDROVE@vc.cvut.cz>.
272 2000-10-15 Pete Wyckoff <pw@osc.edu>
274 * Rules: Define _LIBC during generation of bits/stdio_lim.d.
276 2000-10-15 Pete Wyckoff <pw@osc.edu>
278 * iconvdata/tst-tables.sh: Invoke other shell scripts through ${SHELL}.
279 * iconvdata/tst-table.sh: Likewise.
281 2000-10-15 Ulrich Drepper <drepper@redhat.com>
283 * elf/dl-error.c (_dl_signal_error): Allocate memory for objname
284 as well. Reported by Alexander V. Lukyanov <lav@yars.free.net>.
286 * iconvdata/gconv-modules: Add aliases for Winblowz charsets.
287 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
289 2000-10-13 Andreas Schwab <schwab@suse.de>
291 * elf/elf.h (R_IA64_PCREL60B): Add relocation.
293 2000-10-15 Ulrich Drepper <drepper@redhat.com>
295 * sysdeps/unix/sysv/linux/hppa/brk.c: Cleanups.
296 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
297 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
298 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Likewise.
299 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
301 2000-10-14 Ulrich Drepper <drepper@redhat.com>
303 * math/libm-test.inc (frexp_test): Add L suffix also to parameters.
304 (hypot_test): Likewise.
306 * sysdeps/generic/printf_fphex.c: Compute width of decimal point
307 string correctly. Handle padding correctly.
309 * sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters
311 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
312 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
314 2000-10-12 Alan Modra <alan@linuxcare.com.au>
316 * FAQ.in: Add --start-group and --end-group.
318 2000-10-12 Alan Modra <alan@linuxcare.com.au>
320 * malloc/memusage.c: Conditionalize stack usage calculation on
323 2000-10-12 Alan Modra <alan@linuxcare.com.au>
325 * config.h.in: Add ASM_LINE_SEP.
326 * configure.in: Add test for comment and line separators.
327 * include/libc-symbols.h: Define and use ASM_LINE_SEP, and add tabs to
328 placate some hppa assemblers.
329 * sysdeps/hppa/sysdep.h: Likewise.
330 * sysdeps/gnu/siglist.c: Insert \n and \t into inline asm.
331 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
333 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
335 * sysdeps/unix/sysv/linux/Makefile: Include <bits/initspin> in
337 * sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for
338 non-threaded platforms.
340 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
342 * configure.in: Add definitions for hppa.
343 * elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments
344 for IPLT and EPLT relocations.
345 * shlib-versions: Version symbol definitions for hppa-linux.
346 * sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel
349 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
351 * sysdeps/hppa/Makefile: New file.
352 * sysdeps/hppa/Versions: New file.
354 * sysdeps/hppa/setjmp.S: New file.
355 * sysdeps/hppa/__longjmp.S: New file.
356 * sysdeps/hppa/bits/setjmp.h: New file.
357 * sysdeps/hppa/frame.h: New file.
359 * sysdeps/hppa/add_n.s: Don't use %r19 (linkage table pointer).
360 * sysdeps/hppa/sub_n.s: Likewise.
361 * sysdeps/hppa/lshift.s: Likewise.
362 * sysdeps/hppa/rshift.s: Likewise.
363 * sysdeps/hppa/udiv_qrnnd.s: Likewise.
364 * sysdeps/hppa/hppa1.1/addmul_1.s: Likewise.
365 * sysdeps/hppa/hppa1.1/submul_1.s: Likewise.
366 * sysdeps/hppa/hppa1.1/mul_1.s: Likewise.
367 * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Likewise.
369 * sysdeps/hppa/dl-machine.h: New file.
370 * sysdeps/hppa/dl-fptr.c: New file (note that this is almost
371 identical to the IA-64 one).
372 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
373 * sysdeps/hppa/dl-symaddr.c: Likewise.
375 * sysdeps/hppa/elf/initfini.c: New file.
376 * sysdeps/hppa/elf/start.S: New file.
378 * sysdeps/hppa/fpu/bits/fenv.h: New file.
379 * sysdeps/hppa/fpu/fclrexcpt.c: New file.
380 * sysdeps/hppa/fpu/fedisblxcpt.c: New file.
381 * sysdeps/hppa/fpu/feenablxcpt.c: New file.
382 * sysdeps/hppa/fpu/fegetenv.c: New file.
383 * sysdeps/hppa/fpu/fegetexcept.c: New file.
384 * sysdeps/hppa/fpu/fegetround.c: New file.
385 * sysdeps/hppa/fpu/feholdexcpt.c: New file.
386 * sysdeps/hppa/fpu/fesetenv.c: New file.
387 * sysdeps/hppa/fpu/fesetround.c: New file.
388 * sysdeps/hppa/fpu/feupdateenv.c: New file.
389 * sysdeps/hppa/fpu/fegetexcptflg.c: New file.
390 * sysdeps/hppa/fpu/fraiseexcpt.c: New file.
391 * sysdeps/hppa/fpu/fsetexcptflg.c: New file.
392 * sysdeps/hppa/fpu/ftestexcept.c: New file.
394 * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
395 * sysdeps/unix/sysv/linux/hppa/Versions: New file.
396 * sysdeps/unix/sysv/linux/hppa/syscalls.list: New file.
397 * sysdeps/unix/sysv/linux/hppa/sysdep.c: New file.
398 * sysdeps/unix/sysv/linux/hppa/sysdep.h: New file.
401 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: New file.
402 * sysdeps/unix/sysv/linux/hppa/bits/ioctls.h: New file.
403 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: New file.
404 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: New file.
405 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: New file.
406 * sysdeps/unix/sysv/linux/hppa/brk.c: New file.
407 * sysdeps/unix/sysv/linux/hppa/clone.S: New file.
408 * sysdeps/unix/sysv/linux/hppa/socket.S: New file.
409 * sysdeps/unix/sysv/linux/hppa/syscall.S: New file.
410 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: New file.
411 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: New file.
412 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: New file.
413 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: New file.
414 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: New file.
415 * sysdeps/unix/sysv/linux/hppa/mmap.c: New file.
416 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: New file.
417 * sysdeps/unix/sysv/linux/hppa/procfs.h: New file.
418 * sysdeps/unix/sysv/linux/hppa/ucontext.h: New file.
419 * sysdeps/unix/sysv/linux/hppa/umount.c: New file.
421 2000-10-12 Alan Modra <alan@linuxcare.com.au>
423 * sysdeps/hppa/hppa1.1/Implies: New file.
424 * sysdeps/hppa/memusage.h: New file.
426 2000-10-28 Jes Sorensen <jes@linuxcare.com>
428 * sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb,
429 inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw,
430 _outl. Reported by Bill Nottingham.
432 2000-04-06 Andreas Schwab <schwab@suse.de>
434 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
435 restore register r8 for functions that return a structure.
437 2000-10-12 Jakub Jelinek <jakub@redhat.com>
439 * math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl,
440 M_SQRT_PIl): Increase precision.
441 (cbrt_test): If cbrt is not implemented, don't test it.
442 Add L suffix to double constants in results which differ from their
443 L suffixed counterparts.
444 (exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise.
446 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
448 2000-10-11 Jakub Jelinek <jakub@redhat.com>
450 * inet/rexec.c (rexec_af): Convert rport to host order before
451 passing it to snprintf.
453 2000-10-14 Ulrich Drepper <drepper@redhat.com>
455 * sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of
456 uintXX_t since this is what <sys/types.h> defines and we include
457 this header. Reported by Bernhard Rosenkraenzer <bero@redhat.de>.
459 * intl/localealias.c (read_alias_file): Update string pointers
460 in map[] if realloc() changed the values.
461 Patch by Jakub Jelinek <jakub@redhat.com>.
463 * manual/stdio.texi: Update printf extension documentation after
464 z became a valid modifier.
465 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
467 * timezone/africa: Update from tzcode2000g and tzdata2000g.
468 * timezone/asia: Likewise.
469 * timezone/australasia: Likewise.
470 * timezone/backward: Likewise.
471 * timezone/europe: Likewise.
472 * timezone/iso3166.tab: Likewise.
473 * timezone/northamerica: Likewise.
474 * timezone/southamerica: Likewise.
475 * timezone/zone.tab: Likewise.
477 2000-10-14 Geoffrey Keating <geoffk@cygnus.com>
479 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl()
482 2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
484 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file.
485 * sysdeps/unix/sysv/linux/m68k/fcntl.c: New file.
486 * sysdeps/unix/sysv/linux/m68k/getdents64.c: New file.
487 * sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file.
488 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file.
489 * sysdeps/unix/sysv/linux/m68k/glob64.c: New file.
490 * sysdeps/unix/sysv/linux/m68k/lockf64.c: New file.
491 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file.
492 * sysdeps/unix/sysv/linux/m68k/readdir64.c: New file.
493 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file.
494 * sysdeps/unix/sysv/linux/m68k/scandir64.c: New file.
495 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file.
496 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file.
497 * sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c.
498 * sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64.
499 * sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64,
500 __fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit,
501 getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at
503 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit,
504 oldsetrlimit for GLIBC_2.0.
506 * sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct
507 arguments to _dl_init.
509 2000-10-13 Geoffrey Keating <geoffk@cygnus.com>
511 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs for my Pentium III
512 building with the default options.
514 2000-10-11 Andreas Jaeger <aj@suse.de>
516 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache.
517 Patch by Denis Zaitsev <zzz@cd-club.ru>.
519 2000-10-09 Jakub Jelinek <jakub@redhat.com>
521 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): If x == y,
523 * manual/arith.texi (nextafter): Document it.
524 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Fix a comment.
526 2000-10-08 Ulrich Drepper <drepper@redhat.com>
528 * version.h (VERSION): Bump to 2.1.95.
530 * configure.in: Remove warning message.
532 * nscd/Makefile (distribute): Add nscd-types.h.
533 * elf/Makefile (distribute): Add gccframe.h.
534 * sysdeps/sparc/sparc32/Dist: Add ieee754.h.
535 * sysdeps/ia64/Dist: Add ieee754.h.
537 2000-10-07 Ulrich Drepper <drepper@redhat.com>
539 * elf/elf.h: Add a few section-related symbols.
541 * include/features.h (__STDC_ISO_10646__): Set to correct date.
542 Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
544 2000-10-06 Jes Sorensen <jes@linuxcare.com>
546 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Implement
547 overflow generation by adding DBL_MAX to DBL_MAX instead of
548 setting the bits manually in the fpsr and generating the exception
549 with kill() if necessary.
550 (feraiseexcept): Implement underflow by dividing DBL_MIN by
551 DBL_MIN - similar to the overflow change described above.
553 2000-08-27 H.J. Lu <hjl@gnu.org>
555 * sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone
556 is not supported under Linux/ia64, use clone2.
558 2000-10-06 Jakub Jelinek <jakub@redhat.com>
560 * malloc/malloc.h (__THROW): Define to nothing if not gcc.
561 * misc/sys/cdefs.h (__THROW): Likewise.
563 2000-10-05 Jakub Jelinek <jakub@redhat.com>
565 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.
567 2000-10-02 Jakub Jelinek <jakub@redhat.com>
569 * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
570 remaining xp_pad space.
572 2000-10-05 Jakub Jelinek <jakub@redhat.com>
574 * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
575 DF_1_NODELETE, not list[i]'s.
577 2000-10-04 Ulrich Drepper <drepper@redhat.com>
579 * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9.
580 (BODY from direction): Map \x5c to U20a9.
581 * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change.
582 * iconvdata/EUC-KR.irreversible: New file.
583 * iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
585 * argp/argp-parse.c (argp_default_argp): Set libc as message domain.
586 (argp_version_argp): Likewise.
588 2000-10-04 Jakub Jelinek <jakub@redhat.com>
590 * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do
591 input_error() if EOF is seen before processing.
592 * stdio-common/tstscanf.c (main): Add testcase.
594 2000-10-04 Ulrich Drepper <drepper@redhat.com>
596 * argp/argp-help.c: Make sure we get the correct gettext and
597 dgettext definitions.
598 * argp/argp-parse.c: Likewise.
600 2000-10-03 Ulrich Drepper <drepper@redhat.com>
602 * locale/programs/linereader.c (get_string): Also clear wide
603 string info if illegal_string.
605 2000-10-03 Andreas Schwab <schwab@suse.de>
607 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file.
609 2000-10-02 Jakub Jelinek <jakub@redhat.com>
611 * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
614 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
616 2000-10-02 Ralf Baechle <ralf@gnu.org>
618 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the
619 end of inline assembler code.
621 2000-10-02 Ulrich Drepper <drepper@redhat.com>
623 * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define
624 __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing.
626 2000-10-02 Andreas Jaeger <aj@suse.de>
628 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux
631 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS.
633 2000-10-01 Ralf Baechle <ralf@gnu.org>
635 * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp
636 argument passed to _dl_init.
638 2000-09-30 Bruno Haible <haible@clisp.cons.org>
640 * locale/programs/charmap-dir.h: New file.
641 * locale/programs/charmap-dir.c: New file.
642 * locale/programs/linereader.h (lr_create): New declaration.
643 * locale/programs/linereader.c (lr_create): New function, split out
645 (lr_open): Tailcall lr_create.
646 * locale/programs/locale.c: Include "charmap-dir.h". Don't include
648 (xstrdup): New declaration.
649 (more_help): Use xstrdup instead of strdup.
650 (write_locales): Likewise. When encountering a symbolic link, call
652 (write_charmaps): Simplify using the charmap-dir.h functions.
653 Use xstrdup instead of strdup.
654 * locale/programs/charmap.c: Include "charmap-dir.h". Don't include
655 <dirent.h> and <unistd.h>.
656 (cmlr_open): New function.
657 (charmap_read): Use cmlr_open instead of lr_open. Simplify using the
658 charmap-dir.h functions.
659 * locale/Makefile (distribute): Add charmap-dir.h.
660 (lib-modules): Add charmap-dir.
661 (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
662 wants a 'char **', not a 'const char **'.
663 * include/spawn.h: New file.
665 2000-09-30 Bruno Haible <haible@clisp.cons.org>
667 * posix/spawn_faction_init.c: Include "spawn_int.h".
668 (__posix_spawn_file_actions_realloc): Fix second realloc argument.
670 2000-09-30 Bruno Haible <haible@clisp.cons.org>
672 * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.
674 2000-09-30 Bruno Haible <haible@clisp.cons.org>
676 * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
677 (internal_wcwidth): Remove the tests for L'\0' and iswprint.
678 * locale/programs/ld-ctype.c (find_idx): If max == NULL, return
679 a pointer to the table entry, without extending the table.
680 (allocate_arrays): Set a width only for characters with 'print'
681 property. Set the width of L'\0' to 0.
682 * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
683 for unprintable characters. Set entry of NUL to 0.
685 2000-09-30 Bruno Haible <haible@clisp.cons.org>
687 * locale/programs/charmap.c (charmap_read): Avoid redundant tests.
688 Don't forget to call closedir when the filename was found as a
691 2000-09-30 Bruno Haible <haible@clisp.cons.org>
693 * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
696 2000-09-30 Bruno Haible <haible@clisp.cons.org>
698 * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
699 level2, and level3 as well.
700 (wctype_table_add): Remove a few unnecessary conditionals.
702 2000-09-30 Ralf Baechle <ralf@gnu.org>
704 * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.
706 2000-09-30 H.J. Lu <hjl@gnu.org>
708 * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow.
709 * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise.
711 2000-09-29 H.J. Lu <hjl@gnu.org>
713 * math/libm-test.inc (init_max_error): Clear all exceptions
714 before starting test.
715 (acosh_test): Test for existence of function.
716 (asinh_test): Likewise.
717 (atan2_test): Likewise.
718 (cabs_test): Likewise.
719 (cacos_test): Likewise.
720 (cacosh_test): Likewise.
721 (casin_test): Likewise.
722 (casinh_test): Likewise.
723 (catan_test): Likewise.
724 (catanh_test): Likewise.
725 (ccos_test): Likewise.
726 (ccosh_test): Likewise.
727 (cexp_test): Likewise.
728 (clog_test): Likewise.
729 (clog10_test): Likewise.
730 (cosh_test): Likewise.
731 (cpow_test): Likewise.
732 (csin_test): Likewise.
733 (csinh_test): Likewise.
734 (csqrt_test): Likewise.
735 (ctan_test): Likewise.
736 (ctanh_test): Likewise.
737 (fmod_test): Likewise.
738 (hypot_test): Likewise.
739 (remainder_test): Likewise.
740 (remquo_test): Likewise.
741 (sincos_test): Likewise.
742 (sinh_test): Likewise.
743 (tanh_test): Likewise.
745 2000-09-29 H.J. Lu <hjl@gnu.org>
747 * sysdeps/ia64/ieee754.h: New file.
749 * sysdeps/ia64/fpu/math_ldbl.h: New file.
751 2000-09-30 Jakub Jelinek <jakub@redhat.com>
753 * elf/ldconfig.h (FLAG_X8664_LIB64): Define.
754 * sysdeps/unix/sysv/linux/i386/readelflib.c: New file.
756 2000-09-30 Ulrich Drepper <drepper@redhat.com>
758 * manual/charset.texi: Correct notations, reference to C90 amd 1,
759 and some other details.
760 * manual/ctype.texi: Likewise.
761 Patches by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
763 2000-09-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
765 * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
767 2000-09-29 Ulrich Drepper <drepper@redhat.com>
769 * elf/cache.c (save_cache): Initialize __unused field in new cache
770 as well to get reproducable results.
772 2000-09-29 H.J. Lu <hjl@gnu.org>
774 * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
776 2000-09-29 H.J. Lu <hjl@gnu.org>
778 * sysdeps/ia64/bits/huge_val.h: New file.
780 2000-09-29 Ulrich Drepper <drepper@redhat.com>
782 * elf/chroot_canon.c: Don't report a failure if the last path
783 component is not available.
784 * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting
787 * elf/cache.c (print_cache): Use stat64 instead of stat.
788 * elf/ldconfig.c (chroot_stat): Likewise.
789 (create_links): Likewise.
790 (manual_link): Likewise.
791 (search_dir): Likewise.
792 * elf/readlib.c (process_file): Likewise.
794 * Makefile (install): Set LC_ALL and LANGUAGE to C before running
797 2000-09-29 Jakub Jelinek <jakub@redhat.com>
799 * elf/chroot_canon.c: New file.
800 * elf/Makefile: Build and distribute it.
801 * elf/ldconfig.h (process_file): Add real_file_name argument.
802 (chroot_canon): Add prototype.
803 * elf/ldconfig.c (cache_file): Remove const.
805 (create_links): Add real_path argument.
806 If opt_chroot, maintain both real and given filenames.
807 (manual_link): Likewise.
808 (search_dir): Likewise.
809 (parse_conf): If opt_chroot, use chroot_canon to find the real
811 (main): For -r, try to use chroot, if it fails, leave opt_chroot set
812 and use chroot_canon where appropriate to do the same as if chroot
814 * elf/readlib.c (process_file): Add real_file_name argument, pass it
817 2000-09-29 Ulrich Drepper <drepper@redhat.com>
819 * math/complex.h (_Complex): We can be more specific when _Complex
820 is defined by the compiler.
822 2000-09-29 H.J. Lu <hjl@gnu.org>
824 * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
826 * elf/cache.c (print_entry): Replace 64bit with IA-64 in message
827 for x86/IA-64 binary.
829 2000-09-29 Andreas Schwab <schwab@suse.de>
831 * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
833 * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
835 2000-09-29 Mark Kettenis <kettenis@gnu.org>
837 * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
838 implementation for use by the dynamic linker.
840 2000-09-29 Andreas Jaeger <aj@suse.de>
842 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
844 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
845 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
846 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
847 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
848 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
849 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
851 2000-09-29 Andreas Jaeger <aj@suse.de>
853 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
855 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
856 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
857 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
858 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
859 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
860 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
862 2000-09-29 David Mosberger <davidm@hpl.hp.com>
864 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
866 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
868 2000-06-10 David Mosberger <davidm@hpl.hp.com>
870 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
871 works: call to __sigjmp_save must be done unconditionally to
872 ensure jmp_buf is initialized properly.
874 2000-09-27 Andreas Jaeger <aj@suse.de>
876 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
879 2000-09-29 Jakub Jelinek <jakub@redhat.com>
881 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
882 Use nscd_ssize_t where appropriate.
883 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
884 ssize_t where appropriate.
885 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
886 * nscd/hstcache.c (cache_addhst): Likewise.
887 * nscd/grpcache.c (cache_addgr): Likewise.
888 * sysdeps/generic/nscd-types.h: New file.
889 * sysdeps/alpha/nscd-types.h: New file.
891 2000-09-29 Ulrich Drepper <drepper@redhat.com>
893 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
894 INADDR_LOOPBACK instead of numeric value.
896 2000-09-28 H.J. Lu <hjl@gnu.org>
898 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
900 (ELF_MACHINE_FIXED_STACK): Removed.
902 2000-09-29 Andreas Jaeger <aj@suse.de>
904 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
906 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
908 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
910 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
912 2000-09-28 Ulrich Drepper <drepper@redhat.com>
914 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
915 relocation also for R_ALPHA_RELATIVE.
916 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
918 2000-09-18 Bruno Haible <haible@clisp.cons.org>
920 * intl/dcigettext.c: Outside libc, use local variable names that don't
921 clash with those in libc.
922 * intl/bindtextdom.c: Likewise.
923 * intl/textdomain.c: Likewise.
925 2000-09-28 Ulrich Drepper <drepper@redhat.com>
927 * elf/ldconfig.c (parse_conf): Print full name of config dir
928 including chroot() path.
929 (main): Remove trailing / from opt_chroot string.
931 * include/features.h: Correct description of what happens if no
932 *_SOURCE macro is defined.
934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
935 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
937 2000-09-19 H.J. Lu <hjl@gnu.org>
939 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
940 * malloc/malloc.c (__memalign_hook): Likewise.
941 (memalign_hook_ini): Likewise.
943 2000-09-28 Ulrich Drepper <drepper@redhat.com>
945 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
947 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
948 underlying functions directly.
950 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
951 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
952 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
953 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
954 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
955 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
956 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
958 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
960 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
961 define it for powerpc for kernel >= 2.4.0.
962 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
964 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
965 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
966 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
967 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
968 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
969 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
971 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
973 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
975 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
976 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
978 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
980 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
982 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
984 2000-09-27 Andreas Schwab <schwab@suse.de>
986 * math/Makefile (distribute): Explicitly add the long double test
987 sources, to get them included even if long double is not supported.
989 2000-09-27 Jes Sorensen <jes@linuxcare.com>
991 * elf/soinit.c (struct object): Move definition to gccframe.h and
992 include it. Problem identified by HJ Lu.
994 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
995 struct object to be searched for frame unwind info.
996 * sysdeps/generic/gccframe.h: New file. Generic version of
997 struct object to be searched for frame unwind info.
999 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1001 * manual/errno.texi: Correct error text for ENXIO.
1002 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
1004 2000-09-27 Jes Sorensen <jes@linuxcare.com>
1006 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
1007 exception status bits rather than the exception disable bits.
1008 Don't include math.h.
1010 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
1011 status of exceptions currently raised rather than which exceptions
1014 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
1015 rather than unsigned long int.
1017 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
1018 the exceptions actually requested by the caller and not just
1019 disable all exceptions.
1021 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
1022 the ia64 are enabled by clearing the respective bits in the fpsr,
1025 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
1026 unsigned long int rather than unsigned long to be consistent with
1027 the coding conventions.
1029 2000-09-20 H.J. Lu <hjl@gnu.org>
1031 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
1033 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1035 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1037 * string/bits/string2.h: Unify #if usage.
1039 2000-09-27 Jakub Jelinek <jakub@redhat.com>
1041 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
1042 and disabling underflow or overflow, disable inexact as well.
1044 2000-09-26 Andreas Jaeger <aj@suse.de>
1046 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
1048 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
1050 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
1051 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
1053 * elf/ldconfig.c (search_dir): Allow unlimited path length.
1054 (create_links): Likewise.
1056 2000-09-27 Ulrich Drepper <drepper@redhat.com>
1058 * posix/tst-dir.c: Test a few error cases of chdir.
1060 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1062 * math/math_private.h: Don't add long double prototypes if
1063 NO_LONG_DOUBLE is defined.
1065 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
1067 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
1068 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
1070 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
1072 2000-09-26 Jakub Jelinek <jakub@redhat.com>
1074 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
1075 * sysdeps/sparc/sparc32/ieee754.h: New.
1076 * sysdeps/sparc/sparc64/bits/endian.h: Move...
1077 * sysdeps/sparc/bits/endian.h: ...here.
1078 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
1079 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
1080 %o1, not %o0 to see if we're parent or child. Optimize.
1082 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1084 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
1086 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
1087 code by Hans Boehm).
1088 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
1090 2000-09-20 H.J. Lu <hjl@gnu.org>
1092 * sysdeps/ia64/fpu/printf_fphex.c: New file.
1094 * sysdeps/ia64/fpu/libm-test-ulps: New file.
1096 2000-09-17 H.J. Lu <hjl@gnu.org>
1098 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
1100 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
1101 sysdeps/i386/fpu/s_isinfl.c.
1103 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
1104 sysdeps/i386/fpu/s_isnanl.c.
1106 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
1107 sysdeps/i386/fpu/s_nextafterl.c.
1109 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
1110 sysdeps/i386/fpu/bits/mathdef.h.
1112 2000-09-16 H.J. Lu <hjl@gnu.org>
1114 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
1115 DL_UNMAP_IS_SPECIAL is not defined.
1117 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
1118 (_dl_unmap): New prototype.
1119 (DL_UNMAP): New. Defined as _dl_unmap.
1121 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
1123 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
1125 2000-09-16 H.J. Lu <hjl@gnu.org>
1127 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
1128 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1130 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
1132 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
1134 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
1135 the memory location of a function from a function descriptor.
1137 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
1139 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
1142 2000-09-14 Jes Sorensen <jes@linuxcare.com>
1144 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
1145 variable as input argument.
1146 (__bswap_32): Likewise.
1148 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
1149 - found by Jim Wilson <wilson@cygnus.com>
1151 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1153 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
1156 2000-09-26 Andreas Schwab <schwab@suse.de>
1158 * locale/programs/ld-collate.c (collate_output): Only require
1159 alignment on __alignof__ (int32_t) instead of 4.
1160 * locale/loadlocale.c (_nl_load_locale): Likewise.
1161 * string/strcoll.c: Likewise.
1163 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1165 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
1166 parentheses around arithmetic used in | statement to kill compiler
1169 * math/math_private.h: Add prototype for __finitel.
1170 (__ilogbl): Likewise.
1171 (__isinfl): Likewise.
1172 (__isnanl): Likewise.
1173 (__atanl): Likewise.
1174 (__copysignl): Likewise.
1175 (__expm1l): Likewise.
1176 (__floorl): Likewise.
1177 (__frexpl): Likewise.
1178 (__ldexpl): Likewise.
1179 (__log1pl): Likewise.
1181 (__rintl): Likewise.
1182 (__scalbnl): Likewise.
1183 (__sqrtl): Likewise.
1185 (__sincosl): Likewise.
1187 2000-09-26 Andreas Schwab <schwab@suse.de>
1189 * sysdeps/m68k/fpu/libm-test-ulps: New file
1191 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1193 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
1195 2000-09-26 Andreas Jaeger <aj@suse.de>
1197 * misc/mkstemp64.c: New file.
1198 * misc/Makefile (routines): Add mkstemp64.
1199 * stdlib/stdlib.h: Add prototype and redirection magic.
1200 * misc/Versions: Add mkstemp64.
1202 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
1204 * nscd/dbg_log.c (dbg_log): Add missing format string.
1206 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1208 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
1209 since we filter out the variable once.
1210 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1211 * locale/newlocale.c (__newlocale): Likewise.
1212 * locale/setlocale.c (setlocale): Likewise.
1213 * malloc/malloc.c (ptmalloc_init): Likewise.
1214 * resolv/res_hconf.c (_res_hconf_init): Likewise.
1215 * resolv/res_init.c (__res_vinit): Likewise.
1216 * time/tzfile.c (__tzfile_read): Likewise.
1217 * sysdeps/generic/unsecvars.h: New file.
1218 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
1219 * elf/rtld.c (process_envvars): Likewise.
1220 * elf/Makefile (distribute): Add unsecvars.h.
1222 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
1223 real /dev/null device.
1225 * sysdeps/generic/check_fds.c: Include device-nrs.h.
1226 * sysdeps/generic/device-nrs.h: New file.
1227 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
1228 * misc/Makefile (distribute): Add device-nrs.h.
1230 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
1231 remove possible garbage at the end of the file.
1233 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1235 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
1236 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
1237 * stdio-common/tempnam.c: Warn about insecure tempnam.
1238 * misc/mktemp.c: Warn about insecure mktemp.
1240 * sysdeps/generic/check_fds.c: Check that file opened is really
1242 * posix/wordexp.c (exec_comm_child): Likewise.
1244 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
1246 * locale/Makefile (routines): Add nl_langinfo_l.
1247 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
1248 * locale/nl_langinfo_l.c: New file.
1249 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
1252 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1254 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
1255 (__gbk_to_ucs): Conditionalize private area mappings.
1256 (__gbk_from_ucs4_tab9): Likewise.
1257 (BODY for TO_LOOP): Likewise.
1258 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
1259 * iconvdata/testdata/GBK..UTF-8: Likewise.
1260 * iconvdata/tst-tables.sh: Enable GBK test.
1262 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1264 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
1265 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
1266 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
1268 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
1269 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
1271 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1273 * iconvdata/johab.c (final_to_ucs): Fix typos.
1274 (jamo_from_ucs_table): Likewise.
1275 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
1276 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
1277 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
1278 the range 0xD9E6..0xD9FE.
1279 * iconvdata/tst-tables.sh: Enable JOHAB testing.
1281 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1283 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
1286 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1288 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
1289 stream is in wide mode.
1291 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
1293 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1295 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
1297 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
1299 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1301 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
1302 reallocation logic for MALLOC (%as, %aS formats).
1304 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1306 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
1307 Add missing case in va_arg handling for numbers.
1308 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
1310 * stdio/tst-printf.sh: Adjust expected results.
1311 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1313 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1315 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
1316 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
1318 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
1319 as equivalent to uppercase hexadecimal digits.
1321 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1323 * iconvdata/testdata/EUC-KR..UTF8: New file.
1324 * iconvdata/testdata/EUC-TW: New file.
1325 * iconvdata/testdata/EUC-TW..UTF8: New file.
1326 * iconvdata/testdata/EUC-JP: New file.
1327 * iconvdata/testdata/EUC-JP..UTF8: New file.
1328 * iconvdata/testdata/ISO-2022-JP: New file.
1329 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
1330 * iconvdata/testdata/ISO-2022-JP-2: New file.
1331 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
1332 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
1333 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
1334 * iconvdata/testdata/ISO-2022-CN: New file.
1335 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
1336 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
1337 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
1338 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
1339 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
1341 2000-09-24 Andreas Jaeger <aj@suse.de>
1343 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
1344 function add_single_dir.
1345 (add_single_dir): New function.
1346 (search_dir): Use add_single_dir instead of recursing.
1348 * sysdeps/generic/dl-cache.h: Include stdint.h.
1349 (struct file_entry_new): Use fixed sizes for interoperability
1350 between 32bit and 64bit systems, add __unused to make alignment
1352 (CACHE_VERSION): Increment.
1353 (struct cache_file_new): Use fixed sizes, add one more unused
1354 entry to make alignment explicit.
1356 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1358 * elf/ldconfig.c (search_dir): Make more use of d_type information.
1360 2000-09-23 Ulrich Drepper <drepper@redhat.com>
1362 * stdio-common/printf-parse.h (parse_one_spec): Clear
1363 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1365 2000-09-18 Mark Kettenis <kettenis@gnu.org>
1367 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
1368 #undef since we don't have msync.
1370 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
1371 constant since that is what clock_t is.
1372 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
1374 2000-09-11 Mark Kettenis <kettenis@gnu.org>
1376 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
1377 multiply by LOAD_SCALE.
1379 2000-09-22 Jakub Jelinek <jakub@redhat.com>
1381 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
1382 (crypt_r, setkey_r, encrypt_r): Likewise.
1384 2000-09-22 Andreas Jaeger <aj@suse.de>
1386 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
1389 * sysdeps/alpha/fpu/libm-test-ulps: New file.
1390 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
1392 2000-09-21 Andreas Jaeger <aj@suse.de>
1394 * math/libm-test.inc (atan_test): Test for existence of function.
1395 (expm1_test): Likewise.
1396 (acos_test): Likewise.
1397 (asin_test): Likewise.
1398 (exp_test): Likewise.
1399 (log10_test): Likewise.
1400 (log_test): Likewise.
1401 (pow_test): Likewise.
1402 (sqrt_test): Likewise.
1403 (cos_test): Likewise.
1404 (sin_test): Likewise.
1405 (tan_test): Likewise.
1406 (log1p_test): Likewise.
1407 (log2_test): Likewise.
1409 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
1411 * libio/oldiofsetpos64.c: Fix alias names.
1413 2000-09-21 Martin Buchholz <martin@xemacs.org>
1415 * manual/terminal.texi (Allocation): Sample code correction.
1417 2000-09-20 Andreas Jaeger <aj@suse.de>
1419 * iconvdata/Makefile (generated): Add tst-tables.out.
1421 * intl/Makefile (generated): Add test output.
1423 2000-09-19 Andreas Jaeger <aj@suse.de>
1425 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
1426 Reported by Jens-Uwe Mager <jum@helios.de>.
1428 2000-09-18 Ulrich Drepper <drepper@redhat.com>
1430 * version.h (VERSION): Bump to 2.1.94.
1432 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
1433 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
1434 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
1435 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
1437 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
1439 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1441 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
1442 range 0xD800..0xDFFF.
1443 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1444 (BODY for FROM_LOOP): Likewise.
1445 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
1446 (internal_ucs2_loop): Likewise.
1447 (ucs2reverse_internal_loop): Likewise.
1448 (internal_ucs2reverse_loop): Likewise.
1450 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1452 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
1455 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1457 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
1458 * iconvdata/tst-table-to.c (main): Likewise.
1460 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1462 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
1464 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
1465 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
1466 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
1467 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
1468 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
1469 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
1470 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
1471 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
1472 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
1473 encodings when needed. When outputting an announcement, don't clear
1474 most other announcements.
1476 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1478 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
1479 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
1481 2000-09-14 Bruno Haible <haible@clisp.cons.org>
1483 * intl/Versions: Add bind_textdomain_codeset.
1485 2000-09-16 Ralf Baechle <ralf@gnu.org>
1487 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
1489 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
1490 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
1491 it will even work when not loaded to the standard address.
1492 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
1493 before the dynamic linker itself is relocated.
1495 2000-09-18 Andreas Jaeger <aj@suse.de>
1497 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1498 __ASSUME_32BITUIDS for MIPS.
1499 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
1500 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
1502 2000-09-17 H.J. Lu <hjl@gnu.org>
1504 * catgets/Makefile ($(objpfx)de/libc.cat): Use
1505 $(make-target-directory) instead of mkdir.
1507 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1509 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1510 __ASSUME_32BITUIDS for __powerpc__.
1511 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
1512 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
1514 2000-09-17 Ulrich Drepper <drepper@redhat.com>
1516 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
1518 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1520 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1522 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
1524 * sysdeps/m68k/Implies: Likewise.
1525 * sysdeps/sparc/sparc64/Implies: Likewise.
1527 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1529 * elf/readlib.c (process_file): Don't error for stale .so links either.
1531 2000-09-16 Ulrich Drepper <drepper@redhat.com>
1533 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
1536 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
1537 Patch by Thorsten Kukuk <kukuk@suse.de>.
1539 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
1540 (test): Add default.
1541 (modules-names): Add defaultmod1 and defaultmod2.
1542 Add rules to build test objects.
1544 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1546 * wctype/wctype.h: Always include <bits/types.h>.
1547 Reported by Jim Meyering <meyering@ascend.com>.
1549 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
1550 * elf/dl-support.c: Likewise.
1552 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
1553 st_blocks member in stat and stat64 structs.
1554 Patch by Bill Nottingham <notting@redhat.com>.
1556 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
1559 * math/complex.h: Don't define _Complex macro for gcc 3. Add
1560 __extension__ to _Complex_I definition since gcc warns if -pedantic.
1561 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
1562 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1564 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
1565 necessary. Move includes of POSIX and Unix limits files to the end.
1566 * stdlib/Makefile (tests): Add tst-limits.
1567 * stdlib/tst-limits.h: New file.
1569 2000-09-15 Andreas Jaeger <aj@suse.de>
1571 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
1573 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
1575 2000-09-15 Jakub Jelinek <jakub@redhat.com>
1577 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
1579 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1580 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
1582 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1584 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
1586 (modules-names): Add nextmod1 and nextmod2.
1587 Add rules to build and run next.
1588 * elf/next.c: New file.
1589 * elf/nextmod1.c: New file.
1590 * elf/nextmod2.c: New file.
1592 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1594 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
1596 2000-09-15 Andreas Jaeger <aj@suse.de>
1598 * sysdeps/mips/fpu/fenv_libc.h: New file.
1599 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
1600 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
1601 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
1603 * sysdeps/mips/fpu/feenablxcpt.c: New file.
1604 * sysdeps/mips/fpu/fegetexcept.c: New file.
1605 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
1607 2000-09-14 Ulrich Drepper <drepper@redhat.com>
1609 * intl/Makefile: Avoid unnecessary test reruns.
1611 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
1613 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
1614 to not use sysctl(). Too many architectures have problems with it.
1616 2000-09-14 Andreas Jaeger <aj@suse.de>
1618 * scripts/config.sub: New version from subversions.gnu.org.
1620 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
1623 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1625 * posix/regex.c (compile_range): Cast collseq index to unsigned char
1626 to avoid accessing data before collseq.
1628 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
1629 pasting strings together.
1631 2000-09-14 Greg McGary <greg@mcgary.org>
1633 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
1635 * sysdeps/generic/bp-semctl.h: Likewise.
1636 * sysdeps/generic/bp-start.h: Likewise.
1637 * sysdeps/generic/bp-sym.h: Likewise.
1638 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
1641 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1643 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
1646 * elf/elf.h: Add missing official relocations.
1648 * libio/stdio.h: Define __FILE if __need___FILE is defined.
1649 * stdio/stdio.h: Likewise.
1650 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
1651 * include/stdio.h: Handle __need___FILE like __need_FILE.
1652 * include/wchar.h: Use __FILE instead of FILE.
1653 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
1654 * libio/fwscanf.c: Likewise.
1655 * libio/getwc.c: Likewise.
1657 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
1658 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
1659 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
1661 * assert/assert.h: Update comment header about ISO C section.
1662 * math/complex.h: Likewise.
1663 * ctype/ctype.h: Likewise.
1664 * include/errno.h: Likewise.
1665 * include/limits.h: Likewise.
1666 * locale/locale.h: Likewise.
1667 * math/math.h: Likewise.
1668 * setjmp/setjmp.h: Likewise.
1669 * signal/signal.h: Likewise.
1670 * stdio/stdio.h: Likewise.
1671 * libio/stdio.h: Likewise.
1672 * stdlib/stdlib.h: Likewise.
1673 * string/string.h: Likewise.
1674 * time/time.h: Likewise.
1675 * wcsmbs/wchar.h: Likewise.
1676 * wctype/wctype.h: Likewise.
1677 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1679 2000-09-13 Andreas Jaeger <aj@suse.de>
1681 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
1682 for no more entries.
1683 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
1684 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
1685 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
1687 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1689 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
1690 constant since this is what clock_t is.
1691 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1692 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
1693 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
1694 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
1696 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
1697 definitions are requested.
1699 2000-09-13 Andreas Jaeger <aj@suse.de>
1701 * shlib-versions: libBrokenLocale needs minimal version for ia64,
1702 sparc64 and sh to synch with libc.
1704 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1706 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
1707 (distribute): Add iso-2022-cn-ext.c.
1708 Add definitions to compile the new module.
1709 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
1710 * iconvdata/iso-2022-cn-ext.c: New file.
1711 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
1712 ucs4_from_isoir165. Increment input pointer if successful.
1714 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
1716 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
1718 2000-09-01 Jes Sorensen <jes@linuxcare.com>
1720 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
1721 __syscall_getdents64 wrapper.
1723 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
1725 2000-09-12 Ulrich Drepper <drepper@redhat.com>
1727 * iconvdata/gb18030.c: Many many changes. Make consistent with
1728 charmap and with itself.
1729 * iconvdata/tst-tables.sh: Test GB18030.
1731 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1733 * iconv/skeleton.c: Fix last patch, add missing parameter to
1734 unaligned function call.
1736 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1738 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
1739 of decimal ellipsis.
1741 2000-09-11 Bruno Haible <haible@clisp.cons.org>
1743 * locale/programs/ld-collate.c (collate_read): Always initialize
1746 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1748 * locale/programs/ld-collate.c (collate_finish): Upper bound for
1749 ruleidx is 128, not 256.
1751 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1753 * locale/programs/ld-collate.c (collate_read): Correct check for
1754 already inserted entries.
1756 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1758 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
1761 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1763 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
1764 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
1766 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1768 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
1771 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1773 * iconvdata/utf-7.c: New file.
1774 * iconvdata/gconv-modules (UTF-7): New module entries.
1775 * iconvdata/Makefile (modules): Add UTF-7.
1776 (distribute): Add utf-7.c.
1777 * iconvdata/testdata/UTF-7: New file.
1778 * iconvdata/testdata/UTF-7..UTF8: New file.
1779 * iconvdata/TESTS (UTF-7): New entry.
1780 * iconvdata/run-iconv-test.sh: Fix confusing output.
1782 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1784 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
1786 2000-09-10 David S. Miller <davem@redhat.com>
1788 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
1789 frame pointer offset for non-fast path.
1791 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1793 * locale/programs/3level.h (*_init): Initialize level1, level2,
1795 (*_add): Remove a few unnecessary conditionals.
1797 2000-09-05 Wolfram Gloger <wg@malloc.de>
1799 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
1800 ensure usability of mutex as an `in use' flag.
1802 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1804 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
1806 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
1807 ugly GMON_WEAK_START hack.
1808 Patch by Philip Blundell <philb@gnu.org>.
1810 * sysdeps/i386/i486/bits/string.h: Pretty printing.
1812 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1814 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
1815 and PPC_ICBI asm for broken compilers.
1816 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1818 2000-09-09 Andreas Jaeger <aj@suse.de>
1820 * manual/message.texi (Advanced gettext functions): Fix typo.
1822 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
1825 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1827 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
1829 * sysdeps/ia64/memccpy.S: Likewise.
1830 Patches by Jim Wilson <wilson@redhat.com>.
1832 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
1833 before trying to read /proc.
1834 Patch by Matt Wilson <msw@redhat.com>.
1835 * include/sys/utsname.h: Declare __uname.
1836 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
1837 * sysdeps/mach/hurd/uname.c: Likewise.
1838 * sysdeps/unix/syscalls.list: Likewise.
1840 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
1843 2000-09-08 Ulrich Drepper <drepper@redhat.com>
1845 * posix/getopt.c (_getopt_internal): When long_only is set always
1846 recognize conflicts just like before.
1848 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1850 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
1852 2000-09-08 Greg McGary <greg@mcgary.org>
1854 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
1855 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
1856 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
1858 2000-09-08 Andreas Jaeger <aj@suse.de>
1860 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
1862 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
1864 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
1865 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1866 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
1868 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1870 * iconvdata/tst-tables.sh: Enable EUC-KR test.
1872 * elf/dl-load.c (lose): Decrement _nl_loaded.
1873 (_dl_map_object_from_fd): Don't try to dlopen executables.
1875 * iconvdata/tst-tables.sh: Actually return with an error if
1876 something goes wrong.
1877 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
1878 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
1880 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
1882 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
1883 * iconvdata/tst-table-from.c: Include <string.h>.
1884 (try): Correct cast in iconv call.
1886 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
1888 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
1889 (sysdep_routines): Remove dl-start.
1890 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1892 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
1894 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
1895 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1897 2000-09-06 Andreas Schwab <schwab@suse.de>
1899 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
1901 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1903 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
1905 * scripts/config.sub: Strip out -unknown for Linux targets.
1906 Patch by Scott Bambrough <scottb@netwinder.org>.
1908 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
1911 2000-09-07 Andreas Jaeger <aj@suse.de>
1913 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
1915 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
1918 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
1920 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
1921 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1923 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
1925 * stdlib/tst-bsearch.c (main): Add more test cases.
1927 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
1928 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1929 Reported by GOTO Masanori <gotom@debian.or.jp>.
1931 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1933 * posix/Makefile (tests): Add tst-dir.
1934 (tst-dir-ARGS): New variable.
1935 * posix/tst-dir.c: New file.
1937 2000-09-07 Andreas Jaeger <aj@suse.de>
1939 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
1942 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
1944 2000-09-06 Ulrich Drepper <drepper@redhat.com>
1946 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
1947 use the hack with tryopen_o_directory to determine at runtime
1949 * sysdeps/unix/sysv/linux/opendir.c: New file.
1950 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1951 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
1953 * catgets/Depend: New file. Add intl.
1954 * catgets/Makefile (tests): Add tst-catgets.
1955 (generated): Remove de.msg.
1956 (generated-dirs): Add de.
1957 Add dependency if tst-catgets output on de/libc.cat.
1958 * catgets/tst-catgets.c: New file.
1960 * po/ja.po: New file.
1961 * po/el.po: Update from translation team.
1963 * wcsmbs/Depend: New file.
1964 * wcsmbs/Makefile (tests): Add tst-btowc.
1965 (tst-btowc-ENV): Define.
1966 * wcsmbs/tst-btowc.c: New file.
1968 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
1969 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
1971 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
1973 * stdlib/Makefile (tests): Add tst-bsearch.
1974 * stdlib/tst-bsearch.c: New file.
1976 * posix/getopt.c (_getopt_internal): Don't recognize an option
1977 name as ambiguous if it's a prefix for more than one name but the
1978 other struct option values are identical.
1980 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
1981 Don't depend on visual inspection of the output file to recognize
1983 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
1985 2000-09-06 Andreas Jaeger <aj@suse.de>
1987 * sysdeps/alpha/soft-fp/Dist: New file.
1988 * sysdeps/i386/soft-fp/Dist: New file.
1989 * sysdeps/mips/mips64/soft-fp/Dist: New file.
1990 * sysdeps/mips/soft-fp/Dist: New file.
1991 * sysdeps/powerpc/soft-fp/Dist: New file.
1992 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
1993 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
1995 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
1996 Use sysdep_routines instead of routines to fix make dist failure.
1997 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
1999 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
2001 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
2002 sysdep_headers instead of headers for make dist.
2004 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
2007 2000-09-06 Andreas Schwab <schwab@suse.de>
2009 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
2011 2000-09-06 Andreas Jaeger <aj@suse.de>
2013 * soft-fp/Makefile (distribute): Remove ChangeLog.
2015 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
2016 sysdep_routines instead of routines for make dist.
2018 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2020 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
2021 compatibility check for old stream and call _IO_wide in doubt.
2022 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
2023 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
2024 needed tst for such an old structure and don't do anything.
2025 * libio/freopen.c: Remove declaration of _IO_stdin_used.
2027 2000-09-06 Andreas Jaeger <aj@suse.de>
2029 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
2030 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2033 * soft-fp/ChangeLog: Merged with this file.
2035 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2037 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
2039 * soft-fp/Makefile (distribute): Add the math functions, too.
2041 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
2043 2000-03-03 Geoff Keating <geoffk@cygnus.com>
2045 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
2048 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
2049 * soft-fp/sysdeps/powerpc/q_*: New files.
2051 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2053 * stdio-common/vfprintf.c (process_string_arg): Handle precision
2054 in wide char case correctly. Don't allocate too long temporary
2055 strings with alloca.
2057 * stdio-common/Makefile (tests): Add tst-swprintf.
2058 (tst-swprintf-ENV): New variable.
2059 * stdio-common/tst-swprintf.c: New file.
2061 2000-09-05 Andreas Jaeger <aj@suse.de>
2063 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
2064 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
2065 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2067 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2069 * configure.in: Strip out "unknown" from configuration names.
2071 2000-09-05 Andreas Jaeger <aj@suse.de>
2073 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
2075 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
2076 * sysdeps/sparc/sparc32/Implies: Likewise.
2077 * sysdeps/powerpc/Implies: Likewise.
2079 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
2080 * libio/oldiofgetpos64.c: Likewise.
2082 * soft-fp/Makefile (distribute): Remove configure.
2084 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
2086 * soft-fp/configure: Remove.
2088 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2089 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2091 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
2092 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
2094 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
2095 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
2097 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
2098 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
2100 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2101 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2103 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
2104 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
2106 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
2107 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
2109 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
2110 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
2112 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
2113 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
2115 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
2116 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
2118 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
2119 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
2121 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
2122 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
2124 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
2125 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
2127 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
2128 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
2130 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
2131 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
2133 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
2134 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
2136 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
2137 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
2139 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
2140 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
2142 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
2143 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
2145 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
2146 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
2148 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
2149 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
2151 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
2152 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
2154 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
2155 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
2157 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
2158 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
2160 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
2161 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
2163 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
2164 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
2166 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
2167 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
2169 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
2170 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
2172 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
2173 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
2175 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
2176 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
2178 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
2179 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
2181 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
2182 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
2184 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
2185 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
2187 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
2188 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
2190 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
2191 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
2193 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
2194 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
2196 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
2197 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
2199 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
2200 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
2202 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
2203 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
2205 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
2206 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
2208 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
2209 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
2211 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
2212 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
2214 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
2215 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
2217 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
2218 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
2220 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
2221 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
2223 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
2224 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
2226 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
2227 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
2229 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
2230 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
2232 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
2233 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
2235 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
2236 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
2238 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
2239 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
2241 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
2242 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
2244 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
2245 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
2247 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
2248 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
2250 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
2251 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
2253 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
2254 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
2256 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
2257 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
2259 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
2260 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
2262 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
2263 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
2265 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
2266 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
2268 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
2269 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
2271 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
2272 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
2274 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
2275 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
2277 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
2278 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
2280 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
2281 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
2283 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
2284 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
2286 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
2287 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
2289 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
2290 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
2292 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
2293 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
2295 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
2296 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
2298 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
2299 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
2301 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
2302 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
2304 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
2305 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
2307 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
2308 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
2310 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
2311 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
2313 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
2314 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
2316 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
2317 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
2319 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
2320 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
2322 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
2323 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
2325 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
2326 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
2328 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
2329 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
2331 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
2332 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
2334 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
2335 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
2337 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
2338 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
2340 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
2341 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
2343 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
2344 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
2346 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
2347 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
2349 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
2350 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
2352 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
2353 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
2355 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
2356 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
2358 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
2359 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
2361 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
2362 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
2364 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
2365 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
2367 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
2368 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
2370 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
2371 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
2373 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
2374 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
2376 * soft-fp/sysdeps/powerpc/Versions: Move from here...
2377 * sysdeps/powerpc/soft-fp/Versions: ... to here.
2379 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
2380 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
2382 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
2383 change symbol version.
2384 * libio/oldiofgetpos64.c: Likewise.
2385 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
2387 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
2389 Reported by dyky@kondara.org, closes PR libc/1886.
2391 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
2394 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2396 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
2397 script when ^C is hit.
2399 * locale/programs/localedef.c (construct_output_path): Correct
2400 computation of endp after asprintf.
2401 * locale/programs/locfile.c (write_locale_data): Don't add extra
2404 2000-09-05 Andreas Jaeger <aj@suse.de>
2406 * scripts/config.guess: New upstream version.
2407 * scripts/config.sub: Likewise.
2408 * manual/texinfo.tex: Likewise.
2410 2000-09-04 Andreas Schwab <schwab@suse.de>
2412 * elf/Makefile (all-dl-routines): New variable.
2413 (elide-routines.os): Use it instead of $(dl-routines).
2414 (all-rtld-routines): New variable.
2415 (extra-objs): Use it instead of $(rtld-routines).
2416 ($(objpfx)dl-allobjs.os): Likewise.
2417 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
2418 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2421 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2423 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
2424 Set fname to NULL if the module wasn't found.
2426 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2428 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
2429 true if trans->name already ends in ".so".
2431 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2433 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
2435 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
2436 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
2437 (__gconv_release_shlib): Change return type to void.
2438 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
2439 step->__counter here.
2440 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
2441 if the reference is zero.
2442 (release_step): New function.
2443 (gen_steps): Always initialize the __counter to 1. Use release_step.
2444 Don't call the destructor on the step whose initializer failed.
2445 (increment_counter): Use release_step. Don't normally run destructors
2447 (__gconv_close_transform): Use release_step.
2449 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2451 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
2452 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
2454 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2456 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
2457 If the first byte is 0x8E, don't ask for 4 bytes until it has been
2458 verified that the second byte is valid. Leave it to cns11643_to_ucs4
2459 to check for incomplete input.
2460 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
2461 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
2462 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2463 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
2465 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
2466 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2467 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
2468 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
2471 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2473 * iconv/gconv_db.c (find_derivation): Always use the least-cost
2476 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2478 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
2481 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2483 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
2484 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
2487 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2489 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
2491 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2493 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
2495 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2497 * iconvdata/tst-tables.sh: New file.
2498 * iconvdata/tst-table.sh: New file.
2499 * iconvdata/tst-table-from.c: New file.
2500 * iconvdata/tst-table-to.c: New file.
2501 * iconvdata/tst-table-charmap.sh: New file.
2502 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
2503 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
2504 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
2505 ISIRI-3342.irreversible, SJIS.irreversible.
2506 (tests): Add dependency on tst-tables.out.
2507 (tst-tables.out, tst-tables-clean): New rules.
2508 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
2509 * iconvdata/ISIRI-3342.irreversible: New file.
2510 * iconvdata/EUC-JP.irreversible: New file.
2511 * iconvdata/SJIS.irreversible: New file.
2513 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2515 * manual/locale.texi (General Numeric): Update description of
2516 representation of the grouping information in the locale data.
2517 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
2519 2000-09-04 Andreas Jaeger <aj@suse.de>
2521 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
2522 * iconv/iconv_prog.c (options): Fix typo.
2523 Reported by dyky@kondara.org, closes PR libc/1885.
2525 2000-09-04 Andreas Jaeger <aj@suse.de>
2527 * sysdeps/generic/fegetenv.c: It's __fegetenv.
2528 Reported by Rob Levin <lilo@transvirtual.com>.
2530 2000-09-03 Ulrich Drepper <drepper@redhat.com>
2532 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
2533 to the typedefs of __timezone_ptr_t.
2534 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
2536 2000-09-02 Jakub Jelinek <jakub@redhat.com>
2538 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
2541 2000-09-01 H.J. Lu <hjl@gnu.org>
2543 * Makeconfig (built-program-cmd): Don't use the dynamic linker
2544 to run a binary if it is in $(tests-static).
2546 * Rules (binaries-static): Add $(tests-static).
2548 2000-09-02 Andreas Jaeger <aj@suse.de>
2550 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
2552 * libio/fmemopen.c (fmemopen_close): Revert one part of last
2555 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2557 * iconvdata/big5hkscs.c: Regenerated from charmap.
2558 * iconvdata/testdata/BIG5HKSCS: Regenerated.
2559 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
2561 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
2562 statement. General cleanup.
2564 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2566 * wctype/wcfuncs.c (iswblank): New function.
2567 * wctype/wcfuncs_l.c (__iswblank_l): New function.
2568 * wctype/wcextra.c: Remove file.
2569 * wctype/wcextra_l.c: Remove file.
2570 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
2572 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2574 * locale/programs/ld-collate.c (collate_output): Remove redundant
2576 * string/strcoll.c: Likewise.
2577 * string/strxfrm.c: Include assert.h. Add assert calls like in
2580 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2582 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
2583 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
2584 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
2585 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
2586 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
2587 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
2588 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
2589 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
2590 _NL_CTYPE_GAP5/6 respectively.
2592 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
2593 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
2594 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
2595 Don't initialize __ctype_names and __ctype_width.
2596 * wctype/cname-lookup.h: Remove file.
2597 * wctype/Makefile (distribute): Remove cname-lookup.h.
2598 * wctype/wchar-lookup.h: Include stdint.h.
2599 * wctype/wctype.c (__wctype): Assume new locale format.
2600 * wctype/wctype_l.c (__wctype_l): Likewise.
2601 * wctype/iswctype.c: Don't include cname-lookup.h.
2602 (__iswctype): Assume new locale format.
2603 * wctype/iswctype_l.c: Don't include cname-lookup.h.
2604 (__iswctype_l): Assume new locale format.
2605 * wctype/wctrans.c: Don't include ctype.h.
2606 (wctrans): Assume new locale format.
2607 * wctype/wctrans_l.c (__wctrans_l): Likewise.
2608 * wctype/towctrans.c: Don't include cname-lookup.h.
2609 (__towctrans): Assume new locale format.
2610 * wctype/towctrans_l.c: Don't include cname-lookup.h.
2611 (__towctrans_l): Assume new locale format.
2612 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
2613 localeinfo.h instead.
2614 (__NO_WCTYPE): Remove unused macro.
2615 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
2617 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
2618 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
2619 (towlower, towupper): Likewise.
2620 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
2621 localeinfo.h instead.
2622 (__NO_WCTYPE): Remove unused macro.
2623 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2624 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2625 __iswxdigit_l): Assume new locale format.
2626 (__towlower_l, __towupper_l): Likewise.
2627 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
2628 (__ctype32_b): Remove declaration.
2629 (internal_wcwidth): Assume new locale format.
2630 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
2631 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
2632 to map32_b, rename width_3level to width.
2633 (ctype_output): Always create new locale format. Don't emit
2634 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
2635 (allocate_arrays): Always create new locale format.
2637 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
2638 * locale/weightwc.h (findidx): Assume new locale format.
2639 * string/strcoll.c (wcscoll): Remove local variables size, layers,
2641 * string/strxfrm.c (wcsxfrm): Likewise.
2642 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
2643 local variable collseq to 'const char *'.
2644 (SUFFIX): Don't use, don't undefine.
2645 * posix/fnmatch.c: Remove SUFFIX definition.
2646 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
2647 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
2648 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
2649 (collate_finish): Always create new locale format. Remove local
2650 variables min_total, act_size.
2651 (collate_output): Always create new locale format. Remove local
2652 variables table_size, names, tablewc. Rename tablewc_3level to
2655 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2657 * locale/programs/ld-collate.c (obstack_int32_grow,
2658 obstack_int32_grow_fast): New inline functions.
2659 (output_weightwc, collate_output): Use them where possible.
2661 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2663 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
2664 patch (_mode -> _flags).
2666 * libio/Makefile (headers): Add stdio_ext.h.
2667 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
2668 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
2669 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
2670 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
2671 __fsetlocking, and _flushlbf.
2672 * libio/__fbufsize.c: New file.
2673 * libio/__flbf.c: New file.
2674 * libio/__fpending.c: New file.
2675 * libio/__fpurge.c: New file.
2676 * libio/__freadable.c: New file.
2677 * libio/__freading.c: New file.
2678 * libio/__fsetlocking.c: New file.
2679 * libio/__fwritable.c: New file.
2680 * libio/__fwriting.c: New file.
2681 * libio/stdio_ext.h: New file.
2682 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
2683 * libio/libio.h (_IO_USER_LOCK): Define.
2684 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
2685 test _IO_USER_LOCK flag first.
2687 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
2690 2000-09-01 Andreas Jaeger <aj@suse.de>
2692 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
2694 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
2696 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2698 * math/Makefile (tests): Add tst-defintions.
2699 * math/tst-definitions.c: New file.
2701 * stdlib/Makefile (headers): Add bits/wchar.h.
2702 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
2703 * sysdeps/generic/bits/wchar.h: New file.
2704 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
2705 file to define WCHAR_MIN and WCHAR_MAX.
2706 Change UINT*8_MAX and UIN*16_MAX value to type int.
2707 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
2708 file to define WCHAR_MIN and WCHAR_MAX.
2709 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
2711 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
2712 * sysdeps/generic/bits/mathdef.h: Likewise.
2713 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2714 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2715 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2716 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2717 * locale/locale.h (struct lconv): Add __ prefix to the new members
2719 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
2720 imaxdiv optimizations.
2721 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
2722 * sysdeps/wordsize-64/ldiv.c: Likewise.
2723 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
2725 * sysdeps/generic/bits/fenv.h: Likewise.
2726 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2727 * sysdeps/ia64/bits/fenv.h: Likewise.
2728 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
2729 * sysdeps/mips/bits/fenv.h: Likewise.
2730 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2731 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2732 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2734 * inet/rcmd.c: Use *stat64 instead of *stat internally.
2735 * inet/ruserpass.c: Likewise.
2736 * catgets/open_catalog.c: Likewise.
2737 * intl/loadmsgcat.c: Likewise.
2738 * io/getdirname.c: Likewise.
2739 * locale/loadlocale.c: Likewise.
2740 * misc/getusershell.c: Likewise.
2741 * stdlib/canonicalize.c: Likewise.
2742 * sysdeps/posix/euidaccess.c: Likewise.
2743 * sysdeps/posix/isfdtype.c: Likewise.
2744 * sysdeps/posix/posix_fallocate.c: Likewise.
2745 * sysdeps/posix/tempname.c: Likewise.
2746 * sysdeps/unix/grantpt.c: Likewise.
2747 * sysdeps/unix/opendir.c: Likewise.
2748 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
2749 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
2750 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2751 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
2752 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2753 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2754 * sysvipc/ftok.c: Likewise.
2755 * time/getdate.c: Likewise.
2757 * time/getdate.c: Add extra access test.
2759 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2761 * version.h (VERSION): Bump to 2.1.93.
2763 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
2764 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
2766 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
2767 Make this a new rule depending on tst-gettext.out and run mtrace.
2768 * intl/tst-gettext.c: Call mtrace.
2769 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
2771 * elf/dl-reloc.c: Add a few more __builtin_expect.
2773 * configure.in: Remove --with-gettext option.
2775 * intl/dcigettext.c (free_mem): Correct freeing of
2776 _nl_domain_bindings list.
2778 * sysdeps/generic/setenv.c (free_mem): New function. Free all
2781 * intl/locale.alias: Add aliases for bokmal and nynorsk.
2783 * locale/iso-639.def: Fix 639-1 code for Bokmal.
2785 * stdio-common/itoa-digits.c: Move upper digits to...
2786 * stdio-common/itoa-udigits.c: ...here. New file.
2787 * stdio-common/Makefile (routines): Add itoa-udigits.
2789 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
2790 relocate ld.so don't add supprt for relocations which should not
2793 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
2794 __secure_getenv. Instead test __libc_enable_secure once.
2796 * io/pwd.c (main): Provide a good example, use *_unlocked function.
2798 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2800 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
2801 whether the new record should be freed if it's a duplicate.
2802 (add_module): Adjust insert_module call.
2803 (__gconv_read_conf): Likewise.
2804 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
2806 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
2808 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
2810 * include/link.h (struct r_search_path_struct): New.
2811 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
2812 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
2814 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
2815 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
2816 added at startup time.
2817 * elf/dl-load.c: Fix memory handling. r_search_path_struct
2818 contains element to remember fact that we can free memory.
2819 (all_dirs): Renamed to _dl_all_dirs. Made global.
2820 (_dl_init_all_dirs): New variable.
2821 (fillin_rpath): Save one malloc call.
2822 (decompose_rpath): Change interface. New first parameter points to
2823 r_search_path_struct.
2824 (_dl_init_paths): Adjust for changes. Mark all memory as not
2825 deletable. Set _dl_init_all_paths value.
2826 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
2827 parameter replaced with r_search_path_struct *. Information about
2828 freeing now contained in r_search_path_struct.
2829 (_dl_map_object): Adjust for above changes.
2831 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
2833 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
2834 when adding new entries.
2836 * elf/dl-load.c (fillin_rpath): Make local copy of where string
2837 since the object being loaded can be unloaded.
2839 * iconvdata/Makefile (tests): Add tst-loading.
2840 * iconvdata/tst-loading.c: New file.
2842 2000-08-29 Bruno Haible <haible@clisp.cons.org>
2844 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
2845 When comparing a char with an int, always cast the char to
2846 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
2847 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
2849 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2851 * time/strftime.c (my_strftime): Add compatibility code for use
2852 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
2854 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
2855 return 0 for success but always < 0 on failure.
2857 * nss/getXXbyYY_r.c: Define result to *result before including
2860 2000-08-30 Andreas Jaeger <aj@suse.de>
2862 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
2864 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2866 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
2868 * iconvdata/TESTS: Add BIG5HKSCS entry.
2869 * iconvdata/testdata/BIG5HKSCS: New file.
2870 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
2872 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
2875 * libio/iogetline.c: Set mode before the loop in case n==0.
2876 * libio/iogetwline.c: Likewise.
2878 2000-08-29 H.J. Lu <hjl@gnu.org>
2880 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
2882 (_IO_new_file_overflow): Likewise.
2883 * libio/genops.c (_IO_flush_all): Likewise.
2884 * libio/ioftell.c (_IO_ftell): Likewise.
2886 2000-08-29 Akira Higuchi <a@kondara.org>
2888 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
2889 and __end_fct fields of struct __gconv_step.
2890 * iconv/Makefile (tests): Add iconv-bug2.
2891 * iconv/iconv-bug2.c: New file.
2893 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
2894 instead of 'inptr - inend' to ksc5601_to_ucs4.
2896 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
2898 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
2899 character or shift sequence is found at the end of the input
2900 string, return__GCONV_INCOMPLETE_INPUT instead of
2901 __GCONV_EMPTY_INPUT.
2902 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
2903 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
2905 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
2906 __GCONV_ILLEGAL_INPUT for 8bit characters.
2908 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2910 * signal/signal.h (sigpause): Move __THROW before __asm__.
2912 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
2913 names don't match don't return.
2914 Patch by Olaf Kirch <okir@flash.lst.de>.
2916 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2918 * time/strftime.c (my_strftime): Handle # flag for %b as well.
2920 2000-08-27 H.J. Lu <hjl@gnu.org>
2922 * posix/Makefile (otherlibs): Add for building with static-nss
2925 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2927 * libio/stdio.h: Add fmemopen prototype.
2929 2000-08-25 Andreas Jaeger <aj@suse.de>
2931 * libio/Makefile (routines): Add fmemopen.
2932 (tests): Add test-fmemopen.
2933 * libio/Versions: Add fmemopen with version GLIBC_2.2.
2934 * libio/test-fmemopen.c: New file.
2935 * libio/fmemopen.c: New file.
2936 Patches by Hanno Mueller <kontakt@hanno.de>.
2938 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2940 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
2941 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
2943 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
2944 to avoid crashing statically linked applications.
2946 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2948 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
2949 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
2951 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
2952 If the result is fits in the buffer, copy only as many bytes as needed.
2954 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
2955 buffer after copying numbuf into it.
2956 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2958 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2960 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
2961 the result. When string_len < len, don't clear the rest of the buffer.
2963 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2965 Support for new LC_COLLATE format.
2966 * locale/coll-lookup.h: New file.
2967 * locale/weightwc.h (findidx): When size == 0, call
2968 collidx_table_lookup.
2969 * wcsmbs/wcscoll.c: Include coll-lookup.h.
2970 * wcsmbs/wcsxfrm.c: Likewise.
2971 * posix/fnmatch.c: Likewise.
2972 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
2973 collseq_table_lookup.
2974 * locale/programs/3level.h: New file.
2975 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
2976 by including "3level.h".
2977 * locale/programs/ld-collate.c (wchead_table, collidx_table,
2978 collseq_table): New types, defined by including "3level.h".
2979 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
2980 (encoding_mask, encoding_byte): Remove.
2981 (utf8_encode): Use simple shifts instead.
2982 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
2983 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
2984 (collate_output): New local variable tablewc_3level. When
2985 !oldstyle_tables, set table_size to 0 and names to NULL and fill
2986 tablewc_3level instead of tablewc. Change format of TABLEWC and
2987 COLLSEQWC entries written to the file.
2988 * locale/C-collate.c (collseqwc): Change format.
2989 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
2991 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
2993 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2995 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
2996 (locale_ctype_t): New charnames_idx field.
2997 (ctype_startup): Initialize charnames_idx field.
2998 (find_idx): Speed up dramatically by using charnames_idx inverse table.
3000 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3002 * locale/C-ctype.c: Switch to new locale format.
3003 (_nl_C_LC_CTYPE_names): Remove array.
3004 (STRUCT_CTYPE_CLASS): New macro.
3005 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
3006 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
3007 New three-level tables.
3008 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
3009 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
3010 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
3011 12 class tables and 2 map tables at the end.
3012 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
3013 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
3014 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
3016 (b): Remove trailing semicolon.
3017 (__ctype_names, __ctype_width): Don't initialize.
3018 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
3020 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3022 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
3023 is guaranteed to be allocated with the same malloc() and may be
3025 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
3026 been set to empty by an earlier open_path call, don't pass it again.
3028 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3030 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
3031 we are not optimizing.
3033 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
3036 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
3038 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3040 2000-08-28 Andreas Jaeger <aj@suse.de>
3042 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
3044 2000-08-28 Mark Kettenis <kettenis@gnu.org>
3046 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
3047 getpeername. Use ISO C style function definition.
3048 (getpeername): Provide weak alias.
3049 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
3050 setrlimit. Use ISO C style function definition.
3051 (setrlimit): Provide weak alias.
3053 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
3055 * shlib-versions: Add a rule for S/390 to the libm version list.
3056 * sysdeps/s390/Versions: New file.
3057 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
3058 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
3059 * sysdeps/unix/sysv/linux/s390/Versions: New file.
3060 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
3061 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
3062 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
3063 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
3064 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
3065 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
3066 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
3067 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
3068 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
3069 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
3070 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
3071 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
3072 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
3073 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
3074 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
3076 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3078 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
3079 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
3081 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
3082 * elf/dl-close.c (_dl_close): Print debug message if object is not
3084 * elf/dl-open.c (dl_open_worked): Print message about opencount before
3085 returning to caller.
3087 * po/zh.po: Renamed to...
3088 * po/zh_TW.po: ...this.
3090 2000-08-27 Geoff Keating <geoffk@cygnus.com>
3092 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
3094 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
3095 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
3096 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
3097 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
3099 2000-08-27 Ulrich Drepper <drepper@redhat.com>
3101 * locale/programs/ld-collate.c (insert_weights): Also update
3102 backpointer of next element.
3103 (collate_read): Allow definition of new collation symbols in stage 2.
3104 Symbol after reorder-after can be UCS4 value.
3105 Allow reordering of collation symbols and elements.
3106 Do not only move reorder entry in new position. Instead call
3107 insert_weight to do this and read the weights.
3109 * locale/findlocale.c (free_mem): Add cast to avoid warning.
3111 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
3112 to determine invalid locale name.
3113 * locale/findlocale.c (_nl_find_locale): Likewise.
3115 * posix/annexc.c: Correct test for unavailable feature.
3117 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
3120 2000-08-26 Ulrich Drepper <drepper@redhat.com>
3122 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
3125 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
3126 (sysdep_routines): Add oldgetrlimit64.
3128 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
3129 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
3130 (tests): Add unload, reldep, reldep2, and reldep3.
3131 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
3133 Add rules to build and run unload, reldep, reldep2, and reldep3.
3134 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
3135 Don't create relocation dependency if it is nonzero.
3136 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
3137 can never happen here.
3138 (_dl_lookup_versioned_symbol): Add new parameter explicit.
3139 Don't create relocation dependency if it is nonzero.
3140 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
3141 stuff. This can never happen here.
3142 * sysdeps/generic/ldsodefs.h: Change prototypes.
3143 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
3144 _dl_lookup_up and _dl_lookup_versioned_symbol.
3146 * elf/dl-runtime.c (fixup): Likewise.
3147 (profile_fixup): Likewise.
3148 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
3150 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
3151 * elf/rtld.c (dl_main): Likewise.
3152 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
3153 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
3154 and pass down the caller map.
3155 (_dl_vsym): Likewise.
3156 * elf/reldep.c: New file.
3157 * elf/reldep2.c: New file.
3158 * elf/reldep3.c: New file.
3159 * elf/reldepmod1.c: New file.
3160 * elf/reldepmod2.c: New file.
3161 * elf/reldepmod3.c: New file.
3162 * elf/reldepmod4.c: New file.
3163 * elf/unload.c: New file.
3164 * elf/unloadmod.c: New file.
3166 * elf/do-lookup.h: Remove unused undef_name parameter.
3167 * elf/dl-lookup.c: Adjust callers.
3169 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3171 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
3172 irreversible in recursive call of conversion function to signal that
3173 no error handling is wanted.
3174 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
3175 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
3176 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
3177 recursive error handling call, otherwise to &lirreversible. Use it
3178 for calls to conversion functions.
3179 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
3181 (ucs4_internal_loop_unaligned): Likewise.
3182 (ucs4le_internal_loop): Likewise.
3183 (ucs4le_internal_loop_unaligned): Likewise.
3185 2000-08-25 Greg McGary <greg@mcgary.org>
3187 * sysdeps/i386/memchr.S: Check high bound against chars
3189 * sysdeps/i386/memcmp.S: Likewise.
3190 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
3191 account for pointers that lie one beyond end-of-buffer.
3193 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3195 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
3196 * elf/nodelete.c (fini_ran): New global variable.
3197 (do_test): Before every dlclose call clear fini_ran and test
3198 afterwards that it is not set by the destructors.
3199 * elf/nodelmod1.c: Add destructor which sets fini_ran.
3200 * elf/nodelmod2.c: Likewise.
3201 * elf/nodelmod4.c: Likewise.
3203 2000-08-21 Jes Sorensen <jes@linuxcare.com>
3205 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
3206 getrlimit to the list.
3208 2000-08-18 Jes Sorensen <jes@linuxcare.com>
3210 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
3211 long double format so use ldbl-96 instead of ldbl-128.
3213 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3215 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
3216 even if bits 10 a 11 are non-zero.
3217 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
3219 * Makeconfig: Ensures the soversions.mk part of Makefile gets
3220 included before building gnu/lib-names.h
3221 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3223 * elf/dl-close.c (_dl_close): Don't run destructors of objects
3224 marked DF_1_NODELETE.
3226 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
3227 since we call sigaction in the child.
3229 2000-08-25 Andreas Jaeger <aj@suse.de>
3231 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
3234 2000-08-25 Andreas Jaeger <aj@suse.de>
3236 * manual/arith.texi (Control Functions): Clarify possible
3237 arguments. Closes PR libc/1856.
3239 2000-08-24 H.J. Lu <hjl@gnu.org>
3241 * stdio-common/Makefile (tests): Don't do it for cross compiling.
3242 * malloc/Makefile (tests): Likewise.
3244 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3246 * iconvdata/unicode.c (gconv_init): Correct test for direction.
3248 2000-08-24 Andreas Jaeger <aj@suse.de>
3250 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
3251 only if LIBGD is available.
3253 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3255 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
3256 problems with now restrict parameter types.
3257 (convaddr4to6): Likewise.
3259 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
3261 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
3262 * sysdeps/s390/fpu/feenablxcpt.c: New file.
3263 * sysdeps/s390/fpu/fegetexcept.c: New file.
3264 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
3267 2000-08-24 Andreas Jaeger <aj@suse.de>
3269 * malloc/Makefile (extra-objs): Add memusagestat.o.
3270 (generated): Added memusage and memusagestat for make clean.
3272 * libio/tst_putwc.c (do_test): Delete temporary file.
3273 Move inclusion of test-skeleton to front to have prototype for
3276 * posix/Makefile (generated): Add wordexp-tst.out.
3278 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3280 * resolv/res_hconf.c (free_mem): Remove not needed if.
3282 * time/tzset.c (free_mem): New function.
3283 * string/strsignal.c (free_mem): New function.
3284 * inet/inet_ntoa.c (free_mem): New function.
3285 * sunrpc/clnt_perr.c (free_mem): New function.
3287 2000-08-24 Andreas Jaeger <aj@suse.de>
3289 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
3290 * sysdeps/unix/sysv/syscalls.list: Likewise.
3292 * posix/unistd.h: Move internal prototypes from here ...
3293 * include/unistd.h: ... to here.
3295 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
3297 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3299 * grp/initgroups.c (initgroups): Deallocate groups array.
3300 Reported by jani.raiha@sonera.com [PR libc/1868].
3302 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
3303 * sysdeps/alpha/Dist: Likewise.
3305 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3307 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
3308 destructor). Reported by Solar Designer <solar@false.com>.
3310 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
3311 avoid adding double slashes.
3313 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3315 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
3316 out of the __REDIRECT macro.
3318 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3320 * stdio-common/vfscanf.c: Add %F format support.
3322 * locale/programs/ld-ctype.c (ctype_output): Make sure
3323 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
3324 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
3325 (ctype_read): Enable returning of wide character strings for reading
3326 transliteration information.
3328 2000-08-23 Andreas Jaeger <aj@suse.de>
3330 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
3331 Use static __inline instead of _EXTERN_INLINE.
3333 * misc/sys/select.h: Move prototypes of __select from here ...
3334 * include/sys/select.h: ... to here.
3336 * socket/sys/socket.h: Move prototypes of __send and __connect
3338 * include/sys/socket.h: ... to here.
3340 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
3343 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3345 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
3346 __setrlimit as strong name. Takes only 2 arguments.
3348 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
3349 takes only 2 arguments.
3351 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
3353 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
3355 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
3357 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3359 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
3360 default_missing character being specified, pick the first
3363 2000-08-23 Andreas Jaeger <aj@suse.de>
3365 * include/wchar.h: Add some pure attributes.
3367 * time/time.h: Add const attribute for dysize.
3369 * include/stdlib.h: Add malloc attribute to __posix memalign.
3371 * stdlib/stdlib.h: Add some pure and malloc attributes.
3372 * wcsmbs/wchar.h: Likewise.
3374 * dirent/dirent.h: Add some pure attributes.
3375 * include/dirent.h: Likewise.
3377 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3379 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
3382 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3384 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
3385 missing buffer size checks.
3387 2000-08-23 Andreas Jaeger <aj@suse.de>
3389 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
3391 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3393 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
3394 otherwise __LINUX_KERNEL_VERSION might not be defined.
3395 (MIN): Define if not already defined.
3397 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3399 * stdio-common/vfprintf.c: Handle %F format.
3400 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
3401 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3403 * stdio-common/tstdiomisc.c: Add test for %F printf format.
3405 * po/zh.po: New file.
3407 * iconvdata/sjis.c: In conversion from UCS4, correct test for
3408 enough room in target buffer.
3409 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
3410 * iconvdata/bug-iconv1.c: New file.
3411 * iconvdata/Makefile (tests): Add bug-iconv1.
3413 * locale/iso-4217.def: Update entry for Nicaragua.
3415 2000-08-22 Mark Kettenis <kettenis@gnu.org>
3417 * hurd/hurdsig.c: Rearrange headers a bit.
3418 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
3419 when cthreads is being used.
3421 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3423 * elf/Makefile (distribute): Add dl-osinfo.h.
3424 * sysdeps/generic/dl-osinfo.h: New file.
3425 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
3426 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
3428 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
3429 only for !SHARED case. Get the code from dl-osinfo.h.
3431 * stdlib/random_r.c: Cleanups.
3432 * stdlib/tst-random.c: New file.
3433 * stdlib/Makefile (tests): Add tst-random.
3434 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
3436 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3438 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
3439 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
3440 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
3441 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
3443 2000-08-22 Jakub Jelinek <jakub@redhat.com>
3445 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
3446 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
3447 (__syscall__sysctl): Add.
3449 2000-08-21 Andreas Jaeger <aj@suse.de>
3451 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
3453 * stdlib/tst-strtoll.c: Likewise.
3455 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3457 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
3459 (__initstate_r): Set errno on error.
3460 (__random_r): Likewise.
3461 (__setstate_r): Correct offset when computing
3462 new rptr and fptr. Test for arg_state being NULL.
3463 Reported by Michael Fischer <fischer@cs.yale.edu>.
3465 * posix/regex.h: Add macro definitions to allow compiling outside
3468 * sysdeps/i370/Implies: Removed.
3469 * sysdeps/mvs/Implies: Removed.
3471 * catgets/catgets.c (catopen): Filter out env_var values with / if
3474 * locale/findlocale.c (_nl_find_locale): Move test for unusable
3475 locale name after all getenvs.
3477 * configure.in: Allow sed versions like 3.02.8.
3478 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
3480 2000-08-21 Marko Myllynen <myllynen@lut.fi>
3482 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
3484 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3486 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
3487 of gethostbyname2_r call.
3489 * intl/locale.alias: Add aliases for Korean.
3491 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3493 * sysdeps/s390/__longjmp.c: Remove unused variable result.
3494 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
3495 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
3496 * sysdeps/s390/fpu/fegetenv.c: New file.
3497 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
3498 * sysdeps/s390/fpu/feholdexcpt.c: New file.
3499 * sysdeps/s390/fpu/fenv_libc.h: New file.
3500 * sysdeps/s390/fpu/fesetenv.c: New file.
3501 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
3502 * sysdeps/s390/fpu/feupdateenv.c: New file.
3503 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
3504 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
3505 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
3506 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
3507 * sysdeps/s390/fpu/ftestexcept.c: New file.
3508 * sysdeps/s390/fpu/libm-test-ulps: New file.
3509 * sysdeps/s390/gmp-mparam.h: Add end of comment.
3510 * sysdeps/s390/initfini.c: New file.
3511 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
3512 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
3513 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
3514 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
3515 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
3516 sys/procfs.h as proposed by Mark Kettenis.
3517 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
3519 2000-08-21 Andreas Jaeger <aj@suse.de>
3521 * include/poll.h: Include include/sys/poll.h to get __poll
3524 * io/sys/poll.h: Move __poll declaration from here...
3525 * include/sys/poll.h: ...to here.
3527 * include/sys/socket.h (__getpeername): Add declaration.
3529 * include/wchar.h (__vswprintf): Add declaration.
3531 * include/stdio.h (__flockfile): Add declaration.
3532 (__funlockfile): Likewise.
3534 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3536 * misc/sys/cdefs.h: Define __restrict_arr.
3537 * include/sys/time.h: Add restrict where required by AGd4.
3538 * inet/arpa/inet.h: Likewise.
3539 * io/sys/stat.h: Likewise.
3540 * io/sys/statvfs.h: Likewise.
3541 * misc/search.h: Likewise.
3542 * misc/sys/select.h: Likewise.
3543 * posix/glob.h: Likewise.
3544 * posix/regex.h: Likewise.
3545 * posix/spawn.h: Likewise.
3546 * posix/unistd.h: Likewise.
3547 * rt/aio.h: Likewise.
3548 * signal/signal.h: Likewise.
3549 * socket/sys/socket.h: Likewise.
3550 * stdlib/ucontext.h: Likewise.
3551 * streams/stropts.h: Likewise.
3552 * string/string.h: Likewise.
3553 * time/time.h: Likewise.
3554 * time/sys/time.h: Likewise.
3556 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
3557 and posix_spawnattr_setscheparam.
3559 * libio/stdio.h: Make cuserid prototype again available for all
3562 * argp/argp-help.c: Unify use of function aliases to make more compact
3564 * include/libintl.h: Likewise.
3565 * inet/rcmd.c: Likewise.
3566 * intl/dcigettext.c: Likewise.
3567 * libio/iofputws.c: Likewise.
3568 * libio/iofputws_u.c: Likewise.
3569 * libio/iogetwline.c: Likewise.
3570 * libio/swprintf.c: Likewise.
3571 * malloc/malloc.c: Likewise.
3572 * nss/digits_dots.c: Likewise.
3573 * posix/fnmatch.c: Likewise.
3574 * posix/spawn_faction_addclose.c: Likewise.
3575 * posix/spawn_faction_adddup2.c: Likewise.
3576 * posix/spawn_faction_addopen.c: Likewise.
3577 * posix/spawni.c: Likewise.
3578 * posix/wordexp.c: Likewise.
3579 * posix/spawni.c: Likewise.
3580 * resolv/res_hconf.c: Likewise.
3581 * resolv/res_init.c: Likewise.
3582 * shadow/lckpwdf.c: Likewise.
3583 * signal/sighold.c: Likewise.
3584 * signal/sigrelse.c: Likewise.
3585 * stdio-common/printf-parse.h: Likewise.
3586 * stdio-common/printf-prs.c: Likewise.