1 2000-10-19 H.J. Lu <hjl@gnu.org>
3 * elf/Makefile (distribute): Add neededtest.c, neededobj1.c,
4 neededobj2.c and neededobj3.c.
5 (tests): Add neededtest.
6 (modules-names): Add neededobj1, neededobj2 and neededobj3.
7 ($(objpfx)neededobj1.so): New target.
8 ($(objpfx)neededobj2.so): Likewise.
9 ($(objpfx)neededobj3.so): Likewise.
10 ($(objpfx)neededtest): Likewise.
11 ($(objpfx)neededtest.out): Likewise.
12 * elf/neededtest.c: New. Based on the bug report from
13 Allen Bauer <kylix_rd@hotmail.com>.
14 * elf/neededobj1.c: Likewise.
15 * elf/neededobj2.c: Likewise.
16 * elf/neededobj3.c: Likewise.
18 2000-10-20 Ulrich Drepper <drepper@redhat.com>
20 * elf/dl-close.c (_dl_close): Decrement reference counter for all
21 dependencies even if the DSO does not get unloaded.
23 * elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header
24 to elf_machine_matches_host.
25 * sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter
26 is now pointer to ELF header.
27 * sysdeps/arm/dl-machine.h: Likewise.
28 * sysdeps/generic/dl-machine.h: Likewise.
29 * sysdeps/hppa/dl-machine.h: Likewise.
30 * sysdeps/i386/dl-machine.h: Likewise.
31 * sysdeps/ia64/dl-machine.h: Likewise.
32 * sysdeps/m68k/dl-machine.h: Likewise.
33 * sysdeps/mips/dl-machine.h: Likewise.
34 * sysdeps/mips/mips64/dl-machine.h: Likewise.
35 * sysdeps/powerpc/dl-machine.h: Likewise.
36 * sysdeps/s390/dl-machine.h: Likewise.
37 * sysdeps/sh/dl-machine.h: Likewise.
38 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40 Patch by Martin Schwidefsksy <schwidefsky@de.ibm.com>.
42 2000-10-20 Jakub Jelinek <jakub@redhat.com>
44 * include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64
45 check instead of #ifdef __alpha__.
46 * include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on
47 INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when
50 2000-10-20 Ulrich Drepper <drepper@redhat.com>
52 * posix/wordexp-tst.sh (testout): Place output file in build
53 directory. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
55 * sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print.
57 2000-10-19 Ulrich Drepper <drepper@redhat.com>
59 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
60 Correctly handle numeric group member information.
61 Patch by tomasw@cs.huji.ac.il.
63 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
64 Complete test for strtol overflow.
66 2000-10-19 Jakub Jelinek <jakub@redhat.com>
68 * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union
69 semun as 4th argument to semctl syscall, not address of it.
71 2000-10-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
73 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall.
75 2000-10-17 Andreas Schwab <schwab@suse.de>
77 * string/string.h: Remove declaration of __strcasecmp and __strcasestr.
78 * include/string.h: Declare them here.
80 2000-10-18 Ralf Baechle <ralf@gnu.org>
82 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include <asm/unistd.h>.
84 2000-10-19 Geoffrey Keating <geoffk@cygnus.com>
86 * sysdeps/powerpc/fpu/bits/mathinline.h: Add versions
87 of the unordered comparison functions that use the GCC builtins.
89 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function.
90 (__process_machine_rela): Print the address of an overflowing
93 2000-10-18 Ulrich Drepper <drepper@redhat.com>
95 * sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point
97 (freeit): Remove unnecessary test.
99 2000-10-18 Andreas Jaeger <aj@suse.de>
101 * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New.
102 (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers.
103 (elf_machine_runtime_link_map): Likewise.
104 (elf_machine_runtime_setup): Likewise.
105 Handle dynamic linker's local got entries.
106 Patches by Ralf Baechle <ralf@gnu.org>.
108 2000-10-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
110 * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as
111 the frame pointer. Allocate stack space for $a0 for
112 __dl_runtime_resolve(). Do not save $sp in $s0 as it's
115 2000-10-17 Ulrich Drepper <drepper@redhat.com>
117 * sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in
120 2000-10-17 Andreas Schwab <schwab@suse.de>
122 * sysdeps/m68k/fpu/libm-test-ulps: Update for changes in
125 2000-10-17 Jakub Jelinek <jakub@redhat.com>
127 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
128 Add missing backslash.
130 2000-10-16 Ulrich Drepper <drepper@redhat.com>
132 * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Little cleanup.
134 * sysdeps/i386/fpu/libm-test-ulps: Update for changes in libm-test.inc.
136 2000-10-16 Jakub Jelinek <jakub@redhat.com>
138 * math/libm-test.inc (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase
140 (acos_test, asin_text, cexp_test, cos_test, cproj_test, exp10_test,
141 sin_test, sincos_test, sqrt_test): Likewise. Add L suffixes also
143 (acosh_test, asinh_test, atan2_test, atanh_test, atan_test, cabs_test,
144 cacosh_test, cacos_test, casinh_test, casin_test, catanh_test,
145 catan_test, cbrt_test, ccosh_test, ccos_test, clog10_test, cosh_test,
146 csinh_test, csin_test, csqrt_test, ctanh_test, ctan_test, erfc_test,
147 erf_test, exp2_test, expm1_test, exp_test, fmod_test, hypot_test,
148 j0_test, j1_test, jn_test, lgamma_test, llrint_test, llround_test,
149 log10_test, log1p_test, log2_test, log_test, lrint_test, lround_test,
150 nextafter_test, nexttoward_test, pow_test, round_test, scalb_test,
151 sinh_test, static void, tanh_test, tan_test, tgamma_test, y0_test,
152 y1_test, yn_test): Add L suffixes also to parameters.
153 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Fix mask.
154 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
155 * soft-fp/op-2.h (_FP_FRAC_SRS_2): Fix computation of sticky bit.
157 2000-10-16 Ulrich Drepper <drepper@redhat.com>
159 * timezone/Makefile: Define HAVE_GETTEXT for zdump.c, zic.c,
160 ialloc.c, and scheck.c.
161 * malloc/obstack.c: Always include <libintl.h> for glibc.
162 * posix/getopt.c: Likewise.
163 Reported by Petr Vandrovec <VANDROVE@vc.cvut.cz>.
165 2000-10-15 Pete Wyckoff <pw@osc.edu>
167 * Rules: Define _LIBC during generation of bits/stdio_lim.d.
169 2000-10-15 Pete Wyckoff <pw@osc.edu>
171 * iconvdata/tst-tables.sh: Invoke other shell scripts through ${SHELL}.
172 * iconvdata/tst-table.sh: Likewise.
174 2000-10-15 Ulrich Drepper <drepper@redhat.com>
176 * elf/dl-error.c (_dl_signal_error): Allocate memory for objname
177 as well. Reported by Alexander V. Lukyanov <lav@yars.free.net>.
179 * iconvdata/gconv-modules: Add aliases for Winblowz charsets.
180 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
182 2000-10-13 Andreas Schwab <schwab@suse.de>
184 * elf/elf.h (R_IA64_PCREL60B): Add relocation.
186 2000-10-15 Ulrich Drepper <drepper@redhat.com>
188 * sysdeps/unix/sysv/linux/hppa/brk.c: Cleanups.
189 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
190 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
191 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Likewise.
192 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
194 2000-10-14 Ulrich Drepper <drepper@redhat.com>
196 * math/libm-test.inc (frexp_test): Add L suffix also to parameters.
197 (hypot_test): Likewise.
199 * sysdeps/generic/printf_fphex.c: Compute width of decimal point
200 string correctly. Handle padding correctly.
202 * sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters
204 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
205 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
207 2000-10-12 Alan Modra <alan@linuxcare.com.au>
209 * FAQ.in: Add --start-group and --end-group.
211 2000-10-12 Alan Modra <alan@linuxcare.com.au>
213 * malloc/memusage.c: Conditionalize stack usage calculation on
216 2000-10-12 Alan Modra <alan@linuxcare.com.au>
218 * config.h.in: Add ASM_LINE_SEP.
219 * configure.in: Add test for comment and line separators.
220 * include/libc-symbols.h: Define and use ASM_LINE_SEP, and add tabs to
221 placate some hppa assemblers.
222 * sysdeps/hppa/sysdep.h: Likewise.
223 * sysdeps/gnu/siglist.c: Insert \n and \t into inline asm.
224 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
226 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
228 * sysdeps/unix/sysv/linux/Makefile: Include <bits/initspin> in
230 * sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for
231 non-threaded platforms.
233 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
235 * configure.in: Add definitions for hppa.
236 * elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments
237 for IPLT and EPLT relocations.
238 * shlib-versions: Version symbol definitions for hppa-linux.
239 * sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel
242 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
244 * sysdeps/hppa/Makefile: New file.
245 * sysdeps/hppa/Versions: New file.
247 * sysdeps/hppa/setjmp.S: New file.
248 * sysdeps/hppa/__longjmp.S: New file.
249 * sysdeps/hppa/bits/setjmp.h: New file.
250 * sysdeps/hppa/frame.h: New file.
252 * sysdeps/hppa/add_n.s: Don't use %r19 (linkage table pointer).
253 * sysdeps/hppa/sub_n.s: Likewise.
254 * sysdeps/hppa/lshift.s: Likewise.
255 * sysdeps/hppa/rshift.s: Likewise.
256 * sysdeps/hppa/udiv_qrnnd.s: Likewise.
257 * sysdeps/hppa/hppa1.1/addmul_1.s: Likewise.
258 * sysdeps/hppa/hppa1.1/submul_1.s: Likewise.
259 * sysdeps/hppa/hppa1.1/mul_1.s: Likewise.
260 * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Likewise.
262 * sysdeps/hppa/dl-machine.h: New file.
263 * sysdeps/hppa/dl-fptr.c: New file (note that this is almost
264 identical to the IA-64 one).
265 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
266 * sysdeps/hppa/dl-symaddr.c: Likewise.
268 * sysdeps/hppa/elf/initfini.c: New file.
269 * sysdeps/hppa/elf/start.S: New file.
271 * sysdeps/hppa/fpu/bits/fenv.h: New file.
272 * sysdeps/hppa/fpu/fclrexcpt.c: New file.
273 * sysdeps/hppa/fpu/fedisblxcpt.c: New file.
274 * sysdeps/hppa/fpu/feenablxcpt.c: New file.
275 * sysdeps/hppa/fpu/fegetenv.c: New file.
276 * sysdeps/hppa/fpu/fegetexcept.c: New file.
277 * sysdeps/hppa/fpu/fegetround.c: New file.
278 * sysdeps/hppa/fpu/feholdexcpt.c: New file.
279 * sysdeps/hppa/fpu/fesetenv.c: New file.
280 * sysdeps/hppa/fpu/fesetround.c: New file.
281 * sysdeps/hppa/fpu/feupdateenv.c: New file.
282 * sysdeps/hppa/fpu/fegetexcptflg.c: New file.
283 * sysdeps/hppa/fpu/fraiseexcpt.c: New file.
284 * sysdeps/hppa/fpu/fsetexcptflg.c: New file.
285 * sysdeps/hppa/fpu/ftestexcept.c: New file.
287 * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
288 * sysdeps/unix/sysv/linux/hppa/Versions: New file.
289 * sysdeps/unix/sysv/linux/hppa/syscalls.list: New file.
290 * sysdeps/unix/sysv/linux/hppa/sysdep.c: New file.
291 * sysdeps/unix/sysv/linux/hppa/sysdep.h: New file.
294 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: New file.
295 * sysdeps/unix/sysv/linux/hppa/bits/ioctls.h: New file.
296 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: New file.
297 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: New file.
298 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: New file.
299 * sysdeps/unix/sysv/linux/hppa/brk.c: New file.
300 * sysdeps/unix/sysv/linux/hppa/clone.S: New file.
301 * sysdeps/unix/sysv/linux/hppa/socket.S: New file.
302 * sysdeps/unix/sysv/linux/hppa/syscall.S: New file.
303 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: New file.
304 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: New file.
305 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: New file.
306 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: New file.
307 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: New file.
308 * sysdeps/unix/sysv/linux/hppa/mmap.c: New file.
309 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: New file.
310 * sysdeps/unix/sysv/linux/hppa/procfs.h: New file.
311 * sysdeps/unix/sysv/linux/hppa/ucontext.h: New file.
312 * sysdeps/unix/sysv/linux/hppa/umount.c: New file.
314 2000-10-12 Alan Modra <alan@linuxcare.com.au>
316 * sysdeps/hppa/hppa1.1/Implies: New file.
317 * sysdeps/hppa/memusage.h: New file.
319 2000-10-28 Jes Sorensen <jes@linuxcare.com>
321 * sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb,
322 inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw,
323 _outl. Reported by Bill Nottingham.
325 2000-04-06 Andreas Schwab <schwab@suse.de>
327 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
328 restore register r8 for functions that return a structure.
330 2000-10-12 Jakub Jelinek <jakub@redhat.com>
332 * math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl,
333 M_SQRT_PIl): Increase precision.
334 (cbrt_test): If cbrt is not implemented, don't test it.
335 Add L suffix to double constants in results which differ from their
336 L suffixed counterparts.
337 (exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise.
339 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
341 2000-10-11 Jakub Jelinek <jakub@redhat.com>
343 * inet/rexec.c (rexec_af): Convert rport to host order before
344 passing it to snprintf.
346 2000-10-14 Ulrich Drepper <drepper@redhat.com>
348 * sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of
349 uintXX_t since this is what <sys/types.h> defines and we include
350 this header. Reported by Bernhard Rosenkraenzer <bero@redhat.de>.
352 * intl/localealias.c (read_alias_file): Update string pointers
353 in map[] if realloc() changed the values.
354 Patch by Jakub Jelinek <jakub@redhat.com>.
356 * manual/stdio.texi: Update printf extension documentation after
357 z became a valid modifier.
358 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
360 * timezone/africa: Update from tzcode2000g and tzdata2000g.
361 * timezone/asia: Likewise.
362 * timezone/australasia: Likewise.
363 * timezone/backward: Likewise.
364 * timezone/europe: Likewise.
365 * timezone/iso3166.tab: Likewise.
366 * timezone/northamerica: Likewise.
367 * timezone/southamerica: Likewise.
368 * timezone/zone.tab: Likewise.
370 2000-10-14 Geoffrey Keating <geoffk@cygnus.com>
372 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl()
375 2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
377 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file.
378 * sysdeps/unix/sysv/linux/m68k/fcntl.c: New file.
379 * sysdeps/unix/sysv/linux/m68k/getdents64.c: New file.
380 * sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file.
381 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file.
382 * sysdeps/unix/sysv/linux/m68k/glob64.c: New file.
383 * sysdeps/unix/sysv/linux/m68k/lockf64.c: New file.
384 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file.
385 * sysdeps/unix/sysv/linux/m68k/readdir64.c: New file.
386 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file.
387 * sysdeps/unix/sysv/linux/m68k/scandir64.c: New file.
388 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file.
389 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file.
390 * sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c.
391 * sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64.
392 * sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64,
393 __fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit,
394 getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at
396 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit,
397 oldsetrlimit for GLIBC_2.0.
399 * sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct
400 arguments to _dl_init.
402 2000-10-13 Geoffrey Keating <geoffk@cygnus.com>
404 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs for my Pentium III
405 building with the default options.
407 2000-10-11 Andreas Jaeger <aj@suse.de>
409 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache.
410 Patch by Denis Zaitsev <zzz@cd-club.ru>.
412 2000-10-09 Jakub Jelinek <jakub@redhat.com>
414 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): If x == y,
416 * manual/arith.texi (nextafter): Document it.
417 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Fix a comment.
419 2000-10-08 Ulrich Drepper <drepper@redhat.com>
421 * version.h (VERSION): Bump to 2.1.95.
423 * configure.in: Remove warning message.
425 * nscd/Makefile (distribute): Add nscd-types.h.
426 * elf/Makefile (distribute): Add gccframe.h.
427 * sysdeps/sparc/sparc32/Dist: Add ieee754.h.
428 * sysdeps/ia64/Dist: Add ieee754.h.
430 2000-10-07 Ulrich Drepper <drepper@redhat.com>
432 * elf/elf.h: Add a few section-related symbols.
434 * include/features.h (__STDC_ISO_10646__): Set to correct date.
435 Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
437 2000-10-06 Jes Sorensen <jes@linuxcare.com>
439 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Implement
440 overflow generation by adding DBL_MAX to DBL_MAX instead of
441 setting the bits manually in the fpsr and generating the exception
442 with kill() if necessary.
443 (feraiseexcept): Implement underflow by dividing DBL_MIN by
444 DBL_MIN - similar to the overflow change described above.
446 2000-08-27 H.J. Lu <hjl@gnu.org>
448 * sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone
449 is not supported under Linux/ia64, use clone2.
451 2000-10-06 Jakub Jelinek <jakub@redhat.com>
453 * malloc/malloc.h (__THROW): Define to nothing if not gcc.
454 * misc/sys/cdefs.h (__THROW): Likewise.
456 2000-10-05 Jakub Jelinek <jakub@redhat.com>
458 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.
460 2000-10-02 Jakub Jelinek <jakub@redhat.com>
462 * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
463 remaining xp_pad space.
465 2000-10-05 Jakub Jelinek <jakub@redhat.com>
467 * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
468 DF_1_NODELETE, not list[i]'s.
470 2000-10-04 Ulrich Drepper <drepper@redhat.com>
472 * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9.
473 (BODY from direction): Map \x5c to U20a9.
474 * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change.
475 * iconvdata/EUC-KR.irreversible: New file.
476 * iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
478 * argp/argp-parse.c (argp_default_argp): Set libc as message domain.
479 (argp_version_argp): Likewise.
481 2000-10-04 Jakub Jelinek <jakub@redhat.com>
483 * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do
484 input_error() if EOF is seen before processing.
485 * stdio-common/tstscanf.c (main): Add testcase.
487 2000-10-04 Ulrich Drepper <drepper@redhat.com>
489 * argp/argp-help.c: Make sure we get the correct gettext and
490 dgettext definitions.
491 * argp/argp-parse.c: Likewise.
493 2000-10-03 Ulrich Drepper <drepper@redhat.com>
495 * locale/programs/linereader.c (get_string): Also clear wide
496 string info if illegal_string.
498 2000-10-03 Andreas Schwab <schwab@suse.de>
500 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file.
502 2000-10-02 Jakub Jelinek <jakub@redhat.com>
504 * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
507 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
509 2000-10-02 Ralf Baechle <ralf@gnu.org>
511 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the
512 end of inline assembler code.
514 2000-10-02 Ulrich Drepper <drepper@redhat.com>
516 * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define
517 __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing.
519 2000-10-02 Andreas Jaeger <aj@suse.de>
521 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux
524 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS.
526 2000-10-01 Ralf Baechle <ralf@gnu.org>
528 * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp
529 argument passed to _dl_init.
531 2000-09-30 Bruno Haible <haible@clisp.cons.org>
533 * locale/programs/charmap-dir.h: New file.
534 * locale/programs/charmap-dir.c: New file.
535 * locale/programs/linereader.h (lr_create): New declaration.
536 * locale/programs/linereader.c (lr_create): New function, split out
538 (lr_open): Tailcall lr_create.
539 * locale/programs/locale.c: Include "charmap-dir.h". Don't include
541 (xstrdup): New declaration.
542 (more_help): Use xstrdup instead of strdup.
543 (write_locales): Likewise. When encountering a symbolic link, call
545 (write_charmaps): Simplify using the charmap-dir.h functions.
546 Use xstrdup instead of strdup.
547 * locale/programs/charmap.c: Include "charmap-dir.h". Don't include
548 <dirent.h> and <unistd.h>.
549 (cmlr_open): New function.
550 (charmap_read): Use cmlr_open instead of lr_open. Simplify using the
551 charmap-dir.h functions.
552 * locale/Makefile (distribute): Add charmap-dir.h.
553 (lib-modules): Add charmap-dir.
554 (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
555 wants a 'char **', not a 'const char **'.
556 * include/spawn.h: New file.
558 2000-09-30 Bruno Haible <haible@clisp.cons.org>
560 * posix/spawn_faction_init.c: Include "spawn_int.h".
561 (__posix_spawn_file_actions_realloc): Fix second realloc argument.
563 2000-09-30 Bruno Haible <haible@clisp.cons.org>
565 * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.
567 2000-09-30 Bruno Haible <haible@clisp.cons.org>
569 * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
570 (internal_wcwidth): Remove the tests for L'\0' and iswprint.
571 * locale/programs/ld-ctype.c (find_idx): If max == NULL, return
572 a pointer to the table entry, without extending the table.
573 (allocate_arrays): Set a width only for characters with 'print'
574 property. Set the width of L'\0' to 0.
575 * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
576 for unprintable characters. Set entry of NUL to 0.
578 2000-09-30 Bruno Haible <haible@clisp.cons.org>
580 * locale/programs/charmap.c (charmap_read): Avoid redundant tests.
581 Don't forget to call closedir when the filename was found as a
584 2000-09-30 Bruno Haible <haible@clisp.cons.org>
586 * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
589 2000-09-30 Bruno Haible <haible@clisp.cons.org>
591 * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
592 level2, and level3 as well.
593 (wctype_table_add): Remove a few unnecessary conditionals.
595 2000-09-30 Ralf Baechle <ralf@gnu.org>
597 * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.
599 2000-09-30 H.J. Lu <hjl@gnu.org>
601 * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow.
602 * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise.
604 2000-09-29 H.J. Lu <hjl@gnu.org>
606 * math/libm-test.inc (init_max_error): Clear all exceptions
607 before starting test.
608 (acosh_test): Test for existence of function.
609 (asinh_test): Likewise.
610 (atan2_test): Likewise.
611 (cabs_test): Likewise.
612 (cacos_test): Likewise.
613 (cacosh_test): Likewise.
614 (casin_test): Likewise.
615 (casinh_test): Likewise.
616 (catan_test): Likewise.
617 (catanh_test): Likewise.
618 (ccos_test): Likewise.
619 (ccosh_test): Likewise.
620 (cexp_test): Likewise.
621 (clog_test): Likewise.
622 (clog10_test): Likewise.
623 (cosh_test): Likewise.
624 (cpow_test): Likewise.
625 (csin_test): Likewise.
626 (csinh_test): Likewise.
627 (csqrt_test): Likewise.
628 (ctan_test): Likewise.
629 (ctanh_test): Likewise.
630 (fmod_test): Likewise.
631 (hypot_test): Likewise.
632 (remainder_test): Likewise.
633 (remquo_test): Likewise.
634 (sincos_test): Likewise.
635 (sinh_test): Likewise.
636 (tanh_test): Likewise.
638 2000-09-29 H.J. Lu <hjl@gnu.org>
640 * sysdeps/ia64/ieee754.h: New file.
642 * sysdeps/ia64/fpu/math_ldbl.h: New file.
644 2000-09-30 Jakub Jelinek <jakub@redhat.com>
646 * elf/ldconfig.h (FLAG_X8664_LIB64): Define.
647 * sysdeps/unix/sysv/linux/i386/readelflib.c: New file.
649 2000-09-30 Ulrich Drepper <drepper@redhat.com>
651 * manual/charset.texi: Correct notations, reference to C90 amd 1,
652 and some other details.
653 * manual/ctype.texi: Likewise.
654 Patches by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
656 2000-09-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
658 * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
660 2000-09-29 Ulrich Drepper <drepper@redhat.com>
662 * elf/cache.c (save_cache): Initialize __unused field in new cache
663 as well to get reproducable results.
665 2000-09-29 H.J. Lu <hjl@gnu.org>
667 * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
669 2000-09-29 H.J. Lu <hjl@gnu.org>
671 * sysdeps/ia64/bits/huge_val.h: New file.
673 2000-09-29 Ulrich Drepper <drepper@redhat.com>
675 * elf/chroot_canon.c: Don't report a failure if the last path
676 component is not available.
677 * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting
680 * elf/cache.c (print_cache): Use stat64 instead of stat.
681 * elf/ldconfig.c (chroot_stat): Likewise.
682 (create_links): Likewise.
683 (manual_link): Likewise.
684 (search_dir): Likewise.
685 * elf/readlib.c (process_file): Likewise.
687 * Makefile (install): Set LC_ALL and LANGUAGE to C before running
690 2000-09-29 Jakub Jelinek <jakub@redhat.com>
692 * elf/chroot_canon.c: New file.
693 * elf/Makefile: Build and distribute it.
694 * elf/ldconfig.h (process_file): Add real_file_name argument.
695 (chroot_canon): Add prototype.
696 * elf/ldconfig.c (cache_file): Remove const.
698 (create_links): Add real_path argument.
699 If opt_chroot, maintain both real and given filenames.
700 (manual_link): Likewise.
701 (search_dir): Likewise.
702 (parse_conf): If opt_chroot, use chroot_canon to find the real
704 (main): For -r, try to use chroot, if it fails, leave opt_chroot set
705 and use chroot_canon where appropriate to do the same as if chroot
707 * elf/readlib.c (process_file): Add real_file_name argument, pass it
710 2000-09-29 Ulrich Drepper <drepper@redhat.com>
712 * math/complex.h (_Complex): We can be more specific when _Complex
713 is defined by the compiler.
715 2000-09-29 H.J. Lu <hjl@gnu.org>
717 * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
719 * elf/cache.c (print_entry): Replace 64bit with IA-64 in message
720 for x86/IA-64 binary.
722 2000-09-29 Andreas Schwab <schwab@suse.de>
724 * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
726 * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
728 2000-09-29 Mark Kettenis <kettenis@gnu.org>
730 * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
731 implementation for use by the dynamic linker.
733 2000-09-29 Andreas Jaeger <aj@suse.de>
735 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
737 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
738 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
739 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
740 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
741 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
742 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
744 2000-09-29 Andreas Jaeger <aj@suse.de>
746 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
748 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
749 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
750 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
751 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
752 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
753 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
755 2000-09-29 David Mosberger <davidm@hpl.hp.com>
757 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
759 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
761 2000-06-10 David Mosberger <davidm@hpl.hp.com>
763 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
764 works: call to __sigjmp_save must be done unconditionally to
765 ensure jmp_buf is initialized properly.
767 2000-09-27 Andreas Jaeger <aj@suse.de>
769 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
772 2000-09-29 Jakub Jelinek <jakub@redhat.com>
774 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
775 Use nscd_ssize_t where appropriate.
776 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
777 ssize_t where appropriate.
778 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
779 * nscd/hstcache.c (cache_addhst): Likewise.
780 * nscd/grpcache.c (cache_addgr): Likewise.
781 * sysdeps/generic/nscd-types.h: New file.
782 * sysdeps/alpha/nscd-types.h: New file.
784 2000-09-29 Ulrich Drepper <drepper@redhat.com>
786 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
787 INADDR_LOOPBACK instead of numeric value.
789 2000-09-28 H.J. Lu <hjl@gnu.org>
791 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
793 (ELF_MACHINE_FIXED_STACK): Removed.
795 2000-09-29 Andreas Jaeger <aj@suse.de>
797 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
799 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
801 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
803 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
805 2000-09-28 Ulrich Drepper <drepper@redhat.com>
807 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
808 relocation also for R_ALPHA_RELATIVE.
809 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
811 2000-09-18 Bruno Haible <haible@clisp.cons.org>
813 * intl/dcigettext.c: Outside libc, use local variable names that don't
814 clash with those in libc.
815 * intl/bindtextdom.c: Likewise.
816 * intl/textdomain.c: Likewise.
818 2000-09-28 Ulrich Drepper <drepper@redhat.com>
820 * elf/ldconfig.c (parse_conf): Print full name of config dir
821 including chroot() path.
822 (main): Remove trailing / from opt_chroot string.
824 * include/features.h: Correct description of what happens if no
825 *_SOURCE macro is defined.
827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
828 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
830 2000-09-19 H.J. Lu <hjl@gnu.org>
832 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
833 * malloc/malloc.c (__memalign_hook): Likewise.
834 (memalign_hook_ini): Likewise.
836 2000-09-28 Ulrich Drepper <drepper@redhat.com>
838 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
840 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
841 underlying functions directly.
843 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
844 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
845 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
846 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
847 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
848 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
849 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
851 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
853 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
854 define it for powerpc for kernel >= 2.4.0.
855 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
857 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
858 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
859 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
860 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
861 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
862 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
864 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
866 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
868 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
869 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
871 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
873 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
875 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
877 2000-09-27 Andreas Schwab <schwab@suse.de>
879 * math/Makefile (distribute): Explicitly add the long double test
880 sources, to get them included even if long double is not supported.
882 2000-09-27 Jes Sorensen <jes@linuxcare.com>
884 * elf/soinit.c (struct object): Move definition to gccframe.h and
885 include it. Problem identified by HJ Lu.
887 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
888 struct object to be searched for frame unwind info.
889 * sysdeps/generic/gccframe.h: New file. Generic version of
890 struct object to be searched for frame unwind info.
892 2000-09-28 Ulrich Drepper <drepper@redhat.com>
894 * manual/errno.texi: Correct error text for ENXIO.
895 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
897 2000-09-27 Jes Sorensen <jes@linuxcare.com>
899 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
900 exception status bits rather than the exception disable bits.
901 Don't include math.h.
903 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
904 status of exceptions currently raised rather than which exceptions
907 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
908 rather than unsigned long int.
910 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
911 the exceptions actually requested by the caller and not just
912 disable all exceptions.
914 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
915 the ia64 are enabled by clearing the respective bits in the fpsr,
918 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
919 unsigned long int rather than unsigned long to be consistent with
920 the coding conventions.
922 2000-09-20 H.J. Lu <hjl@gnu.org>
924 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
926 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
928 2000-09-28 Ulrich Drepper <drepper@redhat.com>
930 * string/bits/string2.h: Unify #if usage.
932 2000-09-27 Jakub Jelinek <jakub@redhat.com>
934 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
935 and disabling underflow or overflow, disable inexact as well.
937 2000-09-26 Andreas Jaeger <aj@suse.de>
939 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
941 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
943 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
944 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
946 * elf/ldconfig.c (search_dir): Allow unlimited path length.
947 (create_links): Likewise.
949 2000-09-27 Ulrich Drepper <drepper@redhat.com>
951 * posix/tst-dir.c: Test a few error cases of chdir.
953 2000-09-26 Ulrich Drepper <drepper@redhat.com>
955 * math/math_private.h: Don't add long double prototypes if
956 NO_LONG_DOUBLE is defined.
958 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
960 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
961 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
963 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
965 2000-09-26 Jakub Jelinek <jakub@redhat.com>
967 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
968 * sysdeps/sparc/sparc32/ieee754.h: New.
969 * sysdeps/sparc/sparc64/bits/endian.h: Move...
970 * sysdeps/sparc/bits/endian.h: ...here.
971 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
972 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
973 %o1, not %o0 to see if we're parent or child. Optimize.
975 2000-09-26 Jes Sorensen <jes@linuxcare.com>
977 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
979 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
981 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
983 2000-09-20 H.J. Lu <hjl@gnu.org>
985 * sysdeps/ia64/fpu/printf_fphex.c: New file.
987 * sysdeps/ia64/fpu/libm-test-ulps: New file.
989 2000-09-17 H.J. Lu <hjl@gnu.org>
991 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
993 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
994 sysdeps/i386/fpu/s_isinfl.c.
996 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
997 sysdeps/i386/fpu/s_isnanl.c.
999 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
1000 sysdeps/i386/fpu/s_nextafterl.c.
1002 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
1003 sysdeps/i386/fpu/bits/mathdef.h.
1005 2000-09-16 H.J. Lu <hjl@gnu.org>
1007 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
1008 DL_UNMAP_IS_SPECIAL is not defined.
1010 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
1011 (_dl_unmap): New prototype.
1012 (DL_UNMAP): New. Defined as _dl_unmap.
1014 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
1016 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
1018 2000-09-16 H.J. Lu <hjl@gnu.org>
1020 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
1021 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1023 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
1025 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
1027 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
1028 the memory location of a function from a function descriptor.
1030 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
1032 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
1035 2000-09-14 Jes Sorensen <jes@linuxcare.com>
1037 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
1038 variable as input argument.
1039 (__bswap_32): Likewise.
1041 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
1042 - found by Jim Wilson <wilson@cygnus.com>
1044 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1046 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
1049 2000-09-26 Andreas Schwab <schwab@suse.de>
1051 * locale/programs/ld-collate.c (collate_output): Only require
1052 alignment on __alignof__ (int32_t) instead of 4.
1053 * locale/loadlocale.c (_nl_load_locale): Likewise.
1054 * string/strcoll.c: Likewise.
1056 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1058 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
1059 parentheses around arithmetic used in | statement to kill compiler
1062 * math/math_private.h: Add prototype for __finitel.
1063 (__ilogbl): Likewise.
1064 (__isinfl): Likewise.
1065 (__isnanl): Likewise.
1066 (__atanl): Likewise.
1067 (__copysignl): Likewise.
1068 (__expm1l): Likewise.
1069 (__floorl): Likewise.
1070 (__frexpl): Likewise.
1071 (__ldexpl): Likewise.
1072 (__log1pl): Likewise.
1074 (__rintl): Likewise.
1075 (__scalbnl): Likewise.
1076 (__sqrtl): Likewise.
1078 (__sincosl): Likewise.
1080 2000-09-26 Andreas Schwab <schwab@suse.de>
1082 * sysdeps/m68k/fpu/libm-test-ulps: New file
1084 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1086 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
1088 2000-09-26 Andreas Jaeger <aj@suse.de>
1090 * misc/mkstemp64.c: New file.
1091 * misc/Makefile (routines): Add mkstemp64.
1092 * stdlib/stdlib.h: Add prototype and redirection magic.
1093 * misc/Versions: Add mkstemp64.
1095 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
1097 * nscd/dbg_log.c (dbg_log): Add missing format string.
1099 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1101 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
1102 since we filter out the variable once.
1103 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1104 * locale/newlocale.c (__newlocale): Likewise.
1105 * locale/setlocale.c (setlocale): Likewise.
1106 * malloc/malloc.c (ptmalloc_init): Likewise.
1107 * resolv/res_hconf.c (_res_hconf_init): Likewise.
1108 * resolv/res_init.c (__res_vinit): Likewise.
1109 * time/tzfile.c (__tzfile_read): Likewise.
1110 * sysdeps/generic/unsecvars.h: New file.
1111 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
1112 * elf/rtld.c (process_envvars): Likewise.
1113 * elf/Makefile (distribute): Add unsecvars.h.
1115 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
1116 real /dev/null device.
1118 * sysdeps/generic/check_fds.c: Include device-nrs.h.
1119 * sysdeps/generic/device-nrs.h: New file.
1120 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
1121 * misc/Makefile (distribute): Add device-nrs.h.
1123 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
1124 remove possible garbage at the end of the file.
1126 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1128 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
1129 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
1130 * stdio-common/tempnam.c: Warn about insecure tempnam.
1131 * misc/mktemp.c: Warn about insecure mktemp.
1133 * sysdeps/generic/check_fds.c: Check that file opened is really
1135 * posix/wordexp.c (exec_comm_child): Likewise.
1137 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
1139 * locale/Makefile (routines): Add nl_langinfo_l.
1140 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
1141 * locale/nl_langinfo_l.c: New file.
1142 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
1145 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1147 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
1148 (__gbk_to_ucs): Conditionalize private area mappings.
1149 (__gbk_from_ucs4_tab9): Likewise.
1150 (BODY for TO_LOOP): Likewise.
1151 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
1152 * iconvdata/testdata/GBK..UTF-8: Likewise.
1153 * iconvdata/tst-tables.sh: Enable GBK test.
1155 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1157 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
1158 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
1159 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
1161 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
1162 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
1164 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1166 * iconvdata/johab.c (final_to_ucs): Fix typos.
1167 (jamo_from_ucs_table): Likewise.
1168 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
1169 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
1170 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
1171 the range 0xD9E6..0xD9FE.
1172 * iconvdata/tst-tables.sh: Enable JOHAB testing.
1174 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1176 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
1179 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1181 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
1182 stream is in wide mode.
1184 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
1186 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1188 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
1190 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
1192 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1194 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
1195 reallocation logic for MALLOC (%as, %aS formats).
1197 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1199 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
1200 Add missing case in va_arg handling for numbers.
1201 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
1203 * stdio/tst-printf.sh: Adjust expected results.
1204 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1206 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1208 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
1209 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
1211 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
1212 as equivalent to uppercase hexadecimal digits.
1214 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1216 * iconvdata/testdata/EUC-KR..UTF8: New file.
1217 * iconvdata/testdata/EUC-TW: New file.
1218 * iconvdata/testdata/EUC-TW..UTF8: New file.
1219 * iconvdata/testdata/EUC-JP: New file.
1220 * iconvdata/testdata/EUC-JP..UTF8: New file.
1221 * iconvdata/testdata/ISO-2022-JP: New file.
1222 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
1223 * iconvdata/testdata/ISO-2022-JP-2: New file.
1224 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
1225 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
1226 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
1227 * iconvdata/testdata/ISO-2022-CN: New file.
1228 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
1229 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
1230 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
1231 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
1232 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
1234 2000-09-24 Andreas Jaeger <aj@suse.de>
1236 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
1237 function add_single_dir.
1238 (add_single_dir): New function.
1239 (search_dir): Use add_single_dir instead of recursing.
1241 * sysdeps/generic/dl-cache.h: Include stdint.h.
1242 (struct file_entry_new): Use fixed sizes for interoperability
1243 between 32bit and 64bit systems, add __unused to make alignment
1245 (CACHE_VERSION): Increment.
1246 (struct cache_file_new): Use fixed sizes, add one more unused
1247 entry to make alignment explicit.
1249 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1251 * elf/ldconfig.c (search_dir): Make more use of d_type information.
1253 2000-09-23 Ulrich Drepper <drepper@redhat.com>
1255 * stdio-common/printf-parse.h (parse_one_spec): Clear
1256 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1258 2000-09-18 Mark Kettenis <kettenis@gnu.org>
1260 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
1261 #undef since we don't have msync.
1263 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
1264 constant since that is what clock_t is.
1265 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
1267 2000-09-11 Mark Kettenis <kettenis@gnu.org>
1269 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
1270 multiply by LOAD_SCALE.
1272 2000-09-22 Jakub Jelinek <jakub@redhat.com>
1274 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
1275 (crypt_r, setkey_r, encrypt_r): Likewise.
1277 2000-09-22 Andreas Jaeger <aj@suse.de>
1279 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
1282 * sysdeps/alpha/fpu/libm-test-ulps: New file.
1283 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
1285 2000-09-21 Andreas Jaeger <aj@suse.de>
1287 * math/libm-test.inc (atan_test): Test for existence of function.
1288 (expm1_test): Likewise.
1289 (acos_test): Likewise.
1290 (asin_test): Likewise.
1291 (exp_test): Likewise.
1292 (log10_test): Likewise.
1293 (log_test): Likewise.
1294 (pow_test): Likewise.
1295 (sqrt_test): Likewise.
1296 (cos_test): Likewise.
1297 (sin_test): Likewise.
1298 (tan_test): Likewise.
1299 (log1p_test): Likewise.
1300 (log2_test): Likewise.
1302 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
1304 * libio/oldiofsetpos64.c: Fix alias names.
1306 2000-09-21 Martin Buchholz <martin@xemacs.org>
1308 * manual/terminal.texi (Allocation): Sample code correction.
1310 2000-09-20 Andreas Jaeger <aj@suse.de>
1312 * iconvdata/Makefile (generated): Add tst-tables.out.
1314 * intl/Makefile (generated): Add test output.
1316 2000-09-19 Andreas Jaeger <aj@suse.de>
1318 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
1319 Reported by Jens-Uwe Mager <jum@helios.de>.
1321 2000-09-18 Ulrich Drepper <drepper@redhat.com>
1323 * version.h (VERSION): Bump to 2.1.94.
1325 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
1326 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
1327 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
1328 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
1330 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
1332 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1334 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
1335 range 0xD800..0xDFFF.
1336 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1337 (BODY for FROM_LOOP): Likewise.
1338 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
1339 (internal_ucs2_loop): Likewise.
1340 (ucs2reverse_internal_loop): Likewise.
1341 (internal_ucs2reverse_loop): Likewise.
1343 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1345 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
1348 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1350 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
1351 * iconvdata/tst-table-to.c (main): Likewise.
1353 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1355 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
1357 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
1358 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
1359 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
1360 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
1361 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
1362 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
1363 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
1364 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
1365 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
1366 encodings when needed. When outputting an announcement, don't clear
1367 most other announcements.
1369 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1371 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
1372 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
1374 2000-09-14 Bruno Haible <haible@clisp.cons.org>
1376 * intl/Versions: Add bind_textdomain_codeset.
1378 2000-09-16 Ralf Baechle <ralf@gnu.org>
1380 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
1382 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
1383 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
1384 it will even work when not loaded to the standard address.
1385 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
1386 before the dynamic linker itself is relocated.
1388 2000-09-18 Andreas Jaeger <aj@suse.de>
1390 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1391 __ASSUME_32BITUIDS for MIPS.
1392 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
1393 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
1395 2000-09-17 H.J. Lu <hjl@gnu.org>
1397 * catgets/Makefile ($(objpfx)de/libc.cat): Use
1398 $(make-target-directory) instead of mkdir.
1400 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1402 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1403 __ASSUME_32BITUIDS for __powerpc__.
1404 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
1405 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
1407 2000-09-17 Ulrich Drepper <drepper@redhat.com>
1409 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
1411 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1413 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1415 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
1417 * sysdeps/m68k/Implies: Likewise.
1418 * sysdeps/sparc/sparc64/Implies: Likewise.
1420 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1422 * elf/readlib.c (process_file): Don't error for stale .so links either.
1424 2000-09-16 Ulrich Drepper <drepper@redhat.com>
1426 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
1429 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
1430 Patch by Thorsten Kukuk <kukuk@suse.de>.
1432 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
1433 (test): Add default.
1434 (modules-names): Add defaultmod1 and defaultmod2.
1435 Add rules to build test objects.
1437 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1439 * wctype/wctype.h: Always include <bits/types.h>.
1440 Reported by Jim Meyering <meyering@ascend.com>.
1442 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
1443 * elf/dl-support.c: Likewise.
1445 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
1446 st_blocks member in stat and stat64 structs.
1447 Patch by Bill Nottingham <notting@redhat.com>.
1449 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
1452 * math/complex.h: Don't define _Complex macro for gcc 3. Add
1453 __extension__ to _Complex_I definition since gcc warns if -pedantic.
1454 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
1455 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1457 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
1458 necessary. Move includes of POSIX and Unix limits files to the end.
1459 * stdlib/Makefile (tests): Add tst-limits.
1460 * stdlib/tst-limits.h: New file.
1462 2000-09-15 Andreas Jaeger <aj@suse.de>
1464 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
1466 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
1468 2000-09-15 Jakub Jelinek <jakub@redhat.com>
1470 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
1472 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1473 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
1475 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1477 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
1479 (modules-names): Add nextmod1 and nextmod2.
1480 Add rules to build and run next.
1481 * elf/next.c: New file.
1482 * elf/nextmod1.c: New file.
1483 * elf/nextmod2.c: New file.
1485 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1487 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
1489 2000-09-15 Andreas Jaeger <aj@suse.de>
1491 * sysdeps/mips/fpu/fenv_libc.h: New file.
1492 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
1493 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
1494 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
1496 * sysdeps/mips/fpu/feenablxcpt.c: New file.
1497 * sysdeps/mips/fpu/fegetexcept.c: New file.
1498 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
1500 2000-09-14 Ulrich Drepper <drepper@redhat.com>
1502 * intl/Makefile: Avoid unnecessary test reruns.
1504 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
1506 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
1507 to not use sysctl(). Too many architectures have problems with it.
1509 2000-09-14 Andreas Jaeger <aj@suse.de>
1511 * scripts/config.sub: New version from subversions.gnu.org.
1513 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
1516 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1518 * posix/regex.c (compile_range): Cast collseq index to unsigned char
1519 to avoid accessing data before collseq.
1521 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
1522 pasting strings together.
1524 2000-09-14 Greg McGary <greg@mcgary.org>
1526 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
1528 * sysdeps/generic/bp-semctl.h: Likewise.
1529 * sysdeps/generic/bp-start.h: Likewise.
1530 * sysdeps/generic/bp-sym.h: Likewise.
1531 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
1534 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1536 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
1539 * elf/elf.h: Add missing official relocations.
1541 * libio/stdio.h: Define __FILE if __need___FILE is defined.
1542 * stdio/stdio.h: Likewise.
1543 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
1544 * include/stdio.h: Handle __need___FILE like __need_FILE.
1545 * include/wchar.h: Use __FILE instead of FILE.
1546 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
1547 * libio/fwscanf.c: Likewise.
1548 * libio/getwc.c: Likewise.
1550 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
1551 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
1552 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
1554 * assert/assert.h: Update comment header about ISO C section.
1555 * math/complex.h: Likewise.
1556 * ctype/ctype.h: Likewise.
1557 * include/errno.h: Likewise.
1558 * include/limits.h: Likewise.
1559 * locale/locale.h: Likewise.
1560 * math/math.h: Likewise.
1561 * setjmp/setjmp.h: Likewise.
1562 * signal/signal.h: Likewise.
1563 * stdio/stdio.h: Likewise.
1564 * libio/stdio.h: Likewise.
1565 * stdlib/stdlib.h: Likewise.
1566 * string/string.h: Likewise.
1567 * time/time.h: Likewise.
1568 * wcsmbs/wchar.h: Likewise.
1569 * wctype/wctype.h: Likewise.
1570 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1572 2000-09-13 Andreas Jaeger <aj@suse.de>
1574 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
1575 for no more entries.
1576 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
1577 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
1578 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
1580 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1582 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
1583 constant since this is what clock_t is.
1584 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1585 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
1586 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
1587 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
1589 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
1590 definitions are requested.
1592 2000-09-13 Andreas Jaeger <aj@suse.de>
1594 * shlib-versions: libBrokenLocale needs minimal version for ia64,
1595 sparc64 and sh to synch with libc.
1597 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1599 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
1600 (distribute): Add iso-2022-cn-ext.c.
1601 Add definitions to compile the new module.
1602 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
1603 * iconvdata/iso-2022-cn-ext.c: New file.
1604 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
1605 ucs4_from_isoir165. Increment input pointer if successful.
1607 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
1609 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
1611 2000-09-01 Jes Sorensen <jes@linuxcare.com>
1613 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
1614 __syscall_getdents64 wrapper.
1616 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
1618 2000-09-12 Ulrich Drepper <drepper@redhat.com>
1620 * iconvdata/gb18030.c: Many many changes. Make consistent with
1621 charmap and with itself.
1622 * iconvdata/tst-tables.sh: Test GB18030.
1624 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1626 * iconv/skeleton.c: Fix last patch, add missing parameter to
1627 unaligned function call.
1629 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1631 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
1632 of decimal ellipsis.
1634 2000-09-11 Bruno Haible <haible@clisp.cons.org>
1636 * locale/programs/ld-collate.c (collate_read): Always initialize
1639 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1641 * locale/programs/ld-collate.c (collate_finish): Upper bound for
1642 ruleidx is 128, not 256.
1644 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1646 * locale/programs/ld-collate.c (collate_read): Correct check for
1647 already inserted entries.
1649 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1651 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
1654 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1656 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
1657 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
1659 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1661 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
1664 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1666 * iconvdata/utf-7.c: New file.
1667 * iconvdata/gconv-modules (UTF-7): New module entries.
1668 * iconvdata/Makefile (modules): Add UTF-7.
1669 (distribute): Add utf-7.c.
1670 * iconvdata/testdata/UTF-7: New file.
1671 * iconvdata/testdata/UTF-7..UTF8: New file.
1672 * iconvdata/TESTS (UTF-7): New entry.
1673 * iconvdata/run-iconv-test.sh: Fix confusing output.
1675 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1677 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
1679 2000-09-10 David S. Miller <davem@redhat.com>
1681 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
1682 frame pointer offset for non-fast path.
1684 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1686 * locale/programs/3level.h (*_init): Initialize level1, level2,
1688 (*_add): Remove a few unnecessary conditionals.
1690 2000-09-05 Wolfram Gloger <wg@malloc.de>
1692 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
1693 ensure usability of mutex as an `in use' flag.
1695 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1697 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
1699 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
1700 ugly GMON_WEAK_START hack.
1701 Patch by Philip Blundell <philb@gnu.org>.
1703 * sysdeps/i386/i486/bits/string.h: Pretty printing.
1705 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1707 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
1708 and PPC_ICBI asm for broken compilers.
1709 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1711 2000-09-09 Andreas Jaeger <aj@suse.de>
1713 * manual/message.texi (Advanced gettext functions): Fix typo.
1715 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
1718 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1720 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
1722 * sysdeps/ia64/memccpy.S: Likewise.
1723 Patches by Jim Wilson <wilson@redhat.com>.
1725 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
1726 before trying to read /proc.
1727 Patch by Matt Wilson <msw@redhat.com>.
1728 * include/sys/utsname.h: Declare __uname.
1729 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
1730 * sysdeps/mach/hurd/uname.c: Likewise.
1731 * sysdeps/unix/syscalls.list: Likewise.
1733 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
1736 2000-09-08 Ulrich Drepper <drepper@redhat.com>
1738 * posix/getopt.c (_getopt_internal): When long_only is set always
1739 recognize conflicts just like before.
1741 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1743 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
1745 2000-09-08 Greg McGary <greg@mcgary.org>
1747 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
1748 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
1749 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
1751 2000-09-08 Andreas Jaeger <aj@suse.de>
1753 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
1755 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
1757 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
1758 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1759 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
1761 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1763 * iconvdata/tst-tables.sh: Enable EUC-KR test.
1765 * elf/dl-load.c (lose): Decrement _nl_loaded.
1766 (_dl_map_object_from_fd): Don't try to dlopen executables.
1768 * iconvdata/tst-tables.sh: Actually return with an error if
1769 something goes wrong.
1770 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
1771 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
1773 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
1775 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
1776 * iconvdata/tst-table-from.c: Include <string.h>.
1777 (try): Correct cast in iconv call.
1779 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
1781 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
1782 (sysdep_routines): Remove dl-start.
1783 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1785 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
1787 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
1788 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1790 2000-09-06 Andreas Schwab <schwab@suse.de>
1792 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
1794 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1796 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
1798 * scripts/config.sub: Strip out -unknown for Linux targets.
1799 Patch by Scott Bambrough <scottb@netwinder.org>.
1801 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
1804 2000-09-07 Andreas Jaeger <aj@suse.de>
1806 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
1808 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
1811 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
1813 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
1814 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1816 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
1818 * stdlib/tst-bsearch.c (main): Add more test cases.
1820 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
1821 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1822 Reported by GOTO Masanori <gotom@debian.or.jp>.
1824 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1826 * posix/Makefile (tests): Add tst-dir.
1827 (tst-dir-ARGS): New variable.
1828 * posix/tst-dir.c: New file.
1830 2000-09-07 Andreas Jaeger <aj@suse.de>
1832 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
1835 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
1837 2000-09-06 Ulrich Drepper <drepper@redhat.com>
1839 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
1840 use the hack with tryopen_o_directory to determine at runtime
1842 * sysdeps/unix/sysv/linux/opendir.c: New file.
1843 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1844 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
1846 * catgets/Depend: New file. Add intl.
1847 * catgets/Makefile (tests): Add tst-catgets.
1848 (generated): Remove de.msg.
1849 (generated-dirs): Add de.
1850 Add dependency if tst-catgets output on de/libc.cat.
1851 * catgets/tst-catgets.c: New file.
1853 * po/ja.po: New file.
1854 * po/el.po: Update from translation team.
1856 * wcsmbs/Depend: New file.
1857 * wcsmbs/Makefile (tests): Add tst-btowc.
1858 (tst-btowc-ENV): Define.
1859 * wcsmbs/tst-btowc.c: New file.
1861 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
1862 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
1864 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
1866 * stdlib/Makefile (tests): Add tst-bsearch.
1867 * stdlib/tst-bsearch.c: New file.
1869 * posix/getopt.c (_getopt_internal): Don't recognize an option
1870 name as ambiguous if it's a prefix for more than one name but the
1871 other struct option values are identical.
1873 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
1874 Don't depend on visual inspection of the output file to recognize
1876 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
1878 2000-09-06 Andreas Jaeger <aj@suse.de>
1880 * sysdeps/alpha/soft-fp/Dist: New file.
1881 * sysdeps/i386/soft-fp/Dist: New file.
1882 * sysdeps/mips/mips64/soft-fp/Dist: New file.
1883 * sysdeps/mips/soft-fp/Dist: New file.
1884 * sysdeps/powerpc/soft-fp/Dist: New file.
1885 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
1886 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
1888 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
1889 Use sysdep_routines instead of routines to fix make dist failure.
1890 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
1892 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
1894 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
1895 sysdep_headers instead of headers for make dist.
1897 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
1900 2000-09-06 Andreas Schwab <schwab@suse.de>
1902 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
1904 2000-09-06 Andreas Jaeger <aj@suse.de>
1906 * soft-fp/Makefile (distribute): Remove ChangeLog.
1908 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
1909 sysdep_routines instead of routines for make dist.
1911 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1913 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
1914 compatibility check for old stream and call _IO_wide in doubt.
1915 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
1916 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
1917 needed tst for such an old structure and don't do anything.
1918 * libio/freopen.c: Remove declaration of _IO_stdin_used.
1920 2000-09-06 Andreas Jaeger <aj@suse.de>
1922 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
1923 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1926 * soft-fp/ChangeLog: Merged with this file.
1928 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1930 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
1932 * soft-fp/Makefile (distribute): Add the math functions, too.
1934 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
1936 2000-03-03 Geoff Keating <geoffk@cygnus.com>
1938 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
1941 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
1942 * soft-fp/sysdeps/powerpc/q_*: New files.
1944 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1946 * stdio-common/vfprintf.c (process_string_arg): Handle precision
1947 in wide char case correctly. Don't allocate too long temporary
1948 strings with alloca.
1950 * stdio-common/Makefile (tests): Add tst-swprintf.
1951 (tst-swprintf-ENV): New variable.
1952 * stdio-common/tst-swprintf.c: New file.
1954 2000-09-05 Andreas Jaeger <aj@suse.de>
1956 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
1957 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
1958 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1960 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1962 * configure.in: Strip out "unknown" from configuration names.
1964 2000-09-05 Andreas Jaeger <aj@suse.de>
1966 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
1968 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
1969 * sysdeps/sparc/sparc32/Implies: Likewise.
1970 * sysdeps/powerpc/Implies: Likewise.
1972 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
1973 * libio/oldiofgetpos64.c: Likewise.
1975 * soft-fp/Makefile (distribute): Remove configure.
1977 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
1979 * soft-fp/configure: Remove.
1981 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1982 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1984 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
1985 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
1987 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
1988 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
1990 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
1991 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
1993 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1994 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1996 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
1997 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
1999 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
2000 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
2002 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
2003 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
2005 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
2006 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
2008 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
2009 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
2011 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
2012 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
2014 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
2015 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
2017 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
2018 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
2020 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
2021 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
2023 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
2024 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
2026 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
2027 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
2029 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
2030 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
2032 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
2033 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
2035 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
2036 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
2038 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
2039 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
2041 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
2042 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
2044 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
2045 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
2047 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
2048 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
2050 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
2051 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
2053 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
2054 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
2056 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
2057 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
2059 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
2060 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
2062 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
2063 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
2065 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
2066 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
2068 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
2069 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
2071 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
2072 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
2074 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
2075 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
2077 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
2078 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
2080 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
2081 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
2083 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
2084 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
2086 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
2087 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
2089 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
2090 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
2092 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
2093 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
2095 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
2096 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
2098 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
2099 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
2101 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
2102 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
2104 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
2105 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
2107 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
2108 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
2110 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
2111 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
2113 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
2114 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
2116 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
2117 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
2119 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
2120 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
2122 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
2123 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
2125 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
2126 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
2128 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
2129 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
2131 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
2132 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
2134 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
2135 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
2137 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
2138 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
2140 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
2141 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
2143 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
2144 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
2146 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
2147 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
2149 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
2150 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
2152 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
2153 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
2155 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
2156 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
2158 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
2159 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
2161 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
2162 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
2164 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
2165 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
2167 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
2168 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
2170 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
2171 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
2173 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
2174 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
2176 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
2177 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
2179 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
2180 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
2182 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
2183 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
2185 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
2186 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
2188 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
2189 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
2191 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
2192 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
2194 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
2195 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
2197 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
2198 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
2200 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
2201 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
2203 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
2204 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
2206 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
2207 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
2209 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
2210 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
2212 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
2213 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
2215 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
2216 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
2218 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
2219 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
2221 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
2222 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
2224 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
2225 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
2227 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
2228 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
2230 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
2231 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
2233 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
2234 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
2236 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
2237 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
2239 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
2240 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
2242 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
2243 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
2245 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
2246 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
2248 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
2249 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
2251 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
2252 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
2254 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
2255 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
2257 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
2258 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
2260 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
2261 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
2263 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
2264 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
2266 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
2267 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
2269 * soft-fp/sysdeps/powerpc/Versions: Move from here...
2270 * sysdeps/powerpc/soft-fp/Versions: ... to here.
2272 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
2273 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
2275 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
2276 change symbol version.
2277 * libio/oldiofgetpos64.c: Likewise.
2278 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
2280 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
2282 Reported by dyky@kondara.org, closes PR libc/1886.
2284 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
2287 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2289 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
2290 script when ^C is hit.
2292 * locale/programs/localedef.c (construct_output_path): Correct
2293 computation of endp after asprintf.
2294 * locale/programs/locfile.c (write_locale_data): Don't add extra
2297 2000-09-05 Andreas Jaeger <aj@suse.de>
2299 * scripts/config.guess: New upstream version.
2300 * scripts/config.sub: Likewise.
2301 * manual/texinfo.tex: Likewise.
2303 2000-09-04 Andreas Schwab <schwab@suse.de>
2305 * elf/Makefile (all-dl-routines): New variable.
2306 (elide-routines.os): Use it instead of $(dl-routines).
2307 (all-rtld-routines): New variable.
2308 (extra-objs): Use it instead of $(rtld-routines).
2309 ($(objpfx)dl-allobjs.os): Likewise.
2310 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
2311 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2314 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2316 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
2317 Set fname to NULL if the module wasn't found.
2319 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2321 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
2322 true if trans->name already ends in ".so".
2324 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2326 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
2328 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
2329 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
2330 (__gconv_release_shlib): Change return type to void.
2331 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
2332 step->__counter here.
2333 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
2334 if the reference is zero.
2335 (release_step): New function.
2336 (gen_steps): Always initialize the __counter to 1. Use release_step.
2337 Don't call the destructor on the step whose initializer failed.
2338 (increment_counter): Use release_step. Don't normally run destructors
2340 (__gconv_close_transform): Use release_step.
2342 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2344 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
2345 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
2347 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2349 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
2350 If the first byte is 0x8E, don't ask for 4 bytes until it has been
2351 verified that the second byte is valid. Leave it to cns11643_to_ucs4
2352 to check for incomplete input.
2353 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
2354 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
2355 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2356 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
2358 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
2359 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2360 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
2361 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
2364 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2366 * iconv/gconv_db.c (find_derivation): Always use the least-cost
2369 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2371 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
2374 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2376 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
2377 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
2380 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2382 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
2384 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2386 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
2388 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2390 * iconvdata/tst-tables.sh: New file.
2391 * iconvdata/tst-table.sh: New file.
2392 * iconvdata/tst-table-from.c: New file.
2393 * iconvdata/tst-table-to.c: New file.
2394 * iconvdata/tst-table-charmap.sh: New file.
2395 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
2396 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
2397 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
2398 ISIRI-3342.irreversible, SJIS.irreversible.
2399 (tests): Add dependency on tst-tables.out.
2400 (tst-tables.out, tst-tables-clean): New rules.
2401 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
2402 * iconvdata/ISIRI-3342.irreversible: New file.
2403 * iconvdata/EUC-JP.irreversible: New file.
2404 * iconvdata/SJIS.irreversible: New file.
2406 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2408 * manual/locale.texi (General Numeric): Update description of
2409 representation of the grouping information in the locale data.
2410 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
2412 2000-09-04 Andreas Jaeger <aj@suse.de>
2414 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
2415 * iconv/iconv_prog.c (options): Fix typo.
2416 Reported by dyky@kondara.org, closes PR libc/1885.
2418 2000-09-04 Andreas Jaeger <aj@suse.de>
2420 * sysdeps/generic/fegetenv.c: It's __fegetenv.
2421 Reported by Rob Levin <lilo@transvirtual.com>.
2423 2000-09-03 Ulrich Drepper <drepper@redhat.com>
2425 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
2426 to the typedefs of __timezone_ptr_t.
2427 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
2429 2000-09-02 Jakub Jelinek <jakub@redhat.com>
2431 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
2434 2000-09-01 H.J. Lu <hjl@gnu.org>
2436 * Makeconfig (built-program-cmd): Don't use the dynamic linker
2437 to run a binary if it is in $(tests-static).
2439 * Rules (binaries-static): Add $(tests-static).
2441 2000-09-02 Andreas Jaeger <aj@suse.de>
2443 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
2445 * libio/fmemopen.c (fmemopen_close): Revert one part of last
2448 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2450 * iconvdata/big5hkscs.c: Regenerated from charmap.
2451 * iconvdata/testdata/BIG5HKSCS: Regenerated.
2452 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
2454 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
2455 statement. General cleanup.
2457 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2459 * wctype/wcfuncs.c (iswblank): New function.
2460 * wctype/wcfuncs_l.c (__iswblank_l): New function.
2461 * wctype/wcextra.c: Remove file.
2462 * wctype/wcextra_l.c: Remove file.
2463 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
2465 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2467 * locale/programs/ld-collate.c (collate_output): Remove redundant
2469 * string/strcoll.c: Likewise.
2470 * string/strxfrm.c: Include assert.h. Add assert calls like in
2473 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2475 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
2476 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
2477 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
2478 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
2479 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
2480 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
2481 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
2482 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
2483 _NL_CTYPE_GAP5/6 respectively.
2485 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
2486 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
2487 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
2488 Don't initialize __ctype_names and __ctype_width.
2489 * wctype/cname-lookup.h: Remove file.
2490 * wctype/Makefile (distribute): Remove cname-lookup.h.
2491 * wctype/wchar-lookup.h: Include stdint.h.
2492 * wctype/wctype.c (__wctype): Assume new locale format.
2493 * wctype/wctype_l.c (__wctype_l): Likewise.
2494 * wctype/iswctype.c: Don't include cname-lookup.h.
2495 (__iswctype): Assume new locale format.
2496 * wctype/iswctype_l.c: Don't include cname-lookup.h.
2497 (__iswctype_l): Assume new locale format.
2498 * wctype/wctrans.c: Don't include ctype.h.
2499 (wctrans): Assume new locale format.
2500 * wctype/wctrans_l.c (__wctrans_l): Likewise.
2501 * wctype/towctrans.c: Don't include cname-lookup.h.
2502 (__towctrans): Assume new locale format.
2503 * wctype/towctrans_l.c: Don't include cname-lookup.h.
2504 (__towctrans_l): Assume new locale format.
2505 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
2506 localeinfo.h instead.
2507 (__NO_WCTYPE): Remove unused macro.
2508 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
2510 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
2511 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
2512 (towlower, towupper): Likewise.
2513 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
2514 localeinfo.h instead.
2515 (__NO_WCTYPE): Remove unused macro.
2516 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2517 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2518 __iswxdigit_l): Assume new locale format.
2519 (__towlower_l, __towupper_l): Likewise.
2520 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
2521 (__ctype32_b): Remove declaration.
2522 (internal_wcwidth): Assume new locale format.
2523 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
2524 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
2525 to map32_b, rename width_3level to width.
2526 (ctype_output): Always create new locale format. Don't emit
2527 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
2528 (allocate_arrays): Always create new locale format.
2530 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
2531 * locale/weightwc.h (findidx): Assume new locale format.
2532 * string/strcoll.c (wcscoll): Remove local variables size, layers,
2534 * string/strxfrm.c (wcsxfrm): Likewise.
2535 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
2536 local variable collseq to 'const char *'.
2537 (SUFFIX): Don't use, don't undefine.
2538 * posix/fnmatch.c: Remove SUFFIX definition.
2539 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
2540 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
2541 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
2542 (collate_finish): Always create new locale format. Remove local
2543 variables min_total, act_size.
2544 (collate_output): Always create new locale format. Remove local
2545 variables table_size, names, tablewc. Rename tablewc_3level to
2548 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2550 * locale/programs/ld-collate.c (obstack_int32_grow,
2551 obstack_int32_grow_fast): New inline functions.
2552 (output_weightwc, collate_output): Use them where possible.
2554 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2556 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
2557 patch (_mode -> _flags).
2559 * libio/Makefile (headers): Add stdio_ext.h.
2560 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
2561 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
2562 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
2563 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
2564 __fsetlocking, and _flushlbf.
2565 * libio/__fbufsize.c: New file.
2566 * libio/__flbf.c: New file.
2567 * libio/__fpending.c: New file.
2568 * libio/__fpurge.c: New file.
2569 * libio/__freadable.c: New file.
2570 * libio/__freading.c: New file.
2571 * libio/__fsetlocking.c: New file.
2572 * libio/__fwritable.c: New file.
2573 * libio/__fwriting.c: New file.
2574 * libio/stdio_ext.h: New file.
2575 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
2576 * libio/libio.h (_IO_USER_LOCK): Define.
2577 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
2578 test _IO_USER_LOCK flag first.
2580 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
2583 2000-09-01 Andreas Jaeger <aj@suse.de>
2585 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
2587 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
2589 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2591 * math/Makefile (tests): Add tst-defintions.
2592 * math/tst-definitions.c: New file.
2594 * stdlib/Makefile (headers): Add bits/wchar.h.
2595 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
2596 * sysdeps/generic/bits/wchar.h: New file.
2597 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
2598 file to define WCHAR_MIN and WCHAR_MAX.
2599 Change UINT*8_MAX and UIN*16_MAX value to type int.
2600 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
2601 file to define WCHAR_MIN and WCHAR_MAX.
2602 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
2604 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
2605 * sysdeps/generic/bits/mathdef.h: Likewise.
2606 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2607 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2608 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2609 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2610 * locale/locale.h (struct lconv): Add __ prefix to the new members
2612 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
2613 imaxdiv optimizations.
2614 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
2615 * sysdeps/wordsize-64/ldiv.c: Likewise.
2616 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
2618 * sysdeps/generic/bits/fenv.h: Likewise.
2619 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2620 * sysdeps/ia64/bits/fenv.h: Likewise.
2621 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
2622 * sysdeps/mips/bits/fenv.h: Likewise.
2623 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2624 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2625 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2627 * inet/rcmd.c: Use *stat64 instead of *stat internally.
2628 * inet/ruserpass.c: Likewise.
2629 * catgets/open_catalog.c: Likewise.
2630 * intl/loadmsgcat.c: Likewise.
2631 * io/getdirname.c: Likewise.
2632 * locale/loadlocale.c: Likewise.
2633 * misc/getusershell.c: Likewise.
2634 * stdlib/canonicalize.c: Likewise.
2635 * sysdeps/posix/euidaccess.c: Likewise.
2636 * sysdeps/posix/isfdtype.c: Likewise.
2637 * sysdeps/posix/posix_fallocate.c: Likewise.
2638 * sysdeps/posix/tempname.c: Likewise.
2639 * sysdeps/unix/grantpt.c: Likewise.
2640 * sysdeps/unix/opendir.c: Likewise.
2641 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
2642 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
2643 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2644 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
2645 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2646 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2647 * sysvipc/ftok.c: Likewise.
2648 * time/getdate.c: Likewise.
2650 * time/getdate.c: Add extra access test.
2652 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2654 * version.h (VERSION): Bump to 2.1.93.
2656 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
2657 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
2659 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
2660 Make this a new rule depending on tst-gettext.out and run mtrace.
2661 * intl/tst-gettext.c: Call mtrace.
2662 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
2664 * elf/dl-reloc.c: Add a few more __builtin_expect.
2666 * configure.in: Remove --with-gettext option.
2668 * intl/dcigettext.c (free_mem): Correct freeing of
2669 _nl_domain_bindings list.
2671 * sysdeps/generic/setenv.c (free_mem): New function. Free all
2674 * intl/locale.alias: Add aliases for bokmal and nynorsk.
2676 * locale/iso-639.def: Fix 639-1 code for Bokmal.
2678 * stdio-common/itoa-digits.c: Move upper digits to...
2679 * stdio-common/itoa-udigits.c: ...here. New file.
2680 * stdio-common/Makefile (routines): Add itoa-udigits.
2682 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
2683 relocate ld.so don't add supprt for relocations which should not
2686 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
2687 __secure_getenv. Instead test __libc_enable_secure once.
2689 * io/pwd.c (main): Provide a good example, use *_unlocked function.
2691 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2693 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
2694 whether the new record should be freed if it's a duplicate.
2695 (add_module): Adjust insert_module call.
2696 (__gconv_read_conf): Likewise.
2697 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
2699 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
2701 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
2703 * include/link.h (struct r_search_path_struct): New.
2704 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
2705 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
2707 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
2708 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
2709 added at startup time.
2710 * elf/dl-load.c: Fix memory handling. r_search_path_struct
2711 contains element to remember fact that we can free memory.
2712 (all_dirs): Renamed to _dl_all_dirs. Made global.
2713 (_dl_init_all_dirs): New variable.
2714 (fillin_rpath): Save one malloc call.
2715 (decompose_rpath): Change interface. New first parameter points to
2716 r_search_path_struct.
2717 (_dl_init_paths): Adjust for changes. Mark all memory as not
2718 deletable. Set _dl_init_all_paths value.
2719 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
2720 parameter replaced with r_search_path_struct *. Information about
2721 freeing now contained in r_search_path_struct.
2722 (_dl_map_object): Adjust for above changes.
2724 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
2726 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
2727 when adding new entries.
2729 * elf/dl-load.c (fillin_rpath): Make local copy of where string
2730 since the object being loaded can be unloaded.
2732 * iconvdata/Makefile (tests): Add tst-loading.
2733 * iconvdata/tst-loading.c: New file.
2735 2000-08-29 Bruno Haible <haible@clisp.cons.org>
2737 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
2738 When comparing a char with an int, always cast the char to
2739 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
2740 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
2742 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2744 * time/strftime.c (my_strftime): Add compatibility code for use
2745 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
2747 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
2748 return 0 for success but always < 0 on failure.
2750 * nss/getXXbyYY_r.c: Define result to *result before including
2753 2000-08-30 Andreas Jaeger <aj@suse.de>
2755 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
2757 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2759 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
2761 * iconvdata/TESTS: Add BIG5HKSCS entry.
2762 * iconvdata/testdata/BIG5HKSCS: New file.
2763 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
2765 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
2768 * libio/iogetline.c: Set mode before the loop in case n==0.
2769 * libio/iogetwline.c: Likewise.
2771 2000-08-29 H.J. Lu <hjl@gnu.org>
2773 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
2775 (_IO_new_file_overflow): Likewise.
2776 * libio/genops.c (_IO_flush_all): Likewise.
2777 * libio/ioftell.c (_IO_ftell): Likewise.
2779 2000-08-29 Akira Higuchi <a@kondara.org>
2781 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
2782 and __end_fct fields of struct __gconv_step.
2783 * iconv/Makefile (tests): Add iconv-bug2.
2784 * iconv/iconv-bug2.c: New file.
2786 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
2787 instead of 'inptr - inend' to ksc5601_to_ucs4.
2789 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
2791 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
2792 character or shift sequence is found at the end of the input
2793 string, return__GCONV_INCOMPLETE_INPUT instead of
2794 __GCONV_EMPTY_INPUT.
2795 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
2796 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
2798 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
2799 __GCONV_ILLEGAL_INPUT for 8bit characters.
2801 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2803 * signal/signal.h (sigpause): Move __THROW before __asm__.
2805 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
2806 names don't match don't return.
2807 Patch by Olaf Kirch <okir@flash.lst.de>.
2809 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2811 * time/strftime.c (my_strftime): Handle # flag for %b as well.
2813 2000-08-27 H.J. Lu <hjl@gnu.org>
2815 * posix/Makefile (otherlibs): Add for building with static-nss
2818 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2820 * libio/stdio.h: Add fmemopen prototype.
2822 2000-08-25 Andreas Jaeger <aj@suse.de>
2824 * libio/Makefile (routines): Add fmemopen.
2825 (tests): Add test-fmemopen.
2826 * libio/Versions: Add fmemopen with version GLIBC_2.2.
2827 * libio/test-fmemopen.c: New file.
2828 * libio/fmemopen.c: New file.
2829 Patches by Hanno Mueller <kontakt@hanno.de>.
2831 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2833 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
2834 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
2836 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
2837 to avoid crashing statically linked applications.
2839 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2841 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
2842 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
2844 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
2845 If the result is fits in the buffer, copy only as many bytes as needed.
2847 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
2848 buffer after copying numbuf into it.
2849 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2851 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2853 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
2854 the result. When string_len < len, don't clear the rest of the buffer.
2856 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2858 Support for new LC_COLLATE format.
2859 * locale/coll-lookup.h: New file.
2860 * locale/weightwc.h (findidx): When size == 0, call
2861 collidx_table_lookup.
2862 * wcsmbs/wcscoll.c: Include coll-lookup.h.
2863 * wcsmbs/wcsxfrm.c: Likewise.
2864 * posix/fnmatch.c: Likewise.
2865 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
2866 collseq_table_lookup.
2867 * locale/programs/3level.h: New file.
2868 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
2869 by including "3level.h".
2870 * locale/programs/ld-collate.c (wchead_table, collidx_table,
2871 collseq_table): New types, defined by including "3level.h".
2872 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
2873 (encoding_mask, encoding_byte): Remove.
2874 (utf8_encode): Use simple shifts instead.
2875 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
2876 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
2877 (collate_output): New local variable tablewc_3level. When
2878 !oldstyle_tables, set table_size to 0 and names to NULL and fill
2879 tablewc_3level instead of tablewc. Change format of TABLEWC and
2880 COLLSEQWC entries written to the file.
2881 * locale/C-collate.c (collseqwc): Change format.
2882 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
2884 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
2886 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2888 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
2889 (locale_ctype_t): New charnames_idx field.
2890 (ctype_startup): Initialize charnames_idx field.
2891 (find_idx): Speed up dramatically by using charnames_idx inverse table.
2893 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2895 * locale/C-ctype.c: Switch to new locale format.
2896 (_nl_C_LC_CTYPE_names): Remove array.
2897 (STRUCT_CTYPE_CLASS): New macro.
2898 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2899 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2900 New three-level tables.
2901 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
2902 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
2903 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
2904 12 class tables and 2 map tables at the end.
2905 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
2906 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2907 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2909 (b): Remove trailing semicolon.
2910 (__ctype_names, __ctype_width): Don't initialize.
2911 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
2913 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2915 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
2916 is guaranteed to be allocated with the same malloc() and may be
2918 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
2919 been set to empty by an earlier open_path call, don't pass it again.
2921 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2923 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
2924 we are not optimizing.
2926 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
2929 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
2931 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2933 2000-08-28 Andreas Jaeger <aj@suse.de>
2935 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
2937 2000-08-28 Mark Kettenis <kettenis@gnu.org>
2939 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
2940 getpeername. Use ISO C style function definition.
2941 (getpeername): Provide weak alias.
2942 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
2943 setrlimit. Use ISO C style function definition.
2944 (setrlimit): Provide weak alias.
2946 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
2948 * shlib-versions: Add a rule for S/390 to the libm version list.
2949 * sysdeps/s390/Versions: New file.
2950 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
2951 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
2952 * sysdeps/unix/sysv/linux/s390/Versions: New file.
2953 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
2954 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
2955 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
2956 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
2957 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
2958 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
2959 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
2960 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
2961 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
2962 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
2963 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
2964 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
2965 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
2966 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
2967 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
2969 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2971 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
2972 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
2974 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
2975 * elf/dl-close.c (_dl_close): Print debug message if object is not
2977 * elf/dl-open.c (dl_open_worked): Print message about opencount before
2978 returning to caller.
2980 * po/zh.po: Renamed to...
2981 * po/zh_TW.po: ...this.
2983 2000-08-27 Geoff Keating <geoffk@cygnus.com>
2985 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
2987 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
2988 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
2989 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
2990 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
2992 2000-08-27 Ulrich Drepper <drepper@redhat.com>
2994 * locale/programs/ld-collate.c (insert_weights): Also update
2995 backpointer of next element.
2996 (collate_read): Allow definition of new collation symbols in stage 2.
2997 Symbol after reorder-after can be UCS4 value.
2998 Allow reordering of collation symbols and elements.
2999 Do not only move reorder entry in new position. Instead call
3000 insert_weight to do this and read the weights.
3002 * locale/findlocale.c (free_mem): Add cast to avoid warning.
3004 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
3005 to determine invalid locale name.
3006 * locale/findlocale.c (_nl_find_locale): Likewise.
3008 * posix/annexc.c: Correct test for unavailable feature.
3010 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
3013 2000-08-26 Ulrich Drepper <drepper@redhat.com>
3015 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
3018 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
3019 (sysdep_routines): Add oldgetrlimit64.
3021 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
3022 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
3023 (tests): Add unload, reldep, reldep2, and reldep3.
3024 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
3026 Add rules to build and run unload, reldep, reldep2, and reldep3.
3027 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
3028 Don't create relocation dependency if it is nonzero.
3029 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
3030 can never happen here.
3031 (_dl_lookup_versioned_symbol): Add new parameter explicit.
3032 Don't create relocation dependency if it is nonzero.
3033 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
3034 stuff. This can never happen here.
3035 * sysdeps/generic/ldsodefs.h: Change prototypes.
3036 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
3037 _dl_lookup_up and _dl_lookup_versioned_symbol.
3039 * elf/dl-runtime.c (fixup): Likewise.
3040 (profile_fixup): Likewise.
3041 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
3043 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
3044 * elf/rtld.c (dl_main): Likewise.
3045 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
3046 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
3047 and pass down the caller map.
3048 (_dl_vsym): Likewise.
3049 * elf/reldep.c: New file.
3050 * elf/reldep2.c: New file.
3051 * elf/reldep3.c: New file.
3052 * elf/reldepmod1.c: New file.
3053 * elf/reldepmod2.c: New file.
3054 * elf/reldepmod3.c: New file.
3055 * elf/reldepmod4.c: New file.
3056 * elf/unload.c: New file.
3057 * elf/unloadmod.c: New file.
3059 * elf/do-lookup.h: Remove unused undef_name parameter.
3060 * elf/dl-lookup.c: Adjust callers.
3062 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3064 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
3065 irreversible in recursive call of conversion function to signal that
3066 no error handling is wanted.
3067 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
3068 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
3069 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
3070 recursive error handling call, otherwise to &lirreversible. Use it
3071 for calls to conversion functions.
3072 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
3074 (ucs4_internal_loop_unaligned): Likewise.
3075 (ucs4le_internal_loop): Likewise.
3076 (ucs4le_internal_loop_unaligned): Likewise.
3078 2000-08-25 Greg McGary <greg@mcgary.org>
3080 * sysdeps/i386/memchr.S: Check high bound against chars
3082 * sysdeps/i386/memcmp.S: Likewise.
3083 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
3084 account for pointers that lie one beyond end-of-buffer.
3086 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3088 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
3089 * elf/nodelete.c (fini_ran): New global variable.
3090 (do_test): Before every dlclose call clear fini_ran and test
3091 afterwards that it is not set by the destructors.
3092 * elf/nodelmod1.c: Add destructor which sets fini_ran.
3093 * elf/nodelmod2.c: Likewise.
3094 * elf/nodelmod4.c: Likewise.
3096 2000-08-21 Jes Sorensen <jes@linuxcare.com>
3098 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
3099 getrlimit to the list.
3101 2000-08-18 Jes Sorensen <jes@linuxcare.com>
3103 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
3104 long double format so use ldbl-96 instead of ldbl-128.
3106 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3108 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
3109 even if bits 10 a 11 are non-zero.
3110 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
3112 * Makeconfig: Ensures the soversions.mk part of Makefile gets
3113 included before building gnu/lib-names.h
3114 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3116 * elf/dl-close.c (_dl_close): Don't run destructors of objects
3117 marked DF_1_NODELETE.
3119 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
3120 since we call sigaction in the child.
3122 2000-08-25 Andreas Jaeger <aj@suse.de>
3124 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
3127 2000-08-25 Andreas Jaeger <aj@suse.de>
3129 * manual/arith.texi (Control Functions): Clarify possible
3130 arguments. Closes PR libc/1856.
3132 2000-08-24 H.J. Lu <hjl@gnu.org>
3134 * stdio-common/Makefile (tests): Don't do it for cross compiling.
3135 * malloc/Makefile (tests): Likewise.
3137 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3139 * iconvdata/unicode.c (gconv_init): Correct test for direction.
3141 2000-08-24 Andreas Jaeger <aj@suse.de>
3143 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
3144 only if LIBGD is available.
3146 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3148 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
3149 problems with now restrict parameter types.
3150 (convaddr4to6): Likewise.
3152 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
3154 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
3155 * sysdeps/s390/fpu/feenablxcpt.c: New file.
3156 * sysdeps/s390/fpu/fegetexcept.c: New file.
3157 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
3160 2000-08-24 Andreas Jaeger <aj@suse.de>
3162 * malloc/Makefile (extra-objs): Add memusagestat.o.
3163 (generated): Added memusage and memusagestat for make clean.
3165 * libio/tst_putwc.c (do_test): Delete temporary file.
3166 Move inclusion of test-skeleton to front to have prototype for
3169 * posix/Makefile (generated): Add wordexp-tst.out.
3171 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3173 * resolv/res_hconf.c (free_mem): Remove not needed if.
3175 * time/tzset.c (free_mem): New function.
3176 * string/strsignal.c (free_mem): New function.
3177 * inet/inet_ntoa.c (free_mem): New function.
3178 * sunrpc/clnt_perr.c (free_mem): New function.
3180 2000-08-24 Andreas Jaeger <aj@suse.de>
3182 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
3183 * sysdeps/unix/sysv/syscalls.list: Likewise.
3185 * posix/unistd.h: Move internal prototypes from here ...
3186 * include/unistd.h: ... to here.
3188 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
3190 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3192 * grp/initgroups.c (initgroups): Deallocate groups array.
3193 Reported by jani.raiha@sonera.com [PR libc/1868].
3195 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
3196 * sysdeps/alpha/Dist: Likewise.
3198 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3200 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
3201 destructor). Reported by Solar Designer <solar@false.com>.
3203 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
3204 avoid adding double slashes.
3206 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3208 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
3209 out of the __REDIRECT macro.
3211 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3213 * stdio-common/vfscanf.c: Add %F format support.
3215 * locale/programs/ld-ctype.c (ctype_output): Make sure
3216 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
3217 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
3218 (ctype_read): Enable returning of wide character strings for reading
3219 transliteration information.
3221 2000-08-23 Andreas Jaeger <aj@suse.de>
3223 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
3224 Use static __inline instead of _EXTERN_INLINE.
3226 * misc/sys/select.h: Move prototypes of __select from here ...
3227 * include/sys/select.h: ... to here.
3229 * socket/sys/socket.h: Move prototypes of __send and __connect
3231 * include/sys/socket.h: ... to here.
3233 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
3236 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3238 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
3239 __setrlimit as strong name. Takes only 2 arguments.
3241 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
3242 takes only 2 arguments.
3244 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
3246 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
3248 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
3250 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3252 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
3253 default_missing character being specified, pick the first
3256 2000-08-23 Andreas Jaeger <aj@suse.de>
3258 * include/wchar.h: Add some pure attributes.
3260 * time/time.h: Add const attribute for dysize.
3262 * include/stdlib.h: Add malloc attribute to __posix memalign.
3264 * stdlib/stdlib.h: Add some pure and malloc attributes.
3265 * wcsmbs/wchar.h: Likewise.
3267 * dirent/dirent.h: Add some pure attributes.
3268 * include/dirent.h: Likewise.
3270 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3272 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
3275 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3277 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
3278 missing buffer size checks.
3280 2000-08-23 Andreas Jaeger <aj@suse.de>
3282 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
3284 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3286 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
3287 otherwise __LINUX_KERNEL_VERSION might not be defined.
3288 (MIN): Define if not already defined.
3290 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3292 * stdio-common/vfprintf.c: Handle %F format.
3293 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
3294 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3296 * stdio-common/tstdiomisc.c: Add test for %F printf format.
3298 * po/zh.po: New file.
3300 * iconvdata/sjis.c: In conversion from UCS4, correct test for
3301 enough room in target buffer.
3302 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
3303 * iconvdata/bug-iconv1.c: New file.
3304 * iconvdata/Makefile (tests): Add bug-iconv1.
3306 * locale/iso-4217.def: Update entry for Nicaragua.
3308 2000-08-22 Mark Kettenis <kettenis@gnu.org>
3310 * hurd/hurdsig.c: Rearrange headers a bit.
3311 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
3312 when cthreads is being used.
3314 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3316 * elf/Makefile (distribute): Add dl-osinfo.h.
3317 * sysdeps/generic/dl-osinfo.h: New file.
3318 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
3319 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
3321 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
3322 only for !SHARED case. Get the code from dl-osinfo.h.
3324 * stdlib/random_r.c: Cleanups.
3325 * stdlib/tst-random.c: New file.
3326 * stdlib/Makefile (tests): Add tst-random.
3327 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
3329 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3331 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
3332 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
3333 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
3334 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
3336 2000-08-22 Jakub Jelinek <jakub@redhat.com>
3338 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
3339 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
3340 (__syscall__sysctl): Add.
3342 2000-08-21 Andreas Jaeger <aj@suse.de>
3344 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
3346 * stdlib/tst-strtoll.c: Likewise.
3348 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3350 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
3352 (__initstate_r): Set errno on error.
3353 (__random_r): Likewise.
3354 (__setstate_r): Correct offset when computing
3355 new rptr and fptr. Test for arg_state being NULL.
3356 Reported by Michael Fischer <fischer@cs.yale.edu>.
3358 * posix/regex.h: Add macro definitions to allow compiling outside
3361 * sysdeps/i370/Implies: Removed.
3362 * sysdeps/mvs/Implies: Removed.
3364 * catgets/catgets.c (catopen): Filter out env_var values with / if
3367 * locale/findlocale.c (_nl_find_locale): Move test for unusable
3368 locale name after all getenvs.
3370 * configure.in: Allow sed versions like 3.02.8.
3371 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
3373 2000-08-21 Marko Myllynen <myllynen@lut.fi>
3375 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
3377 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3379 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
3380 of gethostbyname2_r call.
3382 * intl/locale.alias: Add aliases for Korean.
3384 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3386 * sysdeps/s390/__longjmp.c: Remove unused variable result.
3387 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
3388 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
3389 * sysdeps/s390/fpu/fegetenv.c: New file.
3390 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
3391 * sysdeps/s390/fpu/feholdexcpt.c: New file.
3392 * sysdeps/s390/fpu/fenv_libc.h: New file.
3393 * sysdeps/s390/fpu/fesetenv.c: New file.
3394 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
3395 * sysdeps/s390/fpu/feupdateenv.c: New file.
3396 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
3397 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
3398 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
3399 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
3400 * sysdeps/s390/fpu/ftestexcept.c: New file.
3401 * sysdeps/s390/fpu/libm-test-ulps: New file.
3402 * sysdeps/s390/gmp-mparam.h: Add end of comment.
3403 * sysdeps/s390/initfini.c: New file.
3404 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
3405 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
3406 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
3407 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
3408 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
3409 sys/procfs.h as proposed by Mark Kettenis.
3410 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
3412 2000-08-21 Andreas Jaeger <aj@suse.de>
3414 * include/poll.h: Include include/sys/poll.h to get __poll
3417 * io/sys/poll.h: Move __poll declaration from here...
3418 * include/sys/poll.h: ...to here.
3420 * include/sys/socket.h (__getpeername): Add declaration.
3422 * include/wchar.h (__vswprintf): Add declaration.
3424 * include/stdio.h (__flockfile): Add declaration.
3425 (__funlockfile): Likewise.
3427 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3429 * misc/sys/cdefs.h: Define __restrict_arr.
3430 * include/sys/time.h: Add restrict where required by AGd4.
3431 * inet/arpa/inet.h: Likewise.
3432 * io/sys/stat.h: Likewise.
3433 * io/sys/statvfs.h: Likewise.
3434 * misc/search.h: Likewise.
3435 * misc/sys/select.h: Likewise.
3436 * posix/glob.h: Likewise.
3437 * posix/regex.h: Likewise.
3438 * posix/spawn.h: Likewise.
3439 * posix/unistd.h: Likewise.
3440 * rt/aio.h: Likewise.
3441 * signal/signal.h: Likewise.
3442 * socket/sys/socket.h: Likewise.
3443 * stdlib/ucontext.h: Likewise.
3444 * streams/stropts.h: Likewise.
3445 * string/string.h: Likewise.
3446 * time/time.h: Likewise.
3447 * time/sys/time.h: Likewise.
3449 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
3450 and posix_spawnattr_setscheparam.
3452 * libio/stdio.h: Make cuserid prototype again available for all
3455 * argp/argp-help.c: Unify use of function aliases to make more compact
3457 * include/libintl.h: Likewise.
3458 * inet/rcmd.c: Likewise.
3459 * intl/dcigettext.c: Likewise.
3460 * libio/iofputws.c: Likewise.
3461 * libio/iofputws_u.c: Likewise.
3462 * libio/iogetwline.c: Likewise.
3463 * libio/swprintf.c: Likewise.
3464 * malloc/malloc.c: Likewise.
3465 * nss/digits_dots.c: Likewise.
3466 * posix/fnmatch.c: Likewise.
3467 * posix/spawn_faction_addclose.c: Likewise.
3468 * posix/spawn_faction_adddup2.c: Likewise.
3469 * posix/spawn_faction_addopen.c: Likewise.
3470 * posix/spawni.c: Likewise.
3471 * posix/wordexp.c: Likewise.
3472 * posix/spawni.c: Likewise.
3473 * resolv/res_hconf.c: Likewise.
3474 * resolv/res_init.c: Likewise.
3475 * shadow/lckpwdf.c: Likewise.
3476 * signal/sighold.c: Likewise.
3477 * signal/sigrelse.c: Likewise.
3478 * stdio-common/printf-parse.h: Likewise.
3479 * stdio-common/printf-prs.c: Likewise.
3480 * stdio-common/printf_fp.c: Likewise.
3481 * stdio-common/vfprintf.c: Likewise.
3482 * stdio-common/vfscanf.c: Likewise.
3483 * stdlib/rpmatch.c: Likewise.
3484 * sunrpc/create_xid.c: Likewise.
3485 * sunrpc/key_call.c: Likewise.
3486 * sysdeps/generic/setrlimit64.c: Likewise.
3487 * sysdeps/generic/utmp_file.c: Likewise.
3488 * sysdeps/generic/vlimit.c: Likewise.
3489 * sysdeps/posix/posix_fallocate.c: Likewise.
3490 * sysdeps/posix/posix_fallocate64.c: Likewise.
3491 * sysdeps/posix/sigpause.c: Likewise.
3492 * sysdeps/posix/sigset.c: Likewise.
3493 * sysdeps/unix/grantpt.c: Likewise.
3494 * sysdeps/unix/bsd/ualarm.c: Likewise.
3495 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
3496 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
3497 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3498 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3499 * time/strftime.c: Likewise.
3500 * wcsmbs/wcscoll.c: Likewise.
3501 * wcsmbs/wcsxfrm.c: Likewise.
3503 * time/tst-getdate.c (main): Make error messages more human readable.
3505 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
3506 postinc/predec instruction.
3507 (_FPU_SETCW): Likewise.
3508 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3510 2000-08-20 Andreas Jaeger <aj@suse.de>
3512 * time/tst-getdate.c (main): Increase error in case of wrong
3514 Fix typo in test case.
3516 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3518 * ctype/ctype.h (isblank): Make available if ISO C99.
3519 * wctype/wctype.h (iswblank): Make available if ISO C99.
3520 * math/math.h (signgam): Don't make available if ISO C99.
3521 * math/tgmath.h (tgamma): Renamed from gamma.
3522 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
3524 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
3526 * intl/plural.y (new_exp): Take number of optional parameters in
3527 second parameter. Test for correct number of parameters and free
3528 correctly in case of failure. Adjust all callers.
3529 (yylex): Allow ';' as terminator character.
3531 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3533 * locale/lc-time.c (free_mem): New function. Free alt_digits and
3536 * locale/findlocale.c (free_mem): Also free here->filename.
3538 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
3540 * math/test-fenv.c (feenv_tests): Clear all exceptions before
3542 (feexcp_nomask_test): Correct printf args.
3543 (feexcp_mask_test): Likewise.
3545 2000-08-19 Andreas Jaeger <aj@suse.de>
3547 * inet/tst-gethnm.c: Include string.h to provide prototype for
3550 * malloc/mtrace.pl (usage): Inform about --help.
3552 2000-08-19 Wolfram Gloger <wg@malloc.de>
3554 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
3557 2000-08-19 Andreas Jaeger <aj@suse.de>
3559 * shlib-versions: Remove libnss_db, libdb and libdb1.
3561 2000-08-19 Jakub Jelinek <jakub@redhat.com>
3563 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
3564 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
3565 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
3566 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
3567 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
3568 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
3569 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
3570 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
3571 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
3572 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
3574 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
3575 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3577 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3579 * include/glob.h (__glob64): Add prototype.
3580 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
3581 define glob and glob_in_dir.
3582 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
3583 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
3584 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
3585 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
3586 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
3587 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
3588 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
3589 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
3591 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3593 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
3595 2000-08-17 Andreas Jaeger <aj@suse.de>
3597 * math/test-fenv.c (fe_single_test): New function.
3598 (fe_env_tests): Use fe_single_test.
3599 (feenable_test): New tests for feenable/fedisable and
3601 (feexcp_mask_test): New function.
3602 (feexcp_nomask_test): New function.
3604 2000-08-19 Richard Henderson <rth@cygnus.com>
3606 * sysdeps/alpha/fpu/fenv_libc.h: New file.
3607 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
3608 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3609 * sysdeps/alpha/fpu/fesetround.c: Likewise.
3610 * sysdeps/alpha/fpu/fegetround.c: Likewise.
3611 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3612 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3613 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
3614 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
3615 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
3616 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
3617 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
3618 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3619 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3620 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3621 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
3622 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
3624 2000-08-19 Andreas Jaeger <aj@suse.de>
3626 * elf/constload1.c: Include <stdio.h> for puts prototype.
3628 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3630 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
3631 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
3632 a dynamically loaded object remove old l_initfini list.
3633 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
3634 remove some dynamically allocated memory blocks in the dynamic
3635 loading data structures.
3636 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
3637 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
3638 Instead call _dl_check_map_versions only for the dependencies.
3639 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
3640 information of initial objects as not free-able.
3641 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
3644 * elf/filter.c: Call mtrace.
3645 * elf/restest1.c: Likewise. Close the objects.
3646 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
3649 * elf/constload1.c: Add comment explaining not freed memory.
3651 2000-08-18 Andreas Jaeger <aj@suse.de>
3653 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
3654 alignment for structs stat and stat64.
3655 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3657 2000-08-17 Ulrich Drepper <drepper@redhat.com>
3659 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
3660 handling. Patch by Richard Henderson <rth@twiddle.net>.
3662 * nss/Versions: Remove libnss_db information.
3664 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3666 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
3667 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
3668 * sysdeps/sparc/fpu/fegetexcept.c: New file.
3669 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
3671 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
3674 2000-08-17 Ulrich Drepper <drepper@redhat.com>
3676 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
3677 (_FPU_SETCW): Likewise.
3678 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3680 * stdio-common/printf_fp.c: Fix chars_needed computation.
3681 Patch by Greg McGary <greg@mcgary.org>.
3683 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3685 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
3686 _dl_loaded are NULL.
3688 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3690 * manual/arith.texi (feholdexcept): Returns 0 on success.
3692 2000-08-17 Andreas Jaeger <aj@suse.de>
3694 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
3696 Reported by Andi Kleen <ak@suse.de>.
3698 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3700 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
3701 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
3702 * sysdeps/alpha/fpu/fegetexcept.c: New file.
3704 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3706 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
3707 of buf->st_ino and kbuf->st_ino, not __st_ino.
3708 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
3709 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
3710 directive so that only linux/getdents.c is used, not some
3711 architecture specific one.
3713 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3715 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
3716 enabled, not disabled exceptions.
3717 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3718 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3720 2000-08-17 Greg McGary <greg@mcgary.org>
3722 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
3723 from test program name when constructing suffix for $(LDLIBS-*).
3724 (bounded-thread-library): New variable.
3726 [build-shared, build-static] (libcrypt-dep): Remove variable.
3727 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3728 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3729 * linuxthreads/Makefile (libpthread, librt): Remove variables.
3730 (librt-tests): Add variable. (tests): Use it.
3731 [build-shared, build-static]
3732 ($(addprefix $(objpfx),$(tests)),
3733 $(addprefix $(objpfx),$(librt-tests))):
3734 Consolidate individual dependencies.
3736 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
3738 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
3739 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3741 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
3743 [build-shared, build-static]
3744 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3745 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3747 2000-08-17 Greg McGary <greg@mcgary.org>
3749 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
3750 * sysdeps/unix/make-syscalls.sh: Likewise.
3751 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3752 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3753 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3754 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3755 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3757 2000-08-17 Greg McGary <greg@mcgary.org>
3759 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
3760 Wrap extern symbols in BP_SYM ().
3761 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3762 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3763 * sysdeps/i386/fpu/s_remquo.S: Likewise.
3764 * sysdeps/i386/fpu/s_remquof.S: Likewise.
3765 * sysdeps/i386/fpu/s_remquol.S: Likewise.
3766 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3767 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3768 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3769 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3770 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3772 2000-08-16 Andreas Schwab <schwab@suse.de>
3774 * sysdeps/m68k/fpu/fegetexcept.c: New file.
3775 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
3776 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
3778 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3780 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
3781 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
3782 * elf/dl-support.c: Define _nl_nloaded.
3783 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
3784 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
3785 object to global list.
3786 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
3787 from _dl_loaded list.
3788 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3789 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
3792 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
3794 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
3796 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
3798 2000-08-16 Andreas Jaeger <aj@suse.de>
3800 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
3802 2000-08-15 Marko Myllynen <myllynen@lut.fi>
3804 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
3806 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3808 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
3809 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
3810 (sysdep_routines): Add oldgetrlimit64.
3811 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
3812 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3814 * include/link.h: Undo last patches. Hurd now has stat64.
3815 * elf/Makefile: Likewise.
3816 * elf/dl-load.c: Likewise.
3817 * elf/dl-misc.c: Likewise.
3818 * elf/dl-profile.c: Likewise.
3819 * sysdeps/generic/sysd-link.h: Removed.
3820 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
3822 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
3823 thread event callback function.
3824 (__aio_notify_only): Use function above.
3825 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
3827 2000-08-16 Mark Kettenis <kettenis@gnu.org>
3829 * sysdeps/mach/hurd/lseek64.c: New file.
3831 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3833 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
3835 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
3837 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
3839 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
3841 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3843 * sysdeps/mach/hurd/xstatconv.c: New file.
3844 * sysdeps/mach/hurd/fxstat64.c: New file.
3845 * sysdeps/mach/hurd/lxstat64.c: New file.
3846 * sysdeps/mach/hurd/xstat64.c: New file.
3847 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
3849 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3851 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
3852 Initialize, needed for change in common symbol handling in newer
3853 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
3855 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3857 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
3858 * elf/constload2.c: Add destructor to unload constload3.
3860 * include/link.h: Include sysd-link.h.
3861 * sysdeps/generic/sysd-link.h: New file.
3862 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
3863 * elf/Makefile (distribute): Add sysd-link.h.
3864 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
3865 types and functions directly.
3866 * elf/dl-misc.c: Likewise.
3867 * elf/dl-profile.c: Likewise.
3869 * elf/loadfail.c (main): Close all successfully loaded objects.
3871 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
3873 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
3874 there is already one.
3876 * elf/dl-close.c: Pretty print.
3878 2000-08-14 Ulrich Drepper <drepper@redhat.com>
3880 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
3881 global (with file scope). Add __libc_subfreeres function to free the
3883 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
3884 in ttyname function.
3886 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
3888 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
3890 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
3891 mapping them to /x5c and /x7e respectively.
3893 * locale/programs/ld-ctype.c: Add support for more definitions after
3896 2000-08-14 Jakub Jelinek <jakub@redhat.com>
3898 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
3899 * sysdeps/unix/sysv/linux/kernel-features.h
3900 (__ASSUME_GETDENTS64_SYSCALL): Define.
3901 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
3902 syscall if available to get d_type fields.
3903 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
3904 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
3905 __lxstat64): Export at GLIBC_2.2.
3906 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
3908 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
3909 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
3910 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
3911 getdirentries64, versionsort64): Remove.
3912 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
3913 getdirentries64, versionsort64): Remove.
3915 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3917 * posix/Makefile: Remove rules to generate glob package.
3919 * posix/Makefile (tests): Add tst-regexloc.
3920 (tst-regexloc-ENV): Add LOCPATH.
3921 * posix/tst-regexloc.c: New file.
3923 2000-08-12 Andreas Jaeger <aj@suse.de>
3925 * include/features.h (__STDC_ISO_10646__): Define.
3926 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
3928 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3930 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
3932 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
3933 for revision 6 and up).
3935 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
3937 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
3938 to get definitions of just these types.
3940 * signal/signal.h: Define thread signal handling functions also for
3943 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
3945 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3946 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3947 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3948 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3950 * sysvipc/sys/shm.h: Define pid_t for XPG.
3952 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
3953 they are not anymore required here.
3955 * wcsmbs/wchar.h: Make the various wide char string and stream
3956 functions available for the respective XPG versions.
3958 * nss/Makefile: Remove rules to build and distribute nss_db.
3960 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
3961 * sysdeps/generic/scandir64.c: Likewise.
3962 * sysdeps/generic/versionsort64.c: Likewise.
3964 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3965 Benjamin Koznik <bkoz@redhat.com>
3967 * libio/fileops.c: Merge with libstdc++-v3.
3968 * libio/genops.c: Likewise.
3969 * libio/iofclose.c: Likewise.
3970 * libio/iofopen.c: Likewise.
3971 * libio/iofwide.c: Likewise.
3972 * libio/libio.h: Likewise.
3973 * libio/libioP.h: Likewise.
3974 * libio/stdfiles.c: Likewise.
3975 * libio/stdio.c: Likewise.
3976 * libio/wfileops.c: Likewise.
3977 * libio/wgenops.c: Likewise.
3979 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
3981 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3983 * locale/programs/localedef.c: Implement --prefix option to allow
3984 writing in standard places of alternative install directories.
3986 * posix/regex.c (compile_range): Implement collation sequence
3987 handling for glibc. Use simple character ordering otherwise and
3990 2000-08-12 Mark Kettenis <kettenis@gnu.org>
3992 * sysdeps/generic/scandir64.c: Include <dirent.h>.
3994 2000-08-12 Andreas Jaeger <aj@suse.de>
3996 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
3997 __USE_FILE_OFFSET64 correctly for locking.
3998 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4000 2000-08-12 Jakub Jelinek <jakub@redhat.com>
4002 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4003 Define for 2.4.1 on sparc as well.
4004 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
4005 for F_GETLK64, F_SETLK64, and F_SETLKW64.
4006 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
4007 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
4009 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4011 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
4014 2000-08-12 Andreas Jaeger <aj@suse.de>
4016 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
4017 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
4019 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
4020 mips2 for assembler.
4022 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
4023 if fnctl64 is not available for F_*LK*64.
4025 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
4027 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4029 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4030 Define for 2.4.1 on x86.
4031 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
4032 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
4033 for F_GETLK64, F_SETLK64, and F_SETLKW64.
4035 * dirent/dirent.h: Define DT_WHT.
4037 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
4038 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
4039 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
4040 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
4041 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
4042 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
4044 2000-08-11 Ulrich Drepper <drepper@redhat.com>
4046 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
4047 lookup, pass pointer to array with NULL pointer [PR libc/1858].
4048 * inet/Makefile (tests): Add tst-gethnm.
4049 * inet/tst-gethnm.c: New file.
4051 * rt/aio_cancel.c: If canceling a specific request which is running
4052 *really* do nothing.
4053 * rt/aio_misc.h: Add `done' to states of a request.
4054 * rt/aio_misc.c: Add several tests for the correct state.
4055 Simplify request table memory handling.
4057 2000-08-10 Jakub Jelinek <jakub@redhat.com>
4059 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
4060 * dirent/scandir64.c: Move...
4061 * sysdeps/generic/scandir64.c: ...here.
4062 * dirent/alphasort64.c: Move...
4063 * sysdeps/generic/alphasort64.c: ...here.
4064 * dirent/versionsort64.c: Move...
4065 * sysdeps/generic/versionsort64.c: ...here.
4066 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
4067 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
4068 Export symbols at GLIBC_2.2.
4069 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
4070 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
4071 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
4072 __versionsort64): Add prototypes.
4073 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
4074 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
4076 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
4078 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
4079 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
4080 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
4081 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
4083 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
4084 Adjust for kernel-2.4.0-test6 layout.
4085 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
4086 GLIBC_2.1 and GLIBC_2.2.
4087 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
4088 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
4089 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
4090 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
4091 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
4092 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
4093 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
4094 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
4095 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
4096 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
4097 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
4098 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
4099 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
4100 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
4102 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
4103 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
4104 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
4105 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
4106 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
4107 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
4108 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
4110 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
4111 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
4113 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
4114 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
4115 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
4116 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
4117 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
4119 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
4121 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
4123 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
4124 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
4125 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
4126 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
4127 st_ino from __st_ino.
4128 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
4129 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
4130 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
4131 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
4132 set __st_ino in addition to st_ino.
4133 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
4134 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
4135 __old_getdents64 as well.
4136 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
4137 getdirentries64 and old_getdirentries64 as well.
4138 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
4139 __GETDENTS): Define.
4140 (GETDENTS64): Remove.
4141 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
4143 (GETDENTS64): Remove.
4144 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
4145 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
4146 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
4148 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
4149 __old_readdir64_r as well.
4150 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4151 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
4153 2000-08-08 Jes Sorensen <jes@linuxcare.com>
4155 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
4156 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
4157 define of the kernel.
4158 Add missing __SEG_PSTKOVF definition.
4159 Adjust the padding of struct siginfo and struct sigevent to
4160 match the fact that sigval_t is 64 bit.
4162 2000-08-10 Ulrich Drepper <drepper@redhat.com>
4164 * timezone/zic.c: Update from tzcode2000f.
4165 * timezone/australasia: Update from tzdata2000f.
4166 * timezone/europe: Likewise.
4167 * timezone/southamerica: Likewise.
4168 * timezone/yearistype: Likewise.
4170 2000-08-10 Andreas Jaeger <aj@suse.de>
4172 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
4173 stat with current MIPS kernel.
4175 2000-08-01 Mark Kettenis <kettenis@gnu.org>
4177 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
4178 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
4179 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
4180 Remove the junk that's only relevant in the Linux kernel itself.
4181 Add a warning saying that this file is now obsolete, and include
4183 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
4184 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
4185 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
4186 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
4187 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
4188 and add the notice that the file is primarily there for GDB.
4189 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
4191 2000-08-09 Jakub Jelinek <jakub@redhat.com>
4193 * time/tzfile.c (__tzfile_compute): __tzstring zones
4196 2000-08-09 Jakub Jelinek <jakub@redhat.com>
4198 * resolv/resolv.h (__res_state): Surround prototype with
4199 __BEGIN_DECLS/__END_DECLS.
4200 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
4202 2000-08-04 Jes Sorensen <jes@linuxcare.com>
4204 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
4205 Make independant of asm/resource.h from the Linux kernel.
4207 2000-08-06 Bruno Haible <haible@clisp.cons.org>
4209 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
4211 2000-08-06 Bruno Haible <haible@clisp.cons.org>