1 2000-10-20 Ulrich Drepper <drepper@redhat.com>
3 * intl/libintl.h (ngettext): Add missing parameter.
6 2000-10-19 H.J. Lu <hjl@gnu.org>
8 * elf/Makefile (distribute): Add neededtest.c, neededobj1.c,
9 neededobj2.c and neededobj3.c.
10 (tests): Add neededtest.
11 (modules-names): Add neededobj1, neededobj2 and neededobj3.
12 ($(objpfx)neededobj1.so): New target.
13 ($(objpfx)neededobj2.so): Likewise.
14 ($(objpfx)neededobj3.so): Likewise.
15 ($(objpfx)neededtest): Likewise.
16 ($(objpfx)neededtest.out): Likewise.
17 * elf/neededtest.c: New. Based on the bug report from
18 Allen Bauer <kylix_rd@hotmail.com>.
19 * elf/neededobj1.c: Likewise.
20 * elf/neededobj2.c: Likewise.
21 * elf/neededobj3.c: Likewise.
23 2000-10-20 Ulrich Drepper <drepper@redhat.com>
25 * elf/dl-close.c (_dl_close): Decrement reference counter for all
26 dependencies even if the DSO does not get unloaded.
28 * elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header
29 to elf_machine_matches_host.
30 * sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter
31 is now pointer to ELF header.
32 * sysdeps/arm/dl-machine.h: Likewise.
33 * sysdeps/generic/dl-machine.h: Likewise.
34 * sysdeps/hppa/dl-machine.h: Likewise.
35 * sysdeps/i386/dl-machine.h: Likewise.
36 * sysdeps/ia64/dl-machine.h: Likewise.
37 * sysdeps/m68k/dl-machine.h: Likewise.
38 * sysdeps/mips/dl-machine.h: Likewise.
39 * sysdeps/mips/mips64/dl-machine.h: Likewise.
40 * sysdeps/powerpc/dl-machine.h: Likewise.
41 * sysdeps/s390/dl-machine.h: Likewise.
42 * sysdeps/sh/dl-machine.h: Likewise.
43 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45 Patch by Martin Schwidefsksy <schwidefsky@de.ibm.com>.
47 2000-10-20 Jakub Jelinek <jakub@redhat.com>
49 * include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64
50 check instead of #ifdef __alpha__.
51 * include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on
52 INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when
55 2000-10-20 Ulrich Drepper <drepper@redhat.com>
57 * posix/wordexp-tst.sh (testout): Place output file in build
58 directory. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
60 * sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print.
62 2000-10-19 Ulrich Drepper <drepper@redhat.com>
64 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
65 Correctly handle numeric group member information.
66 Patch by tomasw@cs.huji.ac.il.
68 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
69 Complete test for strtol overflow.
71 2000-10-19 Jakub Jelinek <jakub@redhat.com>
73 * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union
74 semun as 4th argument to semctl syscall, not address of it.
76 2000-10-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
78 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall.
80 2000-10-17 Andreas Schwab <schwab@suse.de>
82 * string/string.h: Remove declaration of __strcasecmp and __strcasestr.
83 * include/string.h: Declare them here.
85 2000-10-18 Ralf Baechle <ralf@gnu.org>
87 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include <asm/unistd.h>.
89 2000-10-19 Geoffrey Keating <geoffk@cygnus.com>
91 * sysdeps/powerpc/fpu/bits/mathinline.h: Add versions
92 of the unordered comparison functions that use the GCC builtins.
94 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function.
95 (__process_machine_rela): Print the address of an overflowing
98 2000-10-18 Ulrich Drepper <drepper@redhat.com>
100 * sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point
102 (freeit): Remove unnecessary test.
104 2000-10-18 Andreas Jaeger <aj@suse.de>
106 * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New.
107 (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers.
108 (elf_machine_runtime_link_map): Likewise.
109 (elf_machine_runtime_setup): Likewise.
110 Handle dynamic linker's local got entries.
111 Patches by Ralf Baechle <ralf@gnu.org>.
113 2000-10-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
115 * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as
116 the frame pointer. Allocate stack space for $a0 for
117 __dl_runtime_resolve(). Do not save $sp in $s0 as it's
120 2000-10-17 Ulrich Drepper <drepper@redhat.com>
122 * sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in
125 2000-10-17 Andreas Schwab <schwab@suse.de>
127 * sysdeps/m68k/fpu/libm-test-ulps: Update for changes in
130 2000-10-17 Jakub Jelinek <jakub@redhat.com>
132 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
133 Add missing backslash.
135 2000-10-16 Ulrich Drepper <drepper@redhat.com>
137 * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Little cleanup.
139 * sysdeps/i386/fpu/libm-test-ulps: Update for changes in libm-test.inc.
141 2000-10-16 Jakub Jelinek <jakub@redhat.com>
143 * math/libm-test.inc (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase
145 (acos_test, asin_text, cexp_test, cos_test, cproj_test, exp10_test,
146 sin_test, sincos_test, sqrt_test): Likewise. Add L suffixes also
148 (acosh_test, asinh_test, atan2_test, atanh_test, atan_test, cabs_test,
149 cacosh_test, cacos_test, casinh_test, casin_test, catanh_test,
150 catan_test, cbrt_test, ccosh_test, ccos_test, clog10_test, cosh_test,
151 csinh_test, csin_test, csqrt_test, ctanh_test, ctan_test, erfc_test,
152 erf_test, exp2_test, expm1_test, exp_test, fmod_test, hypot_test,
153 j0_test, j1_test, jn_test, lgamma_test, llrint_test, llround_test,
154 log10_test, log1p_test, log2_test, log_test, lrint_test, lround_test,
155 nextafter_test, nexttoward_test, pow_test, round_test, scalb_test,
156 sinh_test, static void, tanh_test, tan_test, tgamma_test, y0_test,
157 y1_test, yn_test): Add L suffixes also to parameters.
158 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Fix mask.
159 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
160 * soft-fp/op-2.h (_FP_FRAC_SRS_2): Fix computation of sticky bit.
162 2000-10-16 Ulrich Drepper <drepper@redhat.com>
164 * timezone/Makefile: Define HAVE_GETTEXT for zdump.c, zic.c,
165 ialloc.c, and scheck.c.
166 * malloc/obstack.c: Always include <libintl.h> for glibc.
167 * posix/getopt.c: Likewise.
168 Reported by Petr Vandrovec <VANDROVE@vc.cvut.cz>.
170 2000-10-15 Pete Wyckoff <pw@osc.edu>
172 * Rules: Define _LIBC during generation of bits/stdio_lim.d.
174 2000-10-15 Pete Wyckoff <pw@osc.edu>
176 * iconvdata/tst-tables.sh: Invoke other shell scripts through ${SHELL}.
177 * iconvdata/tst-table.sh: Likewise.
179 2000-10-15 Ulrich Drepper <drepper@redhat.com>
181 * elf/dl-error.c (_dl_signal_error): Allocate memory for objname
182 as well. Reported by Alexander V. Lukyanov <lav@yars.free.net>.
184 * iconvdata/gconv-modules: Add aliases for Winblowz charsets.
185 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
187 2000-10-13 Andreas Schwab <schwab@suse.de>
189 * elf/elf.h (R_IA64_PCREL60B): Add relocation.
191 2000-10-15 Ulrich Drepper <drepper@redhat.com>
193 * sysdeps/unix/sysv/linux/hppa/brk.c: Cleanups.
194 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
195 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
196 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Likewise.
197 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
199 2000-10-14 Ulrich Drepper <drepper@redhat.com>
201 * math/libm-test.inc (frexp_test): Add L suffix also to parameters.
202 (hypot_test): Likewise.
204 * sysdeps/generic/printf_fphex.c: Compute width of decimal point
205 string correctly. Handle padding correctly.
207 * sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters
209 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
210 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
212 2000-10-12 Alan Modra <alan@linuxcare.com.au>
214 * FAQ.in: Add --start-group and --end-group.
216 2000-10-12 Alan Modra <alan@linuxcare.com.au>
218 * malloc/memusage.c: Conditionalize stack usage calculation on
221 2000-10-12 Alan Modra <alan@linuxcare.com.au>
223 * config.h.in: Add ASM_LINE_SEP.
224 * configure.in: Add test for comment and line separators.
225 * include/libc-symbols.h: Define and use ASM_LINE_SEP, and add tabs to
226 placate some hppa assemblers.
227 * sysdeps/hppa/sysdep.h: Likewise.
228 * sysdeps/gnu/siglist.c: Insert \n and \t into inline asm.
229 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
231 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
233 * sysdeps/unix/sysv/linux/Makefile: Include <bits/initspin> in
235 * sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for
236 non-threaded platforms.
238 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
240 * configure.in: Add definitions for hppa.
241 * elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments
242 for IPLT and EPLT relocations.
243 * shlib-versions: Version symbol definitions for hppa-linux.
244 * sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel
247 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
249 * sysdeps/hppa/Makefile: New file.
250 * sysdeps/hppa/Versions: New file.
252 * sysdeps/hppa/setjmp.S: New file.
253 * sysdeps/hppa/__longjmp.S: New file.
254 * sysdeps/hppa/bits/setjmp.h: New file.
255 * sysdeps/hppa/frame.h: New file.
257 * sysdeps/hppa/add_n.s: Don't use %r19 (linkage table pointer).
258 * sysdeps/hppa/sub_n.s: Likewise.
259 * sysdeps/hppa/lshift.s: Likewise.
260 * sysdeps/hppa/rshift.s: Likewise.
261 * sysdeps/hppa/udiv_qrnnd.s: Likewise.
262 * sysdeps/hppa/hppa1.1/addmul_1.s: Likewise.
263 * sysdeps/hppa/hppa1.1/submul_1.s: Likewise.
264 * sysdeps/hppa/hppa1.1/mul_1.s: Likewise.
265 * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Likewise.
267 * sysdeps/hppa/dl-machine.h: New file.
268 * sysdeps/hppa/dl-fptr.c: New file (note that this is almost
269 identical to the IA-64 one).
270 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
271 * sysdeps/hppa/dl-symaddr.c: Likewise.
273 * sysdeps/hppa/elf/initfini.c: New file.
274 * sysdeps/hppa/elf/start.S: New file.
276 * sysdeps/hppa/fpu/bits/fenv.h: New file.
277 * sysdeps/hppa/fpu/fclrexcpt.c: New file.
278 * sysdeps/hppa/fpu/fedisblxcpt.c: New file.
279 * sysdeps/hppa/fpu/feenablxcpt.c: New file.
280 * sysdeps/hppa/fpu/fegetenv.c: New file.
281 * sysdeps/hppa/fpu/fegetexcept.c: New file.
282 * sysdeps/hppa/fpu/fegetround.c: New file.
283 * sysdeps/hppa/fpu/feholdexcpt.c: New file.
284 * sysdeps/hppa/fpu/fesetenv.c: New file.
285 * sysdeps/hppa/fpu/fesetround.c: New file.
286 * sysdeps/hppa/fpu/feupdateenv.c: New file.
287 * sysdeps/hppa/fpu/fegetexcptflg.c: New file.
288 * sysdeps/hppa/fpu/fraiseexcpt.c: New file.
289 * sysdeps/hppa/fpu/fsetexcptflg.c: New file.
290 * sysdeps/hppa/fpu/ftestexcept.c: New file.
292 * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
293 * sysdeps/unix/sysv/linux/hppa/Versions: New file.
294 * sysdeps/unix/sysv/linux/hppa/syscalls.list: New file.
295 * sysdeps/unix/sysv/linux/hppa/sysdep.c: New file.
296 * sysdeps/unix/sysv/linux/hppa/sysdep.h: New file.
299 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: New file.
300 * sysdeps/unix/sysv/linux/hppa/bits/ioctls.h: New file.
301 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: New file.
302 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: New file.
303 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: New file.
304 * sysdeps/unix/sysv/linux/hppa/brk.c: New file.
305 * sysdeps/unix/sysv/linux/hppa/clone.S: New file.
306 * sysdeps/unix/sysv/linux/hppa/socket.S: New file.
307 * sysdeps/unix/sysv/linux/hppa/syscall.S: New file.
308 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: New file.
309 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: New file.
310 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: New file.
311 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: New file.
312 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: New file.
313 * sysdeps/unix/sysv/linux/hppa/mmap.c: New file.
314 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: New file.
315 * sysdeps/unix/sysv/linux/hppa/procfs.h: New file.
316 * sysdeps/unix/sysv/linux/hppa/ucontext.h: New file.
317 * sysdeps/unix/sysv/linux/hppa/umount.c: New file.
319 2000-10-12 Alan Modra <alan@linuxcare.com.au>
321 * sysdeps/hppa/hppa1.1/Implies: New file.
322 * sysdeps/hppa/memusage.h: New file.
324 2000-10-28 Jes Sorensen <jes@linuxcare.com>
326 * sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb,
327 inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw,
328 _outl. Reported by Bill Nottingham.
330 2000-04-06 Andreas Schwab <schwab@suse.de>
332 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
333 restore register r8 for functions that return a structure.
335 2000-10-12 Jakub Jelinek <jakub@redhat.com>
337 * math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl,
338 M_SQRT_PIl): Increase precision.
339 (cbrt_test): If cbrt is not implemented, don't test it.
340 Add L suffix to double constants in results which differ from their
341 L suffixed counterparts.
342 (exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise.
344 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
346 2000-10-11 Jakub Jelinek <jakub@redhat.com>
348 * inet/rexec.c (rexec_af): Convert rport to host order before
349 passing it to snprintf.
351 2000-10-14 Ulrich Drepper <drepper@redhat.com>
353 * sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of
354 uintXX_t since this is what <sys/types.h> defines and we include
355 this header. Reported by Bernhard Rosenkraenzer <bero@redhat.de>.
357 * intl/localealias.c (read_alias_file): Update string pointers
358 in map[] if realloc() changed the values.
359 Patch by Jakub Jelinek <jakub@redhat.com>.
361 * manual/stdio.texi: Update printf extension documentation after
362 z became a valid modifier.
363 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
365 * timezone/africa: Update from tzcode2000g and tzdata2000g.
366 * timezone/asia: Likewise.
367 * timezone/australasia: Likewise.
368 * timezone/backward: Likewise.
369 * timezone/europe: Likewise.
370 * timezone/iso3166.tab: Likewise.
371 * timezone/northamerica: Likewise.
372 * timezone/southamerica: Likewise.
373 * timezone/zone.tab: Likewise.
375 2000-10-14 Geoffrey Keating <geoffk@cygnus.com>
377 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl()
380 2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
382 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file.
383 * sysdeps/unix/sysv/linux/m68k/fcntl.c: New file.
384 * sysdeps/unix/sysv/linux/m68k/getdents64.c: New file.
385 * sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file.
386 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file.
387 * sysdeps/unix/sysv/linux/m68k/glob64.c: New file.
388 * sysdeps/unix/sysv/linux/m68k/lockf64.c: New file.
389 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file.
390 * sysdeps/unix/sysv/linux/m68k/readdir64.c: New file.
391 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file.
392 * sysdeps/unix/sysv/linux/m68k/scandir64.c: New file.
393 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file.
394 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file.
395 * sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c.
396 * sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64.
397 * sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64,
398 __fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit,
399 getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at
401 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit,
402 oldsetrlimit for GLIBC_2.0.
404 * sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct
405 arguments to _dl_init.
407 2000-10-13 Geoffrey Keating <geoffk@cygnus.com>
409 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs for my Pentium III
410 building with the default options.
412 2000-10-11 Andreas Jaeger <aj@suse.de>
414 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache.
415 Patch by Denis Zaitsev <zzz@cd-club.ru>.
417 2000-10-09 Jakub Jelinek <jakub@redhat.com>
419 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): If x == y,
421 * manual/arith.texi (nextafter): Document it.
422 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Fix a comment.
424 2000-10-08 Ulrich Drepper <drepper@redhat.com>
426 * version.h (VERSION): Bump to 2.1.95.
428 * configure.in: Remove warning message.
430 * nscd/Makefile (distribute): Add nscd-types.h.
431 * elf/Makefile (distribute): Add gccframe.h.
432 * sysdeps/sparc/sparc32/Dist: Add ieee754.h.
433 * sysdeps/ia64/Dist: Add ieee754.h.
435 2000-10-07 Ulrich Drepper <drepper@redhat.com>
437 * elf/elf.h: Add a few section-related symbols.
439 * include/features.h (__STDC_ISO_10646__): Set to correct date.
440 Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
442 2000-10-06 Jes Sorensen <jes@linuxcare.com>
444 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Implement
445 overflow generation by adding DBL_MAX to DBL_MAX instead of
446 setting the bits manually in the fpsr and generating the exception
447 with kill() if necessary.
448 (feraiseexcept): Implement underflow by dividing DBL_MIN by
449 DBL_MIN - similar to the overflow change described above.
451 2000-08-27 H.J. Lu <hjl@gnu.org>
453 * sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone
454 is not supported under Linux/ia64, use clone2.
456 2000-10-06 Jakub Jelinek <jakub@redhat.com>
458 * malloc/malloc.h (__THROW): Define to nothing if not gcc.
459 * misc/sys/cdefs.h (__THROW): Likewise.
461 2000-10-05 Jakub Jelinek <jakub@redhat.com>
463 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.
465 2000-10-02 Jakub Jelinek <jakub@redhat.com>
467 * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
468 remaining xp_pad space.
470 2000-10-05 Jakub Jelinek <jakub@redhat.com>
472 * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
473 DF_1_NODELETE, not list[i]'s.
475 2000-10-04 Ulrich Drepper <drepper@redhat.com>
477 * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9.
478 (BODY from direction): Map \x5c to U20a9.
479 * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change.
480 * iconvdata/EUC-KR.irreversible: New file.
481 * iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
483 * argp/argp-parse.c (argp_default_argp): Set libc as message domain.
484 (argp_version_argp): Likewise.
486 2000-10-04 Jakub Jelinek <jakub@redhat.com>
488 * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do
489 input_error() if EOF is seen before processing.
490 * stdio-common/tstscanf.c (main): Add testcase.
492 2000-10-04 Ulrich Drepper <drepper@redhat.com>
494 * argp/argp-help.c: Make sure we get the correct gettext and
495 dgettext definitions.
496 * argp/argp-parse.c: Likewise.
498 2000-10-03 Ulrich Drepper <drepper@redhat.com>
500 * locale/programs/linereader.c (get_string): Also clear wide
501 string info if illegal_string.
503 2000-10-03 Andreas Schwab <schwab@suse.de>
505 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file.
507 2000-10-02 Jakub Jelinek <jakub@redhat.com>
509 * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
512 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
514 2000-10-02 Ralf Baechle <ralf@gnu.org>
516 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the
517 end of inline assembler code.
519 2000-10-02 Ulrich Drepper <drepper@redhat.com>
521 * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define
522 __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing.
524 2000-10-02 Andreas Jaeger <aj@suse.de>
526 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux
529 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS.
531 2000-10-01 Ralf Baechle <ralf@gnu.org>
533 * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp
534 argument passed to _dl_init.
536 2000-09-30 Bruno Haible <haible@clisp.cons.org>
538 * locale/programs/charmap-dir.h: New file.
539 * locale/programs/charmap-dir.c: New file.
540 * locale/programs/linereader.h (lr_create): New declaration.
541 * locale/programs/linereader.c (lr_create): New function, split out
543 (lr_open): Tailcall lr_create.
544 * locale/programs/locale.c: Include "charmap-dir.h". Don't include
546 (xstrdup): New declaration.
547 (more_help): Use xstrdup instead of strdup.
548 (write_locales): Likewise. When encountering a symbolic link, call
550 (write_charmaps): Simplify using the charmap-dir.h functions.
551 Use xstrdup instead of strdup.
552 * locale/programs/charmap.c: Include "charmap-dir.h". Don't include
553 <dirent.h> and <unistd.h>.
554 (cmlr_open): New function.
555 (charmap_read): Use cmlr_open instead of lr_open. Simplify using the
556 charmap-dir.h functions.
557 * locale/Makefile (distribute): Add charmap-dir.h.
558 (lib-modules): Add charmap-dir.
559 (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
560 wants a 'char **', not a 'const char **'.
561 * include/spawn.h: New file.
563 2000-09-30 Bruno Haible <haible@clisp.cons.org>
565 * posix/spawn_faction_init.c: Include "spawn_int.h".
566 (__posix_spawn_file_actions_realloc): Fix second realloc argument.
568 2000-09-30 Bruno Haible <haible@clisp.cons.org>
570 * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.
572 2000-09-30 Bruno Haible <haible@clisp.cons.org>
574 * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
575 (internal_wcwidth): Remove the tests for L'\0' and iswprint.
576 * locale/programs/ld-ctype.c (find_idx): If max == NULL, return
577 a pointer to the table entry, without extending the table.
578 (allocate_arrays): Set a width only for characters with 'print'
579 property. Set the width of L'\0' to 0.
580 * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
581 for unprintable characters. Set entry of NUL to 0.
583 2000-09-30 Bruno Haible <haible@clisp.cons.org>
585 * locale/programs/charmap.c (charmap_read): Avoid redundant tests.
586 Don't forget to call closedir when the filename was found as a
589 2000-09-30 Bruno Haible <haible@clisp.cons.org>
591 * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
594 2000-09-30 Bruno Haible <haible@clisp.cons.org>
596 * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
597 level2, and level3 as well.
598 (wctype_table_add): Remove a few unnecessary conditionals.
600 2000-09-30 Ralf Baechle <ralf@gnu.org>
602 * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.
604 2000-09-30 H.J. Lu <hjl@gnu.org>
606 * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow.
607 * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise.
609 2000-09-29 H.J. Lu <hjl@gnu.org>
611 * math/libm-test.inc (init_max_error): Clear all exceptions
612 before starting test.
613 (acosh_test): Test for existence of function.
614 (asinh_test): Likewise.
615 (atan2_test): Likewise.
616 (cabs_test): Likewise.
617 (cacos_test): Likewise.
618 (cacosh_test): Likewise.
619 (casin_test): Likewise.
620 (casinh_test): Likewise.
621 (catan_test): Likewise.
622 (catanh_test): Likewise.
623 (ccos_test): Likewise.
624 (ccosh_test): Likewise.
625 (cexp_test): Likewise.
626 (clog_test): Likewise.
627 (clog10_test): Likewise.
628 (cosh_test): Likewise.
629 (cpow_test): Likewise.
630 (csin_test): Likewise.
631 (csinh_test): Likewise.
632 (csqrt_test): Likewise.
633 (ctan_test): Likewise.
634 (ctanh_test): Likewise.
635 (fmod_test): Likewise.
636 (hypot_test): Likewise.
637 (remainder_test): Likewise.
638 (remquo_test): Likewise.
639 (sincos_test): Likewise.
640 (sinh_test): Likewise.
641 (tanh_test): Likewise.
643 2000-09-29 H.J. Lu <hjl@gnu.org>
645 * sysdeps/ia64/ieee754.h: New file.
647 * sysdeps/ia64/fpu/math_ldbl.h: New file.
649 2000-09-30 Jakub Jelinek <jakub@redhat.com>
651 * elf/ldconfig.h (FLAG_X8664_LIB64): Define.
652 * sysdeps/unix/sysv/linux/i386/readelflib.c: New file.
654 2000-09-30 Ulrich Drepper <drepper@redhat.com>
656 * manual/charset.texi: Correct notations, reference to C90 amd 1,
657 and some other details.
658 * manual/ctype.texi: Likewise.
659 Patches by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
661 2000-09-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
663 * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
665 2000-09-29 Ulrich Drepper <drepper@redhat.com>
667 * elf/cache.c (save_cache): Initialize __unused field in new cache
668 as well to get reproducable results.
670 2000-09-29 H.J. Lu <hjl@gnu.org>
672 * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
674 2000-09-29 H.J. Lu <hjl@gnu.org>
676 * sysdeps/ia64/bits/huge_val.h: New file.
678 2000-09-29 Ulrich Drepper <drepper@redhat.com>
680 * elf/chroot_canon.c: Don't report a failure if the last path
681 component is not available.
682 * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting
685 * elf/cache.c (print_cache): Use stat64 instead of stat.
686 * elf/ldconfig.c (chroot_stat): Likewise.
687 (create_links): Likewise.
688 (manual_link): Likewise.
689 (search_dir): Likewise.
690 * elf/readlib.c (process_file): Likewise.
692 * Makefile (install): Set LC_ALL and LANGUAGE to C before running
695 2000-09-29 Jakub Jelinek <jakub@redhat.com>
697 * elf/chroot_canon.c: New file.
698 * elf/Makefile: Build and distribute it.
699 * elf/ldconfig.h (process_file): Add real_file_name argument.
700 (chroot_canon): Add prototype.
701 * elf/ldconfig.c (cache_file): Remove const.
703 (create_links): Add real_path argument.
704 If opt_chroot, maintain both real and given filenames.
705 (manual_link): Likewise.
706 (search_dir): Likewise.
707 (parse_conf): If opt_chroot, use chroot_canon to find the real
709 (main): For -r, try to use chroot, if it fails, leave opt_chroot set
710 and use chroot_canon where appropriate to do the same as if chroot
712 * elf/readlib.c (process_file): Add real_file_name argument, pass it
715 2000-09-29 Ulrich Drepper <drepper@redhat.com>
717 * math/complex.h (_Complex): We can be more specific when _Complex
718 is defined by the compiler.
720 2000-09-29 H.J. Lu <hjl@gnu.org>
722 * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
724 * elf/cache.c (print_entry): Replace 64bit with IA-64 in message
725 for x86/IA-64 binary.
727 2000-09-29 Andreas Schwab <schwab@suse.de>
729 * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
731 * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
733 2000-09-29 Mark Kettenis <kettenis@gnu.org>
735 * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
736 implementation for use by the dynamic linker.
738 2000-09-29 Andreas Jaeger <aj@suse.de>
740 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
742 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
743 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
744 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
745 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
746 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
747 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
749 2000-09-29 Andreas Jaeger <aj@suse.de>
751 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
753 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
754 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
755 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
756 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
757 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
758 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
760 2000-09-29 David Mosberger <davidm@hpl.hp.com>
762 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
764 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
766 2000-06-10 David Mosberger <davidm@hpl.hp.com>
768 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
769 works: call to __sigjmp_save must be done unconditionally to
770 ensure jmp_buf is initialized properly.
772 2000-09-27 Andreas Jaeger <aj@suse.de>
774 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
777 2000-09-29 Jakub Jelinek <jakub@redhat.com>
779 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
780 Use nscd_ssize_t where appropriate.
781 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
782 ssize_t where appropriate.
783 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
784 * nscd/hstcache.c (cache_addhst): Likewise.
785 * nscd/grpcache.c (cache_addgr): Likewise.
786 * sysdeps/generic/nscd-types.h: New file.
787 * sysdeps/alpha/nscd-types.h: New file.
789 2000-09-29 Ulrich Drepper <drepper@redhat.com>
791 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
792 INADDR_LOOPBACK instead of numeric value.
794 2000-09-28 H.J. Lu <hjl@gnu.org>
796 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
798 (ELF_MACHINE_FIXED_STACK): Removed.
800 2000-09-29 Andreas Jaeger <aj@suse.de>
802 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
804 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
806 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
808 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
810 2000-09-28 Ulrich Drepper <drepper@redhat.com>
812 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
813 relocation also for R_ALPHA_RELATIVE.
814 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
816 2000-09-18 Bruno Haible <haible@clisp.cons.org>
818 * intl/dcigettext.c: Outside libc, use local variable names that don't
819 clash with those in libc.
820 * intl/bindtextdom.c: Likewise.
821 * intl/textdomain.c: Likewise.
823 2000-09-28 Ulrich Drepper <drepper@redhat.com>
825 * elf/ldconfig.c (parse_conf): Print full name of config dir
826 including chroot() path.
827 (main): Remove trailing / from opt_chroot string.
829 * include/features.h: Correct description of what happens if no
830 *_SOURCE macro is defined.
832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
833 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
835 2000-09-19 H.J. Lu <hjl@gnu.org>
837 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
838 * malloc/malloc.c (__memalign_hook): Likewise.
839 (memalign_hook_ini): Likewise.
841 2000-09-28 Ulrich Drepper <drepper@redhat.com>
843 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
845 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
846 underlying functions directly.
848 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
849 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
850 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
851 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
852 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
853 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
854 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
856 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
858 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
859 define it for powerpc for kernel >= 2.4.0.
860 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
862 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
863 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
864 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
865 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
866 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
867 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
869 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
871 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
873 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
874 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
876 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
878 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
880 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
882 2000-09-27 Andreas Schwab <schwab@suse.de>
884 * math/Makefile (distribute): Explicitly add the long double test
885 sources, to get them included even if long double is not supported.
887 2000-09-27 Jes Sorensen <jes@linuxcare.com>
889 * elf/soinit.c (struct object): Move definition to gccframe.h and
890 include it. Problem identified by HJ Lu.
892 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
893 struct object to be searched for frame unwind info.
894 * sysdeps/generic/gccframe.h: New file. Generic version of
895 struct object to be searched for frame unwind info.
897 2000-09-28 Ulrich Drepper <drepper@redhat.com>
899 * manual/errno.texi: Correct error text for ENXIO.
900 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
902 2000-09-27 Jes Sorensen <jes@linuxcare.com>
904 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
905 exception status bits rather than the exception disable bits.
906 Don't include math.h.
908 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
909 status of exceptions currently raised rather than which exceptions
912 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
913 rather than unsigned long int.
915 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
916 the exceptions actually requested by the caller and not just
917 disable all exceptions.
919 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
920 the ia64 are enabled by clearing the respective bits in the fpsr,
923 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
924 unsigned long int rather than unsigned long to be consistent with
925 the coding conventions.
927 2000-09-20 H.J. Lu <hjl@gnu.org>
929 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
931 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
933 2000-09-28 Ulrich Drepper <drepper@redhat.com>
935 * string/bits/string2.h: Unify #if usage.
937 2000-09-27 Jakub Jelinek <jakub@redhat.com>
939 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
940 and disabling underflow or overflow, disable inexact as well.
942 2000-09-26 Andreas Jaeger <aj@suse.de>
944 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
946 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
948 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
949 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
951 * elf/ldconfig.c (search_dir): Allow unlimited path length.
952 (create_links): Likewise.
954 2000-09-27 Ulrich Drepper <drepper@redhat.com>
956 * posix/tst-dir.c: Test a few error cases of chdir.
958 2000-09-26 Ulrich Drepper <drepper@redhat.com>
960 * math/math_private.h: Don't add long double prototypes if
961 NO_LONG_DOUBLE is defined.
963 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
965 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
966 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
968 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
970 2000-09-26 Jakub Jelinek <jakub@redhat.com>
972 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
973 * sysdeps/sparc/sparc32/ieee754.h: New.
974 * sysdeps/sparc/sparc64/bits/endian.h: Move...
975 * sysdeps/sparc/bits/endian.h: ...here.
976 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
977 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
978 %o1, not %o0 to see if we're parent or child. Optimize.
980 2000-09-26 Jes Sorensen <jes@linuxcare.com>
982 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
984 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
986 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
988 2000-09-20 H.J. Lu <hjl@gnu.org>
990 * sysdeps/ia64/fpu/printf_fphex.c: New file.
992 * sysdeps/ia64/fpu/libm-test-ulps: New file.
994 2000-09-17 H.J. Lu <hjl@gnu.org>
996 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
998 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
999 sysdeps/i386/fpu/s_isinfl.c.
1001 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
1002 sysdeps/i386/fpu/s_isnanl.c.
1004 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
1005 sysdeps/i386/fpu/s_nextafterl.c.
1007 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
1008 sysdeps/i386/fpu/bits/mathdef.h.
1010 2000-09-16 H.J. Lu <hjl@gnu.org>
1012 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
1013 DL_UNMAP_IS_SPECIAL is not defined.
1015 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
1016 (_dl_unmap): New prototype.
1017 (DL_UNMAP): New. Defined as _dl_unmap.
1019 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
1021 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
1023 2000-09-16 H.J. Lu <hjl@gnu.org>
1025 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
1026 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1028 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
1030 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
1032 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
1033 the memory location of a function from a function descriptor.
1035 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
1037 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
1040 2000-09-14 Jes Sorensen <jes@linuxcare.com>
1042 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
1043 variable as input argument.
1044 (__bswap_32): Likewise.
1046 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
1047 - found by Jim Wilson <wilson@cygnus.com>
1049 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1051 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
1054 2000-09-26 Andreas Schwab <schwab@suse.de>
1056 * locale/programs/ld-collate.c (collate_output): Only require
1057 alignment on __alignof__ (int32_t) instead of 4.
1058 * locale/loadlocale.c (_nl_load_locale): Likewise.
1059 * string/strcoll.c: Likewise.
1061 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1063 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
1064 parentheses around arithmetic used in | statement to kill compiler
1067 * math/math_private.h: Add prototype for __finitel.
1068 (__ilogbl): Likewise.
1069 (__isinfl): Likewise.
1070 (__isnanl): Likewise.
1071 (__atanl): Likewise.
1072 (__copysignl): Likewise.
1073 (__expm1l): Likewise.
1074 (__floorl): Likewise.
1075 (__frexpl): Likewise.
1076 (__ldexpl): Likewise.
1077 (__log1pl): Likewise.
1079 (__rintl): Likewise.
1080 (__scalbnl): Likewise.
1081 (__sqrtl): Likewise.
1083 (__sincosl): Likewise.
1085 2000-09-26 Andreas Schwab <schwab@suse.de>
1087 * sysdeps/m68k/fpu/libm-test-ulps: New file
1089 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1091 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
1093 2000-09-26 Andreas Jaeger <aj@suse.de>
1095 * misc/mkstemp64.c: New file.
1096 * misc/Makefile (routines): Add mkstemp64.
1097 * stdlib/stdlib.h: Add prototype and redirection magic.
1098 * misc/Versions: Add mkstemp64.
1100 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
1102 * nscd/dbg_log.c (dbg_log): Add missing format string.
1104 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1106 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
1107 since we filter out the variable once.
1108 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1109 * locale/newlocale.c (__newlocale): Likewise.
1110 * locale/setlocale.c (setlocale): Likewise.
1111 * malloc/malloc.c (ptmalloc_init): Likewise.
1112 * resolv/res_hconf.c (_res_hconf_init): Likewise.
1113 * resolv/res_init.c (__res_vinit): Likewise.
1114 * time/tzfile.c (__tzfile_read): Likewise.
1115 * sysdeps/generic/unsecvars.h: New file.
1116 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
1117 * elf/rtld.c (process_envvars): Likewise.
1118 * elf/Makefile (distribute): Add unsecvars.h.
1120 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
1121 real /dev/null device.
1123 * sysdeps/generic/check_fds.c: Include device-nrs.h.
1124 * sysdeps/generic/device-nrs.h: New file.
1125 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
1126 * misc/Makefile (distribute): Add device-nrs.h.
1128 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
1129 remove possible garbage at the end of the file.
1131 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1133 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
1134 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
1135 * stdio-common/tempnam.c: Warn about insecure tempnam.
1136 * misc/mktemp.c: Warn about insecure mktemp.
1138 * sysdeps/generic/check_fds.c: Check that file opened is really
1140 * posix/wordexp.c (exec_comm_child): Likewise.
1142 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
1144 * locale/Makefile (routines): Add nl_langinfo_l.
1145 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
1146 * locale/nl_langinfo_l.c: New file.
1147 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
1150 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1152 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
1153 (__gbk_to_ucs): Conditionalize private area mappings.
1154 (__gbk_from_ucs4_tab9): Likewise.
1155 (BODY for TO_LOOP): Likewise.
1156 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
1157 * iconvdata/testdata/GBK..UTF-8: Likewise.
1158 * iconvdata/tst-tables.sh: Enable GBK test.
1160 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1162 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
1163 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
1164 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
1166 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
1167 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
1169 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1171 * iconvdata/johab.c (final_to_ucs): Fix typos.
1172 (jamo_from_ucs_table): Likewise.
1173 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
1174 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
1175 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
1176 the range 0xD9E6..0xD9FE.
1177 * iconvdata/tst-tables.sh: Enable JOHAB testing.
1179 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1181 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
1184 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1186 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
1187 stream is in wide mode.
1189 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
1191 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1193 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
1195 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
1197 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1199 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
1200 reallocation logic for MALLOC (%as, %aS formats).
1202 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1204 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
1205 Add missing case in va_arg handling for numbers.
1206 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
1208 * stdio/tst-printf.sh: Adjust expected results.
1209 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1211 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1213 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
1214 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
1216 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
1217 as equivalent to uppercase hexadecimal digits.
1219 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1221 * iconvdata/testdata/EUC-KR..UTF8: New file.
1222 * iconvdata/testdata/EUC-TW: New file.
1223 * iconvdata/testdata/EUC-TW..UTF8: New file.
1224 * iconvdata/testdata/EUC-JP: New file.
1225 * iconvdata/testdata/EUC-JP..UTF8: New file.
1226 * iconvdata/testdata/ISO-2022-JP: New file.
1227 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
1228 * iconvdata/testdata/ISO-2022-JP-2: New file.
1229 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
1230 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
1231 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
1232 * iconvdata/testdata/ISO-2022-CN: New file.
1233 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
1234 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
1235 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
1236 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
1237 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
1239 2000-09-24 Andreas Jaeger <aj@suse.de>
1241 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
1242 function add_single_dir.
1243 (add_single_dir): New function.
1244 (search_dir): Use add_single_dir instead of recursing.
1246 * sysdeps/generic/dl-cache.h: Include stdint.h.
1247 (struct file_entry_new): Use fixed sizes for interoperability
1248 between 32bit and 64bit systems, add __unused to make alignment
1250 (CACHE_VERSION): Increment.
1251 (struct cache_file_new): Use fixed sizes, add one more unused
1252 entry to make alignment explicit.
1254 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1256 * elf/ldconfig.c (search_dir): Make more use of d_type information.
1258 2000-09-23 Ulrich Drepper <drepper@redhat.com>
1260 * stdio-common/printf-parse.h (parse_one_spec): Clear
1261 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1263 2000-09-18 Mark Kettenis <kettenis@gnu.org>
1265 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
1266 #undef since we don't have msync.
1268 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
1269 constant since that is what clock_t is.
1270 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
1272 2000-09-11 Mark Kettenis <kettenis@gnu.org>
1274 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
1275 multiply by LOAD_SCALE.
1277 2000-09-22 Jakub Jelinek <jakub@redhat.com>
1279 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
1280 (crypt_r, setkey_r, encrypt_r): Likewise.
1282 2000-09-22 Andreas Jaeger <aj@suse.de>
1284 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
1287 * sysdeps/alpha/fpu/libm-test-ulps: New file.
1288 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
1290 2000-09-21 Andreas Jaeger <aj@suse.de>
1292 * math/libm-test.inc (atan_test): Test for existence of function.
1293 (expm1_test): Likewise.
1294 (acos_test): Likewise.
1295 (asin_test): Likewise.
1296 (exp_test): Likewise.
1297 (log10_test): Likewise.
1298 (log_test): Likewise.
1299 (pow_test): Likewise.
1300 (sqrt_test): Likewise.
1301 (cos_test): Likewise.
1302 (sin_test): Likewise.
1303 (tan_test): Likewise.
1304 (log1p_test): Likewise.
1305 (log2_test): Likewise.
1307 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
1309 * libio/oldiofsetpos64.c: Fix alias names.
1311 2000-09-21 Martin Buchholz <martin@xemacs.org>
1313 * manual/terminal.texi (Allocation): Sample code correction.
1315 2000-09-20 Andreas Jaeger <aj@suse.de>
1317 * iconvdata/Makefile (generated): Add tst-tables.out.
1319 * intl/Makefile (generated): Add test output.
1321 2000-09-19 Andreas Jaeger <aj@suse.de>
1323 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
1324 Reported by Jens-Uwe Mager <jum@helios.de>.
1326 2000-09-18 Ulrich Drepper <drepper@redhat.com>
1328 * version.h (VERSION): Bump to 2.1.94.
1330 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
1331 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
1332 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
1333 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
1335 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
1337 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1339 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
1340 range 0xD800..0xDFFF.
1341 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1342 (BODY for FROM_LOOP): Likewise.
1343 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
1344 (internal_ucs2_loop): Likewise.
1345 (ucs2reverse_internal_loop): Likewise.
1346 (internal_ucs2reverse_loop): Likewise.
1348 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1350 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
1353 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1355 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
1356 * iconvdata/tst-table-to.c (main): Likewise.
1358 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1360 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
1362 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
1363 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
1364 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
1365 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
1366 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
1367 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
1368 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
1369 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
1370 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
1371 encodings when needed. When outputting an announcement, don't clear
1372 most other announcements.
1374 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1376 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
1377 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
1379 2000-09-14 Bruno Haible <haible@clisp.cons.org>
1381 * intl/Versions: Add bind_textdomain_codeset.
1383 2000-09-16 Ralf Baechle <ralf@gnu.org>
1385 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
1387 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
1388 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
1389 it will even work when not loaded to the standard address.
1390 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
1391 before the dynamic linker itself is relocated.
1393 2000-09-18 Andreas Jaeger <aj@suse.de>
1395 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1396 __ASSUME_32BITUIDS for MIPS.
1397 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
1398 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
1400 2000-09-17 H.J. Lu <hjl@gnu.org>
1402 * catgets/Makefile ($(objpfx)de/libc.cat): Use
1403 $(make-target-directory) instead of mkdir.
1405 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1407 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1408 __ASSUME_32BITUIDS for __powerpc__.
1409 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
1410 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
1412 2000-09-17 Ulrich Drepper <drepper@redhat.com>
1414 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
1416 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1418 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1420 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
1422 * sysdeps/m68k/Implies: Likewise.
1423 * sysdeps/sparc/sparc64/Implies: Likewise.
1425 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1427 * elf/readlib.c (process_file): Don't error for stale .so links either.
1429 2000-09-16 Ulrich Drepper <drepper@redhat.com>
1431 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
1434 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
1435 Patch by Thorsten Kukuk <kukuk@suse.de>.
1437 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
1438 (test): Add default.
1439 (modules-names): Add defaultmod1 and defaultmod2.
1440 Add rules to build test objects.
1442 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1444 * wctype/wctype.h: Always include <bits/types.h>.
1445 Reported by Jim Meyering <meyering@ascend.com>.
1447 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
1448 * elf/dl-support.c: Likewise.
1450 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
1451 st_blocks member in stat and stat64 structs.
1452 Patch by Bill Nottingham <notting@redhat.com>.
1454 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
1457 * math/complex.h: Don't define _Complex macro for gcc 3. Add
1458 __extension__ to _Complex_I definition since gcc warns if -pedantic.
1459 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
1460 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1462 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
1463 necessary. Move includes of POSIX and Unix limits files to the end.
1464 * stdlib/Makefile (tests): Add tst-limits.
1465 * stdlib/tst-limits.h: New file.
1467 2000-09-15 Andreas Jaeger <aj@suse.de>
1469 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
1471 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
1473 2000-09-15 Jakub Jelinek <jakub@redhat.com>
1475 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
1477 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1478 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
1480 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1482 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
1484 (modules-names): Add nextmod1 and nextmod2.
1485 Add rules to build and run next.
1486 * elf/next.c: New file.
1487 * elf/nextmod1.c: New file.
1488 * elf/nextmod2.c: New file.
1490 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1492 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
1494 2000-09-15 Andreas Jaeger <aj@suse.de>
1496 * sysdeps/mips/fpu/fenv_libc.h: New file.
1497 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
1498 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
1499 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
1501 * sysdeps/mips/fpu/feenablxcpt.c: New file.
1502 * sysdeps/mips/fpu/fegetexcept.c: New file.
1503 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
1505 2000-09-14 Ulrich Drepper <drepper@redhat.com>
1507 * intl/Makefile: Avoid unnecessary test reruns.
1509 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
1511 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
1512 to not use sysctl(). Too many architectures have problems with it.
1514 2000-09-14 Andreas Jaeger <aj@suse.de>
1516 * scripts/config.sub: New version from subversions.gnu.org.
1518 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
1521 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1523 * posix/regex.c (compile_range): Cast collseq index to unsigned char
1524 to avoid accessing data before collseq.
1526 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
1527 pasting strings together.
1529 2000-09-14 Greg McGary <greg@mcgary.org>
1531 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
1533 * sysdeps/generic/bp-semctl.h: Likewise.
1534 * sysdeps/generic/bp-start.h: Likewise.
1535 * sysdeps/generic/bp-sym.h: Likewise.
1536 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
1539 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1541 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
1544 * elf/elf.h: Add missing official relocations.
1546 * libio/stdio.h: Define __FILE if __need___FILE is defined.
1547 * stdio/stdio.h: Likewise.
1548 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
1549 * include/stdio.h: Handle __need___FILE like __need_FILE.
1550 * include/wchar.h: Use __FILE instead of FILE.
1551 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
1552 * libio/fwscanf.c: Likewise.
1553 * libio/getwc.c: Likewise.
1555 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
1556 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
1557 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
1559 * assert/assert.h: Update comment header about ISO C section.
1560 * math/complex.h: Likewise.
1561 * ctype/ctype.h: Likewise.
1562 * include/errno.h: Likewise.
1563 * include/limits.h: Likewise.
1564 * locale/locale.h: Likewise.
1565 * math/math.h: Likewise.
1566 * setjmp/setjmp.h: Likewise.
1567 * signal/signal.h: Likewise.
1568 * stdio/stdio.h: Likewise.
1569 * libio/stdio.h: Likewise.
1570 * stdlib/stdlib.h: Likewise.
1571 * string/string.h: Likewise.
1572 * time/time.h: Likewise.
1573 * wcsmbs/wchar.h: Likewise.
1574 * wctype/wctype.h: Likewise.
1575 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1577 2000-09-13 Andreas Jaeger <aj@suse.de>
1579 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
1580 for no more entries.
1581 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
1582 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
1583 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
1585 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1587 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
1588 constant since this is what clock_t is.
1589 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1590 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
1591 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
1592 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
1594 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
1595 definitions are requested.
1597 2000-09-13 Andreas Jaeger <aj@suse.de>
1599 * shlib-versions: libBrokenLocale needs minimal version for ia64,
1600 sparc64 and sh to synch with libc.
1602 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1604 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
1605 (distribute): Add iso-2022-cn-ext.c.
1606 Add definitions to compile the new module.
1607 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
1608 * iconvdata/iso-2022-cn-ext.c: New file.
1609 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
1610 ucs4_from_isoir165. Increment input pointer if successful.
1612 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
1614 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
1616 2000-09-01 Jes Sorensen <jes@linuxcare.com>
1618 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
1619 __syscall_getdents64 wrapper.
1621 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
1623 2000-09-12 Ulrich Drepper <drepper@redhat.com>
1625 * iconvdata/gb18030.c: Many many changes. Make consistent with
1626 charmap and with itself.
1627 * iconvdata/tst-tables.sh: Test GB18030.
1629 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1631 * iconv/skeleton.c: Fix last patch, add missing parameter to
1632 unaligned function call.
1634 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1636 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
1637 of decimal ellipsis.
1639 2000-09-11 Bruno Haible <haible@clisp.cons.org>
1641 * locale/programs/ld-collate.c (collate_read): Always initialize
1644 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1646 * locale/programs/ld-collate.c (collate_finish): Upper bound for
1647 ruleidx is 128, not 256.
1649 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1651 * locale/programs/ld-collate.c (collate_read): Correct check for
1652 already inserted entries.
1654 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1656 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
1659 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1661 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
1662 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
1664 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1666 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
1669 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1671 * iconvdata/utf-7.c: New file.
1672 * iconvdata/gconv-modules (UTF-7): New module entries.
1673 * iconvdata/Makefile (modules): Add UTF-7.
1674 (distribute): Add utf-7.c.
1675 * iconvdata/testdata/UTF-7: New file.
1676 * iconvdata/testdata/UTF-7..UTF8: New file.
1677 * iconvdata/TESTS (UTF-7): New entry.
1678 * iconvdata/run-iconv-test.sh: Fix confusing output.
1680 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1682 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
1684 2000-09-10 David S. Miller <davem@redhat.com>
1686 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
1687 frame pointer offset for non-fast path.
1689 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1691 * locale/programs/3level.h (*_init): Initialize level1, level2,
1693 (*_add): Remove a few unnecessary conditionals.
1695 2000-09-05 Wolfram Gloger <wg@malloc.de>
1697 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
1698 ensure usability of mutex as an `in use' flag.
1700 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1702 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
1704 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
1705 ugly GMON_WEAK_START hack.
1706 Patch by Philip Blundell <philb@gnu.org>.
1708 * sysdeps/i386/i486/bits/string.h: Pretty printing.
1710 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1712 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
1713 and PPC_ICBI asm for broken compilers.
1714 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1716 2000-09-09 Andreas Jaeger <aj@suse.de>
1718 * manual/message.texi (Advanced gettext functions): Fix typo.
1720 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
1723 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1725 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
1727 * sysdeps/ia64/memccpy.S: Likewise.
1728 Patches by Jim Wilson <wilson@redhat.com>.
1730 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
1731 before trying to read /proc.
1732 Patch by Matt Wilson <msw@redhat.com>.
1733 * include/sys/utsname.h: Declare __uname.
1734 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
1735 * sysdeps/mach/hurd/uname.c: Likewise.
1736 * sysdeps/unix/syscalls.list: Likewise.
1738 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
1741 2000-09-08 Ulrich Drepper <drepper@redhat.com>
1743 * posix/getopt.c (_getopt_internal): When long_only is set always
1744 recognize conflicts just like before.
1746 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1748 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
1750 2000-09-08 Greg McGary <greg@mcgary.org>
1752 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
1753 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
1754 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
1756 2000-09-08 Andreas Jaeger <aj@suse.de>
1758 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
1760 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
1762 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
1763 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1764 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
1766 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1768 * iconvdata/tst-tables.sh: Enable EUC-KR test.
1770 * elf/dl-load.c (lose): Decrement _nl_loaded.
1771 (_dl_map_object_from_fd): Don't try to dlopen executables.
1773 * iconvdata/tst-tables.sh: Actually return with an error if
1774 something goes wrong.
1775 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
1776 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
1778 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
1780 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
1781 * iconvdata/tst-table-from.c: Include <string.h>.
1782 (try): Correct cast in iconv call.
1784 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
1786 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
1787 (sysdep_routines): Remove dl-start.
1788 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1790 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
1792 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
1793 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1795 2000-09-06 Andreas Schwab <schwab@suse.de>
1797 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
1799 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1801 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
1803 * scripts/config.sub: Strip out -unknown for Linux targets.
1804 Patch by Scott Bambrough <scottb@netwinder.org>.
1806 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
1809 2000-09-07 Andreas Jaeger <aj@suse.de>
1811 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
1813 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
1816 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
1818 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
1819 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1821 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
1823 * stdlib/tst-bsearch.c (main): Add more test cases.
1825 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
1826 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1827 Reported by GOTO Masanori <gotom@debian.or.jp>.
1829 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1831 * posix/Makefile (tests): Add tst-dir.
1832 (tst-dir-ARGS): New variable.
1833 * posix/tst-dir.c: New file.
1835 2000-09-07 Andreas Jaeger <aj@suse.de>
1837 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
1840 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
1842 2000-09-06 Ulrich Drepper <drepper@redhat.com>
1844 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
1845 use the hack with tryopen_o_directory to determine at runtime
1847 * sysdeps/unix/sysv/linux/opendir.c: New file.
1848 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1849 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
1851 * catgets/Depend: New file. Add intl.
1852 * catgets/Makefile (tests): Add tst-catgets.
1853 (generated): Remove de.msg.
1854 (generated-dirs): Add de.
1855 Add dependency if tst-catgets output on de/libc.cat.
1856 * catgets/tst-catgets.c: New file.
1858 * po/ja.po: New file.
1859 * po/el.po: Update from translation team.
1861 * wcsmbs/Depend: New file.
1862 * wcsmbs/Makefile (tests): Add tst-btowc.
1863 (tst-btowc-ENV): Define.
1864 * wcsmbs/tst-btowc.c: New file.
1866 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
1867 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
1869 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
1871 * stdlib/Makefile (tests): Add tst-bsearch.
1872 * stdlib/tst-bsearch.c: New file.
1874 * posix/getopt.c (_getopt_internal): Don't recognize an option
1875 name as ambiguous if it's a prefix for more than one name but the
1876 other struct option values are identical.
1878 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
1879 Don't depend on visual inspection of the output file to recognize
1881 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
1883 2000-09-06 Andreas Jaeger <aj@suse.de>
1885 * sysdeps/alpha/soft-fp/Dist: New file.
1886 * sysdeps/i386/soft-fp/Dist: New file.
1887 * sysdeps/mips/mips64/soft-fp/Dist: New file.
1888 * sysdeps/mips/soft-fp/Dist: New file.
1889 * sysdeps/powerpc/soft-fp/Dist: New file.
1890 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
1891 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
1893 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
1894 Use sysdep_routines instead of routines to fix make dist failure.
1895 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
1897 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
1899 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
1900 sysdep_headers instead of headers for make dist.
1902 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
1905 2000-09-06 Andreas Schwab <schwab@suse.de>
1907 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
1909 2000-09-06 Andreas Jaeger <aj@suse.de>
1911 * soft-fp/Makefile (distribute): Remove ChangeLog.
1913 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
1914 sysdep_routines instead of routines for make dist.
1916 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1918 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
1919 compatibility check for old stream and call _IO_wide in doubt.
1920 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
1921 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
1922 needed tst for such an old structure and don't do anything.
1923 * libio/freopen.c: Remove declaration of _IO_stdin_used.
1925 2000-09-06 Andreas Jaeger <aj@suse.de>
1927 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
1928 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1931 * soft-fp/ChangeLog: Merged with this file.
1933 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1935 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
1937 * soft-fp/Makefile (distribute): Add the math functions, too.
1939 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
1941 2000-03-03 Geoff Keating <geoffk@cygnus.com>
1943 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
1946 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
1947 * soft-fp/sysdeps/powerpc/q_*: New files.
1949 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1951 * stdio-common/vfprintf.c (process_string_arg): Handle precision
1952 in wide char case correctly. Don't allocate too long temporary
1953 strings with alloca.
1955 * stdio-common/Makefile (tests): Add tst-swprintf.
1956 (tst-swprintf-ENV): New variable.
1957 * stdio-common/tst-swprintf.c: New file.
1959 2000-09-05 Andreas Jaeger <aj@suse.de>
1961 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
1962 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
1963 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1965 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1967 * configure.in: Strip out "unknown" from configuration names.
1969 2000-09-05 Andreas Jaeger <aj@suse.de>
1971 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
1973 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
1974 * sysdeps/sparc/sparc32/Implies: Likewise.
1975 * sysdeps/powerpc/Implies: Likewise.
1977 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
1978 * libio/oldiofgetpos64.c: Likewise.
1980 * soft-fp/Makefile (distribute): Remove configure.
1982 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
1984 * soft-fp/configure: Remove.
1986 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1987 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1989 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
1990 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
1992 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
1993 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
1995 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
1996 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
1998 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1999 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2001 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
2002 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
2004 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
2005 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
2007 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
2008 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
2010 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
2011 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
2013 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
2014 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
2016 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
2017 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
2019 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
2020 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
2022 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
2023 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
2025 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
2026 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
2028 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
2029 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
2031 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
2032 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
2034 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
2035 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
2037 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
2038 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
2040 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
2041 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
2043 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
2044 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
2046 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
2047 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
2049 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
2050 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
2052 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
2053 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
2055 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
2056 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
2058 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
2059 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
2061 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
2062 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
2064 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
2065 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
2067 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
2068 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
2070 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
2071 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
2073 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
2074 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
2076 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
2077 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
2079 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
2080 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
2082 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
2083 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
2085 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
2086 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
2088 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
2089 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
2091 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
2092 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
2094 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
2095 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
2097 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
2098 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
2100 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
2101 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
2103 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
2104 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
2106 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
2107 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
2109 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
2110 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
2112 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
2113 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
2115 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
2116 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
2118 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
2119 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
2121 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
2122 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
2124 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
2125 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
2127 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
2128 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
2130 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
2131 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
2133 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
2134 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
2136 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
2137 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
2139 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
2140 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
2142 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
2143 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
2145 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
2146 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
2148 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
2149 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
2151 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
2152 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
2154 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
2155 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
2157 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
2158 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
2160 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
2161 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
2163 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
2164 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
2166 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
2167 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
2169 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
2170 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
2172 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
2173 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
2175 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
2176 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
2178 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
2179 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
2181 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
2182 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
2184 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
2185 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
2187 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
2188 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
2190 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
2191 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
2193 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
2194 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
2196 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
2197 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
2199 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
2200 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
2202 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
2203 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
2205 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
2206 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
2208 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
2209 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
2211 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
2212 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
2214 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
2215 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
2217 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
2218 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
2220 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
2221 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
2223 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
2224 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
2226 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
2227 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
2229 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
2230 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
2232 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
2233 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
2235 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
2236 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
2238 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
2239 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
2241 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
2242 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
2244 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
2245 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
2247 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
2248 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
2250 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
2251 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
2253 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
2254 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
2256 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
2257 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
2259 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
2260 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
2262 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
2263 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
2265 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
2266 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
2268 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
2269 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
2271 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
2272 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
2274 * soft-fp/sysdeps/powerpc/Versions: Move from here...
2275 * sysdeps/powerpc/soft-fp/Versions: ... to here.
2277 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
2278 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
2280 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
2281 change symbol version.
2282 * libio/oldiofgetpos64.c: Likewise.
2283 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
2285 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
2287 Reported by dyky@kondara.org, closes PR libc/1886.
2289 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
2292 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2294 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
2295 script when ^C is hit.
2297 * locale/programs/localedef.c (construct_output_path): Correct
2298 computation of endp after asprintf.
2299 * locale/programs/locfile.c (write_locale_data): Don't add extra
2302 2000-09-05 Andreas Jaeger <aj@suse.de>
2304 * scripts/config.guess: New upstream version.
2305 * scripts/config.sub: Likewise.
2306 * manual/texinfo.tex: Likewise.
2308 2000-09-04 Andreas Schwab <schwab@suse.de>
2310 * elf/Makefile (all-dl-routines): New variable.
2311 (elide-routines.os): Use it instead of $(dl-routines).
2312 (all-rtld-routines): New variable.
2313 (extra-objs): Use it instead of $(rtld-routines).
2314 ($(objpfx)dl-allobjs.os): Likewise.
2315 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
2316 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2319 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2321 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
2322 Set fname to NULL if the module wasn't found.
2324 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2326 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
2327 true if trans->name already ends in ".so".
2329 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2331 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
2333 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
2334 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
2335 (__gconv_release_shlib): Change return type to void.
2336 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
2337 step->__counter here.
2338 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
2339 if the reference is zero.
2340 (release_step): New function.
2341 (gen_steps): Always initialize the __counter to 1. Use release_step.
2342 Don't call the destructor on the step whose initializer failed.
2343 (increment_counter): Use release_step. Don't normally run destructors
2345 (__gconv_close_transform): Use release_step.
2347 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2349 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
2350 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
2352 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2354 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
2355 If the first byte is 0x8E, don't ask for 4 bytes until it has been
2356 verified that the second byte is valid. Leave it to cns11643_to_ucs4
2357 to check for incomplete input.
2358 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
2359 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
2360 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2361 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
2363 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
2364 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2365 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
2366 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
2369 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2371 * iconv/gconv_db.c (find_derivation): Always use the least-cost
2374 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2376 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
2379 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2381 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
2382 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
2385 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2387 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
2389 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2391 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
2393 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2395 * iconvdata/tst-tables.sh: New file.
2396 * iconvdata/tst-table.sh: New file.
2397 * iconvdata/tst-table-from.c: New file.
2398 * iconvdata/tst-table-to.c: New file.
2399 * iconvdata/tst-table-charmap.sh: New file.
2400 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
2401 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
2402 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
2403 ISIRI-3342.irreversible, SJIS.irreversible.
2404 (tests): Add dependency on tst-tables.out.
2405 (tst-tables.out, tst-tables-clean): New rules.
2406 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
2407 * iconvdata/ISIRI-3342.irreversible: New file.
2408 * iconvdata/EUC-JP.irreversible: New file.
2409 * iconvdata/SJIS.irreversible: New file.
2411 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2413 * manual/locale.texi (General Numeric): Update description of
2414 representation of the grouping information in the locale data.
2415 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
2417 2000-09-04 Andreas Jaeger <aj@suse.de>
2419 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
2420 * iconv/iconv_prog.c (options): Fix typo.
2421 Reported by dyky@kondara.org, closes PR libc/1885.
2423 2000-09-04 Andreas Jaeger <aj@suse.de>
2425 * sysdeps/generic/fegetenv.c: It's __fegetenv.
2426 Reported by Rob Levin <lilo@transvirtual.com>.
2428 2000-09-03 Ulrich Drepper <drepper@redhat.com>
2430 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
2431 to the typedefs of __timezone_ptr_t.
2432 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
2434 2000-09-02 Jakub Jelinek <jakub@redhat.com>
2436 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
2439 2000-09-01 H.J. Lu <hjl@gnu.org>
2441 * Makeconfig (built-program-cmd): Don't use the dynamic linker
2442 to run a binary if it is in $(tests-static).
2444 * Rules (binaries-static): Add $(tests-static).
2446 2000-09-02 Andreas Jaeger <aj@suse.de>
2448 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
2450 * libio/fmemopen.c (fmemopen_close): Revert one part of last
2453 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2455 * iconvdata/big5hkscs.c: Regenerated from charmap.
2456 * iconvdata/testdata/BIG5HKSCS: Regenerated.
2457 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
2459 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
2460 statement. General cleanup.
2462 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2464 * wctype/wcfuncs.c (iswblank): New function.
2465 * wctype/wcfuncs_l.c (__iswblank_l): New function.
2466 * wctype/wcextra.c: Remove file.
2467 * wctype/wcextra_l.c: Remove file.
2468 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
2470 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2472 * locale/programs/ld-collate.c (collate_output): Remove redundant
2474 * string/strcoll.c: Likewise.
2475 * string/strxfrm.c: Include assert.h. Add assert calls like in
2478 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2480 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
2481 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
2482 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
2483 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
2484 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
2485 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
2486 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
2487 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
2488 _NL_CTYPE_GAP5/6 respectively.
2490 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
2491 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
2492 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
2493 Don't initialize __ctype_names and __ctype_width.
2494 * wctype/cname-lookup.h: Remove file.
2495 * wctype/Makefile (distribute): Remove cname-lookup.h.
2496 * wctype/wchar-lookup.h: Include stdint.h.
2497 * wctype/wctype.c (__wctype): Assume new locale format.
2498 * wctype/wctype_l.c (__wctype_l): Likewise.
2499 * wctype/iswctype.c: Don't include cname-lookup.h.
2500 (__iswctype): Assume new locale format.
2501 * wctype/iswctype_l.c: Don't include cname-lookup.h.
2502 (__iswctype_l): Assume new locale format.
2503 * wctype/wctrans.c: Don't include ctype.h.
2504 (wctrans): Assume new locale format.
2505 * wctype/wctrans_l.c (__wctrans_l): Likewise.
2506 * wctype/towctrans.c: Don't include cname-lookup.h.
2507 (__towctrans): Assume new locale format.
2508 * wctype/towctrans_l.c: Don't include cname-lookup.h.
2509 (__towctrans_l): Assume new locale format.
2510 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
2511 localeinfo.h instead.
2512 (__NO_WCTYPE): Remove unused macro.
2513 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
2515 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
2516 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
2517 (towlower, towupper): Likewise.
2518 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
2519 localeinfo.h instead.
2520 (__NO_WCTYPE): Remove unused macro.
2521 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2522 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2523 __iswxdigit_l): Assume new locale format.
2524 (__towlower_l, __towupper_l): Likewise.
2525 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
2526 (__ctype32_b): Remove declaration.
2527 (internal_wcwidth): Assume new locale format.
2528 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
2529 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
2530 to map32_b, rename width_3level to width.
2531 (ctype_output): Always create new locale format. Don't emit
2532 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
2533 (allocate_arrays): Always create new locale format.
2535 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
2536 * locale/weightwc.h (findidx): Assume new locale format.
2537 * string/strcoll.c (wcscoll): Remove local variables size, layers,
2539 * string/strxfrm.c (wcsxfrm): Likewise.
2540 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
2541 local variable collseq to 'const char *'.
2542 (SUFFIX): Don't use, don't undefine.
2543 * posix/fnmatch.c: Remove SUFFIX definition.
2544 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
2545 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
2546 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
2547 (collate_finish): Always create new locale format. Remove local
2548 variables min_total, act_size.
2549 (collate_output): Always create new locale format. Remove local
2550 variables table_size, names, tablewc. Rename tablewc_3level to
2553 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2555 * locale/programs/ld-collate.c (obstack_int32_grow,
2556 obstack_int32_grow_fast): New inline functions.
2557 (output_weightwc, collate_output): Use them where possible.
2559 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2561 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
2562 patch (_mode -> _flags).
2564 * libio/Makefile (headers): Add stdio_ext.h.
2565 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
2566 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
2567 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
2568 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
2569 __fsetlocking, and _flushlbf.
2570 * libio/__fbufsize.c: New file.
2571 * libio/__flbf.c: New file.
2572 * libio/__fpending.c: New file.
2573 * libio/__fpurge.c: New file.
2574 * libio/__freadable.c: New file.
2575 * libio/__freading.c: New file.
2576 * libio/__fsetlocking.c: New file.
2577 * libio/__fwritable.c: New file.
2578 * libio/__fwriting.c: New file.
2579 * libio/stdio_ext.h: New file.
2580 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
2581 * libio/libio.h (_IO_USER_LOCK): Define.
2582 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
2583 test _IO_USER_LOCK flag first.
2585 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
2588 2000-09-01 Andreas Jaeger <aj@suse.de>
2590 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
2592 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
2594 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2596 * math/Makefile (tests): Add tst-defintions.
2597 * math/tst-definitions.c: New file.
2599 * stdlib/Makefile (headers): Add bits/wchar.h.
2600 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
2601 * sysdeps/generic/bits/wchar.h: New file.
2602 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
2603 file to define WCHAR_MIN and WCHAR_MAX.
2604 Change UINT*8_MAX and UIN*16_MAX value to type int.
2605 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
2606 file to define WCHAR_MIN and WCHAR_MAX.
2607 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
2609 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
2610 * sysdeps/generic/bits/mathdef.h: Likewise.
2611 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2612 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2613 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2614 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2615 * locale/locale.h (struct lconv): Add __ prefix to the new members
2617 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
2618 imaxdiv optimizations.
2619 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
2620 * sysdeps/wordsize-64/ldiv.c: Likewise.
2621 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
2623 * sysdeps/generic/bits/fenv.h: Likewise.
2624 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2625 * sysdeps/ia64/bits/fenv.h: Likewise.
2626 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
2627 * sysdeps/mips/bits/fenv.h: Likewise.
2628 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2629 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2630 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2632 * inet/rcmd.c: Use *stat64 instead of *stat internally.
2633 * inet/ruserpass.c: Likewise.
2634 * catgets/open_catalog.c: Likewise.
2635 * intl/loadmsgcat.c: Likewise.
2636 * io/getdirname.c: Likewise.
2637 * locale/loadlocale.c: Likewise.
2638 * misc/getusershell.c: Likewise.
2639 * stdlib/canonicalize.c: Likewise.
2640 * sysdeps/posix/euidaccess.c: Likewise.
2641 * sysdeps/posix/isfdtype.c: Likewise.
2642 * sysdeps/posix/posix_fallocate.c: Likewise.
2643 * sysdeps/posix/tempname.c: Likewise.
2644 * sysdeps/unix/grantpt.c: Likewise.
2645 * sysdeps/unix/opendir.c: Likewise.
2646 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
2647 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
2648 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2649 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
2650 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2651 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2652 * sysvipc/ftok.c: Likewise.
2653 * time/getdate.c: Likewise.
2655 * time/getdate.c: Add extra access test.
2657 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2659 * version.h (VERSION): Bump to 2.1.93.
2661 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
2662 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
2664 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
2665 Make this a new rule depending on tst-gettext.out and run mtrace.
2666 * intl/tst-gettext.c: Call mtrace.
2667 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
2669 * elf/dl-reloc.c: Add a few more __builtin_expect.
2671 * configure.in: Remove --with-gettext option.
2673 * intl/dcigettext.c (free_mem): Correct freeing of
2674 _nl_domain_bindings list.
2676 * sysdeps/generic/setenv.c (free_mem): New function. Free all
2679 * intl/locale.alias: Add aliases for bokmal and nynorsk.
2681 * locale/iso-639.def: Fix 639-1 code for Bokmal.
2683 * stdio-common/itoa-digits.c: Move upper digits to...
2684 * stdio-common/itoa-udigits.c: ...here. New file.
2685 * stdio-common/Makefile (routines): Add itoa-udigits.
2687 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
2688 relocate ld.so don't add supprt for relocations which should not
2691 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
2692 __secure_getenv. Instead test __libc_enable_secure once.
2694 * io/pwd.c (main): Provide a good example, use *_unlocked function.
2696 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2698 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
2699 whether the new record should be freed if it's a duplicate.
2700 (add_module): Adjust insert_module call.
2701 (__gconv_read_conf): Likewise.
2702 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
2704 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
2706 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
2708 * include/link.h (struct r_search_path_struct): New.
2709 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
2710 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
2712 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
2713 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
2714 added at startup time.
2715 * elf/dl-load.c: Fix memory handling. r_search_path_struct
2716 contains element to remember fact that we can free memory.
2717 (all_dirs): Renamed to _dl_all_dirs. Made global.
2718 (_dl_init_all_dirs): New variable.
2719 (fillin_rpath): Save one malloc call.
2720 (decompose_rpath): Change interface. New first parameter points to
2721 r_search_path_struct.
2722 (_dl_init_paths): Adjust for changes. Mark all memory as not
2723 deletable. Set _dl_init_all_paths value.
2724 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
2725 parameter replaced with r_search_path_struct *. Information about
2726 freeing now contained in r_search_path_struct.
2727 (_dl_map_object): Adjust for above changes.
2729 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
2731 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
2732 when adding new entries.
2734 * elf/dl-load.c (fillin_rpath): Make local copy of where string
2735 since the object being loaded can be unloaded.
2737 * iconvdata/Makefile (tests): Add tst-loading.
2738 * iconvdata/tst-loading.c: New file.
2740 2000-08-29 Bruno Haible <haible@clisp.cons.org>
2742 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
2743 When comparing a char with an int, always cast the char to
2744 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
2745 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
2747 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2749 * time/strftime.c (my_strftime): Add compatibility code for use
2750 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
2752 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
2753 return 0 for success but always < 0 on failure.
2755 * nss/getXXbyYY_r.c: Define result to *result before including
2758 2000-08-30 Andreas Jaeger <aj@suse.de>
2760 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
2762 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2764 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
2766 * iconvdata/TESTS: Add BIG5HKSCS entry.
2767 * iconvdata/testdata/BIG5HKSCS: New file.
2768 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
2770 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
2773 * libio/iogetline.c: Set mode before the loop in case n==0.
2774 * libio/iogetwline.c: Likewise.
2776 2000-08-29 H.J. Lu <hjl@gnu.org>
2778 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
2780 (_IO_new_file_overflow): Likewise.
2781 * libio/genops.c (_IO_flush_all): Likewise.
2782 * libio/ioftell.c (_IO_ftell): Likewise.
2784 2000-08-29 Akira Higuchi <a@kondara.org>
2786 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
2787 and __end_fct fields of struct __gconv_step.
2788 * iconv/Makefile (tests): Add iconv-bug2.
2789 * iconv/iconv-bug2.c: New file.
2791 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
2792 instead of 'inptr - inend' to ksc5601_to_ucs4.
2794 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
2796 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
2797 character or shift sequence is found at the end of the input
2798 string, return__GCONV_INCOMPLETE_INPUT instead of
2799 __GCONV_EMPTY_INPUT.
2800 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
2801 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
2803 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
2804 __GCONV_ILLEGAL_INPUT for 8bit characters.
2806 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2808 * signal/signal.h (sigpause): Move __THROW before __asm__.
2810 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
2811 names don't match don't return.
2812 Patch by Olaf Kirch <okir@flash.lst.de>.
2814 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2816 * time/strftime.c (my_strftime): Handle # flag for %b as well.
2818 2000-08-27 H.J. Lu <hjl@gnu.org>
2820 * posix/Makefile (otherlibs): Add for building with static-nss
2823 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2825 * libio/stdio.h: Add fmemopen prototype.
2827 2000-08-25 Andreas Jaeger <aj@suse.de>
2829 * libio/Makefile (routines): Add fmemopen.
2830 (tests): Add test-fmemopen.
2831 * libio/Versions: Add fmemopen with version GLIBC_2.2.
2832 * libio/test-fmemopen.c: New file.
2833 * libio/fmemopen.c: New file.
2834 Patches by Hanno Mueller <kontakt@hanno.de>.
2836 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2838 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
2839 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
2841 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
2842 to avoid crashing statically linked applications.
2844 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2846 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
2847 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
2849 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
2850 If the result is fits in the buffer, copy only as many bytes as needed.
2852 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
2853 buffer after copying numbuf into it.
2854 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2856 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2858 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
2859 the result. When string_len < len, don't clear the rest of the buffer.
2861 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2863 Support for new LC_COLLATE format.
2864 * locale/coll-lookup.h: New file.
2865 * locale/weightwc.h (findidx): When size == 0, call
2866 collidx_table_lookup.
2867 * wcsmbs/wcscoll.c: Include coll-lookup.h.
2868 * wcsmbs/wcsxfrm.c: Likewise.
2869 * posix/fnmatch.c: Likewise.
2870 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
2871 collseq_table_lookup.
2872 * locale/programs/3level.h: New file.
2873 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
2874 by including "3level.h".
2875 * locale/programs/ld-collate.c (wchead_table, collidx_table,
2876 collseq_table): New types, defined by including "3level.h".
2877 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
2878 (encoding_mask, encoding_byte): Remove.
2879 (utf8_encode): Use simple shifts instead.
2880 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
2881 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
2882 (collate_output): New local variable tablewc_3level. When
2883 !oldstyle_tables, set table_size to 0 and names to NULL and fill
2884 tablewc_3level instead of tablewc. Change format of TABLEWC and
2885 COLLSEQWC entries written to the file.
2886 * locale/C-collate.c (collseqwc): Change format.
2887 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
2889 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
2891 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2893 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
2894 (locale_ctype_t): New charnames_idx field.
2895 (ctype_startup): Initialize charnames_idx field.
2896 (find_idx): Speed up dramatically by using charnames_idx inverse table.
2898 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2900 * locale/C-ctype.c: Switch to new locale format.
2901 (_nl_C_LC_CTYPE_names): Remove array.
2902 (STRUCT_CTYPE_CLASS): New macro.
2903 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2904 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2905 New three-level tables.
2906 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
2907 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
2908 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
2909 12 class tables and 2 map tables at the end.
2910 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
2911 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2912 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2914 (b): Remove trailing semicolon.
2915 (__ctype_names, __ctype_width): Don't initialize.
2916 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
2918 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2920 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
2921 is guaranteed to be allocated with the same malloc() and may be
2923 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
2924 been set to empty by an earlier open_path call, don't pass it again.
2926 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2928 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
2929 we are not optimizing.
2931 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
2934 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
2936 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2938 2000-08-28 Andreas Jaeger <aj@suse.de>
2940 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
2942 2000-08-28 Mark Kettenis <kettenis@gnu.org>
2944 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
2945 getpeername. Use ISO C style function definition.
2946 (getpeername): Provide weak alias.
2947 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
2948 setrlimit. Use ISO C style function definition.
2949 (setrlimit): Provide weak alias.
2951 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
2953 * shlib-versions: Add a rule for S/390 to the libm version list.
2954 * sysdeps/s390/Versions: New file.
2955 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
2956 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
2957 * sysdeps/unix/sysv/linux/s390/Versions: New file.
2958 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
2959 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
2960 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
2961 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
2962 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
2963 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
2964 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
2965 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
2966 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
2967 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
2968 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
2969 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
2970 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
2971 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
2972 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
2974 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2976 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
2977 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
2979 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
2980 * elf/dl-close.c (_dl_close): Print debug message if object is not
2982 * elf/dl-open.c (dl_open_worked): Print message about opencount before
2983 returning to caller.
2985 * po/zh.po: Renamed to...
2986 * po/zh_TW.po: ...this.
2988 2000-08-27 Geoff Keating <geoffk@cygnus.com>
2990 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
2992 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
2993 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
2994 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
2995 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
2997 2000-08-27 Ulrich Drepper <drepper@redhat.com>
2999 * locale/programs/ld-collate.c (insert_weights): Also update
3000 backpointer of next element.
3001 (collate_read): Allow definition of new collation symbols in stage 2.
3002 Symbol after reorder-after can be UCS4 value.
3003 Allow reordering of collation symbols and elements.
3004 Do not only move reorder entry in new position. Instead call
3005 insert_weight to do this and read the weights.
3007 * locale/findlocale.c (free_mem): Add cast to avoid warning.
3009 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
3010 to determine invalid locale name.
3011 * locale/findlocale.c (_nl_find_locale): Likewise.
3013 * posix/annexc.c: Correct test for unavailable feature.
3015 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
3018 2000-08-26 Ulrich Drepper <drepper@redhat.com>
3020 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
3023 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
3024 (sysdep_routines): Add oldgetrlimit64.
3026 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
3027 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
3028 (tests): Add unload, reldep, reldep2, and reldep3.
3029 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
3031 Add rules to build and run unload, reldep, reldep2, and reldep3.
3032 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
3033 Don't create relocation dependency if it is nonzero.
3034 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
3035 can never happen here.
3036 (_dl_lookup_versioned_symbol): Add new parameter explicit.
3037 Don't create relocation dependency if it is nonzero.
3038 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
3039 stuff. This can never happen here.
3040 * sysdeps/generic/ldsodefs.h: Change prototypes.
3041 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
3042 _dl_lookup_up and _dl_lookup_versioned_symbol.
3044 * elf/dl-runtime.c (fixup): Likewise.
3045 (profile_fixup): Likewise.
3046 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
3048 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
3049 * elf/rtld.c (dl_main): Likewise.
3050 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
3051 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
3052 and pass down the caller map.
3053 (_dl_vsym): Likewise.
3054 * elf/reldep.c: New file.
3055 * elf/reldep2.c: New file.
3056 * elf/reldep3.c: New file.
3057 * elf/reldepmod1.c: New file.
3058 * elf/reldepmod2.c: New file.
3059 * elf/reldepmod3.c: New file.
3060 * elf/reldepmod4.c: New file.
3061 * elf/unload.c: New file.
3062 * elf/unloadmod.c: New file.
3064 * elf/do-lookup.h: Remove unused undef_name parameter.
3065 * elf/dl-lookup.c: Adjust callers.
3067 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3069 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
3070 irreversible in recursive call of conversion function to signal that
3071 no error handling is wanted.
3072 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
3073 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
3074 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
3075 recursive error handling call, otherwise to &lirreversible. Use it
3076 for calls to conversion functions.
3077 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
3079 (ucs4_internal_loop_unaligned): Likewise.
3080 (ucs4le_internal_loop): Likewise.
3081 (ucs4le_internal_loop_unaligned): Likewise.
3083 2000-08-25 Greg McGary <greg@mcgary.org>
3085 * sysdeps/i386/memchr.S: Check high bound against chars
3087 * sysdeps/i386/memcmp.S: Likewise.
3088 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
3089 account for pointers that lie one beyond end-of-buffer.
3091 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3093 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
3094 * elf/nodelete.c (fini_ran): New global variable.
3095 (do_test): Before every dlclose call clear fini_ran and test
3096 afterwards that it is not set by the destructors.
3097 * elf/nodelmod1.c: Add destructor which sets fini_ran.
3098 * elf/nodelmod2.c: Likewise.
3099 * elf/nodelmod4.c: Likewise.
3101 2000-08-21 Jes Sorensen <jes@linuxcare.com>
3103 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
3104 getrlimit to the list.
3106 2000-08-18 Jes Sorensen <jes@linuxcare.com>
3108 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
3109 long double format so use ldbl-96 instead of ldbl-128.
3111 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3113 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
3114 even if bits 10 a 11 are non-zero.
3115 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
3117 * Makeconfig: Ensures the soversions.mk part of Makefile gets
3118 included before building gnu/lib-names.h
3119 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3121 * elf/dl-close.c (_dl_close): Don't run destructors of objects
3122 marked DF_1_NODELETE.
3124 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
3125 since we call sigaction in the child.
3127 2000-08-25 Andreas Jaeger <aj@suse.de>
3129 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
3132 2000-08-25 Andreas Jaeger <aj@suse.de>
3134 * manual/arith.texi (Control Functions): Clarify possible
3135 arguments. Closes PR libc/1856.
3137 2000-08-24 H.J. Lu <hjl@gnu.org>
3139 * stdio-common/Makefile (tests): Don't do it for cross compiling.
3140 * malloc/Makefile (tests): Likewise.
3142 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3144 * iconvdata/unicode.c (gconv_init): Correct test for direction.
3146 2000-08-24 Andreas Jaeger <aj@suse.de>
3148 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
3149 only if LIBGD is available.
3151 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3153 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
3154 problems with now restrict parameter types.
3155 (convaddr4to6): Likewise.
3157 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
3159 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
3160 * sysdeps/s390/fpu/feenablxcpt.c: New file.
3161 * sysdeps/s390/fpu/fegetexcept.c: New file.
3162 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
3165 2000-08-24 Andreas Jaeger <aj@suse.de>
3167 * malloc/Makefile (extra-objs): Add memusagestat.o.
3168 (generated): Added memusage and memusagestat for make clean.
3170 * libio/tst_putwc.c (do_test): Delete temporary file.
3171 Move inclusion of test-skeleton to front to have prototype for
3174 * posix/Makefile (generated): Add wordexp-tst.out.
3176 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3178 * resolv/res_hconf.c (free_mem): Remove not needed if.
3180 * time/tzset.c (free_mem): New function.
3181 * string/strsignal.c (free_mem): New function.
3182 * inet/inet_ntoa.c (free_mem): New function.
3183 * sunrpc/clnt_perr.c (free_mem): New function.
3185 2000-08-24 Andreas Jaeger <aj@suse.de>
3187 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
3188 * sysdeps/unix/sysv/syscalls.list: Likewise.
3190 * posix/unistd.h: Move internal prototypes from here ...
3191 * include/unistd.h: ... to here.
3193 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
3195 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3197 * grp/initgroups.c (initgroups): Deallocate groups array.
3198 Reported by jani.raiha@sonera.com [PR libc/1868].
3200 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
3201 * sysdeps/alpha/Dist: Likewise.
3203 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3205 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
3206 destructor). Reported by Solar Designer <solar@false.com>.
3208 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
3209 avoid adding double slashes.
3211 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3213 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
3214 out of the __REDIRECT macro.
3216 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3218 * stdio-common/vfscanf.c: Add %F format support.
3220 * locale/programs/ld-ctype.c (ctype_output): Make sure
3221 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
3222 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
3223 (ctype_read): Enable returning of wide character strings for reading
3224 transliteration information.
3226 2000-08-23 Andreas Jaeger <aj@suse.de>
3228 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
3229 Use static __inline instead of _EXTERN_INLINE.
3231 * misc/sys/select.h: Move prototypes of __select from here ...
3232 * include/sys/select.h: ... to here.
3234 * socket/sys/socket.h: Move prototypes of __send and __connect
3236 * include/sys/socket.h: ... to here.
3238 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
3241 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3243 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
3244 __setrlimit as strong name. Takes only 2 arguments.
3246 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
3247 takes only 2 arguments.
3249 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
3251 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
3253 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
3255 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3257 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
3258 default_missing character being specified, pick the first
3261 2000-08-23 Andreas Jaeger <aj@suse.de>
3263 * include/wchar.h: Add some pure attributes.
3265 * time/time.h: Add const attribute for dysize.
3267 * include/stdlib.h: Add malloc attribute to __posix memalign.
3269 * stdlib/stdlib.h: Add some pure and malloc attributes.
3270 * wcsmbs/wchar.h: Likewise.
3272 * dirent/dirent.h: Add some pure attributes.
3273 * include/dirent.h: Likewise.
3275 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3277 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
3280 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3282 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
3283 missing buffer size checks.
3285 2000-08-23 Andreas Jaeger <aj@suse.de>
3287 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
3289 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3291 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
3292 otherwise __LINUX_KERNEL_VERSION might not be defined.
3293 (MIN): Define if not already defined.
3295 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3297 * stdio-common/vfprintf.c: Handle %F format.
3298 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
3299 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3301 * stdio-common/tstdiomisc.c: Add test for %F printf format.
3303 * po/zh.po: New file.
3305 * iconvdata/sjis.c: In conversion from UCS4, correct test for
3306 enough room in target buffer.
3307 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
3308 * iconvdata/bug-iconv1.c: New file.
3309 * iconvdata/Makefile (tests): Add bug-iconv1.
3311 * locale/iso-4217.def: Update entry for Nicaragua.
3313 2000-08-22 Mark Kettenis <kettenis@gnu.org>
3315 * hurd/hurdsig.c: Rearrange headers a bit.
3316 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
3317 when cthreads is being used.
3319 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3321 * elf/Makefile (distribute): Add dl-osinfo.h.
3322 * sysdeps/generic/dl-osinfo.h: New file.
3323 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
3324 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
3326 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
3327 only for !SHARED case. Get the code from dl-osinfo.h.
3329 * stdlib/random_r.c: Cleanups.
3330 * stdlib/tst-random.c: New file.
3331 * stdlib/Makefile (tests): Add tst-random.
3332 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
3334 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3336 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
3337 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
3338 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
3339 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
3341 2000-08-22 Jakub Jelinek <jakub@redhat.com>
3343 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
3344 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
3345 (__syscall__sysctl): Add.
3347 2000-08-21 Andreas Jaeger <aj@suse.de>
3349 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
3351 * stdlib/tst-strtoll.c: Likewise.
3353 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3355 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
3357 (__initstate_r): Set errno on error.
3358 (__random_r): Likewise.
3359 (__setstate_r): Correct offset when computing
3360 new rptr and fptr. Test for arg_state being NULL.
3361 Reported by Michael Fischer <fischer@cs.yale.edu>.
3363 * posix/regex.h: Add macro definitions to allow compiling outside
3366 * sysdeps/i370/Implies: Removed.
3367 * sysdeps/mvs/Implies: Removed.
3369 * catgets/catgets.c (catopen): Filter out env_var values with / if
3372 * locale/findlocale.c (_nl_find_locale): Move test for unusable
3373 locale name after all getenvs.
3375 * configure.in: Allow sed versions like 3.02.8.
3376 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
3378 2000-08-21 Marko Myllynen <myllynen@lut.fi>
3380 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
3382 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3384 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
3385 of gethostbyname2_r call.
3387 * intl/locale.alias: Add aliases for Korean.
3389 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3391 * sysdeps/s390/__longjmp.c: Remove unused variable result.
3392 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
3393 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
3394 * sysdeps/s390/fpu/fegetenv.c: New file.
3395 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
3396 * sysdeps/s390/fpu/feholdexcpt.c: New file.
3397 * sysdeps/s390/fpu/fenv_libc.h: New file.
3398 * sysdeps/s390/fpu/fesetenv.c: New file.
3399 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
3400 * sysdeps/s390/fpu/feupdateenv.c: New file.
3401 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
3402 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
3403 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
3404 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
3405 * sysdeps/s390/fpu/ftestexcept.c: New file.
3406 * sysdeps/s390/fpu/libm-test-ulps: New file.
3407 * sysdeps/s390/gmp-mparam.h: Add end of comment.
3408 * sysdeps/s390/initfini.c: New file.
3409 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
3410 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
3411 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
3412 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
3413 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
3414 sys/procfs.h as proposed by Mark Kettenis.
3415 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
3417 2000-08-21 Andreas Jaeger <aj@suse.de>
3419 * include/poll.h: Include include/sys/poll.h to get __poll
3422 * io/sys/poll.h: Move __poll declaration from here...
3423 * include/sys/poll.h: ...to here.
3425 * include/sys/socket.h (__getpeername): Add declaration.
3427 * include/wchar.h (__vswprintf): Add declaration.
3429 * include/stdio.h (__flockfile): Add declaration.
3430 (__funlockfile): Likewise.
3432 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3434 * misc/sys/cdefs.h: Define __restrict_arr.
3435 * include/sys/time.h: Add restrict where required by AGd4.
3436 * inet/arpa/inet.h: Likewise.
3437 * io/sys/stat.h: Likewise.
3438 * io/sys/statvfs.h: Likewise.
3439 * misc/search.h: Likewise.
3440 * misc/sys/select.h: Likewise.
3441 * posix/glob.h: Likewise.
3442 * posix/regex.h: Likewise.
3443 * posix/spawn.h: Likewise.
3444 * posix/unistd.h: Likewise.
3445 * rt/aio.h: Likewise.
3446 * signal/signal.h: Likewise.
3447 * socket/sys/socket.h: Likewise.
3448 * stdlib/ucontext.h: Likewise.
3449 * streams/stropts.h: Likewise.
3450 * string/string.h: Likewise.
3451 * time/time.h: Likewise.
3452 * time/sys/time.h: Likewise.
3454 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
3455 and posix_spawnattr_setscheparam.
3457 * libio/stdio.h: Make cuserid prototype again available for all
3460 * argp/argp-help.c: Unify use of function aliases to make more compact
3462 * include/libintl.h: Likewise.
3463 * inet/rcmd.c: Likewise.
3464 * intl/dcigettext.c: Likewise.
3465 * libio/iofputws.c: Likewise.
3466 * libio/iofputws_u.c: Likewise.
3467 * libio/iogetwline.c: Likewise.
3468 * libio/swprintf.c: Likewise.
3469 * malloc/malloc.c: Likewise.
3470 * nss/digits_dots.c: Likewise.
3471 * posix/fnmatch.c: Likewise.
3472 * posix/spawn_faction_addclose.c: Likewise.
3473 * posix/spawn_faction_adddup2.c: Likewise.
3474 * posix/spawn_faction_addopen.c: Likewise.
3475 * posix/spawni.c: Likewise.
3476 * posix/wordexp.c: Likewise.
3477 * posix/spawni.c: Likewise.
3478 * resolv/res_hconf.c: Likewise.
3479 * resolv/res_init.c: Likewise.
3480 * shadow/lckpwdf.c: Likewise.
3481 * signal/sighold.c: Likewise.
3482 * signal/sigrelse.c: Likewise.
3483 * stdio-common/printf-parse.h: Likewise.
3484 * stdio-common/printf-prs.c: Likewise.
3485 * stdio-common/printf_fp.c: Likewise.
3486 * stdio-common/vfprintf.c: Likewise.
3487 * stdio-common/vfscanf.c: Likewise.
3488 * stdlib/rpmatch.c: Likewise.
3489 * sunrpc/create_xid.c: Likewise.
3490 * sunrpc/key_call.c: Likewise.
3491 * sysdeps/generic/setrlimit64.c: Likewise.
3492 * sysdeps/generic/utmp_file.c: Likewise.
3493 * sysdeps/generic/vlimit.c: Likewise.
3494 * sysdeps/posix/posix_fallocate.c: Likewise.
3495 * sysdeps/posix/posix_fallocate64.c: Likewise.
3496 * sysdeps/posix/sigpause.c: Likewise.
3497 * sysdeps/posix/sigset.c: Likewise.
3498 * sysdeps/unix/grantpt.c: Likewise.
3499 * sysdeps/unix/bsd/ualarm.c: Likewise.
3500 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
3501 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
3502 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3503 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3504 * time/strftime.c: Likewise.
3505 * wcsmbs/wcscoll.c: Likewise.
3506 * wcsmbs/wcsxfrm.c: Likewise.
3508 * time/tst-getdate.c (main): Make error messages more human readable.
3510 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
3511 postinc/predec instruction.
3512 (_FPU_SETCW): Likewise.
3513 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3515 2000-08-20 Andreas Jaeger <aj@suse.de>
3517 * time/tst-getdate.c (main): Increase error in case of wrong
3519 Fix typo in test case.
3521 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3523 * ctype/ctype.h (isblank): Make available if ISO C99.
3524 * wctype/wctype.h (iswblank): Make available if ISO C99.
3525 * math/math.h (signgam): Don't make available if ISO C99.
3526 * math/tgmath.h (tgamma): Renamed from gamma.
3527 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
3529 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
3531 * intl/plural.y (new_exp): Take number of optional parameters in
3532 second parameter. Test for correct number of parameters and free
3533 correctly in case of failure. Adjust all callers.
3534 (yylex): Allow ';' as terminator character.
3536 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3538 * locale/lc-time.c (free_mem): New function. Free alt_digits and
3541 * locale/findlocale.c (free_mem): Also free here->filename.
3543 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
3545 * math/test-fenv.c (feenv_tests): Clear all exceptions before
3547 (feexcp_nomask_test): Correct printf args.
3548 (feexcp_mask_test): Likewise.
3550 2000-08-19 Andreas Jaeger <aj@suse.de>
3552 * inet/tst-gethnm.c: Include string.h to provide prototype for
3555 * malloc/mtrace.pl (usage): Inform about --help.
3557 2000-08-19 Wolfram Gloger <wg@malloc.de>
3559 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
3562 2000-08-19 Andreas Jaeger <aj@suse.de>
3564 * shlib-versions: Remove libnss_db, libdb and libdb1.
3566 2000-08-19 Jakub Jelinek <jakub@redhat.com>
3568 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
3569 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
3570 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
3571 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
3572 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
3573 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
3574 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
3575 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
3576 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
3577 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
3579 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
3580 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3582 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3584 * include/glob.h (__glob64): Add prototype.
3585 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
3586 define glob and glob_in_dir.
3587 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
3588 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
3589 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
3590 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
3591 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
3592 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
3593 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
3594 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
3596 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3598 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
3600 2000-08-17 Andreas Jaeger <aj@suse.de>
3602 * math/test-fenv.c (fe_single_test): New function.
3603 (fe_env_tests): Use fe_single_test.
3604 (feenable_test): New tests for feenable/fedisable and
3606 (feexcp_mask_test): New function.
3607 (feexcp_nomask_test): New function.
3609 2000-08-19 Richard Henderson <rth@cygnus.com>
3611 * sysdeps/alpha/fpu/fenv_libc.h: New file.
3612 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
3613 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3614 * sysdeps/alpha/fpu/fesetround.c: Likewise.
3615 * sysdeps/alpha/fpu/fegetround.c: Likewise.
3616 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3617 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3618 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
3619 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
3620 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
3621 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
3622 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
3623 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3624 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3625 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3626 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
3627 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
3629 2000-08-19 Andreas Jaeger <aj@suse.de>
3631 * elf/constload1.c: Include <stdio.h> for puts prototype.
3633 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3635 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
3636 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
3637 a dynamically loaded object remove old l_initfini list.
3638 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
3639 remove some dynamically allocated memory blocks in the dynamic
3640 loading data structures.
3641 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
3642 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
3643 Instead call _dl_check_map_versions only for the dependencies.
3644 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
3645 information of initial objects as not free-able.
3646 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
3649 * elf/filter.c: Call mtrace.
3650 * elf/restest1.c: Likewise. Close the objects.
3651 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
3654 * elf/constload1.c: Add comment explaining not freed memory.
3656 2000-08-18 Andreas Jaeger <aj@suse.de>
3658 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
3659 alignment for structs stat and stat64.
3660 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3662 2000-08-17 Ulrich Drepper <drepper@redhat.com>
3664 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
3665 handling. Patch by Richard Henderson <rth@twiddle.net>.
3667 * nss/Versions: Remove libnss_db information.
3669 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3671 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
3672 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
3673 * sysdeps/sparc/fpu/fegetexcept.c: New file.
3674 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
3676 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
3679 2000-08-17 Ulrich Drepper <drepper@redhat.com>
3681 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
3682 (_FPU_SETCW): Likewise.
3683 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3685 * stdio-common/printf_fp.c: Fix chars_needed computation.
3686 Patch by Greg McGary <greg@mcgary.org>.
3688 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3690 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
3691 _dl_loaded are NULL.
3693 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3695 * manual/arith.texi (feholdexcept): Returns 0 on success.
3697 2000-08-17 Andreas Jaeger <aj@suse.de>
3699 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
3701 Reported by Andi Kleen <ak@suse.de>.
3703 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3705 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
3706 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
3707 * sysdeps/alpha/fpu/fegetexcept.c: New file.
3709 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3711 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
3712 of buf->st_ino and kbuf->st_ino, not __st_ino.
3713 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
3714 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
3715 directive so that only linux/getdents.c is used, not some
3716 architecture specific one.
3718 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3720 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
3721 enabled, not disabled exceptions.
3722 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3723 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3725 2000-08-17 Greg McGary <greg@mcgary.org>
3727 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
3728 from test program name when constructing suffix for $(LDLIBS-*).
3729 (bounded-thread-library): New variable.
3731 [build-shared, build-static] (libcrypt-dep): Remove variable.
3732 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3733 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3734 * linuxthreads/Makefile (libpthread, librt): Remove variables.
3735 (librt-tests): Add variable. (tests): Use it.
3736 [build-shared, build-static]
3737 ($(addprefix $(objpfx),$(tests)),
3738 $(addprefix $(objpfx),$(librt-tests))):
3739 Consolidate individual dependencies.
3741 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
3743 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
3744 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3746 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
3748 [build-shared, build-static]
3749 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3750 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3752 2000-08-17 Greg McGary <greg@mcgary.org>
3754 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
3755 * sysdeps/unix/make-syscalls.sh: Likewise.
3756 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3757 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3758 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3759 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3760 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3762 2000-08-17 Greg McGary <greg@mcgary.org>
3764 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
3765 Wrap extern symbols in BP_SYM ().
3766 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3767 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3768 * sysdeps/i386/fpu/s_remquo.S: Likewise.
3769 * sysdeps/i386/fpu/s_remquof.S: Likewise.
3770 * sysdeps/i386/fpu/s_remquol.S: Likewise.
3771 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3772 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3773 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3774 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3775 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3777 2000-08-16 Andreas Schwab <schwab@suse.de>
3779 * sysdeps/m68k/fpu/fegetexcept.c: New file.
3780 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
3781 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
3783 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3785 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
3786 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
3787 * elf/dl-support.c: Define _nl_nloaded.
3788 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
3789 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
3790 object to global list.
3791 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
3792 from _dl_loaded list.
3793 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3794 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
3797 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
3799 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
3801 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
3803 2000-08-16 Andreas Jaeger <aj@suse.de>
3805 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
3807 2000-08-15 Marko Myllynen <myllynen@lut.fi>
3809 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
3811 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3813 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
3814 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
3815 (sysdep_routines): Add oldgetrlimit64.
3816 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
3817 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3819 * include/link.h: Undo last patches. Hurd now has stat64.
3820 * elf/Makefile: Likewise.
3821 * elf/dl-load.c: Likewise.
3822 * elf/dl-misc.c: Likewise.
3823 * elf/dl-profile.c: Likewise.
3824 * sysdeps/generic/sysd-link.h: Removed.
3825 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
3827 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
3828 thread event callback function.
3829 (__aio_notify_only): Use function above.
3830 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
3832 2000-08-16 Mark Kettenis <kettenis@gnu.org>
3834 * sysdeps/mach/hurd/lseek64.c: New file.
3836 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3838 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
3840 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
3842 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
3844 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
3846 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3848 * sysdeps/mach/hurd/xstatconv.c: New file.
3849 * sysdeps/mach/hurd/fxstat64.c: New file.
3850 * sysdeps/mach/hurd/lxstat64.c: New file.
3851 * sysdeps/mach/hurd/xstat64.c: New file.
3852 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
3854 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3856 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
3857 Initialize, needed for change in common symbol handling in newer
3858 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
3860 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3862 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
3863 * elf/constload2.c: Add destructor to unload constload3.
3865 * include/link.h: Include sysd-link.h.
3866 * sysdeps/generic/sysd-link.h: New file.
3867 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
3868 * elf/Makefile (distribute): Add sysd-link.h.
3869 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
3870 types and functions directly.
3871 * elf/dl-misc.c: Likewise.
3872 * elf/dl-profile.c: Likewise.
3874 * elf/loadfail.c (main): Close all successfully loaded objects.
3876 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
3878 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
3879 there is already one.
3881 * elf/dl-close.c: Pretty print.
3883 2000-08-14 Ulrich Drepper <drepper@redhat.com>
3885 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
3886 global (with file scope). Add __libc_subfreeres function to free the
3888 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
3889 in ttyname function.
3891 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
3893 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
3895 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
3896 mapping them to /x5c and /x7e respectively.
3898 * locale/programs/ld-ctype.c: Add support for more definitions after
3901 2000-08-14 Jakub Jelinek <jakub@redhat.com>
3903 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
3904 * sysdeps/unix/sysv/linux/kernel-features.h
3905 (__ASSUME_GETDENTS64_SYSCALL): Define.
3906 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
3907 syscall if available to get d_type fields.
3908 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
3909 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
3910 __lxstat64): Export at GLIBC_2.2.
3911 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
3913 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
3914 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
3915 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
3916 getdirentries64, versionsort64): Remove.
3917 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
3918 getdirentries64, versionsort64): Remove.
3920 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3922 * posix/Makefile: Remove rules to generate glob package.
3924 * posix/Makefile (tests): Add tst-regexloc.
3925 (tst-regexloc-ENV): Add LOCPATH.
3926 * posix/tst-regexloc.c: New file.
3928 2000-08-12 Andreas Jaeger <aj@suse.de>
3930 * include/features.h (__STDC_ISO_10646__): Define.
3931 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
3933 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3935 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
3937 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
3938 for revision 6 and up).
3940 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
3942 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
3943 to get definitions of just these types.
3945 * signal/signal.h: Define thread signal handling functions also for
3948 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
3950 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3951 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3952 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3953 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3955 * sysvipc/sys/shm.h: Define pid_t for XPG.
3957 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
3958 they are not anymore required here.
3960 * wcsmbs/wchar.h: Make the various wide char string and stream
3961 functions available for the respective XPG versions.
3963 * nss/Makefile: Remove rules to build and distribute nss_db.
3965 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
3966 * sysdeps/generic/scandir64.c: Likewise.
3967 * sysdeps/generic/versionsort64.c: Likewise.
3969 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3970 Benjamin Koznik <bkoz@redhat.com>
3972 * libio/fileops.c: Merge with libstdc++-v3.
3973 * libio/genops.c: Likewise.
3974 * libio/iofclose.c: Likewise.
3975 * libio/iofopen.c: Likewise.
3976 * libio/iofwide.c: Likewise.
3977 * libio/libio.h: Likewise.
3978 * libio/libioP.h: Likewise.
3979 * libio/stdfiles.c: Likewise.
3980 * libio/stdio.c: Likewise.
3981 * libio/wfileops.c: Likewise.
3982 * libio/wgenops.c: Likewise.
3984 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
3986 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3988 * locale/programs/localedef.c: Implement --prefix option to allow
3989 writing in standard places of alternative install directories.
3991 * posix/regex.c (compile_range): Implement collation sequence
3992 handling for glibc. Use simple character ordering otherwise and
3995 2000-08-12 Mark Kettenis <kettenis@gnu.org>
3997 * sysdeps/generic/scandir64.c: Include <dirent.h>.
3999 2000-08-12 Andreas Jaeger <aj@suse.de>
4001 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
4002 __USE_FILE_OFFSET64 correctly for locking.
4003 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4005 2000-08-12 Jakub Jelinek <jakub@redhat.com>
4007 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4008 Define for 2.4.1 on sparc as well.
4009 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
4010 for F_GETLK64, F_SETLK64, and F_SETLKW64.
4011 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
4012 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
4014 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4016 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
4019 2000-08-12 Andreas Jaeger <aj@suse.de>
4021 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
4022 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
4024 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
4025 mips2 for assembler.
4027 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
4028 if fnctl64 is not available for F_*LK*64.
4030 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
4032 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4034 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4035 Define for 2.4.1 on x86.
4036 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
4037 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
4038 for F_GETLK64, F_SETLK64, and F_SETLKW64.
4040 * dirent/dirent.h: Define DT_WHT.
4042 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
4043 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
4044 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
4045 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
4046 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
4047 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
4049 2000-08-11 Ulrich Drepper <drepper@redhat.com>
4051 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
4052 lookup, pass pointer to array with NULL pointer [PR libc/1858].
4053 * inet/Makefile (tests): Add tst-gethnm.
4054 * inet/tst-gethnm.c: New file.
4056 * rt/aio_cancel.c: If canceling a specific request which is running
4057 *really* do nothing.
4058 * rt/aio_misc.h: Add `done' to states of a request.
4059 * rt/aio_misc.c: Add several tests for the correct state.
4060 Simplify request table memory handling.
4062 2000-08-10 Jakub Jelinek <jakub@redhat.com>
4064 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
4065 * dirent/scandir64.c: Move...
4066 * sysdeps/generic/scandir64.c: ...here.
4067 * dirent/alphasort64.c: Move...
4068 * sysdeps/generic/alphasort64.c: ...here.
4069 * dirent/versionsort64.c: Move...
4070 * sysdeps/generic/versionsort64.c: ...here.
4071 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
4072 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
4073 Export symbols at GLIBC_2.2.
4074 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
4075 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
4076 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
4077 __versionsort64): Add prototypes.
4078 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
4079 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
4081 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
4083 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
4084 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
4085 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
4086 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
4088 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
4089 Adjust for kernel-2.4.0-test6 layout.
4090 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
4091 GLIBC_2.1 and GLIBC_2.2.
4092 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
4093 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
4094 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
4095 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
4096 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
4097 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
4098 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
4099 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
4100 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
4101 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
4102 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
4103 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
4104 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
4105 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
4107 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
4108 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
4109 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
4110 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
4111 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
4112 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
4113 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
4115 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
4116 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
4118 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
4119 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
4120 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
4121 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
4122 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
4124 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
4126 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
4128 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
4129 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
4130 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
4131 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
4132 st_ino from __st_ino.
4133 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
4134 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
4135 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
4136 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
4137 set __st_ino in addition to st_ino.
4138 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
4139 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
4140 __old_getdents64 as well.
4141 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
4142 getdirentries64 and old_getdirentries64 as well.
4143 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
4144 __GETDENTS): Define.
4145 (GETDENTS64): Remove.
4146 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
4148 (GETDENTS64): Remove.
4149 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
4150 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
4151 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
4153 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
4154 __old_readdir64_r as well.
4155 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4156 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
4158 2000-08-08 Jes Sorensen <jes@linuxcare.com>
4160 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
4161 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
4162 define of the kernel.
4163 Add missing __SEG_PSTKOVF definition.
4164 Adjust the padding of struct siginfo and struct sigevent to
4165 match the fact that sigval_t is 64 bit.
4167 2000-08-10 Ulrich Drepper <drepper@redhat.com>
4169 * timezone/zic.c: Update from tzcode2000f.
4170 * timezone/australasia: Update from tzdata2000f.
4171 * timezone/europe: Likewise.
4172 * timezone/southamerica: Likewise.
4173 * timezone/yearistype: Likewise.
4175 2000-08-10 Andreas Jaeger <aj@suse.de>
4177 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
4178 stat with current MIPS kernel.
4180 2000-08-01 Mark Kettenis <kettenis@gnu.org>
4182 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
4183 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
4184 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
4185 Remove the junk that's only relevant in the Linux kernel itself.
4186 Add a warning saying that this file is now obsolete, and include
4188 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
4189 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
4190 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
4191 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
4192 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
4193 and add the notice that the file is primarily there for GDB.
4194 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
4196 2000-08-09 Jakub Jelinek <jakub@redhat.com>
4198 * time/tzfile.c (__tzfile_compute): __tzstring zones
4201 2000-08-09 Jakub Jelinek <jakub@redhat.com>
4203 * resolv/resolv.h (__res_state): Surround prototype with
4204 __BEGIN_DECLS/__END_DECLS.
4205 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
4207 2000-08-04 Jes Sorensen <jes@linuxcare.com>
4209 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
4210 Make independant of asm/resource.h from the Linux kernel.
4212 2000-08-06 Bruno Haible <haible@clisp.cons.org>
<