1 2000-09-29 H.J. Lu <hjl@gnu.org>
3 * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
5 2000-09-29 H.J. Lu <hjl@gnu.org>
7 * sysdeps/ia64/bits/huge_val.h: New file.
9 2000-09-29 Ulrich Drepper <drepper@redhat.com>
11 * elf/chroot_canon.c: Don't report a failure if the last path
12 component is not available.
13 * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting
16 * elf/cache.c (print_cache): Use stat64 instead of stat.
17 * elf/ldconfig.c (chroot_stat): Likewise.
18 (create_links): Likewise.
19 (manual_link): Likewise.
20 (search_dir): Likewise.
21 * elf/readlib.c (process_file): Likewise.
23 * Makefile (install): Set LC_ALL and LANGUAGE to C before running
26 2000-09-29 Jakub Jelinek <jakub@redhat.com>
28 * elf/chroot_canon.c: New file.
29 * elf/Makefile: Build and distribute it.
30 * elf/ldconfig.h (process_file): Add real_file_name argument.
31 (chroot_canon): Add prototype.
32 * elf/ldconfig.c (cache_file): Remove const.
34 (create_links): Add real_path argument.
35 If opt_chroot, maintain both real and given filenames.
36 (manual_link): Likewise.
37 (search_dir): Likewise.
38 (parse_conf): If opt_chroot, use chroot_canon to find the real
40 (main): For -r, try to use chroot, if it fails, leave opt_chroot set
41 and use chroot_canon where appropriate to do the same as if chroot
43 * elf/readlib.c (process_file): Add real_file_name argument, pass it
46 2000-09-29 Ulrich Drepper <drepper@redhat.com>
48 * math/complex.h (_Complex): We can be more specific when _Complex
49 is defined by the compiler.
51 2000-09-29 H.J. Lu <hjl@gnu.org>
53 * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
55 * elf/cache.c (print_entry): Replace 64bit with IA-64 in message
58 2000-09-29 Andreas Schwab <schwab@suse.de>
60 * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
62 * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
64 2000-09-29 Mark Kettenis <kettenis@gnu.org>
66 * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
67 implementation for use by the dynamic linker.
69 2000-09-29 Andreas Jaeger <aj@suse.de>
71 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
73 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
75 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
76 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
77 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80 2000-09-29 Andreas Jaeger <aj@suse.de>
82 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
84 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
86 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
87 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
88 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91 2000-09-29 David Mosberger <davidm@hpl.hp.com>
93 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
95 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
97 2000-06-10 David Mosberger <davidm@hpl.hp.com>
99 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
100 works: call to __sigjmp_save must be done unconditionally to
101 ensure jmp_buf is initialized properly.
103 2000-09-27 Andreas Jaeger <aj@suse.de>
105 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
108 2000-09-29 Jakub Jelinek <jakub@redhat.com>
110 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
111 Use nscd_ssize_t where appropriate.
112 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
113 ssize_t where appropriate.
114 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
115 * nscd/hstcache.c (cache_addhst): Likewise.
116 * nscd/grpcache.c (cache_addgr): Likewise.
117 * sysdeps/generic/nscd-types.h: New file.
118 * sysdeps/alpha/nscd-types.h: New file.
120 2000-09-29 Ulrich Drepper <drepper@redhat.com>
122 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
123 INADDR_LOOPBACK instead of numeric value.
125 2000-09-28 H.J. Lu <hjl@gnu.org>
127 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
129 (ELF_MACHINE_FIXED_STACK): Removed.
131 2000-09-29 Andreas Jaeger <aj@suse.de>
133 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
135 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
137 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
139 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
141 2000-09-28 Ulrich Drepper <drepper@redhat.com>
143 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
144 relocation also for R_ALPHA_RELATIVE.
145 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
147 2000-09-18 Bruno Haible <haible@clisp.cons.org>
149 * intl/dcigettext.c: Outside libc, use local variable names that don't
150 clash with those in libc.
151 * intl/bindtextdom.c: Likewise.
152 * intl/textdomain.c: Likewise.
154 2000-09-28 Ulrich Drepper <drepper@redhat.com>
156 * elf/ldconfig.c (parse_conf): Print full name of config dir
157 including chroot() path.
158 (main): Remove trailing / from opt_chroot string.
160 * include/features.h: Correct description of what happens if no
161 *_SOURCE macro is defined.
163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
164 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
166 2000-09-19 H.J. Lu <hjl@gnu.org>
168 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
169 * malloc/malloc.c (__memalign_hook): Likewise.
170 (memalign_hook_ini): Likewise.
172 2000-09-28 Ulrich Drepper <drepper@redhat.com>
174 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
176 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
177 underlying functions directly.
179 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
180 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
181 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
182 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
183 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
184 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
185 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
187 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
189 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
190 define it for powerpc for kernel >= 2.4.0.
191 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
193 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
194 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
195 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
196 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
197 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
198 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
200 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
202 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
204 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
205 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
207 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
209 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
211 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
213 2000-09-27 Andreas Schwab <schwab@suse.de>
215 * math/Makefile (distribute): Explicitly add the long double test
216 sources, to get them included even if long double is not supported.
218 2000-09-27 Jes Sorensen <jes@linuxcare.com>
220 * elf/soinit.c (struct object): Move definition to gccframe.h and
221 include it. Problem identified by HJ Lu.
223 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
224 struct object to be searched for frame unwind info.
225 * sysdeps/generic/gccframe.h: New file. Generic version of
226 struct object to be searched for frame unwind info.
228 2000-09-28 Ulrich Drepper <drepper@redhat.com>
230 * manual/errno.texi: Correct error text for ENXIO.
231 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
233 2000-09-27 Jes Sorensen <jes@linuxcare.com>
235 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
236 exception status bits rather than the exception disable bits.
237 Don't include math.h.
239 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
240 status of exceptions currently raised rather than which exceptions
243 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
244 rather than unsigned long int.
246 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
247 the exceptions actually requested by the caller and not just
248 disable all exceptions.
250 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
251 the ia64 are enabled by clearing the respective bits in the fpsr,
254 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
255 unsigned long int rather than unsigned long to be consistent with
256 the coding conventions.
258 2000-09-20 H.J. Lu <hjl@gnu.org>
260 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
262 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
264 2000-09-28 Ulrich Drepper <drepper@redhat.com>
266 * string/bits/string2.h: Unify #if usage.
268 2000-09-27 Jakub Jelinek <jakub@redhat.com>
270 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
271 and disabling underflow or overflow, disable inexact as well.
273 2000-09-26 Andreas Jaeger <aj@suse.de>
275 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
277 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
279 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
280 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
282 * elf/ldconfig.c (search_dir): Allow unlimited path length.
283 (create_links): Likewise.
285 2000-09-27 Ulrich Drepper <drepper@redhat.com>
287 * posix/tst-dir.c: Test a few error cases of chdir.
289 2000-09-26 Ulrich Drepper <drepper@redhat.com>
291 * math/math_private.h: Don't add long double prototypes if
292 NO_LONG_DOUBLE is defined.
294 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
296 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
297 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
299 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
301 2000-09-26 Jakub Jelinek <jakub@redhat.com>
303 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
304 * sysdeps/sparc/sparc32/ieee754.h: New.
305 * sysdeps/sparc/sparc64/bits/endian.h: Move...
306 * sysdeps/sparc/bits/endian.h: ...here.
307 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
308 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
309 %o1, not %o0 to see if we're parent or child. Optimize.
311 2000-09-26 Jes Sorensen <jes@linuxcare.com>
313 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
315 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
317 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
319 2000-09-20 H.J. Lu <hjl@gnu.org>
321 * sysdeps/ia64/fpu/printf_fphex.c: New file.
323 * sysdeps/ia64/fpu/libm-test-ulps: New file.
325 2000-09-17 H.J. Lu <hjl@gnu.org>
327 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
329 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
330 sysdeps/i386/fpu/s_isinfl.c.
332 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
333 sysdeps/i386/fpu/s_isnanl.c.
335 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
336 sysdeps/i386/fpu/s_nextafterl.c.
338 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
339 sysdeps/i386/fpu/bits/mathdef.h.
341 2000-09-16 H.J. Lu <hjl@gnu.org>
343 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
344 DL_UNMAP_IS_SPECIAL is not defined.
346 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
347 (_dl_unmap): New prototype.
348 (DL_UNMAP): New. Defined as _dl_unmap.
350 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
352 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
354 2000-09-16 H.J. Lu <hjl@gnu.org>
356 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
357 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
359 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
361 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
363 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
364 the memory location of a function from a function descriptor.
366 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
368 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
371 2000-09-14 Jes Sorensen <jes@linuxcare.com>
373 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
374 variable as input argument.
375 (__bswap_32): Likewise.
377 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
378 - found by Jim Wilson <wilson@cygnus.com>
380 2000-09-26 Ulrich Drepper <drepper@redhat.com>
382 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
385 2000-09-26 Andreas Schwab <schwab@suse.de>
387 * locale/programs/ld-collate.c (collate_output): Only require
388 alignment on __alignof__ (int32_t) instead of 4.
389 * locale/loadlocale.c (_nl_load_locale): Likewise.
390 * string/strcoll.c: Likewise.
392 2000-09-26 Jes Sorensen <jes@linuxcare.com>
394 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
395 parentheses around arithmetic used in | statement to kill compiler
398 * math/math_private.h: Add prototype for __finitel.
399 (__ilogbl): Likewise.
400 (__isinfl): Likewise.
401 (__isnanl): Likewise.
403 (__copysignl): Likewise.
404 (__expm1l): Likewise.
405 (__floorl): Likewise.
406 (__frexpl): Likewise.
407 (__ldexpl): Likewise.
408 (__log1pl): Likewise.
411 (__scalbnl): Likewise.
414 (__sincosl): Likewise.
416 2000-09-26 Andreas Schwab <schwab@suse.de>
418 * sysdeps/m68k/fpu/libm-test-ulps: New file
420 2000-09-26 Ulrich Drepper <drepper@redhat.com>
422 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
424 2000-09-26 Andreas Jaeger <aj@suse.de>
426 * misc/mkstemp64.c: New file.
427 * misc/Makefile (routines): Add mkstemp64.
428 * stdlib/stdlib.h: Add prototype and redirection magic.
429 * misc/Versions: Add mkstemp64.
431 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
433 * nscd/dbg_log.c (dbg_log): Add missing format string.
435 2000-09-26 Ulrich Drepper <drepper@redhat.com>
437 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
438 since we filter out the variable once.
439 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
440 * locale/newlocale.c (__newlocale): Likewise.
441 * locale/setlocale.c (setlocale): Likewise.
442 * malloc/malloc.c (ptmalloc_init): Likewise.
443 * resolv/res_hconf.c (_res_hconf_init): Likewise.
444 * resolv/res_init.c (__res_vinit): Likewise.
445 * time/tzfile.c (__tzfile_read): Likewise.
446 * sysdeps/generic/unsecvars.h: New file.
447 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
448 * elf/rtld.c (process_envvars): Likewise.
449 * elf/Makefile (distribute): Add unsecvars.h.
451 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
452 real /dev/null device.
454 * sysdeps/generic/check_fds.c: Include device-nrs.h.
455 * sysdeps/generic/device-nrs.h: New file.
456 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
457 * misc/Makefile (distribute): Add device-nrs.h.
459 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
460 remove possible garbage at the end of the file.
462 2000-09-25 Ulrich Drepper <drepper@redhat.com>
464 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
465 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
466 * stdio-common/tempnam.c: Warn about insecure tempnam.
467 * misc/mktemp.c: Warn about insecure mktemp.
469 * sysdeps/generic/check_fds.c: Check that file opened is really
471 * posix/wordexp.c (exec_comm_child): Likewise.
473 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
475 * locale/Makefile (routines): Add nl_langinfo_l.
476 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
477 * locale/nl_langinfo_l.c: New file.
478 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
481 2000-09-23 Bruno Haible <haible@clisp.cons.org>
483 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
484 (__gbk_to_ucs): Conditionalize private area mappings.
485 (__gbk_from_ucs4_tab9): Likewise.
486 (BODY for TO_LOOP): Likewise.
487 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
488 * iconvdata/testdata/GBK..UTF-8: Likewise.
489 * iconvdata/tst-tables.sh: Enable GBK test.
491 2000-09-23 Bruno Haible <haible@clisp.cons.org>
493 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
494 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
495 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
497 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
498 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
500 2000-09-23 Bruno Haible <haible@clisp.cons.org>
502 * iconvdata/johab.c (final_to_ucs): Fix typos.
503 (jamo_from_ucs_table): Likewise.
504 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
505 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
506 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
507 the range 0xD9E6..0xD9FE.
508 * iconvdata/tst-tables.sh: Enable JOHAB testing.
510 2000-09-25 Ulrich Drepper <drepper@redhat.com>
512 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
515 2000-09-24 Ulrich Drepper <drepper@redhat.com>
517 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
518 stream is in wide mode.
520 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
522 2000-09-21 Bruno Haible <haible@clisp.cons.org>
524 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
526 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
528 2000-09-21 Bruno Haible <haible@clisp.cons.org>
530 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
531 reallocation logic for MALLOC (%as, %aS formats).
533 2000-09-24 Ulrich Drepper <drepper@redhat.com>
535 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
536 Add missing case in va_arg handling for numbers.
537 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
539 * stdio/tst-printf.sh: Adjust expected results.
540 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
542 2000-09-20 Bruno Haible <haible@clisp.cons.org>
544 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
545 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
547 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
548 as equivalent to uppercase hexadecimal digits.
550 2000-09-20 Bruno Haible <haible@clisp.cons.org>
552 * iconvdata/testdata/EUC-KR..UTF8: New file.
553 * iconvdata/testdata/EUC-TW: New file.
554 * iconvdata/testdata/EUC-TW..UTF8: New file.
555 * iconvdata/testdata/EUC-JP: New file.
556 * iconvdata/testdata/EUC-JP..UTF8: New file.
557 * iconvdata/testdata/ISO-2022-JP: New file.
558 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
559 * iconvdata/testdata/ISO-2022-JP-2: New file.
560 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
561 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
562 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
563 * iconvdata/testdata/ISO-2022-CN: New file.
564 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
565 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
566 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
567 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
568 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
570 2000-09-24 Andreas Jaeger <aj@suse.de>
572 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
573 function add_single_dir.
574 (add_single_dir): New function.
575 (search_dir): Use add_single_dir instead of recursing.
577 * sysdeps/generic/dl-cache.h: Include stdint.h.
578 (struct file_entry_new): Use fixed sizes for interoperability
579 between 32bit and 64bit systems, add __unused to make alignment
581 (CACHE_VERSION): Increment.
582 (struct cache_file_new): Use fixed sizes, add one more unused
583 entry to make alignment explicit.
585 2000-09-24 Ulrich Drepper <drepper@redhat.com>
587 * elf/ldconfig.c (search_dir): Make more use of d_type information.
589 2000-09-23 Ulrich Drepper <drepper@redhat.com>
591 * stdio-common/printf-parse.h (parse_one_spec): Clear
592 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
594 2000-09-18 Mark Kettenis <kettenis@gnu.org>
596 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
597 #undef since we don't have msync.
599 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
600 constant since that is what clock_t is.
601 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
603 2000-09-11 Mark Kettenis <kettenis@gnu.org>
605 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
606 multiply by LOAD_SCALE.
608 2000-09-22 Jakub Jelinek <jakub@redhat.com>
610 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
611 (crypt_r, setkey_r, encrypt_r): Likewise.
613 2000-09-22 Andreas Jaeger <aj@suse.de>
615 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
618 * sysdeps/alpha/fpu/libm-test-ulps: New file.
619 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
621 2000-09-21 Andreas Jaeger <aj@suse.de>
623 * math/libm-test.inc (atan_test): Test for existence of function.
624 (expm1_test): Likewise.
625 (acos_test): Likewise.
626 (asin_test): Likewise.
627 (exp_test): Likewise.
628 (log10_test): Likewise.
629 (log_test): Likewise.
630 (pow_test): Likewise.
631 (sqrt_test): Likewise.
632 (cos_test): Likewise.
633 (sin_test): Likewise.
634 (tan_test): Likewise.
635 (log1p_test): Likewise.
636 (log2_test): Likewise.
638 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
640 * libio/oldiofsetpos64.c: Fix alias names.
642 2000-09-21 Martin Buchholz <martin@xemacs.org>
644 * manual/terminal.texi (Allocation): Sample code correction.
646 2000-09-20 Andreas Jaeger <aj@suse.de>
648 * iconvdata/Makefile (generated): Add tst-tables.out.
650 * intl/Makefile (generated): Add test output.
652 2000-09-19 Andreas Jaeger <aj@suse.de>
654 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
655 Reported by Jens-Uwe Mager <jum@helios.de>.
657 2000-09-18 Ulrich Drepper <drepper@redhat.com>
659 * version.h (VERSION): Bump to 2.1.94.
661 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
662 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
663 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
664 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
666 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
668 2000-09-17 Bruno Haible <haible@clisp.cons.org>
670 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
671 range 0xD800..0xDFFF.
672 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
673 (BODY for FROM_LOOP): Likewise.
674 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
675 (internal_ucs2_loop): Likewise.
676 (ucs2reverse_internal_loop): Likewise.
677 (internal_ucs2reverse_loop): Likewise.
679 2000-09-17 Bruno Haible <haible@clisp.cons.org>
681 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
684 2000-09-17 Bruno Haible <haible@clisp.cons.org>
686 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
687 * iconvdata/tst-table-to.c (main): Likewise.
689 2000-09-17 Bruno Haible <haible@clisp.cons.org>
691 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
693 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
694 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
695 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
696 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
697 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
698 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
699 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
700 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
701 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
702 encodings when needed. When outputting an announcement, don't clear
703 most other announcements.
705 2000-09-17 Bruno Haible <haible@clisp.cons.org>
707 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
708 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
710 2000-09-14 Bruno Haible <haible@clisp.cons.org>
712 * intl/Versions: Add bind_textdomain_codeset.
714 2000-09-16 Ralf Baechle <ralf@gnu.org>
716 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
718 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
719 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
720 it will even work when not loaded to the standard address.
721 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
722 before the dynamic linker itself is relocated.
724 2000-09-18 Andreas Jaeger <aj@suse.de>
726 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
727 __ASSUME_32BITUIDS for MIPS.
728 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
729 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
731 2000-09-17 H.J. Lu <hjl@gnu.org>
733 * catgets/Makefile ($(objpfx)de/libc.cat): Use
734 $(make-target-directory) instead of mkdir.
736 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
738 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
739 __ASSUME_32BITUIDS for __powerpc__.
740 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
741 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
743 2000-09-17 Ulrich Drepper <drepper@redhat.com>
745 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
747 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
749 2000-09-16 Jakub Jelinek <jakub@redhat.com>
751 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
753 * sysdeps/m68k/Implies: Likewise.
754 * sysdeps/sparc/sparc64/Implies: Likewise.
756 2000-09-16 Jakub Jelinek <jakub@redhat.com>
758 * elf/readlib.c (process_file): Don't error for stale .so links either.
760 2000-09-16 Ulrich Drepper <drepper@redhat.com>
762 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
765 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
766 Patch by Thorsten Kukuk <kukuk@suse.de>.
768 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
770 (modules-names): Add defaultmod1 and defaultmod2.
771 Add rules to build test objects.
773 2000-09-15 Ulrich Drepper <drepper@redhat.com>
775 * wctype/wctype.h: Always include <bits/types.h>.
776 Reported by Jim Meyering <meyering@ascend.com>.
778 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
779 * elf/dl-support.c: Likewise.
781 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
782 st_blocks member in stat and stat64 structs.
783 Patch by Bill Nottingham <notting@redhat.com>.
785 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
788 * math/complex.h: Don't define _Complex macro for gcc 3. Add
789 __extension__ to _Complex_I definition since gcc warns if -pedantic.
790 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
791 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
793 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
794 necessary. Move includes of POSIX and Unix limits files to the end.
795 * stdlib/Makefile (tests): Add tst-limits.
796 * stdlib/tst-limits.h: New file.
798 2000-09-15 Andreas Jaeger <aj@suse.de>
800 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
802 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
804 2000-09-15 Jakub Jelinek <jakub@redhat.com>
806 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
808 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
809 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
811 2000-09-15 Ulrich Drepper <drepper@redhat.com>
813 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
815 (modules-names): Add nextmod1 and nextmod2.
816 Add rules to build and run next.
817 * elf/next.c: New file.
818 * elf/nextmod1.c: New file.
819 * elf/nextmod2.c: New file.
821 2000-09-14 Jakub Jelinek <jakub@redhat.com>
823 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
825 2000-09-15 Andreas Jaeger <aj@suse.de>
827 * sysdeps/mips/fpu/fenv_libc.h: New file.
828 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
829 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
830 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
832 * sysdeps/mips/fpu/feenablxcpt.c: New file.
833 * sysdeps/mips/fpu/fegetexcept.c: New file.
834 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
836 2000-09-14 Ulrich Drepper <drepper@redhat.com>
838 * intl/Makefile: Avoid unnecessary test reruns.
840 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
842 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
843 to not use sysctl(). Too many architectures have problems with it.
845 2000-09-14 Andreas Jaeger <aj@suse.de>
847 * scripts/config.sub: New version from subversions.gnu.org.
849 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
852 2000-09-14 Jakub Jelinek <jakub@redhat.com>
854 * posix/regex.c (compile_range): Cast collseq index to unsigned char
855 to avoid accessing data before collseq.
857 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
858 pasting strings together.
860 2000-09-14 Greg McGary <greg@mcgary.org>
862 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
864 * sysdeps/generic/bp-semctl.h: Likewise.
865 * sysdeps/generic/bp-start.h: Likewise.
866 * sysdeps/generic/bp-sym.h: Likewise.
867 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
870 2000-09-13 Ulrich Drepper <drepper@redhat.com>
872 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
875 * elf/elf.h: Add missing official relocations.
877 * libio/stdio.h: Define __FILE if __need___FILE is defined.
878 * stdio/stdio.h: Likewise.
879 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
880 * include/stdio.h: Handle __need___FILE like __need_FILE.
881 * include/wchar.h: Use __FILE instead of FILE.
882 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
883 * libio/fwscanf.c: Likewise.
884 * libio/getwc.c: Likewise.
886 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
887 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
888 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
890 * assert/assert.h: Update comment header about ISO C section.
891 * math/complex.h: Likewise.
892 * ctype/ctype.h: Likewise.
893 * include/errno.h: Likewise.
894 * include/limits.h: Likewise.
895 * locale/locale.h: Likewise.
896 * math/math.h: Likewise.
897 * setjmp/setjmp.h: Likewise.
898 * signal/signal.h: Likewise.
899 * stdio/stdio.h: Likewise.
900 * libio/stdio.h: Likewise.
901 * stdlib/stdlib.h: Likewise.
902 * string/string.h: Likewise.
903 * time/time.h: Likewise.
904 * wcsmbs/wchar.h: Likewise.
905 * wctype/wctype.h: Likewise.
906 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
908 2000-09-13 Andreas Jaeger <aj@suse.de>
910 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
912 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
913 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
914 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
916 2000-09-13 Ulrich Drepper <drepper@redhat.com>
918 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
919 constant since this is what clock_t is.
920 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
921 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
922 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
923 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
925 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
926 definitions are requested.
928 2000-09-13 Andreas Jaeger <aj@suse.de>
930 * shlib-versions: libBrokenLocale needs minimal version for ia64,
931 sparc64 and sh to synch with libc.
933 2000-09-13 Ulrich Drepper <drepper@redhat.com>
935 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
936 (distribute): Add iso-2022-cn-ext.c.
937 Add definitions to compile the new module.
938 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
939 * iconvdata/iso-2022-cn-ext.c: New file.
940 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
941 ucs4_from_isoir165. Increment input pointer if successful.
943 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
945 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
947 2000-09-01 Jes Sorensen <jes@linuxcare.com>
949 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
950 __syscall_getdents64 wrapper.
952 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
954 2000-09-12 Ulrich Drepper <drepper@redhat.com>
956 * iconvdata/gb18030.c: Many many changes. Make consistent with
957 charmap and with itself.
958 * iconvdata/tst-tables.sh: Test GB18030.
960 2000-09-11 Ulrich Drepper <drepper@redhat.com>
962 * iconv/skeleton.c: Fix last patch, add missing parameter to
963 unaligned function call.
965 2000-09-10 Bruno Haible <haible@clisp.cons.org>
967 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
970 2000-09-11 Bruno Haible <haible@clisp.cons.org>
972 * locale/programs/ld-collate.c (collate_read): Always initialize
975 2000-09-10 Bruno Haible <haible@clisp.cons.org>
977 * locale/programs/ld-collate.c (collate_finish): Upper bound for
978 ruleidx is 128, not 256.
980 2000-09-11 Ulrich Drepper <drepper@redhat.com>
982 * locale/programs/ld-collate.c (collate_read): Correct check for
983 already inserted entries.
985 2000-09-10 Bruno Haible <haible@clisp.cons.org>
987 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
990 2000-09-10 Bruno Haible <haible@clisp.cons.org>
992 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
993 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
995 2000-09-10 Bruno Haible <haible@clisp.cons.org>
997 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
1000 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1002 * iconvdata/utf-7.c: New file.
1003 * iconvdata/gconv-modules (UTF-7): New module entries.
1004 * iconvdata/Makefile (modules): Add UTF-7.
1005 (distribute): Add utf-7.c.
1006 * iconvdata/testdata/UTF-7: New file.
1007 * iconvdata/testdata/UTF-7..UTF8: New file.
1008 * iconvdata/TESTS (UTF-7): New entry.
1009 * iconvdata/run-iconv-test.sh: Fix confusing output.
1011 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1013 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
1015 2000-09-10 David S. Miller <davem@redhat.com>
1017 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
1018 frame pointer offset for non-fast path.
1020 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1022 * locale/programs/3level.h (*_init): Initialize level1, level2,
1024 (*_add): Remove a few unnecessary conditionals.
1026 2000-09-05 Wolfram Gloger <wg@malloc.de>
1028 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
1029 ensure usability of mutex as an `in use' flag.
1031 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1033 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
1035 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
1036 ugly GMON_WEAK_START hack.
1037 Patch by Philip Blundell <philb@gnu.org>.
1039 * sysdeps/i386/i486/bits/string.h: Pretty printing.
1041 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1043 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
1044 and PPC_ICBI asm for broken compilers.
1045 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1047 2000-09-09 Andreas Jaeger <aj@suse.de>
1049 * manual/message.texi (Advanced gettext functions): Fix typo.
1051 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
1054 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1056 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
1058 * sysdeps/ia64/memccpy.S: Likewise.
1059 Patches by Jim Wilson <wilson@redhat.com>.
1061 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
1062 before trying to read /proc.
1063 Patch by Matt Wilson <msw@redhat.com>.
1064 * include/sys/utsname.h: Declare __uname.
1065 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
1066 * sysdeps/mach/hurd/uname.c: Likewise.
1067 * sysdeps/unix/syscalls.list: Likewise.
1069 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
1072 2000-09-08 Ulrich Drepper <drepper@redhat.com>
1074 * posix/getopt.c (_getopt_internal): When long_only is set always
1075 recognize conflicts just like before.
1077 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1079 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
1081 2000-09-08 Greg McGary <greg@mcgary.org>
1083 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
1084 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
1085 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
1087 2000-09-08 Andreas Jaeger <aj@suse.de>
1089 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
1091 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
1093 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
1094 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1095 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
1097 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1099 * iconvdata/tst-tables.sh: Enable EUC-KR test.
1101 * elf/dl-load.c (lose): Decrement _nl_loaded.
1102 (_dl_map_object_from_fd): Don't try to dlopen executables.
1104 * iconvdata/tst-tables.sh: Actually return with an error if
1105 something goes wrong.
1106 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
1107 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
1109 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
1111 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
1112 * iconvdata/tst-table-from.c: Include <string.h>.
1113 (try): Correct cast in iconv call.
1115 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
1117 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
1118 (sysdep_routines): Remove dl-start.
1119 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1121 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
1123 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
1124 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1126 2000-09-06 Andreas Schwab <schwab@suse.de>
1128 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
1130 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1132 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
1134 * scripts/config.sub: Strip out -unknown for Linux targets.
1135 Patch by Scott Bambrough <scottb@netwinder.org>.
1137 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
1140 2000-09-07 Andreas Jaeger <aj@suse.de>
1142 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
1144 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
1147 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
1149 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
1150 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1152 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
1154 * stdlib/tst-bsearch.c (main): Add more test cases.
1156 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
1157 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1158 Reported by GOTO Masanori <gotom@debian.or.jp>.
1160 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1162 * posix/Makefile (tests): Add tst-dir.
1163 (tst-dir-ARGS): New variable.
1164 * posix/tst-dir.c: New file.
1166 2000-09-07 Andreas Jaeger <aj@suse.de>
1168 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
1171 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
1173 2000-09-06 Ulrich Drepper <drepper@redhat.com>
1175 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
1176 use the hack with tryopen_o_directory to determine at runtime
1178 * sysdeps/unix/sysv/linux/opendir.c: New file.
1179 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1180 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
1182 * catgets/Depend: New file. Add intl.
1183 * catgets/Makefile (tests): Add tst-catgets.
1184 (generated): Remove de.msg.
1185 (generated-dirs): Add de.
1186 Add dependency if tst-catgets output on de/libc.cat.
1187 * catgets/tst-catgets.c: New file.
1189 * po/ja.po: New file.
1190 * po/el.po: Update from translation team.
1192 * wcsmbs/Depend: New file.
1193 * wcsmbs/Makefile (tests): Add tst-btowc.
1194 (tst-btowc-ENV): Define.
1195 * wcsmbs/tst-btowc.c: New file.
1197 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
1198 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
1200 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
1202 * stdlib/Makefile (tests): Add tst-bsearch.
1203 * stdlib/tst-bsearch.c: New file.
1205 * posix/getopt.c (_getopt_internal): Don't recognize an option
1206 name as ambiguous if it's a prefix for more than one name but the
1207 other struct option values are identical.
1209 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
1210 Don't depend on visual inspection of the output file to recognize
1212 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
1214 2000-09-06 Andreas Jaeger <aj@suse.de>
1216 * sysdeps/alpha/soft-fp/Dist: New file.
1217 * sysdeps/i386/soft-fp/Dist: New file.
1218 * sysdeps/mips/mips64/soft-fp/Dist: New file.
1219 * sysdeps/mips/soft-fp/Dist: New file.
1220 * sysdeps/powerpc/soft-fp/Dist: New file.
1221 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
1222 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
1224 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
1225 Use sysdep_routines instead of routines to fix make dist failure.
1226 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
1228 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
1230 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
1231 sysdep_headers instead of headers for make dist.
1233 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
1236 2000-09-06 Andreas Schwab <schwab@suse.de>
1238 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
1240 2000-09-06 Andreas Jaeger <aj@suse.de>
1242 * soft-fp/Makefile (distribute): Remove ChangeLog.
1244 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
1245 sysdep_routines instead of routines for make dist.
1247 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1249 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
1250 compatibility check for old stream and call _IO_wide in doubt.
1251 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
1252 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
1253 needed tst for such an old structure and don't do anything.
1254 * libio/freopen.c: Remove declaration of _IO_stdin_used.
1256 2000-09-06 Andreas Jaeger <aj@suse.de>
1258 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
1259 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1262 * soft-fp/ChangeLog: Merged with this file.
1264 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1266 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
1268 * soft-fp/Makefile (distribute): Add the math functions, too.
1270 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
1272 2000-03-03 Geoff Keating <geoffk@cygnus.com>
1274 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
1277 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
1278 * soft-fp/sysdeps/powerpc/q_*: New files.
1280 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1282 * stdio-common/vfprintf.c (process_string_arg): Handle precision
1283 in wide char case correctly. Don't allocate too long temporary
1284 strings with alloca.
1286 * stdio-common/Makefile (tests): Add tst-swprintf.
1287 (tst-swprintf-ENV): New variable.
1288 * stdio-common/tst-swprintf.c: New file.
1290 2000-09-05 Andreas Jaeger <aj@suse.de>
1292 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
1293 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
1294 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1296 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1298 * configure.in: Strip out "unknown" from configuration names.
1300 2000-09-05 Andreas Jaeger <aj@suse.de>
1302 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
1304 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
1305 * sysdeps/sparc/sparc32/Implies: Likewise.
1306 * sysdeps/powerpc/Implies: Likewise.
1308 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
1309 * libio/oldiofgetpos64.c: Likewise.
1311 * soft-fp/Makefile (distribute): Remove configure.
1313 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
1315 * soft-fp/configure: Remove.
1317 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1318 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1320 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
1321 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
1323 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
1324 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
1326 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
1327 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
1329 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1330 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1332 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
1333 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
1335 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
1336 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
1338 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
1339 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
1341 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
1342 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
1344 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
1345 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
1347 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
1348 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
1350 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
1351 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
1353 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
1354 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
1356 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
1357 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
1359 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
1360 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
1362 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
1363 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
1365 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
1366 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
1368 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
1369 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
1371 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
1372 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
1374 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
1375 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
1377 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
1378 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
1380 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
1381 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
1383 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
1384 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
1386 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
1387 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
1389 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
1390 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
1392 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
1393 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
1395 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
1396 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
1398 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
1399 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
1401 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
1402 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
1404 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
1405 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
1407 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
1408 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
1410 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
1411 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
1413 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
1414 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
1416 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
1417 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
1419 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
1420 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
1422 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
1423 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
1425 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
1426 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
1428 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
1429 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
1431 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
1432 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
1434 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
1435 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
1437 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
1438 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
1440 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
1441 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
1443 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
1444 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
1446 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
1447 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
1449 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
1450 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
1452 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
1453 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
1455 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
1456 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
1458 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
1459 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
1461 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
1462 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
1464 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
1465 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
1467 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
1468 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
1470 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
1471 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
1473 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
1474 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
1476 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
1477 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
1479 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
1480 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
1482 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
1483 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
1485 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
1486 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
1488 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
1489 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
1491 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
1492 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
1494 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
1495 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
1497 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
1498 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
1500 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
1501 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
1503 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
1504 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
1506 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
1507 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
1509 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
1510 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
1512 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
1513 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
1515 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
1516 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
1518 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
1519 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
1521 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
1522 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
1524 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
1525 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
1527 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
1528 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
1530 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
1531 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
1533 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
1534 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
1536 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
1537 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
1539 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
1540 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
1542 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
1543 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
1545 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
1546 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
1548 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
1549 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
1551 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
1552 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
1554 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
1555 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
1557 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
1558 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
1560 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
1561 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
1563 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
1564 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
1566 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
1567 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
1569 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
1570 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
1572 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
1573 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
1575 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
1576 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
1578 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
1579 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
1581 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
1582 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
1584 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
1585 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
1587 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
1588 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
1590 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
1591 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
1593 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
1594 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
1596 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
1597 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
1599 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
1600 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
1602 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
1603 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
1605 * soft-fp/sysdeps/powerpc/Versions: Move from here...
1606 * sysdeps/powerpc/soft-fp/Versions: ... to here.
1608 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
1609 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
1611 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
1612 change symbol version.
1613 * libio/oldiofgetpos64.c: Likewise.
1614 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
1616 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
1618 Reported by dyky@kondara.org, closes PR libc/1886.
1620 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
1623 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1625 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
1626 script when ^C is hit.
1628 * locale/programs/localedef.c (construct_output_path): Correct
1629 computation of endp after asprintf.
1630 * locale/programs/locfile.c (write_locale_data): Don't add extra
1633 2000-09-05 Andreas Jaeger <aj@suse.de>
1635 * scripts/config.guess: New upstream version.
1636 * scripts/config.sub: Likewise.
1637 * manual/texinfo.tex: Likewise.
1639 2000-09-04 Andreas Schwab <schwab@suse.de>
1641 * elf/Makefile (all-dl-routines): New variable.
1642 (elide-routines.os): Use it instead of $(dl-routines).
1643 (all-rtld-routines): New variable.
1644 (extra-objs): Use it instead of $(rtld-routines).
1645 ($(objpfx)dl-allobjs.os): Likewise.
1646 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
1647 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1650 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1652 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
1653 Set fname to NULL if the module wasn't found.
1655 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1657 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
1658 true if trans->name already ends in ".so".
1660 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1662 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
1664 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
1665 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
1666 (__gconv_release_shlib): Change return type to void.
1667 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
1668 step->__counter here.
1669 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
1670 if the reference is zero.
1671 (release_step): New function.
1672 (gen_steps): Always initialize the __counter to 1. Use release_step.
1673 Don't call the destructor on the step whose initializer failed.
1674 (increment_counter): Use release_step. Don't normally run destructors
1676 (__gconv_close_transform): Use release_step.
1678 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1680 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
1681 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
1683 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1685 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
1686 If the first byte is 0x8E, don't ask for 4 bytes until it has been
1687 verified that the second byte is valid. Leave it to cns11643_to_ucs4
1688 to check for incomplete input.
1689 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
1690 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
1691 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1692 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
1694 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
1695 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1696 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
1697 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
1700 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1702 * iconv/gconv_db.c (find_derivation): Always use the least-cost
1705 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1707 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
1710 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1712 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
1713 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
1716 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1718 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
1720 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1722 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
1724 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1726 * iconvdata/tst-tables.sh: New file.
1727 * iconvdata/tst-table.sh: New file.
1728 * iconvdata/tst-table-from.c: New file.
1729 * iconvdata/tst-table-to.c: New file.
1730 * iconvdata/tst-table-charmap.sh: New file.
1731 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
1732 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
1733 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
1734 ISIRI-3342.irreversible, SJIS.irreversible.
1735 (tests): Add dependency on tst-tables.out.
1736 (tst-tables.out, tst-tables-clean): New rules.
1737 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
1738 * iconvdata/ISIRI-3342.irreversible: New file.
1739 * iconvdata/EUC-JP.irreversible: New file.
1740 * iconvdata/SJIS.irreversible: New file.
1742 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1744 * manual/locale.texi (General Numeric): Update description of
1745 representation of the grouping information in the locale data.
1746 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
1748 2000-09-04 Andreas Jaeger <aj@suse.de>
1750 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
1751 * iconv/iconv_prog.c (options): Fix typo.
1752 Reported by dyky@kondara.org, closes PR libc/1885.
1754 2000-09-04 Andreas Jaeger <aj@suse.de>
1756 * sysdeps/generic/fegetenv.c: It's __fegetenv.
1757 Reported by Rob Levin <lilo@transvirtual.com>.
1759 2000-09-03 Ulrich Drepper <drepper@redhat.com>
1761 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
1762 to the typedefs of __timezone_ptr_t.
1763 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
1765 2000-09-02 Jakub Jelinek <jakub@redhat.com>
1767 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
1770 2000-09-01 H.J. Lu <hjl@gnu.org>
1772 * Makeconfig (built-program-cmd): Don't use the dynamic linker
1773 to run a binary if it is in $(tests-static).
1775 * Rules (binaries-static): Add $(tests-static).
1777 2000-09-02 Andreas Jaeger <aj@suse.de>
1779 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
1781 * libio/fmemopen.c (fmemopen_close): Revert one part of last
1784 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1786 * iconvdata/big5hkscs.c: Regenerated from charmap.
1787 * iconvdata/testdata/BIG5HKSCS: Regenerated.
1788 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
1790 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
1791 statement. General cleanup.
1793 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1795 * wctype/wcfuncs.c (iswblank): New function.
1796 * wctype/wcfuncs_l.c (__iswblank_l): New function.
1797 * wctype/wcextra.c: Remove file.
1798 * wctype/wcextra_l.c: Remove file.
1799 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
1801 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1803 * locale/programs/ld-collate.c (collate_output): Remove redundant
1805 * string/strcoll.c: Likewise.
1806 * string/strxfrm.c: Include assert.h. Add assert calls like in
1809 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1811 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
1812 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
1813 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
1814 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
1815 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
1816 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
1817 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
1818 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
1819 _NL_CTYPE_GAP5/6 respectively.
1821 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
1822 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
1823 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
1824 Don't initialize __ctype_names and __ctype_width.
1825 * wctype/cname-lookup.h: Remove file.
1826 * wctype/Makefile (distribute): Remove cname-lookup.h.
1827 * wctype/wchar-lookup.h: Include stdint.h.
1828 * wctype/wctype.c (__wctype): Assume new locale format.
1829 * wctype/wctype_l.c (__wctype_l): Likewise.
1830 * wctype/iswctype.c: Don't include cname-lookup.h.
1831 (__iswctype): Assume new locale format.
1832 * wctype/iswctype_l.c: Don't include cname-lookup.h.
1833 (__iswctype_l): Assume new locale format.
1834 * wctype/wctrans.c: Don't include ctype.h.
1835 (wctrans): Assume new locale format.
1836 * wctype/wctrans_l.c (__wctrans_l): Likewise.
1837 * wctype/towctrans.c: Don't include cname-lookup.h.
1838 (__towctrans): Assume new locale format.
1839 * wctype/towctrans_l.c: Don't include cname-lookup.h.
1840 (__towctrans_l): Assume new locale format.
1841 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
1842 localeinfo.h instead.
1843 (__NO_WCTYPE): Remove unused macro.
1844 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
1846 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
1847 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
1848 (towlower, towupper): Likewise.
1849 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
1850 localeinfo.h instead.
1851 (__NO_WCTYPE): Remove unused macro.
1852 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
1853 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
1854 __iswxdigit_l): Assume new locale format.
1855 (__towlower_l, __towupper_l): Likewise.
1856 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
1857 (__ctype32_b): Remove declaration.
1858 (internal_wcwidth): Assume new locale format.
1859 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
1860 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
1861 to map32_b, rename width_3level to width.
1862 (ctype_output): Always create new locale format. Don't emit
1863 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
1864 (allocate_arrays): Always create new locale format.
1866 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
1867 * locale/weightwc.h (findidx): Assume new locale format.
1868 * string/strcoll.c (wcscoll): Remove local variables size, layers,
1870 * string/strxfrm.c (wcsxfrm): Likewise.
1871 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
1872 local variable collseq to 'const char *'.
1873 (SUFFIX): Don't use, don't undefine.
1874 * posix/fnmatch.c: Remove SUFFIX definition.
1875 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
1876 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
1877 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
1878 (collate_finish): Always create new locale format. Remove local
1879 variables min_total, act_size.
1880 (collate_output): Always create new locale format. Remove local
1881 variables table_size, names, tablewc. Rename tablewc_3level to
1884 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1886 * locale/programs/ld-collate.c (obstack_int32_grow,
1887 obstack_int32_grow_fast): New inline functions.
1888 (output_weightwc, collate_output): Use them where possible.
1890 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1892 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
1893 patch (_mode -> _flags).
1895 * libio/Makefile (headers): Add stdio_ext.h.
1896 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
1897 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
1898 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
1899 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
1900 __fsetlocking, and _flushlbf.
1901 * libio/__fbufsize.c: New file.
1902 * libio/__flbf.c: New file.
1903 * libio/__fpending.c: New file.
1904 * libio/__fpurge.c: New file.
1905 * libio/__freadable.c: New file.
1906 * libio/__freading.c: New file.
1907 * libio/__fsetlocking.c: New file.
1908 * libio/__fwritable.c: New file.
1909 * libio/__fwriting.c: New file.
1910 * libio/stdio_ext.h: New file.
1911 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
1912 * libio/libio.h (_IO_USER_LOCK): Define.
1913 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
1914 test _IO_USER_LOCK flag first.
1916 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
1919 2000-09-01 Andreas Jaeger <aj@suse.de>
1921 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
1923 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
1925 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1927 * math/Makefile (tests): Add tst-defintions.
1928 * math/tst-definitions.c: New file.
1930 * stdlib/Makefile (headers): Add bits/wchar.h.
1931 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
1932 * sysdeps/generic/bits/wchar.h: New file.
1933 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
1934 file to define WCHAR_MIN and WCHAR_MAX.
1935 Change UINT*8_MAX and UIN*16_MAX value to type int.
1936 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
1937 file to define WCHAR_MIN and WCHAR_MAX.
1938 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
1940 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
1941 * sysdeps/generic/bits/mathdef.h: Likewise.
1942 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1943 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1944 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1945 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1946 * locale/locale.h (struct lconv): Add __ prefix to the new members
1948 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
1949 imaxdiv optimizations.
1950 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
1951 * sysdeps/wordsize-64/ldiv.c: Likewise.
1952 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
1954 * sysdeps/generic/bits/fenv.h: Likewise.
1955 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1956 * sysdeps/ia64/bits/fenv.h: Likewise.
1957 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1958 * sysdeps/mips/bits/fenv.h: Likewise.
1959 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1960 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1961 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1963 * inet/rcmd.c: Use *stat64 instead of *stat internally.
1964 * inet/ruserpass.c: Likewise.
1965 * catgets/open_catalog.c: Likewise.
1966 * intl/loadmsgcat.c: Likewise.
1967 * io/getdirname.c: Likewise.
1968 * locale/loadlocale.c: Likewise.
1969 * misc/getusershell.c: Likewise.
1970 * stdlib/canonicalize.c: Likewise.
1971 * sysdeps/posix/euidaccess.c: Likewise.
1972 * sysdeps/posix/isfdtype.c: Likewise.
1973 * sysdeps/posix/posix_fallocate.c: Likewise.
1974 * sysdeps/posix/tempname.c: Likewise.
1975 * sysdeps/unix/grantpt.c: Likewise.
1976 * sysdeps/unix/opendir.c: Likewise.
1977 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
1978 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
1979 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1980 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1981 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1982 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1983 * sysvipc/ftok.c: Likewise.
1984 * time/getdate.c: Likewise.
1986 * time/getdate.c: Add extra access test.
1988 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1990 * version.h (VERSION): Bump to 2.1.93.
1992 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
1993 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
1995 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
1996 Make this a new rule depending on tst-gettext.out and run mtrace.
1997 * intl/tst-gettext.c: Call mtrace.
1998 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
2000 * elf/dl-reloc.c: Add a few more __builtin_expect.
2002 * configure.in: Remove --with-gettext option.
2004 * intl/dcigettext.c (free_mem): Correct freeing of
2005 _nl_domain_bindings list.
2007 * sysdeps/generic/setenv.c (free_mem): New function. Free all
2010 * intl/locale.alias: Add aliases for bokmal and nynorsk.
2012 * locale/iso-639.def: Fix 639-1 code for Bokmal.
2014 * stdio-common/itoa-digits.c: Move upper digits to...
2015 * stdio-common/itoa-udigits.c: ...here. New file.
2016 * stdio-common/Makefile (routines): Add itoa-udigits.
2018 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
2019 relocate ld.so don't add supprt for relocations which should not
2022 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
2023 __secure_getenv. Instead test __libc_enable_secure once.
2025 * io/pwd.c (main): Provide a good example, use *_unlocked function.
2027 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2029 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
2030 whether the new record should be freed if it's a duplicate.
2031 (add_module): Adjust insert_module call.
2032 (__gconv_read_conf): Likewise.
2033 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
2035 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
2037 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
2039 * include/link.h (struct r_search_path_struct): New.
2040 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
2041 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
2043 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
2044 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
2045 added at startup time.
2046 * elf/dl-load.c: Fix memory handling. r_search_path_struct
2047 contains element to remember fact that we can free memory.
2048 (all_dirs): Renamed to _dl_all_dirs. Made global.
2049 (_dl_init_all_dirs): New variable.
2050 (fillin_rpath): Save one malloc call.
2051 (decompose_rpath): Change interface. New first parameter points to
2052 r_search_path_struct.
2053 (_dl_init_paths): Adjust for changes. Mark all memory as not
2054 deletable. Set _dl_init_all_paths value.
2055 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
2056 parameter replaced with r_search_path_struct *. Information about
2057 freeing now contained in r_search_path_struct.
2058 (_dl_map_object): Adjust for above changes.
2060 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
2062 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
2063 when adding new entries.
2065 * elf/dl-load.c (fillin_rpath): Make local copy of where string
2066 since the object being loaded can be unloaded.
2068 * iconvdata/Makefile (tests): Add tst-loading.
2069 * iconvdata/tst-loading.c: New file.
2071 2000-08-29 Bruno Haible <haible@clisp.cons.org>
2073 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
2074 When comparing a char with an int, always cast the char to
2075 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
2076 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
2078 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2080 * time/strftime.c (my_strftime): Add compatibility code for use
2081 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
2083 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
2084 return 0 for success but always < 0 on failure.
2086 * nss/getXXbyYY_r.c: Define result to *result before including
2089 2000-08-30 Andreas Jaeger <aj@suse.de>
2091 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
2093 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2095 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
2097 * iconvdata/TESTS: Add BIG5HKSCS entry.
2098 * iconvdata/testdata/BIG5HKSCS: New file.
2099 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
2101 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
2104 * libio/iogetline.c: Set mode before the loop in case n==0.
2105 * libio/iogetwline.c: Likewise.
2107 2000-08-29 H.J. Lu <hjl@gnu.org>
2109 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
2111 (_IO_new_file_overflow): Likewise.
2112 * libio/genops.c (_IO_flush_all): Likewise.
2113 * libio/ioftell.c (_IO_ftell): Likewise.
2115 2000-08-29 Akira Higuchi <a@kondara.org>
2117 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
2118 and __end_fct fields of struct __gconv_step.
2119 * iconv/Makefile (tests): Add iconv-bug2.
2120 * iconv/iconv-bug2.c: New file.
2122 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
2123 instead of 'inptr - inend' to ksc5601_to_ucs4.
2125 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
2127 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
2128 character or shift sequence is found at the end of the input
2129 string, return__GCONV_INCOMPLETE_INPUT instead of
2130 __GCONV_EMPTY_INPUT.
2131 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
2132 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
2134 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
2135 __GCONV_ILLEGAL_INPUT for 8bit characters.
2137 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2139 * signal/signal.h (sigpause): Move __THROW before __asm__.
2141 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
2142 names don't match don't return.
2143 Patch by Olaf Kirch <okir@flash.lst.de>.
2145 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2147 * time/strftime.c (my_strftime): Handle # flag for %b as well.
2149 2000-08-27 H.J. Lu <hjl@gnu.org>
2151 * posix/Makefile (otherlibs): Add for building with static-nss
2154 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2156 * libio/stdio.h: Add fmemopen prototype.
2158 2000-08-25 Andreas Jaeger <aj@suse.de>
2160 * libio/Makefile (routines): Add fmemopen.
2161 (tests): Add test-fmemopen.
2162 * libio/Versions: Add fmemopen with version GLIBC_2.2.
2163 * libio/test-fmemopen.c: New file.
2164 * libio/fmemopen.c: New file.
2165 Patches by Hanno Mueller <kontakt@hanno.de>.
2167 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2169 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
2170 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
2172 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
2173 to avoid crashing statically linked applications.
2175 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2177 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
2178 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
2180 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
2181 If the result is fits in the buffer, copy only as many bytes as needed.
2183 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
2184 buffer after copying numbuf into it.
2185 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2187 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2189 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
2190 the result. When string_len < len, don't clear the rest of the buffer.
2192 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2194 Support for new LC_COLLATE format.
2195 * locale/coll-lookup.h: New file.
2196 * locale/weightwc.h (findidx): When size == 0, call
2197 collidx_table_lookup.
2198 * wcsmbs/wcscoll.c: Include coll-lookup.h.
2199 * wcsmbs/wcsxfrm.c: Likewise.
2200 * posix/fnmatch.c: Likewise.
2201 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
2202 collseq_table_lookup.
2203 * locale/programs/3level.h: New file.
2204 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
2205 by including "3level.h".
2206 * locale/programs/ld-collate.c (wchead_table, collidx_table,
2207 collseq_table): New types, defined by including "3level.h".
2208 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
2209 (encoding_mask, encoding_byte): Remove.
2210 (utf8_encode): Use simple shifts instead.
2211 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
2212 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
2213 (collate_output): New local variable tablewc_3level. When
2214 !oldstyle_tables, set table_size to 0 and names to NULL and fill
2215 tablewc_3level instead of tablewc. Change format of TABLEWC and
2216 COLLSEQWC entries written to the file.
2217 * locale/C-collate.c (collseqwc): Change format.
2218 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
2220 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
2222 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2224 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
2225 (locale_ctype_t): New charnames_idx field.
2226 (ctype_startup): Initialize charnames_idx field.
2227 (find_idx): Speed up dramatically by using charnames_idx inverse table.
2229 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2231 * locale/C-ctype.c: Switch to new locale format.
2232 (_nl_C_LC_CTYPE_names): Remove array.
2233 (STRUCT_CTYPE_CLASS): New macro.
2234 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2235 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2236 New three-level tables.
2237 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
2238 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
2239 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
2240 12 class tables and 2 map tables at the end.
2241 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
2242 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2243 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2245 (b): Remove trailing semicolon.
2246 (__ctype_names, __ctype_width): Don't initialize.
2247 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
2249 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2251 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
2252 is guaranteed to be allocated with the same malloc() and may be
2254 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
2255 been set to empty by an earlier open_path call, don't pass it again.
2257 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2259 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
2260 we are not optimizing.
2262 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
2265 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
2267 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2269 2000-08-28 Andreas Jaeger <aj@suse.de>
2271 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
2273 2000-08-28 Mark Kettenis <kettenis@gnu.org>
2275 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
2276 getpeername. Use ISO C style function definition.
2277 (getpeername): Provide weak alias.
2278 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
2279 setrlimit. Use ISO C style function definition.
2280 (setrlimit): Provide weak alias.
2282 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
2284 * shlib-versions: Add a rule for S/390 to the libm version list.
2285 * sysdeps/s390/Versions: New file.
2286 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
2287 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
2288 * sysdeps/unix/sysv/linux/s390/Versions: New file.
2289 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
2290 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
2291 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
2292 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
2293 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
2294 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
2295 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
2296 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
2297 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
2298 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
2299 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
2300 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
2301 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
2302 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
2303 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
2305 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2307 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
2308 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
2310 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
2311 * elf/dl-close.c (_dl_close): Print debug message if object is not
2313 * elf/dl-open.c (dl_open_worked): Print message about opencount before
2314 returning to caller.
2316 * po/zh.po: Renamed to...
2317 * po/zh_TW.po: ...this.
2319 2000-08-27 Geoff Keating <geoffk@cygnus.com>
2321 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
2323 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
2324 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
2325 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
2326 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
2328 2000-08-27 Ulrich Drepper <drepper@redhat.com>
2330 * locale/programs/ld-collate.c (insert_weights): Also update
2331 backpointer of next element.
2332 (collate_read): Allow definition of new collation symbols in stage 2.
2333 Symbol after reorder-after can be UCS4 value.
2334 Allow reordering of collation symbols and elements.
2335 Do not only move reorder entry in new position. Instead call
2336 insert_weight to do this and read the weights.
2338 * locale/findlocale.c (free_mem): Add cast to avoid warning.
2340 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
2341 to determine invalid locale name.
2342 * locale/findlocale.c (_nl_find_locale): Likewise.
2344 * posix/annexc.c: Correct test for unavailable feature.
2346 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
2349 2000-08-26 Ulrich Drepper <drepper@redhat.com>
2351 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
2354 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
2355 (sysdep_routines): Add oldgetrlimit64.
2357 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
2358 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
2359 (tests): Add unload, reldep, reldep2, and reldep3.
2360 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
2362 Add rules to build and run unload, reldep, reldep2, and reldep3.
2363 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
2364 Don't create relocation dependency if it is nonzero.
2365 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
2366 can never happen here.
2367 (_dl_lookup_versioned_symbol): Add new parameter explicit.
2368 Don't create relocation dependency if it is nonzero.
2369 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
2370 stuff. This can never happen here.
2371 * sysdeps/generic/ldsodefs.h: Change prototypes.
2372 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
2373 _dl_lookup_up and _dl_lookup_versioned_symbol.
2375 * elf/dl-runtime.c (fixup): Likewise.
2376 (profile_fixup): Likewise.
2377 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
2379 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
2380 * elf/rtld.c (dl_main): Likewise.
2381 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
2382 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
2383 and pass down the caller map.
2384 (_dl_vsym): Likewise.
2385 * elf/reldep.c: New file.
2386 * elf/reldep2.c: New file.
2387 * elf/reldep3.c: New file.
2388 * elf/reldepmod1.c: New file.
2389 * elf/reldepmod2.c: New file.
2390 * elf/reldepmod3.c: New file.
2391 * elf/reldepmod4.c: New file.
2392 * elf/unload.c: New file.
2393 * elf/unloadmod.c: New file.
2395 * elf/do-lookup.h: Remove unused undef_name parameter.
2396 * elf/dl-lookup.c: Adjust callers.
2398 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2400 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
2401 irreversible in recursive call of conversion function to signal that
2402 no error handling is wanted.
2403 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
2404 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
2405 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
2406 recursive error handling call, otherwise to &lirreversible. Use it
2407 for calls to conversion functions.
2408 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
2410 (ucs4_internal_loop_unaligned): Likewise.
2411 (ucs4le_internal_loop): Likewise.
2412 (ucs4le_internal_loop_unaligned): Likewise.
2414 2000-08-25 Greg McGary <greg@mcgary.org>
2416 * sysdeps/i386/memchr.S: Check high bound against chars
2418 * sysdeps/i386/memcmp.S: Likewise.
2419 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
2420 account for pointers that lie one beyond end-of-buffer.
2422 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2424 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
2425 * elf/nodelete.c (fini_ran): New global variable.
2426 (do_test): Before every dlclose call clear fini_ran and test
2427 afterwards that it is not set by the destructors.
2428 * elf/nodelmod1.c: Add destructor which sets fini_ran.
2429 * elf/nodelmod2.c: Likewise.
2430 * elf/nodelmod4.c: Likewise.
2432 2000-08-21 Jes Sorensen <jes@linuxcare.com>
2434 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
2435 getrlimit to the list.
2437 2000-08-18 Jes Sorensen <jes@linuxcare.com>
2439 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
2440 long double format so use ldbl-96 instead of ldbl-128.
2442 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2444 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
2445 even if bits 10 a 11 are non-zero.
2446 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
2448 * Makeconfig: Ensures the soversions.mk part of Makefile gets
2449 included before building gnu/lib-names.h
2450 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2452 * elf/dl-close.c (_dl_close): Don't run destructors of objects
2453 marked DF_1_NODELETE.
2455 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
2456 since we call sigaction in the child.
2458 2000-08-25 Andreas Jaeger <aj@suse.de>
2460 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
2463 2000-08-25 Andreas Jaeger <aj@suse.de>
2465 * manual/arith.texi (Control Functions): Clarify possible
2466 arguments. Closes PR libc/1856.
2468 2000-08-24 H.J. Lu <hjl@gnu.org>
2470 * stdio-common/Makefile (tests): Don't do it for cross compiling.
2471 * malloc/Makefile (tests): Likewise.
2473 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2475 * iconvdata/unicode.c (gconv_init): Correct test for direction.
2477 2000-08-24 Andreas Jaeger <aj@suse.de>
2479 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
2480 only if LIBGD is available.
2482 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2484 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
2485 problems with now restrict parameter types.
2486 (convaddr4to6): Likewise.
2488 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
2490 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
2491 * sysdeps/s390/fpu/feenablxcpt.c: New file.
2492 * sysdeps/s390/fpu/fegetexcept.c: New file.
2493 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
2496 2000-08-24 Andreas Jaeger <aj@suse.de>
2498 * malloc/Makefile (extra-objs): Add memusagestat.o.
2499 (generated): Added memusage and memusagestat for make clean.
2501 * libio/tst_putwc.c (do_test): Delete temporary file.
2502 Move inclusion of test-skeleton to front to have prototype for
2505 * posix/Makefile (generated): Add wordexp-tst.out.
2507 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2509 * resolv/res_hconf.c (free_mem): Remove not needed if.
2511 * time/tzset.c (free_mem): New function.
2512 * string/strsignal.c (free_mem): New function.
2513 * inet/inet_ntoa.c (free_mem): New function.
2514 * sunrpc/clnt_perr.c (free_mem): New function.
2516 2000-08-24 Andreas Jaeger <aj@suse.de>
2518 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
2519 * sysdeps/unix/sysv/syscalls.list: Likewise.
2521 * posix/unistd.h: Move internal prototypes from here ...
2522 * include/unistd.h: ... to here.
2524 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
2526 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2528 * grp/initgroups.c (initgroups): Deallocate groups array.
2529 Reported by jani.raiha@sonera.com [PR libc/1868].
2531 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
2532 * sysdeps/alpha/Dist: Likewise.
2534 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2536 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
2537 destructor). Reported by Solar Designer <solar@false.com>.
2539 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
2540 avoid adding double slashes.
2542 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2544 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
2545 out of the __REDIRECT macro.
2547 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2549 * stdio-common/vfscanf.c: Add %F format support.
2551 * locale/programs/ld-ctype.c (ctype_output): Make sure
2552 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
2553 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
2554 (ctype_read): Enable returning of wide character strings for reading
2555 transliteration information.
2557 2000-08-23 Andreas Jaeger <aj@suse.de>
2559 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
2560 Use static __inline instead of _EXTERN_INLINE.
2562 * misc/sys/select.h: Move prototypes of __select from here ...
2563 * include/sys/select.h: ... to here.
2565 * socket/sys/socket.h: Move prototypes of __send and __connect
2567 * include/sys/socket.h: ... to here.
2569 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
2572 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2574 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
2575 __setrlimit as strong name. Takes only 2 arguments.
2577 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
2578 takes only 2 arguments.
2580 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
2582 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
2584 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
2586 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2588 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
2589 default_missing character being specified, pick the first
2592 2000-08-23 Andreas Jaeger <aj@suse.de>
2594 * include/wchar.h: Add some pure attributes.
2596 * time/time.h: Add const attribute for dysize.
2598 * include/stdlib.h: Add malloc attribute to __posix memalign.
2600 * stdlib/stdlib.h: Add some pure and malloc attributes.
2601 * wcsmbs/wchar.h: Likewise.
2603 * dirent/dirent.h: Add some pure attributes.
2604 * include/dirent.h: Likewise.
2606 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2608 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
2611 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2613 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
2614 missing buffer size checks.
2616 2000-08-23 Andreas Jaeger <aj@suse.de>
2618 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
2620 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2622 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
2623 otherwise __LINUX_KERNEL_VERSION might not be defined.
2624 (MIN): Define if not already defined.
2626 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2628 * stdio-common/vfprintf.c: Handle %F format.
2629 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
2630 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2632 * stdio-common/tstdiomisc.c: Add test for %F printf format.
2634 * po/zh.po: New file.
2636 * iconvdata/sjis.c: In conversion from UCS4, correct test for
2637 enough room in target buffer.
2638 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
2639 * iconvdata/bug-iconv1.c: New file.
2640 * iconvdata/Makefile (tests): Add bug-iconv1.
2642 * locale/iso-4217.def: Update entry for Nicaragua.
2644 2000-08-22 Mark Kettenis <kettenis@gnu.org>
2646 * hurd/hurdsig.c: Rearrange headers a bit.
2647 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
2648 when cthreads is being used.
2650 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2652 * elf/Makefile (distribute): Add dl-osinfo.h.
2653 * sysdeps/generic/dl-osinfo.h: New file.
2654 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
2655 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
2657 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
2658 only for !SHARED case. Get the code from dl-osinfo.h.
2660 * stdlib/random_r.c: Cleanups.
2661 * stdlib/tst-random.c: New file.
2662 * stdlib/Makefile (tests): Add tst-random.
2663 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
2665 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2667 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
2668 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
2669 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
2670 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
2672 2000-08-22 Jakub Jelinek <jakub@redhat.com>
2674 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
2675 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
2676 (__syscall__sysctl): Add.
2678 2000-08-21 Andreas Jaeger <aj@suse.de>
2680 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
2682 * stdlib/tst-strtoll.c: Likewise.
2684 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2686 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
2688 (__initstate_r): Set errno on error.
2689 (__random_r): Likewise.
2690 (__setstate_r): Correct offset when computing
2691 new rptr and fptr. Test for arg_state being NULL.
2692 Reported by Michael Fischer <fischer@cs.yale.edu>.
2694 * posix/regex.h: Add macro definitions to allow compiling outside
2697 * sysdeps/i370/Implies: Removed.
2698 * sysdeps/mvs/Implies: Removed.
2700 * catgets/catgets.c (catopen): Filter out env_var values with / if
2703 * locale/findlocale.c (_nl_find_locale): Move test for unusable
2704 locale name after all getenvs.
2706 * configure.in: Allow sed versions like 3.02.8.
2707 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
2709 2000-08-21 Marko Myllynen <myllynen@lut.fi>
2711 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
2713 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2715 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
2716 of gethostbyname2_r call.
2718 * intl/locale.alias: Add aliases for Korean.
2720 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2722 * sysdeps/s390/__longjmp.c: Remove unused variable result.
2723 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
2724 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
2725 * sysdeps/s390/fpu/fegetenv.c: New file.
2726 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
2727 * sysdeps/s390/fpu/feholdexcpt.c: New file.
2728 * sysdeps/s390/fpu/fenv_libc.h: New file.
2729 * sysdeps/s390/fpu/fesetenv.c: New file.
2730 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
2731 * sysdeps/s390/fpu/feupdateenv.c: New file.
2732 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
2733 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
2734 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
2735 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
2736 * sysdeps/s390/fpu/ftestexcept.c: New file.
2737 * sysdeps/s390/fpu/libm-test-ulps: New file.
2738 * sysdeps/s390/gmp-mparam.h: Add end of comment.
2739 * sysdeps/s390/initfini.c: New file.
2740 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
2741 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
2742 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
2743 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
2744 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
2745 sys/procfs.h as proposed by Mark Kettenis.
2746 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
2748 2000-08-21 Andreas Jaeger <aj@suse.de>
2750 * include/poll.h: Include include/sys/poll.h to get __poll
2753 * io/sys/poll.h: Move __poll declaration from here...
2754 * include/sys/poll.h: ...to here.
2756 * include/sys/socket.h (__getpeername): Add declaration.
2758 * include/wchar.h (__vswprintf): Add declaration.
2760 * include/stdio.h (__flockfile): Add declaration.
2761 (__funlockfile): Likewise.
2763 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2765 * misc/sys/cdefs.h: Define __restrict_arr.
2766 * include/sys/time.h: Add restrict where required by AGd4.
2767 * inet/arpa/inet.h: Likewise.
2768 * io/sys/stat.h: Likewise.
2769 * io/sys/statvfs.h: Likewise.
2770 * misc/search.h: Likewise.
2771 * misc/sys/select.h: Likewise.
2772 * posix/glob.h: Likewise.
2773 * posix/regex.h: Likewise.
2774 * posix/spawn.h: Likewise.
2775 * posix/unistd.h: Likewise.
2776 * rt/aio.h: Likewise.
2777 * signal/signal.h: Likewise.
2778 * socket/sys/socket.h: Likewise.
2779 * stdlib/ucontext.h: Likewise.
2780 * streams/stropts.h: Likewise.
2781 * string/string.h: Likewise.
2782 * time/time.h: Likewise.
2783 * time/sys/time.h: Likewise.
2785 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
2786 and posix_spawnattr_setscheparam.
2788 * libio/stdio.h: Make cuserid prototype again available for all
2791 * argp/argp-help.c: Unify use of function aliases to make more compact
2793 * include/libintl.h: Likewise.
2794 * inet/rcmd.c: Likewise.
2795 * intl/dcigettext.c: Likewise.
2796 * libio/iofputws.c: Likewise.
2797 * libio/iofputws_u.c: Likewise.
2798 * libio/iogetwline.c: Likewise.
2799 * libio/swprintf.c: Likewise.
2800 * malloc/malloc.c: Likewise.
2801 * nss/digits_dots.c: Likewise.
2802 * posix/fnmatch.c: Likewise.
2803 * posix/spawn_faction_addclose.c: Likewise.
2804 * posix/spawn_faction_adddup2.c: Likewise.
2805 * posix/spawn_faction_addopen.c: Likewise.
2806 * posix/spawni.c: Likewise.
2807 * posix/wordexp.c: Likewise.
2808 * posix/spawni.c: Likewise.
2809 * resolv/res_hconf.c: Likewise.
2810 * resolv/res_init.c: Likewise.
2811 * shadow/lckpwdf.c: Likewise.
2812 * signal/sighold.c: Likewise.
2813 * signal/sigrelse.c: Likewise.
2814 * stdio-common/printf-parse.h: Likewise.
2815 * stdio-common/printf-prs.c: Likewise.
2816 * stdio-common/printf_fp.c: Likewise.
2817 * stdio-common/vfprintf.c: Likewise.
2818 * stdio-common/vfscanf.c: Likewise.
2819 * stdlib/rpmatch.c: Likewise.
2820 * sunrpc/create_xid.c: Likewise.
2821 * sunrpc/key_call.c: Likewise.
2822 * sysdeps/generic/setrlimit64.c: Likewise.
2823 * sysdeps/generic/utmp_file.c: Likewise.
2824 * sysdeps/generic/vlimit.c: Likewise.
2825 * sysdeps/posix/posix_fallocate.c: Likewise.
2826 * sysdeps/posix/posix_fallocate64.c: Likewise.
2827 * sysdeps/posix/sigpause.c: Likewise.
2828 * sysdeps/posix/sigset.c: Likewise.
2829 * sysdeps/unix/grantpt.c: Likewise.
2830 * sysdeps/unix/bsd/ualarm.c: Likewise.
2831 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
2832 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
2833 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2834 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
2835 * time/strftime.c: Likewise.
2836 * wcsmbs/wcscoll.c: Likewise.
2837 * wcsmbs/wcsxfrm.c: Likewise.
2839 * time/tst-getdate.c (main): Make error messages more human readable.
2841 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
2842 postinc/predec instruction.
2843 (_FPU_SETCW): Likewise.
2844 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2846 2000-08-20 Andreas Jaeger <aj@suse.de>
2848 * time/tst-getdate.c (main): Increase error in case of wrong
2850 Fix typo in test case.
2852 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2854 * ctype/ctype.h (isblank): Make available if ISO C99.
2855 * wctype/wctype.h (iswblank): Make available if ISO C99.
2856 * math/math.h (signgam): Don't make available if ISO C99.
2857 * math/tgmath.h (tgamma): Renamed from gamma.
2858 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2860 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
2862 * intl/plural.y (new_exp): Take number of optional parameters in
2863 second parameter. Test for correct number of parameters and free
2864 correctly in case of failure. Adjust all callers.
2865 (yylex): Allow ';' as terminator character.
2867 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2869 * locale/lc-time.c (free_mem): New function. Free alt_digits and
2872 * locale/findlocale.c (free_mem): Also free here->filename.
2874 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
2876 * math/test-fenv.c (feenv_tests): Clear all exceptions before
2878 (feexcp_nomask_test): Correct printf args.
2879 (feexcp_mask_test): Likewise.
2881 2000-08-19 Andreas Jaeger <aj@suse.de>
2883 * inet/tst-gethnm.c: Include string.h to provide prototype for
2886 * malloc/mtrace.pl (usage): Inform about --help.
2888 2000-08-19 Wolfram Gloger <wg@malloc.de>
2890 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
2893 2000-08-19 Andreas Jaeger <aj@suse.de>
2895 * shlib-versions: Remove libnss_db, libdb and libdb1.
2897 2000-08-19 Jakub Jelinek <jakub@redhat.com>
2899 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
2900 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
2901 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
2902 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
2903 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
2904 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
2905 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
2906 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
2907 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
2908 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
2910 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
2911 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2913 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2915 * include/glob.h (__glob64): Add prototype.
2916 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
2917 define glob and glob_in_dir.
2918 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
2919 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
2920 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
2921 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
2922 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
2923 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
2924 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
2925 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
2927 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2929 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
2931 2000-08-17 Andreas Jaeger <aj@suse.de>
2933 * math/test-fenv.c (fe_single_test): New function.
2934 (fe_env_tests): Use fe_single_test.
2935 (feenable_test): New tests for feenable/fedisable and
2937 (feexcp_mask_test): New function.
2938 (feexcp_nomask_test): New function.
2940 2000-08-19 Richard Henderson <rth@cygnus.com>
2942 * sysdeps/alpha/fpu/fenv_libc.h: New file.
2943 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
2944 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2945 * sysdeps/alpha/fpu/fesetround.c: Likewise.
2946 * sysdeps/alpha/fpu/fegetround.c: Likewise.
2947 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2948 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2949 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
2950 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
2951 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
2952 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
2953 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
2954 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2955 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2956 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2957 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
2958 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
2960 2000-08-19 Andreas Jaeger <aj@suse.de>
2962 * elf/constload1.c: Include <stdio.h> for puts prototype.
2964 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2966 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
2967 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
2968 a dynamically loaded object remove old l_initfini list.
2969 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
2970 remove some dynamically allocated memory blocks in the dynamic
2971 loading data structures.
2972 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
2973 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
2974 Instead call _dl_check_map_versions only for the dependencies.
2975 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
2976 information of initial objects as not free-able.
2977 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
2980 * elf/filter.c: Call mtrace.
2981 * elf/restest1.c: Likewise. Close the objects.
2982 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
2985 * elf/constload1.c: Add comment explaining not freed memory.
2987 2000-08-18 Andreas Jaeger <aj@suse.de>
2989 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
2990 alignment for structs stat and stat64.
2991 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2993 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2995 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
2996 handling. Patch by Richard Henderson <rth@twiddle.net>.
2998 * nss/Versions: Remove libnss_db information.
3000 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3002 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
3003 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
3004 * sysdeps/sparc/fpu/fegetexcept.c: New file.
3005 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
3007 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
3010 2000-08-17 Ulrich Drepper <drepper@redhat.com>
3012 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
3013 (_FPU_SETCW): Likewise.
3014 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3016 * stdio-common/printf_fp.c: Fix chars_needed computation.
3017 Patch by Greg McGary <greg@mcgary.org>.
3019 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3021 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
3022 _dl_loaded are NULL.
3024 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3026 * manual/arith.texi (feholdexcept): Returns 0 on success.
3028 2000-08-17 Andreas Jaeger <aj@suse.de>
3030 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
3032 Reported by Andi Kleen <ak@suse.de>.
3034 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3036 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
3037 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
3038 * sysdeps/alpha/fpu/fegetexcept.c: New file.
3040 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3042 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
3043 of buf->st_ino and kbuf->st_ino, not __st_ino.
3044 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
3045 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
3046 directive so that only linux/getdents.c is used, not some
3047 architecture specific one.
3049 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3051 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
3052 enabled, not disabled exceptions.
3053 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3054 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3056 2000-08-17 Greg McGary <greg@mcgary.org>
3058 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
3059 from test program name when constructing suffix for $(LDLIBS-*).
3060 (bounded-thread-library): New variable.
3062 [build-shared, build-static] (libcrypt-dep): Remove variable.
3063 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3064 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3065 * linuxthreads/Makefile (libpthread, librt): Remove variables.
3066 (librt-tests): Add variable. (tests): Use it.
3067 [build-shared, build-static]
3068 ($(addprefix $(objpfx),$(tests)),
3069 $(addprefix $(objpfx),$(librt-tests))):
3070 Consolidate individual dependencies.
3072 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
3074 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
3075 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3077 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
3079 [build-shared, build-static]
3080 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3081 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3083 2000-08-17 Greg McGary <greg@mcgary.org>
3085 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
3086 * sysdeps/unix/make-syscalls.sh: Likewise.
3087 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3088 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3089 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3090 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3091 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3093 2000-08-17 Greg McGary <greg@mcgary.org>
3095 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
3096 Wrap extern symbols in BP_SYM ().
3097 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3098 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3099 * sysdeps/i386/fpu/s_remquo.S: Likewise.
3100 * sysdeps/i386/fpu/s_remquof.S: Likewise.
3101 * sysdeps/i386/fpu/s_remquol.S: Likewise.
3102 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3103 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3104 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3105 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3106 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3108 2000-08-16 Andreas Schwab <schwab@suse.de>
3110 * sysdeps/m68k/fpu/fegetexcept.c: New file.
3111 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
3112 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
3114 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3116 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
3117 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
3118 * elf/dl-support.c: Define _nl_nloaded.
3119 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
3120 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
3121 object to global list.
3122 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
3123 from _dl_loaded list.
3124 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3125 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
3128 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
3130 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
3132 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
3134 2000-08-16 Andreas Jaeger <aj@suse.de>
3136 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
3138 2000-08-15 Marko Myllynen <myllynen@lut.fi>
3140 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
3142 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3144 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
3145 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
3146 (sysdep_routines): Add oldgetrlimit64.
3147 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
3148 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3150 * include/link.h: Undo last patches. Hurd now has stat64.
3151 * elf/Makefile: Likewise.
3152 * elf/dl-load.c: Likewise.
3153 * elf/dl-misc.c: Likewise.
3154 * elf/dl-profile.c: Likewise.
3155 * sysdeps/generic/sysd-link.h: Removed.
3156 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
3158 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
3159 thread event callback function.
3160 (__aio_notify_only): Use function above.
3161 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
3163 2000-08-16 Mark Kettenis <kettenis@gnu.org>
3165 * sysdeps/mach/hurd/lseek64.c: New file.
3167 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3169 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
3171 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
3173 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
3175 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
3177 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3179 * sysdeps/mach/hurd/xstatconv.c: New file.
3180 * sysdeps/mach/hurd/fxstat64.c: New file.
3181 * sysdeps/mach/hurd/lxstat64.c: New file.
3182 * sysdeps/mach/hurd/xstat64.c: New file.
3183 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
3185 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3187 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
3188 Initialize, needed for change in common symbol handling in newer
3189 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
3191 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3193 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
3194 * elf/constload2.c: Add destructor to unload constload3.
3196 * include/link.h: Include sysd-link.h.
3197 * sysdeps/generic/sysd-link.h: New file.
3198 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
3199 * elf/Makefile (distribute): Add sysd-link.h.
3200 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
3201 types and functions directly.
3202 * elf/dl-misc.c: Likewise.
3203 * elf/dl-profile.c: Likewise.
3205 * elf/loadfail.c (main): Close all successfully loaded objects.
3207 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
3209 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
3210 there is already one.
3212 * elf/dl-close.c: Pretty print.
3214 2000-08-14 Ulrich Drepper <drepper@redhat.com>
3216 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
3217 global (with file scope). Add __libc_subfreeres function to free the
3219 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
3220 in ttyname function.
3222 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
3224 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
3226 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
3227 mapping them to /x5c and /x7e respectively.
3229 * locale/programs/ld-ctype.c: Add support for more definitions after
3232 2000-08-14 Jakub Jelinek <jakub@redhat.com>
3234 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
3235 * sysdeps/unix/sysv/linux/kernel-features.h
3236 (__ASSUME_GETDENTS64_SYSCALL): Define.
3237 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
3238 syscall if available to get d_type fields.
3239 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
3240 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
3241 __lxstat64): Export at GLIBC_2.2.
3242 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
3244 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
3245 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
3246 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
3247 getdirentries64, versionsort64): Remove.
3248 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
3249 getdirentries64, versionsort64): Remove.
3251 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3253 * posix/Makefile: Remove rules to generate glob package.
3255 * posix/Makefile (tests): Add tst-regexloc.
3256 (tst-regexloc-ENV): Add LOCPATH.
3257 * posix/tst-regexloc.c: New file.
3259 2000-08-12 Andreas Jaeger <aj@suse.de>
3261 * include/features.h (__STDC_ISO_10646__): Define.
3262 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
3264 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3266 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
3268 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
3269 for revision 6 and up).
3271 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
3273 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
3274 to get definitions of just these types.
3276 * signal/signal.h: Define thread signal handling functions also for
3279 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
3281 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3282 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3283 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3284 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3286 * sysvipc/sys/shm.h: Define pid_t for XPG.
3288 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
3289 they are not anymore required here.
3291 * wcsmbs/wchar.h: Make the various wide char string and stream
3292 functions available for the respective XPG versions.
3294 * nss/Makefile: Remove rules to build and distribute nss_db.
3296 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
3297 * sysdeps/generic/scandir64.c: Likewise.
3298 * sysdeps/generic/versionsort64.c: Likewise.
3300 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3301 Benjamin Koznik <bkoz@redhat.com>
3303 * libio/fileops.c: Merge with libstdc++-v3.
3304 * libio/genops.c: Likewise.
3305 * libio/iofclose.c: Likewise.
3306 * libio/iofopen.c: Likewise.
3307 * libio/iofwide.c: Likewise.
3308 * libio/libio.h: Likewise.
3309 * libio/libioP.h: Likewise.
3310 * libio/stdfiles.c: Likewise.
3311 * libio/stdio.c: Likewise.
3312 * libio/wfileops.c: Likewise.
3313 * libio/wgenops.c: Likewise.
3315 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
3317 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3319 * locale/programs/localedef.c: Implement --prefix option to allow
3320 writing in standard places of alternative install directories.
3322 * posix/regex.c (compile_range): Implement collation sequence
3323 handling for glibc. Use simple character ordering otherwise and
3326 2000-08-12 Mark Kettenis <kettenis@gnu.org>
3328 * sysdeps/generic/scandir64.c: Include <dirent.h>.
3330 2000-08-12 Andreas Jaeger <aj@suse.de>
3332 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
3333 __USE_FILE_OFFSET64 correctly for locking.
3334 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3336 2000-08-12 Jakub Jelinek <jakub@redhat.com>
3338 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3339 Define for 2.4.1 on sparc as well.
3340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
3341 for F_GETLK64, F_SETLK64, and F_SETLKW64.
3342 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
3343 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
3345 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3347 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
3350 2000-08-12 Andreas Jaeger <aj@suse.de>
3352 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
3353 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
3355 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
3356 mips2 for assembler.
3358 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
3359 if fnctl64 is not available for F_*LK*64.
3361 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
3363 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3365 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3366 Define for 2.4.1 on x86.
3367 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
3368 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
3369 for F_GETLK64, F_SETLK64, and F_SETLKW64.
3371 * dirent/dirent.h: Define DT_WHT.
3373 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
3374 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
3375 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
3376 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
3377 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
3378 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
3380 2000-08-11 Ulrich Drepper <drepper@redhat.com>
3382 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
3383 lookup, pass pointer to array with NULL pointer [PR libc/1858].
3384 * inet/Makefile (tests): Add tst-gethnm.
3385 * inet/tst-gethnm.c: New file.
3387 * rt/aio_cancel.c: If canceling a specific request which is running
3388 *really* do nothing.
3389 * rt/aio_misc.h: Add `done' to states of a request.
3390 * rt/aio_misc.c: Add several tests for the correct state.
3391 Simplify request table memory handling.
3393 2000-08-10 Jakub Jelinek <jakub@redhat.com>
3395 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
3396 * dirent/scandir64.c: Move...
3397 * sysdeps/generic/scandir64.c: ...here.
3398 * dirent/alphasort64.c: Move...
3399 * sysdeps/generic/alphasort64.c: ...here.
3400 * dirent/versionsort64.c: Move...
3401 * sysdeps/generic/versionsort64.c: ...here.
3402 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
3403 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
3404 Export symbols at GLIBC_2.2.
3405 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
3406 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
3407 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
3408 __versionsort64): Add prototypes.
3409 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
3410 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
3412 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
3414 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
3415 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
3416 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
3417 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
3419 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
3420 Adjust for kernel-2.4.0-test6 layout.
3421 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
3422 GLIBC_2.1 and GLIBC_2.2.
3423 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
3424 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
3425 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
3426 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
3427 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
3428 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
3429 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
3430 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
3431 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
3432 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
3433 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
3434 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
3435 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
3436 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
3438 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
3439 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
3440 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
3441 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
3442 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
3443 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
3444 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
3446 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
3447 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
3449 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
3450 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
3451 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
3452 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
3453 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
3455 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
3457 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
3459 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
3460 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
3461 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
3462 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
3463 st_ino from __st_ino.
3464 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
3465 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
3466 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
3467 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
3468 set __st_ino in addition to st_ino.
3469 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
3470 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
3471 __old_getdents64 as well.
3472 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
3473 getdirentries64 and old_getdirentries64 as well.
3474 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
3475 __GETDENTS): Define.
3476 (GETDENTS64): Remove.
3477 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
3479 (GETDENTS64): Remove.
3480 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
3481 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
3482 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
3484 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
3485 __old_readdir64_r as well.
3486 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3487 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
3489 2000-08-08 Jes Sorensen <jes@linuxcare.com>
3491 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
3492 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
3493 define of the kernel.
3494 Add missing __SEG_PSTKOVF definition.
3495 Adjust the padding of struct siginfo and struct sigevent to
3496 match the fact that sigval_t is 64 bit.
3498 2000-08-10 Ulrich Drepper <drepper@redhat.com>
3500 * timezone/zic.c: Update from tzcode2000f.
3501 * timezone/australasia: Update from tzdata2000f.
3502 * timezone/europe: Likewise.
3503 * timezone/southamerica: Likewise.
3504 * timezone/yearistype: Likewise.
3506 2000-08-10 Andreas Jaeger <aj@suse.de>
3508 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
3509 stat with current MIPS kernel.
3511 2000-08-01 Mark Kettenis <kettenis@gnu.org>
3513 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
3514 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
3515 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
3516 Remove the junk that's only relevant in the Linux kernel itself.
3517 Add a warning saying that this file is now obsolete, and include
3519 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
3520 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
3521 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
3522 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
3523 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
3524 and add the notice that the file is primarily there for GDB.
3525 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
3527 2000-08-09 Jakub Jelinek <jakub@redhat.com>
3529 * time/tzfile.c (__tzfile_compute): __tzstring zones
3532 2000-08-09 Jakub Jelinek <jakub@redhat.com>
3534 * resolv/resolv.h (__res_state): Surround prototype with
3535 __BEGIN_DECLS/__END_DECLS.
3536 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
3538 2000-08-04 Jes Sorensen <jes@linuxcare.com>
3540 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
3541 Make independant of asm/resource.h from the Linux kernel.
3543 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3545 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
3547 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3549 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
3550 * locale/Makefile (locale-CPPFLAGS): Likewise.
3552 2000-08-09 Ulrich Drepper <drepper@redhat.com>
3554 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
3557 2000-08-03 Jakub Jelinek <jakub@redhat.com>
3559 * misc/Versions (mincore): Export at GLIBC_2.2.
3561 2000-08-03 Bruno Haible <haible@clisp.cons.org>
3563 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
3565 2000-08-02 Mark Kettenis <kettenis@gnu.org>
3567 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
3568 socketpair. Made socketpair a weak alias.
3569 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
3570 __socketpair. Use S_IFIFO protocol to make pipes POSIX
3571 conforming, but fall back on the old protocol if the socket server
3573 * include/sys/socket.h: Add prototype for __socketpair.
3575 2000-08-09 Andreas Schwab <schwab@suse.de>
3577 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
3578 long long modifier is seen.
3580 * elf/nodelete.c (do_test): Remove reference to undefined member
3582 * rt/tst-aio4.c (do_test): Likewise.
3584 * configure.in: Add `-lm' when checking for libgd.
3585 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
3588 2000-08-09 Andreas Jaeger <aj@suse.de>
3590 * configure.in: Change required make versions.
3592 * manual/install.texi (Tools for Compilation): Document required
3594 (Supported Configurations): Update list of supported
3597 2000-08-08 Ulrich Drepper <drepper@redhat.com>
3599 * locale/linereader.c (get_string): Don't print an error is a string
3600 contains an unknown character.
3602 2000-08-06 Ulrich Drepper <drepper@redhat.com>
3604 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
3605 (new_symbol): Take new parameters with name of the symbol.
3607 (handle_ellipsis): Don't only allow character symbols.
3608 (collate_read): Allow string of collating elements contain invalid
3609 characters; ignore entry in this case.
3610 Handle ellipsis of collating symbols before first order_start.
3611 Allow ellipsis in state 0.
3613 2000-08-04 Ulrich Drepper <drepper@redhat.com>
3615 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
3617 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3619 2000-08-04 Greg McGary <greg@mcgary.org>
3621 * posix/regex.c (SET_HIGH_BOUND): New macro.
3622 (MOVE_BUFFER_POINTER): Use it.
3623 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
3624 (EXTEND_BUFFER): Use it.
3626 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3628 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
3629 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
3630 _wide_data but from _IO_FILE directly.
3631 * libio/iofclose.c: Likewise.
3632 * libio/wfileops.c: Likewise.
3634 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
3635 * libio/libioP.h: Change prototypes.
3637 2000-08-03 Greg McGary <greg@mcgary.org>
3639 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
3640 frame pointer early so that we save caller's frame pointer.
3641 * sysdeps/i386/elf/setjmp.S: Likewise.
3643 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
3644 * io/test-utime.c: Test passing NULL as utimbuf* arg.
3646 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
3647 (MOVE_BUFFER_POINTER): Handle high_bound properly.
3648 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
3650 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3652 * iconvdata/big5.c: Updated.
3653 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3655 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3657 * Makeconfig (all-subdirs): Add conform.
3658 * conform/Makefile: Include ../Rules.
3660 * Makefile (README): Add rules to generate here as well.
3662 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3664 * version.h (VERSION): Bump to 2.1.92.
3666 * sysdeps/ia64/Dist: Add _mcount.S.
3668 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
3670 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
3672 * elf/Makefile (distribute): Add missing modules.
3674 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
3676 * posix/regex.c (compile_range): Translate range start and end
3677 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
3679 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
3682 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
3684 2000-08-02 Andreas Jaeger <aj@suse.de>
3686 * elf/elf.h (EM_S390): Added.
3687 (R_390_*): New relocs for S390.
3689 * sysdeps/unix/sysv/linux/s390/Dist: New file.
3690 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
3691 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
3692 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
3693 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
3694 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3695 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
3696 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
3697 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
3698 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
3699 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
3700 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
3701 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
3702 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
3703 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
3704 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
3705 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
3706 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
3707 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
3708 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
3709 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
3710 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
3711 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
3712 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
3713 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
3714 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
3715 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
3716 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
3717 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
3718 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
3719 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
3720 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
3721 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
3722 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
3723 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
3724 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
3725 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
3726 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
3727 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
3728 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
3729 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
3730 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
3731 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
3732 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
3733 * sysdeps/s390/sysdep.h: New file.
3734 * sysdeps/s390/sys/ucontext.h: New file.
3735 * sysdeps/s390/sub_n.S: New file.
3736 * sysdeps/s390/strncpy.S: New file.
3737 * sysdeps/s390/strcpy.S: New file.
3738 * sysdeps/s390/stackinfo.h: New file.
3739 * sysdeps/s390/setjmp.S: New file.
3740 * sysdeps/s390/s390-mcount.S: New file.
3741 * sysdeps/s390/mul_1.S: New file.
3742 * sysdeps/s390/memusage.h: New file.
3743 * sysdeps/s390/memset.S: New file.
3744 * sysdeps/s390/memcpy.S: New file.
3745 * sysdeps/s390/memchr.S: New file.
3746 * sysdeps/s390/machine-gmon.h: New file.
3747 * sysdeps/s390/ldbl2mpn.c: New file.
3748 * sysdeps/s390/gmp-mparam.h: New file.
3749 * sysdeps/s390/fpu/fpu_control.h: New file.
3750 * sysdeps/s390/fpu/fesetround.c: New file.
3751 * sysdeps/s390/fpu/fegetround.c: New file.
3752 * sysdeps/s390/fpu/fclrexcpt.c: New file.
3753 * sysdeps/s390/fpu/bits/fenv.h: New file.
3754 * sysdeps/s390/ffs.c: New file.
3755 * sysdeps/s390/elf/start.S: New file.
3756 * sysdeps/s390/elf/setjmp.S: New file.
3757 * sysdeps/s390/elf/bsd-setjmp.S: New file.
3758 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
3759 * sysdeps/s390/dl-machine.h: New file.
3760 * sysdeps/s390/bzero.S: New file.
3761 * sysdeps/s390/bsd-setjmp.S: New file.
3762 * sysdeps/s390/bsd-_setjmp.S: New file.
3763 * sysdeps/s390/bits/string.h: New file.
3764 * sysdeps/s390/bits/setjmp.h: New file.
3765 * sysdeps/s390/bits/huge_val.h: New file.
3766 * sysdeps/s390/bits/endian.h: New file.
3767 * sysdeps/s390/bits/byteswap.h: New file.
3768 * sysdeps/s390/bcopy.S: New file.
3769 * sysdeps/s390/backtrace.c: New file.
3770 * sysdeps/s390/atomicity.h: New file.
3771 * sysdeps/s390/asm-syntax.h: New file.
3772 * sysdeps/s390/addmul_1.S: New file.
3773 * sysdeps/s390/add_n.S: New file.
3774 * sysdeps/s390/abort-instr.h: New file.
3775 * sysdeps/s390/__longjmp.c: New file.
3776 * sysdeps/s390/Makefile: New file.
3777 * sysdeps/s390/Implies: New file.
3778 * sysdeps/s390/Dist: New file.
3779 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3781 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3783 Remove incompatible IPv6 extension of RPC.
3784 * sunrpc/Makefile: Undo changes.
3785 * sunrpc/rpc_main.c: Likewise.
3786 * sunrpc/rpc/clnt.h: Likewise.
3787 * sunrpc/rpc/svc.h: Likewise.
3788 * sunrpc/bindrsvprt6.c: Removed.
3789 * sunrpc/clnt_tcp6.c: Removed.
3790 * sunrpc/clnt_udp6.c: Removed.
3791 * sunrpc/svc_tcp6.c: Removed.
3792 * sunrpc/svc_udp6.c: Removed.
3794 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
3795 dgettext, and dcgettetxt.
3797 * intl/locale.alias: Update japanese aliases.
3799 * sysdeps/ia64/bits/byteswap.h: New file.
3800 Patch by Dan Pop <Dan.Pop@cern.ch>.
3802 * misc/sys/cdefs.h: Define __attribute_format_arg__.
3803 * intl/libintl.h: Use it here instead of using __attribute__ directly.
3805 2000-07-13 H.J. Lu <hjl@gnu.org>
3807 * posix/regex.c (re_max_failures): Set to 4000.
3809 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3811 * gnulib/Makefile (tests): Add tst-gcc.
3812 * gnulib/tst-gcc.c: New file.
3814 * assert/Makefile (routines): Add __assert.
3815 * assert/Versions: Export __assert for glibc 2.2.
3816 * assert/__assert.c: New file.
3817 * assert/assert.h: Declare __assert.
3819 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3821 * locale/localeinfo.h (_ISCTYPE): New macro.
3822 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
3823 LC_CTYPE locale format.
3824 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
3825 (ctype_output): Output class_b[nr] right before class_3level[nr].
3826 (allocate_arrays): Fill class_b, similarly to class_3level.
3828 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3829 Joseph S. Myers <jsm28@cam.ac.uk>
3831 * math/tgmath.h: Make standard compliant. Don't ask how.
3833 2000-07-04 H.J. Lu <hjl@gnu.org>
3835 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
3836 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
3837 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
3839 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3841 * include/features.h (_XOPEN_SOURCE): Update the explanation.
3842 (__USE_LARGEFILE): Add an explanation.
3843 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
3844 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
3846 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3848 * libio/Makefile: Enable exception handling for genops, wgenops,
3849 fileops, and wfileops.
3851 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3853 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
3854 acount that elf/rtld's main program might remove some varibales
3855 from the environment if we're trying to be secure. Move the Hurd
3856 startup data if necessary, or, if we there is no startup data,
3857 make sure the magical convention that ARGV[0] is stored just after
3858 the environment list.
3860 2000-08-01 Philip Blundell <philb@gnu.org>
3862 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
3863 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
3864 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
3865 oldsetrlimit for GLIBC_2.0.
3867 2000-08-01 Andreas Jaeger <aj@suse.de>
3869 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
3870 (LINE_PARSER): Allow any number of spaces between ip address and
3871 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
3873 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
3875 * include/netdb.h: Remove getipnodebyaddr and friends, leave
3878 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
3879 _nss_nisplus_getipnodebyname_r.
3881 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
3882 now, getipnodebyname is deprecated.
3883 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
3886 * inet/Makefile (routines): Don't build getipnodebyaddr and
3889 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
3891 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
3893 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
3895 * wctype/Makefile (distribute): Add wchar-lookup.h.
3897 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
3899 * iconvdata/Makefile (distribute): Add isiri-3342.h.
3901 2000-08-01 Andreas Schwab <schwab@suse.de>
3903 * Make-dist (dist): Resolve `..' in file names.
3905 2000-08-01 Andreas Jaeger <aj@suse.de>
3907 * stdio-common/Makefile (distribute): Remove removed files, add
3910 * Makefile (distribute): Remove include/db_185.h and db.h.
3912 * include/db_185.h: Remove, it's not needed anymore.
3913 * include/db.h: Likewise.
3915 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3917 * inet/Makefile (tests): Remove tst-ipnode.
3918 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
3921 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3923 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
3924 endp statements have already been added.
3926 2000-04-18 David Mosberger <davidm@hpl.hp.com>
3928 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
3929 <sysdeps/ia64/sysdep.h>.
3931 * sysdeps/ia64/_mcount.S: New file.
3933 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
3934 __gmon_start__. Fix up extraneous whitespace.
3936 2000-01-12 H.J. Lu <hjl@gnu.org>
3938 * sysdeps/ia64/elf/initfini.c: New file.
3940 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3942 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
3943 dependency between branch and ar.pfs write.
3945 2000-07-31 H.J. Lu <hjl@gnu.org>
3947 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
3948 handle the wchar_t array.
3950 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3952 * iconvdata/gb18030.c: Don't map to and from positions in ISO
3953 10646 which are not yet assigned.
3954 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
3956 2000-07-31 Andreas Jaeger <aj@suse.de>
3958 * inet/Versions: Remove getipnodebyaddr and friends from
3961 * resolv/netdb.h: Remove getipnodebyaddr and friends.
3963 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3965 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
3966 ch >= 0x81 && ch2 < 0x40 as invalid.
3968 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3970 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
3971 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
3973 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3975 * iconvdata/johab.c (BODY for TO_LOOP): After calling
3976 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
3978 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3980 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
3982 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
3984 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3986 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
3988 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3990 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
3991 (from_ucs4): Change values of U+00A4 and U+00ED.
3992 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
3994 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3996 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
3997 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
3999 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4001 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
4002 * iconvdata/isiri-3342.h: New file.
4003 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
4004 treat 0x80 as a gap.
4006 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4008 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
4009 (utf8_encode): Use simple shifts instead. Fix return value.
4011 2000-07-31 Ulrich Drepper <drepper@redhat.com>
4013 * timezone/private.h: Update from tzcode2000e.
4014 * timezone/asia: Update from tzdata2000e.
4015 * timezone/australasia: Likewise.
4016 * timezone/europe: Likewise.
4017 * timezone/northamerica: Likewise.
4018 * timezone/zone-tab: Likewise.
4020 2000-07-30 Ralf Baechle <ralf@gnu.org>
4022 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
4023 the order of struct sigaltstack members is different.
4025 2000-07-26 Philip Blundell <philb@gnu.org>
4027 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
4029 2000-07-29 Ulrich Drepper <drepper@redhat.com>
4031 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
4032 * locale/programs/ld-ctype.c: Adjust for this.
4034 * locale/programs/ld-collate.c: Add more alignment checks.
4035 * locale/string/strcoll.c: Likewise.
4037 2000-07-30 Mark Kettenis <kettenis@gnu.org>
4039 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
4040 outside USE_IN_LIBIO block.
4042 2000-07-26 Philip Blundell <philb@gnu.org>
4044 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
4045 (elf_machine_rel): Use it for out-of-range PC24 relocs.
4047 2000-07-28 Philip Blundell <philb@gnu.org>
4049 * math/test-fpucw.c: Ignore reserved bits in control word.
4051 2000-07-28 Philip Blundell <philb@gnu.org>
4053 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
4054 (ret): Redefine to PSEUDO_RET.
4055 (PSEUDO): Remove jump to syscall_error.
4057 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4059 * resolv/README: Add some information about using the resolver in
4060 multi-threaded code and with C++. Spelling fixes.
4062 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4064 * resolv/resolv.h (struct __sockaddr_in): Remove.
4065 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
4067 2000-07-29 Greg McGary <greg@mcgary.org>
4069 * Rules (test-bp-inputs, make-test-out): New variables.
4070 ($(objpfx)%-bp.out): New rule.
4071 ($(objpfx)%.out): Rewrite in terms of new variables.
4073 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
4074 internal function that uses vtable.
4075 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4076 * libio/vswprintf.c (_IO_vswprintf): Likewise.
4078 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
4079 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
4080 (chunk_align): Likewise.
4082 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
4083 in a way that conforms to decl, and avoids spurious bounds violation.
4085 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
4086 * sysdeps/generic/frame.h: Likewise.
4087 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
4088 around return value.
4089 (__backtrace): Qualify frame-pointer chain and return address
4090 pointers as __unbounded. Wrap bounds around variable `current'.
4091 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
4092 around return value.
4093 (catch_segfault): Qualify frame-pointer chain and return address
4094 pointers as __unbounded. Wrap bounds around variable `current'.
4095 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
4096 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
4097 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
4099 (__backtrace): Qualify frame-pointer chain and return address
4100 pointers as __unbounded. Wrap bounds around variable `current'.
4102 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
4103 * sysdeps/i386/mul_1.S: Likewise.
4104 * sysdeps/i386/submul_1.S: Likewise.
4105 * sysdeps/i386/i586/addmul_1.S: Likewise.
4106 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
4107 * sysdeps/i386/i586/submul_1.S: Likewise.
4109 2000-07-27 Andreas Jaeger <aj@suse.de>
4111 * libio/Depend: New file, libio needs localedata for tests.
4112 * posix/Depend: Likewise.
4114 2000-07-28 Ulrich Drepper <drepper@redhat.com>
4116 * stdio-common/_i18n_itoa.c: Removed.
4117 * stdio-common/_i18n_itoa.h: Removed.
4118 * stdio-common/_i18n_itowa.c: Removed.
4119 * stdio-common/_i18n_itowa.h: Removed.
4120 * stdio-common/_i18n_number.h: New file.
4121 * stdio-common/Depend: New file.
4122 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
4123 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
4124 printing. Change printing of numbers with locale specific digits to
4125 use new code in _i18n_number.h.
4126 * stdio-common/Makefile (routines): Remove _i18n_itoa and
4129 * stdio-common/bug13.c: Improve messages.
4131 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
4132 (set_class_defaults): Always search also for Uxxxx names.
4133 Detect insufficient number of outdigits.
4135 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
4137 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4139 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
4140 _NL_CTYPE_MAP_NAMES.
4141 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
4142 * wctype/wcfuncs.c (towlower, towupper): Use them.
4143 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
4144 * wctype/wctrans.c (wctrans): Likewise.
4145 * wctype/wctrans_l.c (__wctrans_l): Likewise.
4147 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4149 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
4150 Use the optimized version of this function outside glibc as well.
4152 2000-07-27 Jakub Jelinek <jakub@redhat.com>
4154 * locale/indigits.h (indigit_value): Correct.
4155 * locale/indigitswc.h (indigitwc_value): Correct.
4156 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
4157 conversion, add GROUP checking for it, fix GROUP number
4158 conversion with strlen(thousands) > 1.
4159 Honour width correctly in the presence of floating
4160 decimal points and thousands separators.
4161 * stdio-common/tst-sscanf.c: New test.
4162 * stdio-common/Makefile: Add it to tests.
4163 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
4164 thousands separators and group argument is non-zero.
4166 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4168 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
4169 starts at GLIBC_2.2.
4171 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4173 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
4174 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
4176 (headers): Add sys/tas.h.
4177 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
4178 GLIBC_2.2 from libc.
4179 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
4180 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
4183 2000-07-28 Andreas Jaeger <aj@suse.de>
4185 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
4187 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
4188 ($(objpfx)tst-dladdr.out): new.
4189 (tests): Add tst-dladdr.
4190 ($(objpfx)glrefmain): Use libdl.
4192 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
4195 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4197 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
4198 ftruncate(64) calls.
4200 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4202 * intl/tst-translit.c: Include string.h to get prototype for
4205 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4207 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
4208 name and add weak alias for __fork.
4210 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
4211 & pwrite to use __libc_<name> as strong names instead of
4214 * include/sched.h: Add clone2 prototype.
4216 2000-07-26 Jes Sorensen <jes@linuxcare.com>
4218 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
4219 procedure name twice.
4221 2000-07-27 Philip Blundell <philb@gnu.org>
4223 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
4225 2000-07-27 Andreas Jaeger <aj@suse.de>
4227 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
4228 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
4229 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4230 Reported by Andi Kleen <ak@suse.de>.
4232 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
4233 (do_wait): Test requests with aio_return64.
4234 (do_test): Change callers of do_wait.
4236 2000-07-26 Andreas Jaeger <aj@suse.de>
4238 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
4239 (do_wait): Test requests with aio_return.
4240 (do_test): Change callers of do_wait.
4242 2000-07-27 Ulrich Drepper <drepper@redhat.com>
4244 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
4245 from request list. Don't do the list handling here, call
4246 __aio_remove_request.
4247 * rt/aio_misc.h: Add prototype for __aio_remove_request.
4248 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
4249 request might already be processed. Don't do the list handling
4250 here, call __aio_remove_request.
4252 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
4255 * rt/aio_misc.c: Add comment explaining why writer memory barriers
4258 2000-07-27 Greg McGary <greg@mcgary.org>
4260 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
4261 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
4262 in union init. Pass zero for ignored semnum arg to semctl.
4263 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
4265 2000-07-26 Greg McGary <greg@mcgary.org>
4267 * sysdeps/gnu/bits/msq.h: Qualify kernel's
4268 data structure pointers as __unbounded.
4269 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4270 * sysdeps/generic/bp-semctl.h: New file.
4271 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
4272 pointers as __unbounded. Check bounds of syscall args.
4273 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4274 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
4275 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4276 * sysdeps/unix/sysv/linux/semop.c: Likewise.
4277 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
4278 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4279 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
4280 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
4281 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
4282 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
4283 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
4284 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
4285 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
4286 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
4287 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4288 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
4290 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4292 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
4294 * locale/C-ctype.c: Likewise.
4295 * wcsmbs/wcsmbsload.c: Likewise.
4297 2000-07-26 Greg McGary <greg@mcgary.org>
4299 * Makeconfig (+link-bounded, link-libc-bounded,
4300 link-extra-libs-bounded): New variables.
4301 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
4302 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
4303 * Rules (tests-bp.out): New variable.
4304 (tests): Conditionally add BP tests.
4305 (binaries-bounded): Add variable and associated rule.
4306 * csu/Makefile [build-bounded] (extra-objs, install-lib):
4307 Move conditional stuff after place where condition is defined.
4309 * malloc/malloc.c (bp-checks.h): Add #include.
4310 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
4311 (_bin_at): Add unbounded version of bin_at.
4312 (IAV, chunk_alloc): Use unbounded _bin_at.
4313 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
4314 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
4315 Wrap BOUNDED_N around return value.
4316 (chunk_realloc): Adjust oldsize once.
4318 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
4319 (__ubp_memchr): Add correct decl.
4320 (_CHECK_STRING): Use __ubp_memchr.
4321 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4322 New alias for unbounded-pointer __memchr.
4323 * sysdeps/i386/memchr.S: Likewise.
4324 * sysdeps/ia64/memchr.S: Likewise.
4325 * sysdeps/m68k/memchr.S: Likewise.
4326 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4327 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4328 * sysdeps/vax/memchr.s: Likewise.
4330 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
4331 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
4332 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
4333 * sysdeps/i386/i686/strtok.S: Likewise.
4334 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
4335 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
4337 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
4338 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
4340 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
4341 bounds of copy_result to mount_proc.
4343 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4345 * wctype/wctype.h (__wctrans_l): New declaration.
4346 * wctype/wctrans_l.c: New file.
4347 * wctype/Makefile (routines): Add wctrans_l.
4349 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4351 * posix/fnmatch_loop.c: Fixes for use outside glibc.
4352 Patch by MacGyver <macgyver@tos.net>.
4354 2000-07-26 Andreas Jaeger <aj@suse.de>
4356 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
4357 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
4358 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
4360 * rt/tst-aio.c (test_file): Fix typo.
4361 * rt/tst-aio64.c (test_file): Likewise.
4363 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
4364 * rt/Makefile: Add rules to build and run tst-aio3.
4366 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
4367 it's not needed and confuses only.
4369 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4371 * resolv/res_init.c: Add support for nameserver communication with
4373 * resolv/res_send.c: Likewise.
4374 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
4376 Patch by <venaas@nvg.ntnu.no>.
4378 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4380 * locale/programs/ld-ctype.c (wctype_table_get): New function.
4381 (wcwidth_table_get): New function.
4382 (wcwidth_table_add): Call it.
4383 (wctrans_table_get): New function.
4384 (wctrans_table_add): Call it.
4386 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4388 * rt/lio_listio.c (lio_listio): Always disable individual
4390 * rt/Makefile: Add rules to build and run tst-aio2.
4391 * rt/tst-aio2.c: New file.
4393 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
4394 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
4396 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4398 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
4399 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
4400 leading and trailing spaces from host, user and domain name.
4402 2000-07-25 Jes Sorensen <jes@linuxcare.com>
4404 * csu/defs.awk: Add support for need_endp.
4406 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4408 * resolv/resolv.h: Remove __P from res_send_qhook and
4409 res_send_rhook typedefs.
4411 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4413 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
4415 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4417 * iconv/gconv_builtin.h: Add WCHAR_T alias.
4419 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4421 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
4422 calling thread, set the cancellation flag and return success
4425 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4427 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
4428 * libio/tst-widetext.c: New file.
4429 * libio/tst-widetext.input: New file.
4431 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
4433 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
4434 empty external buffer correctly.
4436 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4438 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
4439 __STRING(entry) and not #entry.
4440 (_RTLD_EPILOGUE): Likewise.
4441 * sysdeps/mips/mips64/dl-machine.h: Likewise.
4443 2000-07-25 Andreas Jaeger <aj@suse.de>
4445 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
4446 according to changes in test program, run also with static only
4448 ($(objpfx)tst-printf.out): Likewise.
4450 * stdio-common/tst-unbputc.sh: Likewise.
4451 * stdio-common/tst-printf.sh: Likewise.
4453 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4455 * libio/wfileops.c (_IO_wdo_write): Correct return value.
4457 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
4460 * libio/fileops.c: Pretty print.
4462 2000-07-23 Bruno Haible <haible@clisp.cons.org>
4464 * wctype/wchar-lookup.h: New file.
4465 * wctype/iswctype.c: Include "wchar-lookup.h".
4466 (__iswctype): Support alternate locale format with 3-level tables.
4467 * wctype/iswctype_l.c (__iswctype_l): Likewise.
4468 * wctype/towctrans.c (__towctrans): Likewise.
4469 * wctype/towctrans_l.c (__towctrans_l): Likewise.
4470 * wctype/wcfuncs.c: Include "wchar-lookup.h".
4471 (__ctype32_wctype, __ctype32_wctrans): Declare external.
4472 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
4473 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
4474 __iswxdigit, towlower, towupper): Support alternate locale format
4475 with 3-level tables.
4476 * wctype/wcextra.c (iswblank): Likewise.
4477 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
4478 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
4479 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
4480 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
4481 format with 3-level tables.
4482 * wctype/wcextra_l.c (__iswblank_l): Likewise.
4483 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
4484 format, return a 3-level table pointer.
4485 * wctype/wctype_l.c (__wctype_l): Likewise.
4486 * wctype/wctrans.c (wctrans): Likewise.
4487 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
4488 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
4489 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
4490 (iswctype): Remove macro definition.
4491 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
4492 (internal_wcwidth): Support alternate locale format with 3-level
4494 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4496 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4497 Define them as being type "word".
4498 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
4499 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
4500 __ctype32_width): New exported variables.
4501 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
4502 alternate locale format. Don't initialize __ctype_names and
4503 __ctype_width in the alternate locale format.
4504 * locale/programs/localedef.h (oldstyle_tables): New declaration.
4505 * locale/programs/localedef.c (oldstyle_tables): New variable.
4506 (OPT_OLDSTYLE): New macro.
4507 (options): Add --old-style option.
4508 (parse_opt): Handle --old-style option.
4509 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
4510 map_offset, class_3level, map_3level, width_3level members.
4511 (ctype_output): Support for alternate locale format: Computation of
4512 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
4513 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
4514 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
4515 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
4516 now contain both class and map tables.
4517 (struct wctype_table): New type.
4518 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
4520 (struct wcwidth_table): New type.
4521 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
4523 (struct wctrans_table): New type.
4524 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
4526 (allocate_arrays): Support for alternate locale format: Set
4527 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
4528 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
4529 to the first 256 characters. Compute ctype->map_3level. Set
4530 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
4531 instead of ctype->width.
4533 2000-07-24 Ulrich Drepper <drepper@redhat.com>
4535 * libio/iogetwline.c (_IO_getwline_info): Use wide character
4538 2000-07-24 Jakub Jelinek <jakub@redhat.com>
4540 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
4541 in wide characters, not bytes.
4542 * libio/tst_putwc.c (do_test): Add test for writing lots of data
4545 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4547 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
4548 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
4549 LC_MEASUREMENT, LC_IDENTIFICATION.
4551 * locale/xlocale.h (struct __locale_struct): Increase size of
4553 * locale/duplocale.c (__duplocale): Copy newly added categories as
4555 * locale/freelocale.c (__freelocale): Free newly added categories.
4556 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
4557 If a base is given, use it, don't simply return it.
4559 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4561 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
4562 variables, copied_key and copied_salt, instead of boolean variables.
4564 2000-07-24 Andreas Jaeger <aj@suse.de>
4566 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
4569 * grp/initgroups.c (initgroups_dyn_function): Renamed from
4570 initgroups_function, adopted prototype for change from 2000-07-23.
4571 (initgroups): Follow type change.
4573 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
4574 & PAGE_MASK case, reformat.
4576 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
4577 from stdin and setup environment.
4579 2000-07-24 Andreas Schwab <schwab@suse.de>
4581 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
4583 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4585 * string/endian.h: Explain the _*_ENDIAN constant values a bit
4586 more. Patch by scarlet@mit.edu [PR libc/1799].
4588 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
4591 * argp/argp-parse.c (parser_finalize): Reverse order in which
4592 parsers are run for ARGP_KEY_END. [PR libc/1755].
4594 * grp/initgroups.c (initgroups): Don't limit the possible number
4595 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
4596 the setgroups call while the call fails and descrease the number
4597 of groups each round.
4598 The name of the initgroups function in the NSS modules changed.
4599 (compat_call): Adapt for dynamic resizing.
4600 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4601 Implement dynamic resizing.
4602 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4604 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
4605 * hesiod/Versions: Change exported interface name.
4606 * nis/Versions: Change exported interface name.
4608 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4610 * locale/iso-639.def: Some errors corrected.
4611 Patch by Keld Simonsen.
4613 * include/limits.h: Update non-gcc portion.
4614 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4616 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4618 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
4619 program's data space, reallocate only the space that was just
4620 deallocated to release its backing space.
4622 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4624 * stdio-common/vfprintf.c (process_string_arg): For wide character
4625 version, handle precision also correctly.
4627 * nss/nss_files/files-hosts.c: Correct problem with three or more
4628 entries with the same name.
4630 * nss/nss_files/files-hosts.c: Implement multi handling.
4631 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
4633 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4635 * nss/nss_files/files-parse.c: Don't pollute namespace by using
4638 * grp/Makefile: Change Makefiles and tests to run only when necessary.
4639 * malloc/Makefile: Likewise.
4640 * malloc/tst-mtrace.sh: Likewise.
4641 * posix/Makefile: Likewise.
4642 * posix/globtest.sh: Likewise.
4643 * posix/wordexp-tst.sh: Likewise.
4644 * string/Makefile: Likewise.
4646 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4648 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
4649 size instead of LC_ALL to take into account the new locale
4652 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4654 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
4655 remainders of hash table.
4656 * locale/categories.def: Remove remainders of transliteration
4658 * locale/langinfo.h: Likewise.
4659 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
4660 transliteration tables.
4662 * locale/gen-translit.pl: New file.
4663 * locale/C-translit.h.in: New file.
4664 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
4665 data pointers with data from this file.
4666 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
4667 and gen-translit.pl.
4668 Add rule to generate C-translit.h.
4669 * intl/tst-translit.c (main): Update for now performed
4672 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
4673 (it's no input error).
4674 * stdio-common/tstscanf.c: Add test case for format %f with input --.
4675 * stdio-common/scanf12.c: Correct expected result for first scanf.
4677 * stdio-common/vfprintf.c (process_string_arg): Correct handling
4678 of multibyte character strings in %s format with precision.
4680 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4682 * locale/programs/ld-collate.c (collate_read): Allow collating
4683 symbols and elements be named in reorder-after instructions.
4684 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4686 * locale/programs/ld-collate.c (handle_ellipsis): Test for
4687 duplication with generated name, not the name of the first
4689 Patch by Yong Li <yong.li@asu.edu>.
4691 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
4692 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4694 2000-07-21 Wolfram Gloger <wg@malloc.de>
4696 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
4697 allocations only if a non-main arena cannot be extended.
4699 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4701 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
4702 in DF_1_NODEFLIB handling.
4704 2000-07-21 Andreas Jaeger <aj@suse.de>
4706 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
4709 * libio/fwide.c: Include <wchar.h> for prototype.
4711 2000-07-21 Greg McGary <greg@mcgary.org>
4713 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
4714 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
4715 Define in terms of chunk_at_offset.
4716 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
4717 (next_bin, prev_bin): offset by size of real array elements.
4718 (chunk_align): Make `m' a scalar, since that's how it's used.
4720 2000-07-21 Greg McGary <greg@mcgary.org>
4722 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
4724 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
4725 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
4726 Wrap bounds around argv & envp and each of their string members.
4727 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
4728 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
4729 symbol in BP_SYM (). Discard bounds of address arg.
4730 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4731 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
4732 Discard bounds on address arg, add bounds to return value.
4734 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4736 * elf/Makefile (tests): Add filter. Add rules to generate filter.
4737 * elf/filter.c: New file.
4738 * elf/filtmod1.c: New file.
4739 * elf/filtmod2.c: New file.
4741 * elf/rtld.c: Define _dl_bind_not variable.
4742 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
4743 * elf/dl-support.c: Likewise.
4744 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
4745 * elf/dl-runtime.c (fixup): Don't remember looked up value if
4747 (profile_fixup): Likewise.
4749 * libio/Makefile (routines): Add fwide.
4750 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
4751 fwide now. Internal calls to _IO_fwide must do locking themselves
4752 or don't need locking.
4753 * libio/fwide.c: New file.
4755 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
4757 * elf/Makefile: Add no modules for nodelete test.
4758 * elf/nodelmod3.c: New file.
4759 * elf/nodelmod4.c: New file.
4760 * elf/nodelete.c: Also test case where dependency of dlopen() object
4763 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
4764 * elf/nodlopen.c: New file.
4765 * elf/nodlopenmod.c: New file.
4766 * include/dlfcn.h: Define __RTLD_DLOPEN.
4767 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
4768 and this is a dlopen() call, do not load the binary.
4769 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
4770 * dlfcn/dlopenold.c: Likewise.
4771 * configure.in: Add test for -z nodelete option.
4772 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4774 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4776 Make Hesiod NSS module thread-safe.
4778 * hesiod/README.hesiod: Update.
4780 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
4781 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
4782 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
4783 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
4785 * hesiod/nss_hesiod/hesiod-init.c: New file.
4786 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
4787 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
4788 * hesiod/nss_hesiod/nss_hesiod.h: New file.
4789 * hesiod/nss_hesiod/hesiod-service.c
4790 (_nss_hesiod_getservbyport_r): New function. Provide support for
4791 looking up services by port number.
4792 * hesiod/nss_hesiod/hesiod-proto.c: New file.
4794 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
4795 * hesiod/hesiod.h: Likewise.
4796 * hesiod/hesiod_p.h: Likewise.
4798 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4800 Fix problems with `struct __res_state' getting too big.
4801 * resolv/resolv.h (struct __sockaddr_in): New definition.
4802 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
4803 the private parts of the structure to save some space.
4804 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
4805 (struct sockaddr_in *) in call to sock_eq.
4806 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
4808 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4810 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
4811 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
4813 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
4814 to _dl_map_object. Return immediately if no object loaded.
4815 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
4816 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
4817 if it exists into l_flags_1 word.
4818 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
4819 it to determine whether loading is wanted or not.
4820 (_dl_map_object): Likewise.
4821 Call _dl_map_object_from_fd with new parameter.
4822 * sysdeps/generic/ldsodefs.h: Update prototype.
4823 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
4824 * elf/rtld.c: Likewise.
4825 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4826 * elf/Makefile (tests): Add noload. Add rules to generate noload.
4827 * elf/noload.c: New file.
4828 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
4829 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
4830 * sysdeps/mips/bits/dlfcn.h: Likewise.
4831 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
4832 (tests-nodelete-yes): Define.
4833 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
4834 Add rules to build nodelete and modules.
4835 * elf/nodelete.c: New file.
4836 * elf/nodelmod1.c: New file.
4837 * elf/nodelmod2.c: New file.
4838 * configure.in: Add test for -z nodelete option.
4839 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4841 * libio/Makefile (tests): Add tst_wprintf2.
4842 (tst_wprintf2-ARGS): Define.
4843 * libio/tst_wprintf2.c: New file.
4844 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
4846 * libio/wfiledoalloc.c: Only allocate external buffer if this
4847 hasn't happened yet.
4849 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
4850 something in the buffer. gconv call can write up to end of the
4851 buffer, not only _IO_write_end.
4852 (_IO_wfile_overflow): Allocate also external buffer.
4854 2000-07-19 Ulrich Drepper <drepper@redhat.com>
4856 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
4857 strings with precision in vfwprintf correctly.
4858 * stdio-common/vfprintf.c: Fix completely broken handling of
4859 unbuffered wide character streams.
4860 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4862 * resolv/Makefile (distribute): Add README.
4864 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
4866 2000-07-18 Mark Kettenis <kettenis@gnu.org>
4868 Update resolver code to BIND 8.2.3-T5B.
4870 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
4872 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
4873 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
4875 * resolv/Banner: BIND-8.2.3-T5B.
4877 * resolv/base64.c: Update from BIND 8.2.3-T5B.
4878 * resolv/herror.c: Likewise.
4879 * resolv/inet_addr.c: Likewise.
4880 * resolv/inet_net_ntop.c: Likewise.
4881 * resolv/inet_net_pton.c: Likewise.
4882 * resolv/inet_neta.c: Likewise.
4883 * resolv/inet_ntop.c: Likewise.
4884 * resolv/nsap_addr.c: Likewise.
4885 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
4886 IPv6 addresses (ISC bug #520).
4888 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
4889 * resolv/ns_parse.c: Likewise.
4890 * resolv/ns_netint.c: Likewise.
4891 * resolv/ns_samedomain.c: Likewise.
4892 * resolv/ns_ttl.c: Likewise.
4893 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
4894 RCS ID in object file.
4896 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
4897 * resolv/res_mkquery.c: Likewise.
4898 * resolv/res_query.c: Likewise.
4899 * resolv/res_init.c: Likewise.
4900 (res_setoptions): Mark internal.
4901 * resolv/res_send.c: Likewise.
4902 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
4903 by using poll instead.
4904 * resolv/res_comp.c: Likewise.
4905 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
4906 weak alias for __dn_expand.
4907 * resolv/res_data.c: Likewise.
4908 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
4909 in _res.options. Avoids a potential security risk by avoiding a
4911 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
4912 res_mkquery, res_query, res_querydomain adn res_search weak
4913 aliases for __res_mkquery, __res_query, __res_querydomain and
4915 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
4916 instead to avoid close(0).
4917 (res_init): Always use the static resolver context.
4918 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
4919 alias for __res_init.
4921 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
4922 RES_SET_H_ERRNO and accompanying comment to...
4923 * include/resolv.h: ... here.
4925 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
4926 * resolv/arpa/nameser_compat.h: Likewise.
4928 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4930 * nss/makedb.c (main): Compare result of load_db with
4931 NSS_STATUS_SUCCESS and not 0.
4932 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
4934 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
4936 2000-07-18 Greg McGary <greg@mcgary.org>
4938 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
4939 (EXTEND_BUFFER): Use it.
4941 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4943 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
4944 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
4945 __builtin_return_address.
4946 * dlfcn/dlopenold.c: Likewise.
4947 * dlfcn/dlsym.c: Likewise.
4948 * dlfcn/dlvsym.c: Likewise.
4949 * elf/dl-profstub.c: Likewise.
4950 * malloc/malloc.c: Likewise.
4951 * sysdeps/generic/machine-gmon.h: Likewise.
4952 Based on a patch by schwidefsky@de.ibm.com.
4954 2000-07-18 Andreas Jaeger <aj@suse.de>
4956 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
4957 NULL to elf_machine_fixup_plt t argument to silence GCC.
4959 * include/string.h: Add prototype for __memchr.
4961 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
4963 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
4966 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4968 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
4970 * locale/C-ctype.c: Add initializers for gap elements.
4971 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
4974 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4976 * nscd/nscd.c (print_version): Update copyright year.
4978 2000-07-17 Greg McGary <greg@mcgary.org>
4980 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4981 keyletters F, I, S, W. Remove unused keyletter V. Surround
4982 signature argnames with angle-brackets for use as word delimiters,
4983 and to induce syntax errors for any args not handled. Split
4984 multi-echo echoes and comment each stage.
4985 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
4986 * sysdeps/unix/inet/syscalls.list: Likewise.
4987 * sysdeps/unix/mman/syscalls.list: Likewise.
4988 * sysdeps/unix/syscalls.list: Likewise.
4989 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4990 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4991 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4992 * sysdeps/unix/sysv/syscalls.list: Likewise.
4993 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
4995 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
4996 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
4997 qualifiers. Don't check NULL-terminator of argv & envp.
4998 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
4999 unbounded pointer type in word-size assertion.
5000 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
5001 cases to stifle warnings.
5003 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
5005 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5007 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
5008 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
5011 * Makerules (o-objects): Supplement with $(o-objects$o).
5012 * string/Makefile (o-objects.ob): Add variable to pull
5013 unbounded versions of memcpy, memset and memchr into libc_b.
5015 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
5016 rather than non-existent __ubp_memchr.
5017 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
5018 (_CHECK_STRING, _CHECK_N): New macros.
5019 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
5020 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
5021 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
5022 Add weak alias "memchr".
5023 * sysdeps/generic/memchr.c: Likewise.
5024 * sysdeps/i386/memchr.S: Likewise.
5025 * sysdeps/ia64/memchr.S: Likewise.
5026 * sysdeps/m68k/memchr.S: Likewise.
5027 * sysdeps/sparc/sparc32/memchr.S: Likewise.
5028 * sysdeps/sparc/sparc64/memchr.S: Likewise.
5029 * sysdeps/vax/memchr.s: Likewise.
5031 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
5033 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
5034 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
5035 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
5036 __BOUNDED_POINTERS__.
5037 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
5038 for __BOUNDED_POINTERS__.
5040 2000-07-17 Bruno Haible <haible@clisp.cons.org>
5042 * iconv/gconv_open.c (__gconv_open): Initialize the __data
5043 field of struct __gconv_trans_data differently. Don't pass NULL to
5044 trans_init_fct. Simplify list append operation.
5046 2000-07-14 Bruno Haible <haible@clisp.cons.org>
5048 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
5049 not only those having tsearch.
5051 2000-07-17 Ulrich Drepper <drepper@redhat.com>
5053 * locale/langinfo.h: Add placeholder values in enum for removed
5056 2000-07-17 Jakub Jelinek <jakub@redhat.com>
5058 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
5059 chain if the PHDR check fails.
5061 2000-07-17 Mark Kettenis <kettenis@gnu.org>
5063 * nss/getent.c (print_hosts): Make sure we always print a space
5064 between numeric addresses and hostnames.
5066 2000-07-17 Wolfram Gloger <wg@malloc.de>
5068 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
5069 i.e. if n_mmaps_max>0.
5071 2000-07-16 Mark Kettenis <kettenis@gnu.org>
5073 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
5074 values to remove possible clash with other AI_* constants.
5075 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
5076 hexadecimal constants to stress the fact they're in fact
5079 2000-07-15 Mark Kettenis <kettenis@gnu.org>
5081 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
5082 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
5083 instead of res_init.
5085 2000-07-16 Ulrich Drepper <drepper@redhat.com>
5087 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
5088 parameters of memset calls to avoid warnings.
5090 2000-07-15 Ulrich Drepper <drepper@redhat.com>
5092 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
5095 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
5096 Patch by Greg McGary <greg@mcgary.org>.
5098 * io/Makefile (tests): Add tst-getcwd.
5099 * io/tst-getcwd.c: New file.
5101 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
5103 2000-07-15 Jakub Jelinek <jakub@redhat.com>
5105 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
5108 2000-07-13 Jakub Jelinek <jakub@redhat.com>
5110 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
5111 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
5113 2000-07-12 H.J. Lu <hjl@gnu.org>
5115 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
5117 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
5118 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
5119 (sysdep-routines): Add clone2.
5120 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
5122 2000-07-13 Jes Sorensen <jes@linuxcare.com>
5124 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
5125 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
5127 2000-06-05 David Mosberger <davidm@hpl.hp.com>
5129 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
5130 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
5131 Change type of si_band from "int" to "long".
5132 (si_imm) [USE_GNU]: Define
5133 (si_isr) [USE_GNU]: Likewise.
5134 (ILL_BREAK) [USE_GNU]: Likewise.
5135 (FPE_DECOVF) [USE_GNU]: Likewise.
5136 (FPE_DECDIV) [USE_GNU]: Likewise.
5137 (FPE_DECERR) [USE_GNU]: Likewise.
5138 (FPE_INVASC) [USE_GNU]: Likewise.
5139 (FPE_INVDEC) [USE_GNU]: Likewise.
5140 (TRAP_BRANCH) [USE_GNU]: Likewise.
5141 (TRAP_HWBKPT) [USE_GNU]: Likewise.
5143 2000-07-06 Jes Sorensen <jes@linuxcare.com>
5145 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
5146 bits/sigcontext as struct mcontext does not depend on it.
5148 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
5150 2000-07-04 Jes Sorensen <jes@linuxcare.com>
5152 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
5154 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
5156 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
5158 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5160 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
5162 2000-07-15 Ulrich Drepper <drepper@redhat.com>
5164 * intl/Makefile (test-srcs): Add tst-translit.
5166 Add rules to build and run tst-translit.
5167 * intl/tst-translit.c: New file.
5168 * intl/tst-translit.sh: New file.
5169 * intl/translit.po: New file.
5171 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5173 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
5174 transliteration function did its job, continue, don't stop.
5176 * iconvdata/iso646.c: Little optimizations in body for conversion
5179 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5181 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
5183 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5185 * configure.in: Check for pwd binary.
5186 * config.make.in: Add PWD_P to be subsituted.
5187 * Makerules: Use $(PWD_P) instead of /bin/pwd.
5189 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5191 * iconvdata/Makefile (modules): Add GB18030.
5192 (distribute): Add gb18030.c.
5193 * iconvdata/gconv-modules: Add entries for GB18030 module.
5194 * iconvdata/gb18030.c: New file.
5195 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
5198 2000-07-13 Andreas Jaeger <aj@suse.de>
5200 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
5203 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
5204 * inet/getnetgrent.c (free_mem): Likewise.
5205 * misc/mntent.c (free_mem): Likewise.
5206 * nss/getXXbyYY.c (free_mem): Likewise.
5207 * nss/getXXent.c (free_mem): Likewise.
5208 * pwd/fgetpwent.c (free_mem): Likewise.
5209 * shadow/fgetspent.c (free_mem): Likewise.
5211 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5213 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
5214 64-bit architecture correctly [PR libc/1794].
5216 2000-07-13 Ulrich Drepper <drepper@redhat.com>
5218 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
5219 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
5220 report that we are out of memory.
5221 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5222 * elf/dl-libc.c (dlerror_run): Likewise.
5223 * elf/dl-open.c (_dl_open): Likewise.
5224 * elf/rtld.c (dl_main): Likewise.
5225 * elf/dl-error.c: Define _dl_out_of_memory.
5226 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
5228 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
5231 * dlfcn/dlerror.c (free_key_mem): Also free error string.
5233 * iconv/loop.c: Fix comment.
5235 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
5237 2000-07-13 Andreas Jaeger <aj@suse.de>
5239 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
5240 getcwd (NULL, size) with size > 0.
5241 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
5243 2000-07-13 Andreas Jaeger <aj@suse.de>
5245 * posix/Makefile: Remove build rules for libposix.
5247 2000-07-13 Andreas Schwab <schwab@suse.de>
5249 * sysdeps/generic/glob.c (glob): Fix memory leak.
5250 [SHELL]: Remove reference to undefined variable `files'.
5253 2000-07-13 Andreas Jaeger <aj@suse.de>
5255 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
5258 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
5259 memory if it was allocated.
5261 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5263 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
5266 * iconv/gconv_open.c (__gconv_open): Reapply
5267 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5269 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5271 * iconv/gconv_open.c: Undo last two changes for now. They break
5274 2000-07-12 Andreas Jaeger <aj@suse.de>
5276 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
5278 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
5279 (CFLAGS-dl-cache.c): Likewise.
5280 (CFLAGS-ldconfig.c): Added, passes directory locations.
5282 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
5284 * elf/ldconfig.c (LD_SO_CONF): Likewise.
5285 (main): Use configured LIBDIR and SLIBDIR.
5287 2000-07-11 Jakub Jelinek <jakub@redhat.com>
5289 * math/bits/cmathcalls.h (cimag): Add __THROW.
5290 (creal, conj): Likewise.
5291 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
5294 2000-07-12 H.J. Lu <hjl@gnu.org>
5296 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
5297 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
5299 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5301 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
5304 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5306 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5308 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5310 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
5313 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5315 * iconv/gconv_open.c (__gconv_open): Initialize
5316 result->__steps[cnt].__data.
5318 2000-07-12 Mark Kettenis <kettenis@gnu.org>
5320 * nss/getent.c (services_keys): Pass port number in network byte
5321 order in call to getservbyport.
5323 2000-07-11 Andreas Jaeger <aj@suse.de>
5325 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
5327 * intl/Makefile (do-gettext-test): Likewise.
5328 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
5330 2000-07-11 Andreas Schwab <schwab@suse.de>
5332 * Makeconfig (run-program-prefix): New rule.
5333 (built-program-cmd): Use run-program-prefix.
5335 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5337 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
5338 and NOEXPR unconditionally available.
5340 2000-07-12 Greg McGary <greg@mcgary.org>
5342 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
5343 * sysdeps/posix/open64.c: Likewise.
5344 * sysdeps/generic/fegetenv.c: Likewise.
5345 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
5346 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5347 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5348 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
5349 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
5350 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
5352 2000-07-11 Greg McGary <greg@mcgary.org>
5354 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
5355 Add extra level of macro expansion.
5356 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
5357 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
5358 is available at the time `select' prototype is declared.
5359 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
5360 Collect non-versioned weak aliases. Consider only non-versioned
5361 aliases for the user-visible systemcall name. Do checks inline with
5362 call to primitive system call.
5363 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
5364 stand-alone bounds checks to suppress unused value warnings.
5365 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5367 2000-07-10 Mark Kettenis <kettenis@gnu.org>
5369 * sysdeps/mach/hurd/check_fds.c: New file. Implements
5370 file descriptor checking in SUID programs for the Hurd.
5372 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
5373 res_hostalias instead of __hostalias for thread-safety.
5375 2000-07-09 Mark Kettenis <kettenis@gnu.org>
5377 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
5378 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
5380 2000-07-10 Ulrich Drepper <drepper@redhat.com>
5382 * include/features.h: Include ISO C99 features if the compiler used
5383 is an ISO C99 compiler.
5384 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5386 2000-07-08 Mark Kettenis <kettenis@gnu.org>
5388 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
5390 2000-07-10 Andreas Jaeger <aj@suse.de>
5392 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
5393 it's overridden by libpthreads.
5394 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5395 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5396 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5397 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5398 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5400 * malloc/Makefile: Run tst-mtrace only with shared libs.
5402 * stdio-common/Makefile: Run unbputc and tst-printf tests only
5405 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5407 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
5408 that gpreg really points to the GOT section of the calling object.
5409 Scan all PT_LOAD segments of objects for stub_pc, instead of only
5410 checking a start address of first one.
5412 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
5415 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
5417 2000-07-10 Andreas Jaeger <aj@suse.de>
5419 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
5420 (string_alias->strong_alias).
5422 2000-07-08 Mark Kettenis <kettenis@gnu.org>
5424 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
5426 2000-07-07 Greg McGary <greg@mcgary.org>
5428 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
5429 have no names without leading underscores.
5431 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5433 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
5436 * stdio-common/Makefile (tests): Remove tst-printf here...
5437 (tests-srcs): ...and add it here.
5438 (distribute): Add tst-unbputc.sh and tst-printf.sh.
5439 Add rules to run tst-printf.sh.
5440 * stdio-common/tst-printf.c: Move code around so that there is really
5441 no further output where it's stated.
5442 * stdio-common/tst-printf.sh: New file.
5444 2000-07-07 Mark Kettenis <kettenis@gnu.org>
5446 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
5447 (do_write): Renamed from pwrite.
5448 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
5449 `struct _IO_cookie_file'.
5451 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5453 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
5455 * malloc/tst-mtrace.sh: Run mtrace script.
5457 2000-07-07 Greg McGary <greg@mcgary.org>
5459 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
5460 Move all three components of a bounded pointer.
5462 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5464 * locale/programs/locale.c (write_locales): Don't simply add all
5465 directories found in the subdir, test whether at least the
5466 LC_CTYPE file is in there.
5468 2000-07-06 Ulrich Drepper <drepper@redhat.com>
5470 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
5471 * iconvdata/euc-kr.c: Likewise.
5473 * stdio-common/vfprintf.c (process_string_arg): Check result of
5474 wcrtomb call and bail out if it failed.
5476 * malloc/Makefile (test-srcs): Add tst-mtrace.
5477 (distribute): Add tst-mtrace.sh.
5478 Add rule to run tst-mtrace.sh.
5479 * malloc/tst-mtrace.c: New file.
5480 * malloc/tst-mtrace.sh: New file.
5482 * include/signal.h: Declare __libc_sigaction.
5483 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
5484 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
5485 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5486 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5487 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5488 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5489 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5491 * configure.in: Fix CFLAGS-memprofstat.c definition after
5493 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
5495 2000-07-06 Jakub Jelinek <jakub@redhat.com>
5497 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
5498 instead of NULL to elf_machine_fixup_plt t argument.
5499 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5500 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
5503 2000-07-06 Andreas Jaeger <aj@suse.de>
5505 * crypt/Makefile (LDLIBS-cert): Removed.
5506 (LDLIBS-md5c-test): Removed.
5507 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
5508 ($(objpfx)md5c-test): Likewise for md5c-test.out.
5510 2000-07-06 Andreas Jaeger <aj@suse.de>
5512 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
5513 of the proc system is "proc".
5515 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
5516 thread library for static programs.
5518 2000-07-06 Greg McGary <greg@mcgary.org>
5520 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
5522 * sysdeps/generic/strcpy.c: Add bounds checks.
5523 * sysdeps/unix/fxstat.c: Likewise.
5524 * sysdeps/unix/xstat.c: Likewise.
5525 * sysdeps/unix/common/lxstat.c: Likewise.
5526 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5527 * sysdeps/unix/sysv/linux/execve.c: Likewise.
5528 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
5529 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
5530 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5531 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5532 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5533 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
5534 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5535 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5536 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5537 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5538 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
5539 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5540 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5541 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5542 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5543 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5544 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5545 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
5546 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5547 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
5548 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5549 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
5550 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5551 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
5552 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5553 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
5554 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
5555 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5556 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5557 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
5558 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5559 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5560 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5561 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5562 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5563 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
5564 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5565 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5566 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5567 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5568 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5569 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5570 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
5571 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
5572 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5573 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
5574 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
5575 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
5576 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
5577 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
5578 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5579 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5580 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5581 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5582 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5583 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
5584 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
5585 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
5586 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5587 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
5588 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
5589 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
5591 * string/endian.h (__LONG_LONG_PAIR): New macro.
5592 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
5593 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5594 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5595 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5596 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5597 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5598 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5599 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5600 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5601 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5602 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5603 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5605 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
5607 2000-07-06 Andreas Jaeger <aj@suse.de>
5609 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
5612 * math/test-fpucw.c: Include <stdio.h> for printf.
5614 2000-07-05 Greg McGary <greg@mcgary.org>
5616 * sysdeps/generic/bp-checks.h: New file.
5617 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
5618 with list of #include files.
5619 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
5620 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
5621 Don't generate BP thunk if `V' appears in signature.
5622 Generate thunks with complete bounds checks.
5623 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
5624 * sysdeps/unix/inet/syscalls.list: Likewise.
5625 * sysdeps/unix/mman/syscalls.list: Likewise.
5626 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5627 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5628 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5629 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5631 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5633 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
5634 result. Search first in /etc/mtab (proc/mounts would be stupid).
5635 If mount not in the file fall back on /proc.
5637 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
5638 string got copied in.
5639 Patch by Solar Designer <solar@false.com>.
5641 2000-07-05 Andreas Jaeger <aj@suse.de>
5643 * manual/install.texi (Installation): Update information about
5645 (Configuring and compiling): Update for glibc 2.2.
5647 2000-07-04 Andreas Jaeger <aj@suse.de>
5649 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
5650 (_FPU_IEEE): Likewise.
5652 * math/Makefile (tests): Add test-fpucw.
5654 * math/test-fpucw.c (main): New file.
5656 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5658 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
5660 * locale/programs/ld-collate.c (collate_output): Also write out the
5661 collation sequence values and the wide character string for the
5662 collation symbol table.
5664 * posix/fnmatch.c: Include "../locale/elem-hash.h".
5665 * posix/fnmatch_loop.c: Implement collating symbol handling.
5666 * posix/tst-fnmatch.input: Add more tests, especially for collating
5669 * posix/regex.c: Fix comment.
5671 2000-07-05 Andreas Jaeger <aj@suse.de>
5673 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
5674 (_FPU_GETCW): Remove extra colon.
5675 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5677 * posix/fnmatch_loop.c (FCT): Only declare len if
5678 !WIDE_CHAR_VERSION to silence GCC.
5680 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
5682 * sysdeps/generic/strchrnul.c: Likewise.
5683 * sysdeps/generic/strlen.c: Likewise.
5684 * sysdeps/generic/strchr.c: Likewise.
5685 * sysdeps/generic/memchr.c: Likewise.
5687 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5689 * posix/fnmatch_loop.c: Implement equivalence class handling.
5690 * posix/tst-fnmatch.input: Add tests for equivalence class
5693 * posix/fnmatch_loop.c: Improve performance for single-byte
5694 character sets by not using btowc.
5696 * posix/tst-fnmatch.input: Add tests for locale dependent
5698 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
5700 * posix/tst-fnmatch.input: Add more test cases.
5702 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
5703 are not aligned to alignof(md5_uint32) do it before calling
5704 __md5_process_bytes.
5705 * crypt/md5.c: Make sure buffers are aligned.
5706 * crypt/md5.h: Likewise.
5707 Reported by Solar Designer <solar@false.com>.
5709 * crypt/Makefile: Add dependencies for test programs.
5711 * Rules: Define LC_ALL=C in environments of all programs we run.
5713 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
5715 2000-07-03 H.J. Lu <hjl@gnu.org>
5717 * locale/programs/ld-ctype.c (ctype_output): The size of iov
5718 is 2 + elem + offset, not 2 + elem + offset + 2.
5720 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5722 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
5724 * posix/Makefile (tests): Add tst-fnmatch.
5725 (tst-fnmatch-ENV): Define.
5726 * posix/tst-fnmatch.c: New file.
5727 * posix/tst-fnmatch.sh: New file.
5729 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
5731 * locale/programs/charmap.c (charmap_read): Prepend
5732 the condition filename == NULL.
5734 2000-07-03 Greg McGary <greg@mcgary.org>
5736 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
5738 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
5739 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
5741 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
5742 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
5743 (FILEBUF_LITERAL): Add cast for CHAIN init.
5744 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
5745 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5746 Revert type of `fp' to _IO_FILE*.
5747 (_IO_iter_file): Remove cast.
5748 (_IO_iter_next): Elide intermediate member reference.
5750 * sysdeps/powerpc/strchr.S: Check bounds.
5751 Wrap extern symbols in BP_SYM ().
5753 2000-07-03 Andreas Jaeger <aj@suse.de>
5755 * dlfcn/Makefile (generated): New.
5757 2000-07-03 Ulrich Drepper <drepper@redhat.com>
5759 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
5760 (__uflow): Likewise.
5761 (__underflow): Likewise.
5762 * libio/wgenops.c (__wunderflow): Likewise.
5763 * stdio-common/tst-unbputc.c: New file.
5764 * stdio-common/tst-unbputc.sh: New file.
5765 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
5767 * po/en_GB.po: New file.
5768 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
5770 2000-07-01 Andreas Jaeger <aj@suse.de>
5772 * intl/Makefile (generated-dirs): New.
5774 * elf/Makefile (generated): trusted-dirs.h is always generated,
5775 move out of build-shared condition.
5776 (generated): Merge the two entries for build-shared.
5778 2000-07-01 Ulrich Drepper <drepper@redhat.com>
5780 * debug/Makefile (distribute): Add xtrace.sh.
5782 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5784 * version.h (VERSION): Bump to 2.1.91.
5786 * configure.in: Update warning comment. glibc should not be
5789 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
5790 ioperm.c, sys/procfs.h, and sys/io.h.
5792 * sysdeps/powerpc/Dist: Add bp-asm.h.
5794 * assert/Depend: Add localedata.
5795 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
5796 (test-assert-perr-ENV): New. Define LANGUAGE=C.
5798 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
5799 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
5800 relocation address to prevent unaligned trap.
5801 Suggested by Richard Henderson <rth@cygnus.com>.
5803 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5805 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
5806 if redirecting and either redirection is done using defines or
5809 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5811 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
5812 generated expressions.
5813 Patch by Darren McClelland <dmcclell@zetec.com>.
5815 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
5816 since zic uses setlocale and gettext but we cannot make it use the
5817 new locale data since zic calls a shell which might not use the
5820 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
5821 handling the internation currency symbol. POSIX says that the
5822 fourth character is used to separate the currency symbol from the
5823 value. Therefore it does not have to be printed. But we cannot
5824 remove the space if the currency symbol is printed before the
5825 number since this is what many locales expect.
5827 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
5828 whether this information is available.
5830 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
5831 buffers in case the translation is too large. Remember allocated
5832 memory blocks in a list.
5833 (free_mem): Free memory for translations.
5835 * intl/tst-gettext.c: Use correct locale. Improve error messages.
5837 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
5838 information is available set the string length to zero.
5840 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
5842 2000-06-30 Greg McGary <greg@mcgary.org>
5844 * sysdeps/powerpc/bp-asm.h: New file.
5845 * sysdeps/powerpc/__longjmp.S: Check bounds.
5846 Wrap extern symbols in BP_SYM ().
5847 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
5848 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
5849 * sysdeps/powerpc/setjmp.S: Likewise.
5850 * sysdeps/powerpc/add_n.S: Likewise.
5851 * sysdeps/powerpc/addmul_1.S: Likewise.
5852 * sysdeps/powerpc/lshift.S: Likewise.
5853 * sysdeps/powerpc/rshift.S: Likewise.
5854 * sysdeps/powerpc/mul_1.S: Likewise.
5855 * sysdeps/powerpc/sub_n.S: Likewise.
5856 * sysdeps/powerpc/submul_1.S: Likewise.
5857 * sysdeps/powerpc/strlen.S: Likewise.
5858 * sysdeps/powerpc/memset.S: Likewise.
5859 * sysdeps/powerpc/stpcpy.S: Likewise.
5860 * sysdeps/powerpc/strcmp.S: Likewise.
5861 * sysdeps/powerpc/strcpy.S: Likewise.
5862 * sysdeps/powerpc/elf/bzero.S: Likewise.
5864 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
5865 Line up operands column with tabs.
5867 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5869 * elf/Makefile (LDFLAGS-origtest): Actually add it.
5871 * sysdeps/ia64/htonl.S: New file.
5872 * sysdeps/ia64/htons.S: New file.
5873 * sysdeps/ia64/memcpy.S: Replace with version which does not use
5874 floating point registers.
5875 Patches by Dan Pop <Dan.Pop@cern.ch>.
5877 2000-06-30 Andreas Jaeger <aj@suse.de>
5879 * posix/Makefile (tests): tst-exec and tst-spawn only work with
5882 * io/Makefile (CFLAGS-test-lfs.c): New.
5883 (tests): Add test-lfs.
5885 * io/test-lfs.c: New file.
5887 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5889 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
5892 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
5894 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
5896 2000-06-29 Jes Sorensen <jes@linuxcare.com>
5898 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
5899 alias to the fstatfs call.
5901 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
5902 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
5904 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
5905 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
5907 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
5908 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
5909 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
5910 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
5912 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
5913 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
5915 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
5916 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
5918 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
5919 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
5921 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
5923 2000-06-29 Andreas Jaeger <aj@suse.de>
5925 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
5927 (print_err_message): Likewise.
5928 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
5930 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5932 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
5933 used as words is properly aligned.
5935 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
5938 2000-06-29 Greg McGary <greg@mcgary.org>
5940 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
5941 * sysdeps/unix/make-syscalls.sh: Handle signatures of
5942 length 7..9, just in case...
5943 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
5945 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
5946 (POP_ERRNO_LOCATION_RETURN): Fold insns.
5947 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
5948 (PUSH_SIGNAL_MASK): New macro.
5949 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
5950 LEAVE is unnecessary. Check bounds of jmp_buf.
5951 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
5952 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
5953 immediately before tail-call.
5954 * sysdeps/i386/setjmp.S: Likewise.
5955 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5956 * sysdeps/i386/bsd-setjmp.S: Likewise.
5958 2000-06-29 Jakub Jelinek <jakub@redhat.com>
5960 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
5962 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
5963 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
5964 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
5965 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5966 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
5967 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
5968 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
5969 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
5971 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5973 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
5974 we later need to calling free().
5975 Patch by Matt Wilson <msw@redhat.com>.
5977 * stdio-common/tst-printf.c: Add test for above problem.
5979 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
5981 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
5982 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
5984 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5986 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
5987 prototype for abs().
5988 * sysdeps/ieee754/flt-32/s_exp2f.c: Likewise.
5990 2000-06-23 Andreas Jaeger <aj@suse.de>
5992 * config.h.in: Don't use regparm with bounded pointers.
5994 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5996 * stdlib/grouping.h: Correctly handle multibyte thousands
5997 separator and decimal point.
5998 * stdlib/stdtod.c: Likewise.
5999 * sysdeps/generic/strtol.c: Likewise.
6001 * locale/categories.def: Add entries for wide character decimal point
6002 and thousands separator in numeric and monetary category.
6004 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6006 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
6007 second definition and initialization of decimal.
6009 2000-06-28 Greg McGary <greg@mcgary.org>
6011 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
6013 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
6014 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
6016 (_IO_JUMPS): Don't cast THIS--expect arg to be a
6017 (struct _IO_FILE_plus *).
6018 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
6019 THIS, since _IO_JUMPS no longer does it implicitly.
6020 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
6021 arg type as (struct _IO_FILE_plus *).
6022 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
6023 arg as (_IO_strfile *).
6024 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
6025 Declare 1st arg as (_IO_strfile *).
6026 * libio/fileops.c (_IO_new_file_init): Declare
6027 arg type as (struct _IO_FILE_plus *).
6028 * libio/oldfileops.c (_IO_old_file_init): Likewise.
6029 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
6030 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
6031 Declare iteration pointer as (struct _IO_FILE_plus *).
6032 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
6033 (struct _IO_FILE_plus *).
6034 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
6035 * libio/oldstdfiles.c (_IO_list_all): Likewise.
6036 (_IO_check_libio): Set user-visible handles to
6037 (struct _IO_FILE_plus *).
6038 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
6039 to (struct _IO_FILE_plus *).
6041 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
6042 whose high bound includes vtable to all functions that will use
6043 vtable. For streambufs, pass pointer whose bounds include struct
6045 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
6046 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6047 * libio/iofopen.c (_IO_new_fopen): Likewise.
6048 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6049 * libio/iofopen64.c (_IO_fopen64): Likewise.
6050 * libio/iopopen.c (_IO_new_popen): Likewise.
6051 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6052 * libio/memstream.c (open_memstream): Likewise.
6053 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
6054 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
6055 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6056 * libio/iofopncook.c (_IO_cookie_init): Likewise.
6057 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
6058 * libio/vasprintf.c (_IO_vasprintf): Likewise.
6059 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6060 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
6061 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
6062 * stdlib/strfmon.c (__strfmon_l): Likewise.
6063 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
6064 (vfprintf): Qualify computed-goto targets as unbounded.
6066 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6068 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
6069 thousands separator correctly.
6071 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
6072 * stdio-common/vfwscanf.c: Likewise.
6074 2000-06-27 Jes Sorensen <jes@linuxcare.com>
6076 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
6077 count into signatures for most calls.
6079 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6081 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
6082 the generic parser now.
6084 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6086 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
6087 table entries are 32 bit on the ia64 (as specified by the ABI),
6088 not 64 bit as on the Alpha.
6090 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
6091 change of objects to use 32 bit hash table indices (see above).
6093 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6095 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
6096 prototype for abs().
6098 2000-06-28 Wolfram Gloger <wg@malloc.de>
6100 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
6101 fails, try mmap_chunk() as a last resort even though n_mmaps_max
6102 may have been reached.
6104 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6106 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
6107 symbols in multi-character weights correctly.
6109 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
6110 depending on whether the input string is empty or not.
6112 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
6113 given state and not avoiding this by modifying a local object.
6114 * wcsmbs/wcrtomb.c: Likewise.
6116 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
6117 object since some incomplete characters might be in there.
6119 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
6120 sequences with first byte 0x8e correctly.
6122 * iconvdata/jis0208.h: Remove redundant test.
6124 2000-06-27 Ulrich Drepper <drepper@redhat.com>
6126 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
6127 Add it where it is needed now.
6129 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
6130 the input charset into account when generating the hash table.
6131 (allocate_arrays): Correct setting default width. Not all empty slots
6132 in the table are filled, only those not covert explicitly by the
6133 locale description and in the charset.
6135 * wctype/towctrans.c (__towctrans): Be graceful and accept error
6136 return values from the wctrans function.
6138 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
6139 wide character version.
6140 For %C handling, test correct pointer variable for NULL.
6142 * wcsmbs/wctob.c: Handle WEOF special.
6144 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
6146 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
6147 always-true test to avoid warning.
6149 2000-06-27 Greg McGary <greg@mcgary.org>
6151 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
6152 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
6153 (symbol_version, default_symbol_version): Factor redundant
6154 definitions out of conditional.
6156 2000-06-27 Jakub Jelinek <jakub@redhat.com>
6158 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
6161 2000-06-26 Ulrich Drepper <drepper@redhat.com>
6163 * include/libc-symbols.h (symbol_version): Add extra level of
6165 (default_symbol_version): Likewise.
6167 2000-06-26 Greg McGary <greg@mcgary.org>
6169 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
6170 for BP return value & push implicit struct-return pointer to
6172 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6173 (SYSCALL_ERROR_HANDLER): Likewise.
6174 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
6175 (SYSCALL_ERROR_HANDLER): Likewise.
6177 * Makeconfig: Add missing comment.
6178 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
6179 BP-flavored startup object.
6180 ($(objpfx)b$(start-installed-name)): New rule.
6181 * include/libc-symbols.h (symbol_set_declare): Change type
6182 of `__start_##set' and `__stop_##set' to pointer-to-function.
6183 (symbol_set_declare): Change type of `set' to array of
6184 pointer-to-function.
6185 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
6186 pointer-to-function.
6188 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
6190 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
6191 Remove clock_* and timer_* entries.
6192 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
6193 arg-count with signatures.
6195 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
6196 Check bounds of arguments.
6197 * sysdeps/i386/addmul_1.S: Likewise.
6198 * sysdeps/i386/lshift.S: Likewise.
6199 * sysdeps/i386/mul_1.S: Likewise.
6200 * sysdeps/i386/rshift.S: Likewise.
6201 * sysdeps/i386/sub_n.S: Likewise.
6202 * sysdeps/i386/submul_1.S: Likewise.
6203 * sysdeps/i386/i586/add_n.S: Likewise.
6204 * sysdeps/i386/i586/addmul_1.S: Likewise.
6205 * sysdeps/i386/i586/lshift.S: Likewise.
6206 * sysdeps/i386/i586/rshift.S: Likewise.
6207 * sysdeps/i386/i586/sub_n.S: Likewise.
6208 * sysdeps/i386/i686/add_n.S: Likewise.
6210 * sysdeps/i386/memchr.S: Likewise.
6211 * sysdeps/i386/memcmp.S: Likewise.
6212 * sysdeps/i386/rawmemchr.S: Likewise.
6213 * sysdeps/i386/i586/bzero.S: Likewise.
6214 * sysdeps/i386/i586/memcpy.S: Likewise.
6215 * sysdeps/i386/i586/mempcpy.S: Likewise.
6216 * sysdeps/i386/i586/memset.S: Likewise.
6217 * sysdeps/i386/i686/bzero.S: Likewise.
6218 * sysdeps/i386/i686/memcpy.S: Likewise.
6219 * sysdeps/i386/i686/mempcpy.S: Likewise.
6220 * sysdeps/i386/i686/memset.S: Likewise.
6222 * sysdeps/i386/stpcpy.S: Likewise.
6223 * sysdeps/i386/stpncpy.S: Likewise.
6224 * sysdeps/i386/strchr.S: Likewise.
6225 * sysdeps/i386/strchrnul.S: Likewise.
6226 * sysdeps/i386/strcspn.S: Likewise.
6227 * sysdeps/i386/strpbrk.S: Likewise.
6228 * sysdeps/i386/strrchr.S: Likewise.
6229 * sysdeps/i386/strspn.S: Likewise.
6230 * sysdeps/i386/strtok.S: Likewise.
6231 * sysdeps/i386/strtok_r.S: Likewise.
6232 * sysdeps/i386/i486/strcat.S: Likewise.
6233 * sysdeps/i386/i486/strlen.S: Likewise.
6234 * sysdeps/i386/i586/strchr.S: Likewise.
6235 * sysdeps/i386/i586/strcpy.S: Likewise.
6236 * sysdeps/i386/i586/strlen.S: Likewise.
6237 * sysdeps/i386/i686/strcmp.S: Likewise.
6238 * sysdeps/i386/i686/strtok.S: Likewise.
6239 * sysdeps/i386/i686/strtok_r.S: Likewise.
6241 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
6242 * sysdeps/i386/fpu/fesetenv.c: Likewise.
6243 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
6244 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
6245 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
6247 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
6248 * sysdeps/i386/mul_1.S: Likewise.
6249 * sysdeps/i386/submul_1.S: Likewise.
6250 * sysdeps/i386/i586/add_n.S: Likewise.
6251 * sysdeps/i386/i586/addmul_1.S: Likewise.
6252 * sysdeps/i386/i586/lshift.S: Likewise.
6253 * sysdeps/i386/i586/mul_1.S: Likewise.
6254 * sysdeps/i386/i586/rshift.S: Likewise.
6255 * sysdeps/i386/i586/sub_n.S: Likewise.
6256 * sysdeps/i386/i586/submul_1.S: Likewise.
6258 2000-06-26 Ulrich Drepper <drepper@redhat.com>
6260 * rt/Makefile (librt-routines): Add clock_nanosleep.
6261 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
6262 * sysdeps/generic/clock_nanosleep.c: New file.
6263 * sysdeps/unix/clock_nanosleep.c: New file.
6264 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
6265 * time/time.h: Declare clock_nanosleep.
6267 2000-06-26 Greg McGary <greg@mcgary.org>
6269 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
6270 INSN1, INSN2, TEXT, GLOBL): Remove macros.
6271 (ALIGN): Cleanup surrounding conditionals.
6273 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
6274 Call ENTER/LEAVE macros.
6275 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
6276 * sysdeps/i386/submul_1.S: Likewise.
6278 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
6279 syntax. Define & use symbolic argument stack offsets. Call
6281 * sysdeps/i386/i586/mul_1.S: Likewise.
6282 * sysdeps/i386/i586/submul_1.S: Likewise.
6284 2000-06-25 Greg McGary <greg@mcgary.org>
6286 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
6289 2000-06-25 Ulrich Drepper <drepper@redhat.com>
6291 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
6292 * iconvdata/gen-8bit-gap.sh: Likewise.
6293 * iconvdata/gen-8bit.sh: Likewise.
6295 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
6297 * locale/programs/ld-collate.c (collate_read): Don't actually read
6298 the copy locale if we are ignoring the content.
6300 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
6303 * locale/programs/ld-collate.c: Correct handling of different
6305 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
6306 as extra parameter from which to copy category information.
6308 (load_locale): Likewise.
6309 * locale/programs/localedef.h: Update prototypes of add_to_readlist
6311 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
6312 * locale/programs/locfile.h: Likewise.
6313 * locale/programs/locfile-kw.gperf: Add entry for script.
6314 * locale/programs/locfile-token.h: Add tok_script.
6316 * locale/programs/locale.c: Update copyright year.
6317 * locale/programs/localedef.c: Likewise.
6319 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
6321 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
6322 Jens Moeller <jens.moeller@waii.com>.
6324 2000-06-24 Ulrich Drepper <drepper@redhat.com>
6326 * locale/programs/ld-name.c (name_finish): Add missing format
6327 specifier to test for name_fmt.
6329 * locale/programs/ld-address.c (iso639): Correct length of string
6331 (iso3166): Likewise.
6333 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
6335 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
6338 * elf/elf.h (NT_PRFPXREG): Define.
6340 2000-06-23 Ulrich Drepper <drepper@redhat.com>
6342 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
6343 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
6345 2000-06-23 Andreas Schwab <schwab@suse.de>
6347 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
6350 2000-06-23 Andreas Jaeger <aj@suse.de>
6352 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
6354 * io/test-stat.c: Add copyright header, mention Maciej.
6356 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
6357 SYS_mincore, SYS_madvise): Added.
6359 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
6362 2000-06-22 Ulrich Drepper <drepper@redhat.com>
6364 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
6365 (CFLAGS-tst_putwc.c): New definition.
6366 * libio/tst_getwc.c: New file.
6367 * libio/tst_getwc.input: New file.
6368 * libio/tst_putwc.c: New file.
6370 * include/string.h: Add prototype for __strdup.
6372 2000-06-22 Greg McGary <greg@mcgary.org>
6374 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
6375 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
6378 2000-06-23 Jes Sorensen <jes@linuxcare.com>
6380 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
6382 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6384 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
6386 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6388 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
6389 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
6391 2000-06-22 Ulrich Drepper <drepper@redhat.com>
6393 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
6394 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
6396 * sysdeps/mach/hurd/bits/stat.h: Likewise.
6397 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6398 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
6399 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6400 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
6401 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
6402 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6403 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
6404 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6405 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6406 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
6407 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
6408 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
6409 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
6412 2000-06-22 Andreas Jaeger <aj@suse.de>
6414 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
6417 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
6419 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
6421 2000-06-21 Ulrich Drepper <drepper@redhat.com>
6423 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
6426 2000-06-21 Greg McGary <greg@mcgary.org>
6428 * Makerules (elide-routines.*, elide-bp-thunks):
6429 Define unconditionally.
6431 2000-06-21 Jes Sorensen <jes@linuxcare.com>
6433 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6435 2000-06-21 Andreas Jaeger <aj@suse.de>
6437 * io/Makefile (tests): Add test-stat.
6438 (CFLAGS-test-stat.c): New.
6440 * io/test-stat.c: New file from Maciej W. Rozycki
6441 <macro@ds2.pg.gda.pl>.
6443 2000-06-21 Jes Sorensen <jes@linuxcare.com>
6445 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
6446 in __rlimit_resource to make them match the kernel order.
6447 rlim_t is always 64 bit, use __rlim64_t to declare it
6450 2000-05-04 Jes Sorensen <jes@linuxcare.com>
6452 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
6453 RLIM_INFINITY before defining it to avoid clash with kernel header
6455 2000-05-03 Jes Sorensen <jes@linuxcare.com>
6457 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
6459 2000-06-21 Ulrich Drepper <drepper@redhat.com>
6461 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
6463 2000-06-21 Andreas Jaeger <aj@suse.de>
6465 * stdio-common/temptest.c: Include <stdlib.h>.
6466 * stdio-common/tst-fileno.c: Likewise.
6467 * stdio-common/scanf4.c: Likewise.
6468 * stdio-common/scanf5.c: Likewise.
6469 * time/clocktest.c: Likewise.
6470 * posix/test-vfork.c: Likewise.
6471 * posix/globtest.c: Likewise.
6472 * io/test-utime.c: Likewise.
6473 * wctype/test_wcfuncs.c: Likewise.
6474 * crypt/cert.c: Likewise.
6476 * stdio-common/tst-printfsz.c: Include <string.h>.
6477 * libio/tst_swscanf.c: Likewise.
6478 * libio/tst_wscanf.c: Likewise.
6479 * posix/runtests.c: Likewise.
6480 * posix/tst-getaddrinfo.c: Likewise.
6481 * posix/wordexp-test.c: Likewise.
6482 * misc/tst-efgcvt.c: Likewise.
6484 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
6485 * nss/test-netdb.c: Likewise.
6487 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
6488 supported kernel for MIPS.
6490 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
6491 * rt/aio_suspend.c: Likewise.
6493 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6495 * math/libm-test.inc: Include <string.h>.
6497 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6499 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
6501 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6503 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
6504 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
6506 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
6508 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
6510 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6512 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
6514 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6516 * locale/programs/ld-collate.c (insert_value): Now take string and
6517 length instead of struct token* parameter. Adjust use of token.
6518 (handle_ellipsis): Likewise.
6519 (collate_read): Allow <Uxxxx> names and transform them into names
6520 to be passed to insert_value and handle_ellipsis.
6522 * locale/programs/ld-ctype.c (uninames): New array with names of
6523 digits in <Uxxxxxxxx> format.
6524 (ctype_finish): Correct search for space character value. Likewise
6525 for default outdigits values.
6527 2000-06-20 Greg McGary <greg@mcgary.org>
6529 * Makerules (objects): Add BP thunks.
6531 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6533 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
6534 in width definitions.
6536 2000-06-20 Andreas Jaeger <aj@suse.de>
6538 * sysdeps/mips/fpu/libm-test-ulps: New file.
6540 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
6543 * sysdeps/mips/fpu/feholdexcpt.c: New file.
6545 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
6547 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6549 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
6550 change in gconv_builtin.h.
6552 * malloc/Makefile: Change all references to memprof into memusage.
6553 * malloc/memprof.c: Rename to...
6554 * malloc/memusage.c: ...this. New file.
6555 * malloc/memprof.sh: Rename to...
6556 * malloc/memusage.sh: ...this. New file.
6557 * malloc/memprofstat.c: Rename to...
6558 * malloc/memusagestat.c: ...this. New file.
6559 * sysdeps/alpha/memprof.h: Rename to..
6560 * sysdeps/alpha/memusage.h: ...this. New file.
6561 * sysdeps/arm/memprof.h: Rename to..
6562 * sysdeps/arm/memusage.h: ...this. New file.
6563 * sysdeps/generic/memprof.h: Rename to..
6564 * sysdeps/generic/memusage.h: ...this. New file.
6565 * sysdeps/i386/memprof.h: Rename to..
6566 * sysdeps/i386/memusage.h: ...this. New file.
6567 * sysdeps/ia64/memprof.h: Rename to..
6568 * sysdeps/ia64/memusage.h: ...this. New file.
6569 * sysdeps/m68k/memprof.h: Rename to..
6570 * sysdeps/m68k/memusage.h: ...this. New file.
6571 * sysdeps/mips/memprof.h: Rename to..
6572 * sysdeps/mips/memusage.h: ...this. New file.
6573 * sysdeps/powerpc/memprof.h: Rename to..
6574 * sysdeps/powerpc/memusage.h: ...this. New file.
6575 * sysdeps/sparc/memprof.h: Rename to..
6576 * sysdeps/sparc/memusage.h: ...this. New file.
6577 * sysdeps/sh/memprof.h: Rename to..
6578 * sysdeps/sh/memusage.h: ...this. New file.
6580 * elf/sprof.c (print_version): Update year.
6582 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
6583 table entry values. Use D_PTR.
6584 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
6585 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
6587 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6589 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6590 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
6591 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
6592 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
6594 2000-05-05 Jes Sorensen <jes@linuxcare.com>
6596 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
6598 2000-06-16 Jes Sorensen <jes@linuxcare.com>
6600 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
6601 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
6602 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
6604 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
6606 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
6609 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
6610 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
6612 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
6615 2000-06-15 Jes Sorensen <jes@linuxcare.com>
6617 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
6619 2000-06-08 Jes Sorensen <jes@linuxcare.com>
6621 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
6623 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6625 * iconv/gconv_int.h (strict gconv_module): Remove all members
6626 associated with regular expressions. Use a simple string as the
6628 * iconv/gconv_db.c: Remove code handling regular expressions.
6629 * iconv/gconv_conf.c: Likewise.
6630 * iconv/iconv_prog.c: Likewise.
6631 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
6633 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
6634 General namespace cleanup.
6635 (struct __gconv_trans_data): Add next field.
6636 (struct __gconv_step_data): Make __trans a pointer.
6637 * iconv/gconv_conf.c: Split out code to find gconv directories from
6638 __gconv_read_conf in new functions.
6639 * iconv/gconv_int.h: Define new data structure and declare new
6640 functions for handling of gconv directory list.
6641 * iconv/gconv_open.c: Allow more than one error handling step being
6642 used. Call function to load error handling module if it is none
6643 of the builtin transformations.
6644 * iconv/gconv_close.c: Add code to free transliteration data.
6645 * iconv/gconv_trans.c: Add functions to load and unload modules
6646 implementing transliteration etc.
6647 * iconv/skeleton.c: Call all context functions now that more than
6648 one module is allowed.
6649 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
6650 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
6651 where the full error handling using transliteration is needed.
6652 * iconvdata/8bit-gap.c: Likewise.
6653 * iconvdata/8bit-generic.c: Likewise.
6654 * iconvdata/ansi_x3.110.c: Likewise.
6655 * iconvdata/big5.c: Likewise.
6656 * iconvdata/big5hkscs.c: Likewise.
6657 * iconvdata/euc-cn.c: Likewise.
6658 * iconvdata/euc-jp.c: Likewise.
6659 * iconvdata/euc-kr.c: Likewise.
6660 * iconvdata/euc-tw.c: Likewise.
6661 * iconvdata/gbgbk.c: Likewise.
6662 * iconvdata/gbk.c: Likewise.
6663 * iconvdata/iso-2022-cn.c: Likewise.
6664 * iconvdata/iso-2022-jp.c: Likewise.
6665 * iconvdata/iso-2022-kr.c: Likewise.
6666 * iconvdata/iso646.c: Likewise.
6667 * iconvdata/iso8859-1.c: Likewise.
6668 * iconvdata/iso_6937-2.c: Likewise.
6669 * iconvdata/iso_6937.c: Likewise.
6670 * iconvdata/johab.c: Likewise.
6671 * iconvdata/sjis.c: Likewise.
6672 * iconvdata/t.61.c: Likewise.
6673 * iconvdata/uhc.c: Likewise.
6674 * iconvdata/unicode.c: Likewise.
6675 * iconvdata/utf-16.c: Likewise.
6676 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
6677 structure correctly after last change.
6678 * wcsmbs/btowc.c: Likewise.
6679 * wcsmbs/mbrtowc.c: Likewise.
6680 * wcsmbs/mbsnrtowcs.c: Likewise.
6681 * wcsmbs/mbsrtowcs.c: Likewise.
6682 * wcsmbs/wcrtomb.c: Likewise.
6683 * wcsmbs/wcsnrtombs.c: Likewise.
6684 * wcsmbs/wcsrtombs.c: Likewise.
6685 * wcsmbs/wctob.c: Likewise.
6687 * localedata/Makefile: Set -Wno-format for some files since gcc does
6688 not know all the format specifiers.
6690 2000-06-18 Ulrich Drepper <drepper@redhat.com>
6692 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
6694 * locale/lc-time.c (_nl_init_era_entries): Likewise.
6696 2000-06-18 Andreas Jaeger <aj@suse.de>
6698 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
6699 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6701 2000-06-17 Ulrich Drepper <drepper@redhat.com>
6703 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
6705 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
6707 * locale/programs/ld-ctype.c (ctype_output): Really write out
6708 mboutdigits information.
6709 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
6710 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
6711 * localedata/tests/trans.def: Add outdigit information.
6713 * localedata/tst-mbswcs3.c: Remove comment.
6715 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
6716 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
6717 * libio/tst_wprintf.c (main): Add test for I flag.
6719 * iconv/gconv_trans.c: Implement handling if translit_ignore.
6720 * locale/langinfo.h: Add entries for translit_ignore information.
6721 * locale/categories.def: Add entries for new LC_CTYPE elements.
6722 * locale/C-ctype.c: Add initializers for new fields. Use NULL
6723 pointer instead of "" where possible.
6724 * locale/programs/ld-ctype.c: Write out translit_ignore information.
6725 * intl/Depend: Add localedata.
6726 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
6727 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
6729 2000-06-16 Ulrich Drepper <drepper@redhat.com>
6731 * locale/langinfo.h: Add entries for default_missing information.
6732 * locale/C-ctype.c: Add initializers for new fields.
6733 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
6735 * locale/categories.h: Add entries for all LC_CTYPE values.
6736 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
6739 * localedata/tst-trans.c: Write out an error message if class is
6742 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
6743 * iconv/gconv_open.c: Remove error handling specification from `from'
6745 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
6746 new parameter to always enable transliteration.
6747 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
6749 (struct locale_data): Add new members use_translit and options.
6750 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
6751 character set name contained modifier TRANSLIT.
6752 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
6754 (_nl_unload_locale): Free options string if necessary.
6755 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
6756 the locale names suggested this.
6757 * locale/C-address.c: Add two new initialilzers to adjust data
6758 structure for new format.
6759 * locale/C-collate.c: Likewise.
6760 * locale/C-ctype.c: Likewise.
6761 * locale/C-identification.c: Likewise.
6762 * locale/C-measurement.c: Likewise.
6763 * locale/C-messages.c: Likewise.
6764 * locale/C-monetary.c: Likewise.
6765 * locale/C-name.c: Likewise.
6766 * locale/C-numeric.c: Likewise.
6767 * locale/C-paper.c: Likewise.
6768 * locale/C-telephone.c: Likewise.
6769 * locale/C-time.c: Likewise.
6771 * locale/setlocale.c: Add some more __builtin_expect.
6773 2000-06-15 Ulrich Drepper <drepper@redhat.com>
6775 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
6777 (__gconv_init_fct): Remove two parameters.
6778 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
6779 gconv_transliterate. Remove two parameters.
6780 Change prototypes of builtin functions according to __gconv_fct change.
6781 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
6782 != NULL only during error handling. Stop in this case after the
6784 * iconv/gconv_trans.c: Replace with real implementation for
6785 __gconv_transliterate.
6786 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
6787 * iconv/gconv.c: Change calls to downstream functions once again.
6788 Use NULL for the fifth parameter instead of pointer to output buffer.
6789 * libio/iofwide.c: Likewise.
6790 * wcsmbs/btowc.c: Likewise.
6791 * wcsmbs/mbrtowc.c: Likewise.
6792 * wcsmbs/mbsnrtowcs.c: Likewise.
6793 * wcsmbs/mbsrtowcs.c: Likewise.
6794 * wcsmbs/wcrtomb.c: Likewise.
6795 * wcsmbs/wcsnrtombs.c: Likewise.
6796 * wcsmbs/wcsrtombs.c: Likewise.
6797 * wcsmbs/wctob.c: Likewise.
6798 * iconv/gconv_simple.c: Remove two parameters from error handling
6800 * iconvdata/8bit-gap.c: Likewise.
6801 * iconvdata/8bit-generic.c: Likewise.
6802 * iconvdata/ansi_x3.110.c: Likewise.
6803 * iconvdata/big5.c: Likewise.
6804 * iconvdata/big5hkscs.c: Likewise.
6805 * iconvdata/euc-cn.c: Likewise.
6806 * iconvdata/euc-jp.c: Likewise.
6807 * iconvdata/euc-kr.c: Likewise.
6808 * iconvdata/euc-tw.c: Likewise.
6809 * iconvdata/gbgbk.c: Likewise.
6810 * iconvdata/gbk.c: Likewise.
6811 * iconvdata/iso-2022-cn.c: Likewise.
6812 * iconvdata/iso-2022-jp.c: Likewise.
6813 * iconvdata/iso-2022-kr.c: Likewise.
6814 * iconvdata/iso646.c: Likewise.
6815 * iconvdata/iso8859-1.c: Likewise.
6816 * iconvdata/iso_6937-2.c: Likewise.
6817 * iconvdata/iso_6937.c: Likewise.
6818 * iconvdata/johab.c: Likewise.
6819 * iconvdata/sjis.c: Likewise.
6820 * iconvdata/t.61.c: Likewise.
6821 * iconvdata/uhc.c: Likewise.
6822 * iconvdata/unicode.c: Likewise.
6823 * iconvdata/utf-16.c: Likewise.
6825 2000-06-15 Greg McGary <greg@mcgary.org>
6827 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
6828 of callnum assignment. Tolerate callnum expressions containing
6831 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6833 * login/Makefile (utmpd): Remove rule to build utmpd.
6835 * csu/Versions: Move libgcc frame handling functions from here...
6836 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
6837 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
6838 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
6839 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
6840 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
6841 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
6843 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
6845 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
6847 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
6849 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6851 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
6853 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
6854 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
6855 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
6856 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
6858 2000-06-14 Jakub Jelinek <jakub@redhat.com>
6860 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
6861 defined, terminate quotes and read them after the comment char.
6862 * configure.in (HAVE_SECTION_QUOTES): Test whether
6863 __attribute__((section ("x"))) puts quotes around x or not.
6864 * config.h.in (HAVE_SECTION_QUOTES): Add.
6865 * configure: Rebuilt.
6867 2000-06-14 Andreas Jaeger <aj@suse.de>
6869 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
6870 depending on the configure option --sysconfdir.
6871 Closes PR libc/1762.
6872 Patch by Andreas Schwab <schwab@suse.de>.
6874 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
6876 Reported by Jim Pick <jim@jimpick.com>.
6878 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6880 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
6881 crashing the application. Emit some simple error message.
6882 Reported by mju@panasas.com [PR libc/1769].
6884 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6886 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
6888 * crypt/Makefile (distribute): Add md5.h.
6890 * Makefile (distribute): Add include/shlib-compat.h.
6892 * Make-dist: Search for tests also in sysdeps hierachy.
6894 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
6895 ufc.c, speeds.c, README.ufc-crypt, and Banner.
6897 * sysdeps/sparc/Subdirs: New file.
6899 * locale/Makefile (distribute): Add weightwc.h and
6900 programs/localedef.h.
6902 * time/Makefile (distribute): Add datemsk.
6904 * sysdeps/ia64/Dist: Add softpipe.h.
6906 * sysdeps/unix/sysv/aix/Dist: New file.
6908 * posix/setpgrp.c: Moved to...
6909 * sysdeps/generic/setpgrp.c: ...here. New file.
6910 * io/mknod.c: Moved to...
6911 * sysdeps/generic/mknod.c: ...here. New file.
6913 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
6915 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
6917 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
6919 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
6920 gprsave0.S, gprrest1.S, and gprrest0.S.
6922 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
6924 * posix/Makefile (routines): Add spawnattr_getsigmask,
6925 spawnattr_getschedpolicy, spawnattr_getschedparam,
6926 spawnattr_setsigmask, spawnattr_setschedpolicy, and
6927 spawnattr_setschedparam.
6928 * posix/Versions: Add posix_spawnattr_getschedpolicy,
6929 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
6930 posix_spawnattr_setschedparam.
6932 * posix/spawnattr_setschedparam.c: Fix typo.
6934 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
6937 * login/programs/utmpd.c: Removed.
6938 * login/programs/utmpd.h: Removed.
6939 * login/programs/utmpd-private.h: Removed.
6941 * Makefile (distribute): Add include/db_185.h and include/db.h.
6943 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
6946 * elf/Makefile (distribute): Add missing files.
6948 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
6949 * elf/eval.c: Moved to...
6950 * dlfcn/eval.c: ...here. New file.
6952 * Makefile (distribute): Also distribute ChangeLog.1?.
6954 * Make-dist (+tsrcs): Remove .args handling here as well.
6956 * rt/Makefile (tests): Add tst-timer.
6957 * sysdeps/generic/tst-timer.c: New file.
6959 * Makerules (sources): Don't add BP sources here.
6961 * login/Makefile (distribute): Remove xtmp.h.
6963 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
6964 is true. Reported by Bruno Haible <haible@ilog.fr>.
6966 2000-06-13 Andreas Jaeger <aj@suse.de>
6968 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
6969 Patch by Ralf Baechle <ralf@gnu.org>.
6971 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6973 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
6974 for mincore syscall.
6976 * misc/sys/cdefs.h: Define __bounded and __unbounded if
6977 __BOUNDED_POINTERS__ is not defined.
6979 2000-06-07 Greg McGary <greg@mcgary.org>
6981 * sysdeps/generic/bp-sym.h: New file.
6982 * sysdeps/generic/bp-start.h: New file.
6983 * sysdeps/i386/elf/start.S: Designate BP symbols.
6984 * sysdeps/generic/libc-start.c: Wrap bounds around
6985 argv & envp and each of their string members.
6987 2000-06-07 Greg McGary <greg@mcgary.org>
6989 * sysdeps/unix/make-syscalls.sh: Add comments to
6990 output that aid debugging & comprehension.
6991 Map simple syscall signatures to number of args.
6992 Generate BP syscall thunk definitions.
6993 * sysdeps/generic/bp-thunks.h: New file.
6994 * sysdeps/unix/syscalls.list: Replace arg-count with
6995 simple return+arg signature.
6996 * sysdeps/unix/common/syscalls.list: Likewise.
6997 * sysdeps/unix/inet/syscalls.list: Likewise.
6998 * sysdeps/unix/mman/syscalls.list: Likewise.
6999 * sysdeps/unix/sysv/syscalls.list: Likewise.
7000 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7001 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7003 2000-06-07 Greg McGary <greg@mcgary.org>
7005 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
7006 for all files *.[cS].
7007 (CFLAGS-.ob): Don't optimize sibling calls.
7008 (bppfx): New variable.
7009 * Makerules (elide-bp-thunks): New variable.
7010 (elide-routines.*): Elide BP-* files for all but *.ob.
7011 (sources): Include bp-thunks.
7013 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7015 * iconv/gconv_simple.c: Remove unnecessary prototype.
7017 * iconv/gconv_trans.c: Pretty print.
7019 * elf/elf.h (R_SH_NUM): Got accidently dropped.
7021 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
7022 minimal kernel versions. Add information about IA-64 kernel.
7024 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
7025 specific minimal supported kernel versions to be specified.
7027 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
7028 step data structure.
7029 * wcsmbs/btowc.c: Likewise.
7030 * wcsmbs/mbrtowc.c: Likewise.
7031 * wcsmbs/mbsnrtowcs.c: Likewise.
7032 * wcsmbs/mbsrtowcs.c: Likewise.
7033 * wcsmbs/wcrtomb.c: Likewise.
7034 * wcsmbs/wcsnrtombs.c: Likewise.
7035 * wcsmbs/wcsrtombs.c: Likewise.
7036 * wcsmbs/wctob.c: Likewise.
7038 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
7039 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
7041 * shlib-versions: Earliest backward compatible version for SH is 2.2.
7043 * misc/sys/cdefs.h: Remove one more __P.
7045 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
7048 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
7049 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
7050 * sysdeps/sh/bits/setjmp.h: ...here. New file.
7052 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7053 Yutaka Niibe <gniibe@chroot.org>
7055 * configure.in: Add machine sh3, sh4.
7056 * elf/elf.h: Add SH specific declarations of relocations.
7057 * shlib-versions: Add sh*-*-linux* cases.
7059 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7061 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
7062 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
7063 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
7064 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
7065 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
7066 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
7068 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
7069 instead of KERNEL_MATH_EMULATION.
7070 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
7071 KERNEL_MATH_EMULATION.
7073 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
7074 * sysdeps/sh/sh3/dl-machine.h: Moved to...
7075 * sysdeps/sh/dl-machine.h: ...here. New file.
7076 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
7077 and include generic SH version.
7078 * sysdeps/sh/sh3/bits/endian.h: Move to...
7079 * sysdeps/sh/bits/endian.h: ...here. New file.
7080 * sysdeps/sh/sh4/bits/endian.h: Removed.
7081 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
7082 * sysdeps/sh/bits/huge_val.h: ...here. New file.
7083 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
7085 * include/libc-symbols.h (link_warning): Work around a change in
7086 GAS which warns about changing section attributes.
7087 Proposed by Nick Clifton <nickc@redhat.com>.
7089 2000-06-12 H.J. Lu <hjl@gnu.org>
7091 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
7093 2000-06-11 H.J. Lu <hjl@gnu.org>
7095 * sysdeps/i386/fpu/Versions: New file.
7097 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7099 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
7101 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
7104 2000-06-12 Jes Sorensen <jes@linuxcare.com>
7106 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
7107 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
7108 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
7110 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
7111 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
7112 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
7114 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7115 Yutaka Niibe <gniibe@chroot.org>
7117 * sysdeps/sh/Dist: New file.
7118 * sysdeps/sh/Implies: New file.
7119 * sysdeps/sh/elf/initfini.c: New file.
7120 * sysdeps/sh/gmp-mparam.h: New file.
7121 * sysdeps/sh/init-first.c: New file.
7122 * sysdeps/sh/machine-gmon.h: New file.
7123 * sysdeps/sh/memcpy.S: New file.
7124 * sysdeps/sh/memprof.h: New file.
7125 * sysdeps/sh/memset.S: New file.
7126 * sysdeps/sh/sh3/__longjmp.S: New file.
7127 * sysdeps/sh/sh3/bits/endian.h: New file.
7128 * sysdeps/sh/sh3/bits/huge_val.h: New file.
7129 * sysdeps/sh/sh3/bits/setjmp.h: New file.
7130 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
7131 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
7132 * sysdeps/sh/sh3/dl-machine.h: New file.
7133 * sysdeps/sh/sh3/setjmp.S: New file.
7134 * sysdeps/sh/sh4/__longjmp.S: New file.
7135 * sysdeps/sh/sh4/bits/endian.h: New file.
7136 * sysdeps/sh/sh4/bits/huge_val.h: New file.
7137 * sysdeps/sh/sh4/bits/setjmp.h: New file.
7138 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
7139 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
7140 * sysdeps/sh/sh4/dl-machine.h: New file.
7141 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
7142 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
7143 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
7144 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
7145 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
7146 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
7147 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
7148 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
7149 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
7150 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
7151 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
7152 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
7153 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
7154 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
7155 * sysdeps/sh/sh4/setjmp.S: New file.
7156 * sysdeps/sh/elf/start.S: New file.
7157 * sysdeps/sh/sys/ucontext.h: New file.
7158 * sysdeps/sh/strlen.S: New file.
7159 * sysdeps/sh/sysdep.h: New file.
7160 * sysdeps/unix/sh/sysdep.S: New file.
7161 * sysdeps/unix/sh/sysdep.h: New file.
7162 * sysdeps/unix/sysv/linux/sh/Dist: New file.
7163 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
7164 * sysdeps/unix/sysv/linux/sh/Versions: New file.
7165 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
7166 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
7167 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
7168 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
7169 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
7170 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
7171 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
7172 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
7173 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
7174 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
7175 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
7176 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
7177 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
7178 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
7179 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
7180 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
7181 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
7182 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
7183 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
7184 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
7185 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
7186 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
7187 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
7188 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
7189 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
7190 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
7191 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
7192 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
7193 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
7194 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
7195 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
7196 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
7197 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
7198 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
7199 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
7200 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
7201 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
7202 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
7203 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
7204 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
7205 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7206 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
7207 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
7208 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
7209 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
7210 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
7211 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
7213 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7215 * Rules (%.out): Define GCONV_PATH in the environment.
7216 * assert/Depend: New file.
7217 * iconvdata/Depend: New file.
7218 * intl/Depend: New file.
7219 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
7220 * intl/tst-gettext.sh: Likewise.
7221 * iconv/Makefile (routines): Add gconv_trans.
7222 * iconv/gconv_trans.c: New file.
7223 * iconv/gconv.h (struct __gconv_trans_data): New type.
7224 (__gconv_fct): New parameter with starting position in output buffer.
7225 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
7226 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
7227 (struct __gconv_step): Add new member __trans.
7228 * iconv/gconv_int.h: Pretty print prototypes.
7229 (gconv_transliterate): New prototype.
7230 (__BUILTIN_TRANS): Update for new conversion function interface.
7231 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
7232 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
7233 in names, find appropriate function, and install in the conversion
7234 steps it can be used.
7235 * iconv/skeleton.c: Add additional parameter for beginning of output
7236 buffer. Change calls of downstream functions.
7237 * iconv/loop.c: Change loop function interface completely. Pass in
7238 step and step_data structure. Remove optimization for BODY with
7239 NEED_LENGTH_TEST == 0.
7240 * iconv/gconv_simple.c: Update interfaces of functions. Insert
7241 appropriate error handling code to use transliteration steps. Remove
7242 optimization for BODY with NEED_LENGTH_TEST == 0.
7243 * iconvdata/8bit-gap.c: Likewise.
7244 * iconvdata/8bit-generic.c: Likewise.
7245 * iconvdata/ansi_x3.110.c: Likewise.
7246 * iconvdata/big5.c: Likewise.
7247 * iconvdata/big5hkscs.c: Likewise.
7248 * iconvdata/euc-cn.c: Likewise.
7249 * iconvdata/euc-jp.c: Likewise.
7250 * iconvdata/euc-kr.c: Likewise.
7251 * iconvdata/euc-tw.c: Likewise.
7252 * iconvdata/gbgbk.c: Likewise.
7253 * iconvdata/gbk.c: Likewise.
7254 * iconvdata/iso-2022-cn.c: Likewise.
7255 * iconvdata/iso-2022-jp.c: Likewise.
7256 * iconvdata/iso-2022-kr.c: Likewise.
7257 * iconvdata/iso646.c: Likewise.
7258 * iconvdata/iso8859-1.c: Likewise.
7259 * iconvdata/iso_6937-2.c: Likewise.
7260 * iconvdata/iso_6937.c: Likewise.
7261 * iconvdata/johab.c: Likewise.
7262 * iconvdata/sjis.c: Likewise.
7263 * iconvdata/t.61.c: Likewise.
7264 * iconvdata/uhc.c: Likewise.
7265 * iconvdata/unicode.c: Likewise.
7266 * iconvdata/utf-16.c: Likewise.
7267 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
7269 * wcsmbs/btowc.c: Likewise.
7270 * wcsmbs/mbrtowc.c: Likewise.
7271 * wcsmbs/mbsnrtowcs.c: Likewise.
7272 * wcsmbs/mbsrtowcs.c: Likewise.
7273 * wcsmbs/wcrtomb.c: Likewise.
7274 * wcsmbs/wcsnrtombs.c: Likewise.
7275 * wcsmbs/wcsrtombs.c: Likewise.
7276 * wcsmbs/wctob.c: Likewise.
7278 2000-04-11 Geoff Keating <geoffk@cygnus.com>
7280 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
7281 other header files. Mention about 128-byte cache line sizes.
7282 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
7283 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
7284 for current calling sequence.
7285 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
7287 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
7288 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7290 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
7291 and setrlimit syscalls for backwards compatibility.
7293 2000-06-10 Ulrich Drepper <drepper@redhat.com>
7295 * iconv/skeleton.c: Rename converted written to correcter name
7297 * iconv/gconv.c: Rename converted variable to correcter name
7299 * iconv/gconv_int.h: Likewise.
7300 * iconv/gconv_simple.c: Likewise.
7301 * iconv/iconv.c: Likewise.
7302 * iconv/loop.c: Likewise.
7303 * iconvdata/8bit-gap.c: Likewise.
7304 * iconvdata/8bit-generic.c: Likewise.
7305 * iconvdata/ansi_x3.110.c: Likewise.
7306 * iconvdata/big5.c: Likewise.
7307 * iconvdata/big5hkscs.c: Likewise.
7308 * iconvdata/euc-cn.c: Likewise.
7309 * iconvdata/euc-jp.c: Likewise.
7310 * iconvdata/euc-kr.c: Likewise.
7311 * iconvdata/gbgbk.c: Likewise.
7312 * iconvdata/gbk.c: Likewise.
7313 * iconvdata/iso-2022-cn.c: Likewise.
7314 * iconvdata/iso-2022-jp.c: Likewise.
7315 * iconvdata/iso-2022-kr.c: Likewise.
7316 * iconvdata/iso646.c: Likewise.
7317 * iconvdata/iso8859-1.c: Likewise.
7318 * iconvdata/iso_6937-2.c: Likewise.
7319 * iconvdata/iso_6937.c: Likewise.
7320 * iconvdata/johab.c: Likewise.
7321 * iconvdata/sjis.c: Likewise.
7322 * iconvdata/t.61.c: Likewise.
7323 * iconvdata/uhc.c: Likewise.
7324 * iconvdata/unicode.c: Likewise.
7325 * iconvdata/utf-16.c: Likewise.
7327 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
7328 __cmsg_data field with __extension__.
7330 2000-06-10 David Mosberger <davidm@hpl.hp.com>
7332 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
7334 2000-06-10 Ulrich Drepper <drepper@redhat.com>
7336 * iconv/gconv_simple.c: Fix various small bugs in several
7339 * iconv/loop.c: Fix comment.
7341 2000-06-10 Jakub Jelinek <jakub@redhat.com>
7343 * elf/link.h: Remove libc internal declarations.
7344 * include/link.h: Move them here.
7346 2000-06-09 Ulrich Drepper <drepper@redhat.com>
7348 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
7349 Patch by Dan Pop <Dan.Pop@cern.ch>.
7351 Rewrite error message handling.
7352 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
7354 * elf/dl-error (struct catch): Add objname member.
7355 (_dl_signal_error): Take new parameter with object name. When
7356 passing message on simply store object name and duplicate error
7358 (_dl_catch_error): Take new parameter. Store object name in the
7360 * include/dlfcn.h: Adjust _dl_catch_error prototype.
7361 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
7362 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
7363 (dlerror): Add objname to asprintf() parameters.
7364 (_dl_error_run): Pass new parameter to _dl_catch_error.
7365 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
7366 * elf/dl-open.c (_dl_open): Likewise.
7367 * elf/rtld.c (dl_main): Likewise.
7368 * elf/dl-close.c: Mark error messages with N_().
7369 * elf/dl-deps.c: Likewise.
7370 * elf/dl-error.c: Likewise.
7371 * elf/dl-load.c: Likewise.
7372 * elf/dl-open.c: Likewise.
7373 * elf/dl-reloc.c: Likewise.
7374 * elf/dl-support.c: Likewise.
7375 * elf/dl-sym.c: Likewise.
7376 * elf/dl-version.c: Likewise.
7377 * elf/dl-lookup.c: Add comments about problems with error message
7379 * elf/dl-reloc.c: Likewise.
7380 * elf/dl-version.c: Likewise.
7382 2000-06-09 H.J. Lu <hjl@gnu.org>
7384 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
7387 * dlfcn/Makefile (distribute): Add failtestmod.c.
7388 (tests): Add failtest.
7389 Add rules to build and run failtest.
7390 * dlfcn/failtest.c: New file.
7391 * dlfcn/failtestmod.c: New file.
7393 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
7395 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
7396 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
7397 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
7398 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
7399 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
7401 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7403 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
7404 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
7406 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7407 Ulrich Drepper <drepper@redhat.com>
7409 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
7410 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
7411 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
7412 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
7413 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
7414 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
7416 2000-06-09 Ulrich Drepper <drepper@redhat.com>
7418 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
7419 to find correct mount point despite wrong information from the
7422 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7424 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
7425 the address of a symbol so function pointers are handled properly.
7427 2000-06-08 Ulrich Drepper <drepper@redhat.com>
7429 * sysdeps/i386/Dist: Add bp-asm.h.
7431 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
7432 defaultdir variable instead of "/var/shm" everywhere.
7433 (defaultdir): Change to /dev/shm/.
7435 2000-06-08 Greg McGary <greg@mcgary.org>
7437 * sysdeps/i386/bp-asm.h: New file.
7438 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
7439 offsets. Add ENTER/LEAVE macros for optionally maintaining
7440 frame-pointer chain when debugging.
7441 * sysdeps/i386/add_n.S: Likewise.
7442 * sysdeps/i386/addmul_1.S: Likewise.
7443 * sysdeps/i386/lshift.S: Likewise.
7444 * sysdeps/i386/memchr.S: Likewise.
7445 * sysdeps/i386/memcmp.S: Likewise.
7446 * sysdeps/i386/mul_1.S: Likewise.
7447 * sysdeps/i386/rawmemchr.S: Likewise.
7448 * sysdeps/i386/rshift.S: Likewise.
7449 * sysdeps/i386/stpcpy.S: Likewise.
7450 * sysdeps/i386/stpncpy.S: Likewise.
7451 * sysdeps/i386/strchr.S: Likewise.
7452 * sysdeps/i386/strchrnul.S: Likewise.
7453 * sysdeps/i386/strcspn.S: Likewise.
7454 * sysdeps/i386/strpbrk.S: Likewise.
7455 * sysdeps/i386/strrchr.S: Likewise.
7456 * sysdeps/i386/strspn.S: Likewise.
7457 * sysdeps/i386/strtok.S: Likewise.
7458 * sysdeps/i386/sub_n.S: Likewise.
7459 * sysdeps/i386/submul_1.S: Likewise.
7460 * sysdeps/i386/elf/setjmp.S: Likewise.
7461 * sysdeps/i386/i486/strcat.S: Likewise.
7462 * sysdeps/i386/i486/strlen.S: Likewise.
7463 * sysdeps/i386/i586/add_n.S: Likewise.
7464 * sysdeps/i386/i586/lshift.S: Likewise.
7465 * sysdeps/i386/i586/memcpy.S: Likewise.
7466 * sysdeps/i386/i586/memset.S: Likewise.
7467 * sysdeps/i386/i586/rshift.S: Likewise.
7468 * sysdeps/i386/i586/strchr.S: Likewise.
7469 * sysdeps/i386/i586/strcpy.S: Likewise.
7470 * sysdeps/i386/i586/strlen.S: Likewise.
7471 * sysdeps/i386/i586/sub_n.S: Likewise.
7472 * sysdeps/i386/i686/add_n.S: Likewise.
7473 * sysdeps/i386/i686/memcpy.S: Likewise.
7474 * sysdeps/i386/i686/mempcpy.S: Likewise.
7475 * sysdeps/i386/i686/memset.S: Likewise.
7476 * sysdeps/i386/i686/strcmp.S: Likewise.
7478 2000-06-08 Ulrich Drepper <drepper@redhat.com>
7480 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
7482 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
7483 256 and don't use OPEN_MAX.
7485 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
7486 use it instead of LINK_MAX.
7487 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
7489 2000-06-08 Andreas Jaeger <aj@suse.de>
7491 * libio/genops.c (_IO_list_lock): Only compile body if we're
7493 (_IO_list_unlock): Likewise.
7494 (_IO_list_resetlock): Likewise.
7496 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7498 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
7499 unless user defined it.
7501 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
7502 if not defined by the user.
7504 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
7505 * libio/iofwrite.c (_IO_fwrite): Likewise.
7507 * time/time.h: Add missing __THROW for clock_getcpuclockid
7510 * elf/Makefile (distribute): Add dl-dtprocnum.h.
7511 * include/elf.h: Include also <dl-dtprocnum.h>.
7512 * elf/dl-deps.c: Likewise.
7513 * elf/dl-lookup.c: Likewise.
7514 * elf/dl-runtime.c: Likewise.
7515 * elf/dl-version.c: Likewise.
7516 * elf/do-rel.h: Likewise.
7517 * elf/dynamic-link.h: Likewise.
7518 * elf/link.h: Likewise.
7519 * elf/rtld.c: Likewise.
7520 * sysdeps/generic/dl-dtprocnum.h: New file.
7521 * sysdeps/ia64/dl-dtprocnum.h: New file.
7522 * sysdeps/mips/dl-dtprocnum.h: New file.
7523 * sysdeps/sparc/dl-dtprocnum.h: New file.
7525 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
7527 * elf/do-lookup.h: Add some __builtin_expect.
7529 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
7531 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
7532 (_dl_dynamic_weak): New variable.
7533 * elf/dl-support.c: Likewise.
7534 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
7535 * elf/do-lookup.h: If we find a weak definition treat it like a
7536 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
7537 case treat it like before.
7539 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
7541 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
7543 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
7544 using l_map_start and l_map_end.
7546 * elf/dl-version.c: Add __builtin_expect in many places.
7548 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
7551 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
7553 Lock for stdio stream list becomes global, for use in LinuxThreads.
7555 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
7556 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
7557 _IO_list_resetlock): New interface for iterating global list of
7558 streams without accessing the _IO_list_all global variable,
7559 and for manipulating the lock which protects this list.
7560 * libio/libioP.h: Likewise.
7561 * libio/Version: Add entries for the new functions.
7563 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
7564 pointer to _IO_FILE.
7566 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7568 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
7569 BIT() must actually be BITw().
7571 * locale/programs/ld-ctype.c: Handle SP and space consistently.
7573 * locale/programs/charmap.c: Allow string arguments for
7574 code_set_name and repertoiremap.
7576 2000-06-07 Andreas Jaeger <aj@suse.de>
7578 * elf/Makefile: Build ldconfig only when building shared libraries.
7580 2000-06-07 Jakub Jelinek <jakub@redhat.com>
7582 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
7584 (fdimf, __fdim, fdim): Likewise.
7586 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7588 * locale/findlocale.c: Add __builtin_expect in many places.
7589 * locale/loadlocale.c: Likewise.
7591 2000-06-06 Greg McGary <greg@mcgary.org>
7593 * sysdeps/mips/elf/start.S: Trim redundant code.
7595 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
7596 Use C comments throughout. Line up operands column with tabs.
7597 * sysdeps/powerpc/strchr.S: Likewise.
7598 * sysdeps/powerpc/strcmp.S: Likewise.
7599 * sysdeps/powerpc/strcpy.S: Likewise.
7600 * sysdeps/powerpc/strlen.S: Likewise.
7602 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
7603 Get low part of &__curbrk with @l.
7605 2000-06-06 Ulrich Drepper <drepper@redhat.com>
7607 * iconvdata/utf-16.c: Add __builtin_expect in many places.
7608 * iconvdata/unicode.c: Likewise.
7609 * iconvdata/uhc.c: Likewise.
7610 * iconvdata/t.61.c: Likewise.
7611 * iconvdata/sjis.c: Likewise.
7612 * iconvdata/johab.c: Likewise.
7613 * iconvdata/iso_6937.c: Likewise.
7614 * iconvdata/iso_6937-2.c: Likewise.
7615 * iconvdata/iso8859-1.c: Likewise.
7616 * iconvdata/iso646.c: Likewise.
7617 * iconvdata/iso-2022-kr.c: Likewise.
7618 * iconvdata/iso-2022-jp.c: Likewise.
7619 * iconvdata/iso-2022-cn.c: Likewise.
7620 * iconvdata/gbgbk.c: Likewise.
7621 * iconvdata/gbk.c: Likewise.
7622 * iconvdata/euc-kr.c: Likewise.
7623 * iconvdata/euc-jp.c: Likewise.
7624 * iconvdata/euc-cn.c: Likewise.
7626 2000-06-05 Ulrich Drepper <drepper@redhat.com>
7628 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
7629 * iconvdata/big5.c: Likewise.
7630 * iconvdata/ansi_x3.110.c: Likewise.
7631 * iconvdata/8bit-generic.c: Likewise.
7632 * iconvdata/8bit-gap.c: Likewise.
7633 * iconv/loop.c: Likewise.
7634 * iconv/gconv_db.c: Likewise.
7635 * iconv/gconv_dl.c: Likewise.
7636 * iconv/gconv_simple.c: Likewise.
7637 * iconv/skeleton.c: Likewise.
7639 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
7640 (struct __gconv_step_data): Rename __is_last to __flags.
7641 * iconv/gconv_close.c: Change all uses of __is_last.
7642 * iconv/skeleton.c: Likewise.
7643 * iconvdata/iso-2022-cn.c: Likewise.
7644 * iconvdata/iso-2022-jp.c: Likewise.
7645 * iconvdata/iso-2022-kr.c: Likewise.
7646 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
7647 Recognize IGNORE error handling, set flag, and remove from name.
7648 * iconv/loop.c (ignore_errors_p): Define.
7649 Add flags parameter to both functions.
7650 * iconv/skeleton.c: Pass flags to all conversion functions.
7651 * iconv/gconv_simple.c: Add flags parameter to all functions.
7652 Don't return error for invald error if ignore flag is set.
7653 (ucs4_internal_loop_single): Add missing pointer increment.
7654 (internal_ucs4le_loop_single): Likewise.
7655 * iconv/iconv_prog.c: Implement handling of -c parameter.
7656 * iconvdata/8bit-gap.c: Don't return error for invald error if
7658 * iconvdata/8bit-generic.c: Likewise.
7659 * iconvdata/ansi_x3.110.c: Likewise.
7660 * iconvdata/big5.c: Likewise.
7661 * iconvdata/big5hkscs.c: Likewise.
7662 * iconvdata/euc-cn.c: Likewise.
7663 * iconvdata/euc-jp.c: Likewise.
7664 * iconvdata/euc-kr.c: Likewise.
7665 * iconvdata/gbgbk.c: Likewise.
7666 * iconvdata/gbk.c: Likewise.
7667 * iconvdata/iso-2022-cn.c: Likewise.
7668 * iconvdata/iso-2022-jp.c: Likewise.
7669 * iconvdata/iso-2022-kr.c: Likewise.
7670 * iconvdata/iso646.c: Likewise.
7671 * iconvdata/iso8859-1.c: Likewise.
7672 * iconvdata/iso_6937-2.c: Likewise.
7673 * iconvdata/iso_6937.c: Likewise.
7674 * iconvdata/johab.c: Likewise.
7675 * iconvdata/sjis.c: Likewise.
7676 * iconvdata/t.61.c: Likewise.
7677 * iconvdata/uhc.c: Likewise.
7678 * iconvdata/unicode.c: Likewise.
7679 * iconvdata/utf-16.c: Likewise.
7680 * libio/fileops.c: Likewise.
7681 * libio/iofwide.c: Likewise.
7682 * wcsmbs/btowc.c: Likewise.
7683 * wcsmbs/mbrtowc.c: Likewise.
7684 * wcsmbs/mbsnrtowcs.c: Likewise.
7685 * wcsmbs/mbsrtowcs.c: Likewise.
7686 * wcsmbs/wcrtomb.c: Likewise.
7687 * wcsmbs/wcsnrtombs.c: Likewise.
7688 * wcsmbs/wcsrtombs.c: Likewise.
7689 * wcsmbs/wctob.c: Likewise.
7691 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
7694 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7696 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
7697 counter for the object we are releasing, just decrement it.
7698 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
7700 2000-06-04 Jakub Jelinek <jakub@redhat.com>
7702 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
7705 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7707 * iconvdata/big5hkscs.c: New file.
7708 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
7710 * iconvdata/gconv-modules: Add entry for new module.
7711 * iconvdata/Makefile (modules): Add BIG5HKSCS.
7712 (distribute): Add big5hkscs.c.
7714 2000-06-01 Jakub Jelinek <jakub@redhat.com>
7716 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
7717 inlines to match prototypes in mathcalls.h.
7718 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7719 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
7720 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
7721 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7723 2000-06-03 Ulrich Drepper <drepper@redhat.com>
7725 * elf/elf.h (SHT_SUNW_move): Define.
7727 * elf/elf.h: Add more Solaris compatiblity definitions.
7729 2000-06-03 Andreas Jaeger <aj@suse.de>
7731 * sysdeps/powerpc/dl-start.S: Close open comment.
7733 2000-06-03 Jakub Jelinek <jakub@redhat.com>
7735 * inet/Versions: Fix typo in rresvport_af export.
7737 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7739 * math/tgmath.h: Pretty print.
7741 2000-06-02 Andreas Jaeger <aj@suse.de>
7743 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
7744 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7746 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7748 * elf/rtld.c (process_envvars): Test for = after variable name.
7750 2000-06-01 Ulrich Drepper <drepper@redhat.com>
7752 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
7753 have extra call to __gmon_start__, use the pointer we already have.
7755 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
7758 * sysdeps/i386/elf/setjmp.S: Work around change is recent
7759 binutils. gas now emits a jump through the PLT instead of a
7760 relative jump if the jump target is an exported symbol.
7762 2000-05-31 Ulrich Drepper <drepper@redhat.com>
7764 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
7766 2000-05-31 Andreas Jaeger <aj@suse.de>
7768 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
7771 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
7772 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7774 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
7776 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
7778 2000-05-30 Ulrich Drepper <drepper@redhat.com>
7780 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
7782 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
7783 * locale/localeconv.c: Make function versioned (with same definition).
7785 * elf/Makefile (modules-names): Strip before using it.
7787 2000-05-30 Andreas Jaeger <aj@suse.de>
7789 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
7790 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
7791 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
7792 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
7793 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
7794 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
7796 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7798 * Makefile: Add GNU make magic.
7800 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
7802 * inet/rcmd.c: Remove __P. Remove unused variables.
7803 (iruserfopen): Make first parameter const.
7804 (ruserok_sa): Return result of ruserok2_sa.
7805 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
7806 * inet/rexec.c: Remove unused variables. Other small cleanups.
7807 * inet/ruserpass.c: Remove __P. Remove unused variables.
7808 (ruserpass): Check results of memory allocation.
7809 * include/netdb.h: Add prototype for ruserpass.
7811 2000-05-29 Andreas Jaeger <aj@suse.de>
7813 * elf/readlib.c (interpreters): Use LD_SO since this is supported
7816 2000-05-29 Jakub Jelinek <jakub@redhat.com>
7818 * inet/rcmd.c (rresvport_af): Use correct port number.
7820 2000-05-26 Andreas Schwab <schwab@suse.de>
7822 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
7823 entries in all-sonames.
7824 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
7825 preserving the old name if different for compatibility.
7827 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7829 * posix/Makefile (tests): Add tst-spawn.
7830 (tst-spawn-ARGS): New variable.
7831 * posix/tst-spawn.c: New file.
7833 * posix/spawn_faction_addclose.c: Correctly account for new entry.
7834 * posix/spawn_faction_adddup2.c: Likewise.
7835 * posix/spawn_faction_addopen.c: Likewise.
7836 * posix/spawni.c: Correctly test for success of dup2 calls.
7838 * posix/tst-preadwrite.c: Check success of malloc call.
7840 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7842 * posix/Makefile (tests): Add tst-exec.
7843 (tst-exec-ARGS): New variable.
7844 * posix/tst-exec.c: New file.
7846 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
7848 2000-05-04 Andreas Jaeger <aj@suse.de>
7850 * string/string.h: Remove __strdup prototype, it's not needed in
7853 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7855 * posix/Makefile (tests): Add tst-fork.
7856 * posix/tst-fork.c: New file.
7858 * resolv/inet_pton.c: Loose __P.
7860 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7862 * libio/libioP.h (_IO_CHECK_WIDE): Define.
7863 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
7864 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7865 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
7866 _IO_CHECK_WIDE fails.
7868 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7870 * po/da.po: New file.
7872 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
7873 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
7875 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
7876 (Other iconv Implementations): Fix typo.
7877 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
7879 2000-05-27 Andreas Jaeger <aj@suse.de>
7881 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
7883 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
7884 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7885 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7886 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7887 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
7888 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
7890 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
7891 endianness to decide how to pass arguments.
7892 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7894 * elf/vismain.c: Use test-skeleton interface.
7895 (TEST_FUNCTION): New macro.
7896 (do_test): Renamed from main.
7898 2000-05-27 Ulrich Drepper <drepper@redhat.com>
7900 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
7901 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
7903 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
7904 handling of AI_V4MAPPED flag.
7906 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
7907 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
7908 perform lookup for T_A type and tell getanswer_r to convert the
7909 result with new argument.
7910 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
7911 Don't convert addresses from IPv4 to IPv6 here.
7912 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
7913 IPv6 is wanted. Allow qtype and type from reply to disagree if
7914 IPv4 mapping has to be done. Perform mappings if required by the
7915 caller and not if RES_USE_INET6 bit in _res.options is set.
7916 Add several __builtin_expect.
7918 2000-05-26 Ulrich Drepper <drepper@redhat.com>
7920 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
7922 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
7925 * posix/tst-preadwrite.c: Allow parallel execution of
7926 tst-preadwrite and tst-preadwrite64.
7928 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
7929 * posix/tst-truncate.c: New file.
7930 * posix/tst-truncate64.c: New file.
7932 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
7935 * posix/Makefile (tests): Add tst-preadwrite64.
7936 * posix/tst-preadwrite.c: Alloc file being used also for testing
7937 pread64 and pwrite64.
7938 * posix/tst-preadwrite64.c: New file.
7940 2000-05-26 Andreas Jaeger <aj@suse.de>
7942 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
7943 of arguments dependend on endianness.
7944 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
7946 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
7948 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7949 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7950 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7951 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7953 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
7954 endianness to check how to pass argument.
7955 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7957 * elf/ldconfig.h: Update parameter list for process_elf_file.
7959 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
7960 Add parameter file_length and pass it ot process_elf*file.
7962 * sysdeps/generic/readelflib.c (check_ptr): New.
7963 (process_elf_file): Use check_ptr to check all accesses to the
7964 mmapped file. Add parameter file_length.
7966 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
7969 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
7970 Closes PR libc/1573, reported by Bradley White
7971 <bww@laurelnetworks.com>.
7973 2000-05-25 Ulrich Drepper <drepper@redhat.com>
7975 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
7976 __FAST_MATH__ is defined.
7978 2000-05-22 Andreas Jaeger <aj@suse.de>
7980 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
7981 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
7983 * manual/math.texi (FP Function Optimizations): Document gcc
7984 -ffast-math behaviour with mathinlines.
7986 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
7987 functions unless -ffast-math is given to gcc.
7989 2000-05-23 Jakub Jelinek <jakub@redhat.com>
7991 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
7992 __sincosl): Guard with __USE_GNU.
7994 2000-05-24 Ulrich Drepper <drepper@redhat.com>
7996 * csu/Makefile (routines): Add check_fds.
7997 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
7998 binaries. Add various __builtin_expect.
7999 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
8000 * sysdeps/generic/check_fds.c: ...here. New file.
8002 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
8003 binaries if file /etc/suid-debug is available.
8005 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
8006 and wcseqorder members.
8007 (struct locale_collate_t): Likewise.
8008 (collate_finish): Assign collation sequence value to each character.
8009 Create tables for output.
8010 (collate_output): Write out tables with collation sequence information.
8011 * locale/C-collate.c: Provide C locale data for collation sequence
8013 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
8014 _NL_COLLATE_COLLSEQWC.
8015 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
8016 _NL_COLLATE_COLLSEQWC.
8017 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
8018 include fnmatch_loop.c.
8019 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
8020 character is matched by range expression. Use collation sequence
8021 table. Outside glibc fall back on simple character value comparison.
8023 2000-05-24 Andreas Jaeger <aj@suse.de>
8025 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
8028 * intl/Makefile: Run gettext-test only if msgfmt is available.
8030 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
8031 Define it for newer kernels.
8033 2000-05-23 Ulrich Drepper <drepper@redhat.com>
8035 * elf/dl-sym.c: Minor cleanups.
8037 * configure.in: Add test for .protected.
8038 * config.make.in: Add have-protected variable.
8039 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
8040 (tests-vis-yes): Add vismain.
8041 (modules-names): Add $(modules-vis-$(have-protected)).
8042 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
8043 Add rules to generate and run vismain.
8044 * elf/vismain.c: New file.
8045 * elf/vismod1.c: New file.
8046 * elf/vismod2.c: New file.
8047 * elf/vismod3.c: New file.
8049 2000-05-23 Andreas Jaeger <aj@suse.de>
8051 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
8053 * manual/search.texi (Array Sort Function): Document that qsort is
8054 not necessarily in-place.
8056 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
8057 Closes PR libc/1731.
8059 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
8060 * dirent/scandir64.c: Likewise.
8061 * pwd/getpw.c: Likewise.
8062 * stdlib/bsearch.c (bsearch): Likewise.
8063 * stdlib/tst-strtoll.c: Likewise.
8064 * localedata/collate-test.c: Likewise.
8065 * localedata/xfrm-test.c: Likewise.
8066 * posix/bsd-getpgrp.c: Likewise.
8067 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8068 * sysdeps/generic/bits/siginfo.h: Likewise.
8069 * sysdeps/generic/bits/sockaddr.h: Likewise.
8070 * sysdeps/generic/sys/swap.h: Likewise.
8071 * sysdeps/generic/sys/sysinfo.h: Likewise.
8072 * sysdeps/generic/vfork.c: Likewise.
8073 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
8074 * sysdeps/mach/hurd/fdopen.c: Likewise.
8075 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
8076 * sysdeps/unix/sysv/linux/poll.c: Likewise.
8077 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8078 * sysdeps/unix/sysv/linux/writev.c: Likewise.
8079 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8080 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8081 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
8083 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
8084 * shadow/lckpwdf.c: Likewise.
8085 * stdlib/tst-strtol.c: Likewise.
8086 * sysdeps/generic/tcsetattr.c: Likewise.
8087 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8088 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8090 2000-05-22 Jakub Jelinek <jakub@redhat.com>
8092 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
8093 free it and set to (void *) -1.
8095 2000-05-22 Jakub Jelinek <jakub@redhat.com>
8097 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
8098 not the second character in the range.
8099 * stdio-common/tstscanf.c (main): Add testcase for the above.
8100 Reported by jik@kamens.brookline.ma.us.
8102 2000-05-21 H.J. Lu <hjl@gnu.org>
8104 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
8105 with noexec and noplt parameter.
8106 (do_lookup): Likewise.
8108 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
8109 do_lookup. Support STV_PROTECTED.
8110 (_dl_lookup_symbol_skip): Likewise.
8111 (_dl_lookup_versioned_symbol): Likewise.
8112 (_dl_lookup_versioned_symbol_skip): Likewise.
8114 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
8116 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
8118 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8120 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
8121 * sysdeps/i386/bits/huge_val.h: Likewise.
8122 * sysdeps/ieee754/bits/huge_val.h: Likewise.
8123 * sysdeps/m68k/bits/huge_val.h: Likewise.
8124 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
8125 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
8127 2000-05-22 Andreas Jaeger <aj@suse.de>
8129 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
8132 2000-05-19 Andreas Jaeger <aj@suse.de>
8134 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
8135 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
8136 breaks compilation without linuxthreads.
8138 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8140 * sysdeps/ia64/memccpy.S: New file.
8141 * sysdeps/ia64/memchr.S: New file.
8142 * sysdeps/ia64/memcmp.S: New file.
8143 * sysdeps/ia64/memcpy.S: New file.
8144 * sysdeps/ia64/memmove.S: New file.
8145 * sysdeps/ia64/memset.S: New file.
8146 * sysdeps/ia64/strcat.S: New file.
8147 * sysdeps/ia64/strchr.S: New file.
8148 * sysdeps/ia64/strcmp.S: New file.
8149 * sysdeps/ia64/strcpy.S: New file.
8150 * sysdeps/ia64/strlen.S: New file.
8151 * sysdeps/ia64/strncmp.S: New file.
8152 * sysdeps/ia64/strncpy.S: New file.
8153 * sysdeps/ia64/softpipe.h: New file.
8154 Patches by Dan Pop <Dan.Pop@cern.ch>.
8156 * manual/memory.texi: Document memory handling functions (mlock,
8157 munlock, mlockall, munlockall, brk, and sbrk)
8158 * manual/time.texi: Document timespec and friends.
8159 * manual/conf.texi: Fix references.
8160 * manual/ctype.texi: Likewise.
8161 * manual/errno.texi: Likewise.
8162 * manual/intro.texi: Likewise.
8163 * manual/locale.texi: Likewise.
8164 * manual/sysinfo.texi: Likewise.
8165 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8167 2000-05-09 Jes Sorensen <jes@linuxcare.com>
8169 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
8170 * sysdeps/ia64/dl-lookupcfg.h: ...here.
8172 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8174 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
8177 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8179 * locale/locale.h (struct lconv): Add new elements from ISO C99.
8180 * locale/localeconv.c: Initialize new elements from ISO C99.
8181 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
8182 new standard elements.
8183 * locale/categories.def: Adjust accordingly.
8185 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
8186 * iconv/iconv.c: Likewise.
8187 * conform/data/iconv.h-data: Likewise.
8188 * iconv/iconv_prog.c (process_block): Remove const from second
8190 (main): Remove const from addr definition.
8191 * manual/charset.texi (Generic Conversion Interface): Remove from
8192 inbuf parameter of iconv.
8194 * intl/dcigettext.c: Fix typo in comment.
8196 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
8198 * resolv/res_libc.c (_res): Initialize _sock to -1.
8200 2000-05-18 Jakub Jelinek <jakub@redhat.com>
8202 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
8203 (fopencookie@@GLIBC_2.2): New.
8204 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
8205 (fopencookie@GLIBC_2.0): New.
8206 * libio/Versions: Add fopencookie to GLIBC_2.2.
8208 2000-05-18 Andreas Jaeger <aj@suse.de>
8210 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
8211 Closes PR libc/1731.
8213 * manual/arith.texi (Parsing of Integers): Fix typo.
8214 Closes PR libc/1744, reported by blp@gnu.org.
8216 2000-05-17 Jakub Jelinek <jakub@redhat.com>
8218 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
8219 __extension__ to hexadecimal floating constant notation.
8220 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8222 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
8223 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8225 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8226 HUGE_VALL): Likewise.
8227 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8228 HUGE_VALL): Likewise.
8229 (HUGE_VALL): Set to HUGE_VAL on sparc32.
8231 2000-05-17 Andreas Jaeger <aj@suse.de>
8233 * string/envz.h: Add pure attributes if possible.
8235 * string/argz.h: argz_count is a pure function.
8237 * string/strings.h: Add pure and const attributes if possible.
8239 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
8240 possibly searching through the whole memory.
8241 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
8243 2000-05-17 Jakub Jelinek <jakub@redhat.com>
8245 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
8247 (_dl_cache_check_flags): Likewise.
8248 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
8251 2000-05-17 Andreas Jaeger <aj@suse.de>
8253 * manual/creature.texi (Feature Test Macros): Remove paragraph
8254 since the description is wrong.
8255 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
8257 * scripts/config.sub: New version.
8258 * scripts/config.guess: Likewise.
8259 * manual/texinfo.tex: Likewise.
8261 * time/test_time.args: Removed.
8262 * time/Makefile (test_time-ARGS): Added contents here instead.
8264 * posix/tstgetopt.args: Removed.
8265 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
8267 * Rules: Allow arguments for test files to be specified in
8268 Makefile with testname-ARGS; remove rules with .args in it.
8270 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
8271 remove old bogus rule for opendir-tst1.args.
8273 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
8275 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
8276 into objdir. This allows a readonly sourcetree.
8277 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
8279 2000-05-16 Andreas Jaeger <aj@suse.de>,
8280 David Huggins-Daines <dhd@linuxcare.com>
8282 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
8283 cache_data in case of only new cache format correctly.
8285 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
8288 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
8289 struct cache_file_new.
8291 * elf/cache.c (save_cache): Fix str_offset if only new cache is
8294 * elf/cache.c (save_cache): Align struct new_file_cache.
8295 (print_cache): Likewise.
8297 2000-05-13 Jakub Jelinek <jakub@redhat.com>
8299 * elf/soinit.c (__libc_global_ctors): Move
8300 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
8301 * resolv/resolv.h (__res_state): Added __attribute__((const)).
8302 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
8303 variable, don't define it to __res_state call.
8305 2000-05-13 Andreas Jaeger <aj@suse.de>
8307 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
8309 (AF_PPPOX): Likewise.
8310 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
8311 (AF_PPPOX): Likewise.
8313 2000-05-12 Andreas Jaeger <aj@suse.de>
8315 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
8316 Reported by tmoestl@gmx.net, closes PR libc/1732.
8318 2000-05-11 Jan Hubicka <jh@suse.cz>
8320 * misc/sys/cdefs.h: Add support for pure attribute.
8322 * include/string.h: Add __attribute_pure__ to various functions.
8323 * string/string.h: Likewise.
8325 2000-05-10 Jakub Jelinek <jakub@redhat.com>
8327 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
8329 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8331 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
8333 2000-05-10 Jakub Jelinek <jakub@redhat.com>
8335 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
8336 at proper place. Compute the high nibble correctly.
8338 2000-05-09 Jakub Jelinek <jakub@redhat.com>
8340 * elf/ldconfig.c: Include elf.h.
8342 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
8343 (_dl_vsym): Likewise.
8344 Reported by Owen Taylor <otaylor@redhat.com>.
8346 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
8349 2000-05-08 Andreas Jaeger <aj@suse.de>
8351 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
8353 * intl/bindtextdom.c (set_binding_values): Add prototype.
8355 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8357 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
8358 call to elf_machine_fixup_plt.
8359 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8360 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8362 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8364 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
8365 they are not dlclose'd from underneath us.
8367 2000-05-08 Andreas Schwab <schwab@suse.de>
8369 * posix/execle.c: Fix size parameter of memcpy.
8371 2000-05-08 Andreas Schwab <schwab@suse.de>
8373 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
8374 getpagesize syscall if available.
8376 2000-05-08 Andreas Jaeger <aj@suse.de>
8378 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
8381 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8383 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
8384 sizeof(struct link_map *) chunks, not in bytes.
8386 2000-05-07 Ulrich Drepper <drepper@redhat.com>
8388 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
8389 only needed for locale.
8390 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
8391 It's only needed for catgets.
8392 Patches by Greg McGary <gkm@eng.ascend.com>.
8394 2000-05-07 Mark Kettenis <kettenis@gnu.org>
8396 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
8397 Remove duplicate <errno.h> include. Remove inclusion of
8398 <libintl.h> and "nsswitch.h".
8399 (set_cloexec_flag): New function, broken out of dbopen.
8400 (dbopen): Changed return type to `enum
8401 nss_status'. Mostly rewritten to make sure that we do not report
8402 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
8403 (internal_setent): Change return type to nss_status.
8404 Document, and make sure that the function
8405 behaves accordingly. Make dynamically loading the database
8406 library really thread-safe and return NSS_STATUS_UNAVAIL if it
8408 (db_cursor): Return ENOMEM is memory allocation failed. Remove
8410 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
8412 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
8413 c_get function member.
8414 * nss/nss_db/nss_db.h: Add and tweak some comments.
8415 (DBT): Move typedef before NSS_DBC typedef.
8416 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
8418 2000-05-07 H.J. Lu <hjl@gnu.org>
8420 * csu/initfini.c: Moved to ....
8421 * sysdeps/generic/initfini.c: ...here.
8423 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
8425 2000-05-07 Ulrich Drepper <drepper@redhat.com>
8427 * manual/resource.texi: Document POSIX scheduling functions.
8428 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8430 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
8431 reading anything. Reported by Andries.Brouwer@cwi.nl.
8433 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
8434 for x since promotion in comparison might leads to unexpected
8435 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
8437 * iconv/Makefile (tests): Add tst-iconv1.
8438 * iconv/tst-iconv1.c: New file.
8439 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
8440 empty input buffer over full output buffer.
8441 (ucs4_internal_loop): Likewise.
8442 (ucs4_internal_loop_unaligned): Likewise.
8443 (internal_ucs4le_loop): Likewise.
8444 (internal_ucs4le_loop_unaligned): Likewise.
8445 (ucs4le_internal_loop): Likewise.
8446 (ucs4le_internal_loop_unaligned): Likewise.
8447 Reported by yaoz@nih.gov.
8449 2000-05-06 Bruno Haible <haible@clisp.cons.org>
8451 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
8452 returned != __GCONV_OK, there is nothing to clean up.
8454 2000-05-06 Bruno Haible <haible@clisp.cons.org>
8456 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
8457 OUTPUT_CHARSET environment variables.
8459 2000-05-06 Andreas Jaeger <aj@suse.de>
8461 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
8462 (struct cache_file_new): New.
8463 (struct file_entry): New (moved from cache.c).
8464 (struct cache_file): New (moved from cache.c).
8466 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
8467 from _dl_load_cache_lookup.
8468 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
8469 the different cache formats.
8470 New variable cache_new for new format.
8472 * elf/ldconfig.h: Change according to changes in cache.c and
8473 ldconfig.c; remove cache_libcmp; add opt_format.
8475 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
8476 stuff that's defined in those headers.
8477 Add hwcap to struct lib_entry.
8478 (opt_format): New variable to select cache format.
8479 (options): Add format parameter.
8480 (is_hwcap): New function.
8481 (path_hwcap): New function.
8482 (parse_opt): Handle new format parameter.
8483 (search_dir): Handle hwcap, search also subdirectories with hwcap.
8485 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
8486 ldconfig is part of glibc.
8487 Include dl-cache.h and remove stuff that's defined there.
8488 (struct cache_entry): Add new member hwcap.
8489 (print_entry): Print hwcap, cleanup a bit.
8490 (print_cache): Print new and old formats.
8491 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
8492 (save_cache): Save new and old formats.
8493 (add_to_cache): Handle hwcap.
8495 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
8496 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
8497 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
8498 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
8499 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
8500 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
8502 2000-05-05 Bruno Haible <haible@clisp.cons.org>
8504 * intl/dcigettext.c (alignof): New macro.
8505 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
8506 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
8509 2000-05-05 Bruno Haible <haible@clisp.cons.org>
8511 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
8514 2000-05-06 Ulrich Drepper <drepper@redhat.com>
8516 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
8517 (mempcpy): Correct typo is parameter list.
8519 2000-05-06 Andreas Jaeger <aj@suse.de>
8521 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
8522 functions unless -ffast-math is given to gcc.
8524 2000-05-06 Ulrich Drepper <drepper@redhat.com>
8526 * po/ko.po: Update from translation team.
8528 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8530 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
8531 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
8532 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
8533 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
8534 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
8535 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
8537 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
8538 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
8539 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
8541 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
8542 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
8543 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
8544 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
8546 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
8547 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
8549 2000-05-05 Jes Sorensen <jes@linuxcare.com>
8551 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
8552 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
8554 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
8555 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
8557 * sysdeps/ia64/Implies: New file.
8558 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
8559 * sysdeps/ia64/Makefile: New file.
8560 * sysdeps/ia64/gmp-mparam.h: New file,
8562 * sysdeps/ia64/elf/start.S: New file.
8564 * sysdeps/ia64/bits/fenv.h: New file.
8566 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
8568 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
8570 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
8572 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
8573 ia64 has 64 bit .hash entries just as the Alpha.
8575 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8577 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
8579 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
8581 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
8582 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
8583 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
8584 * sysdeps/ia64/fpu/fegetenv.c: New file.
8585 * sysdeps/ia64/fpu/fegetexcept.c: New file.
8586 * sysdeps/ia64/fpu/fegetround.c: New file.
8587 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
8588 * sysdeps/ia64/fpu/fesetenv.c: New file.
8589 * sysdeps/ia64/fpu/fesetround.c: New file.
8590 * sysdeps/ia64/fpu/feupdateenv.c: New file.
8591 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
8592 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
8593 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
8594 * sysdeps/ia64/fpu/ftestexcept.c: New file.
8596 2000-05-05 Andreas Jaeger <aj@suse.de>
8598 * misc/tst-tsearch.c (main): Correct type for initstate argument.
8600 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8601 (_dl_string_hwcap): New, does nothing.
8603 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8604 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8605 (_dl_string_hwcap): New function, converts from string to hwcap
8607 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8608 (_DL_HWCAP_COUNT): New.
8609 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8610 (_dl_string_hwcap): New function, converts from string to hwcap
8612 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
8613 (_DL_HWCAP_COUNT): New.
8614 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8615 (_dl_string_hwcap): New function, converts from string to hwcap
8618 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8620 * elf/Makefile (distribute): Add dl-lookupcfg.h.
8621 * sysdeps/ia64/Dist: New file.
8623 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
8624 parameter to mprotect and for variable assignments.
8626 2000-05-03 Jes Sorensen <jes@linuxcare.com>
8628 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
8629 validity of map before dereferencing it.
8631 * elf/dl-reloc.c (RESOLVE_MAP): Define.
8633 2000-05-02 Jes Sorensen <jes@linuxcare.com>
8635 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
8636 lookup to the arguments to elf_machine_fixup_plt().
8638 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
8639 of the symbol being resolved to input argument list and make the
8640 function return the pointer to the reloc.
8642 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
8643 return valuie to lookup_t and return the value.
8644 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
8645 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
8646 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
8647 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
8648 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
8649 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
8651 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
8652 Make it an inline function returning value after calling
8653 __elf_machine_fixup_plt().
8655 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
8658 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
8659 obtain the symbol address.
8661 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
8662 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
8664 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
8665 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
8668 2000-04-28 Jes Sorensen <jes@linuxcare.com>
8670 * elf/dl-runtime.c (fixup): Use the portable macros to get the
8671 symbol address of an object.
8673 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
8674 the symbol address of an object.
8676 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
8677 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
8678 (_dl_lookup_symbol_skip): Likewise.
8679 (_dl_lookup_versioned_symbol): Likewise.
8680 (_dl_lookup_versioned_symbol_skip): Likewise.
8682 2000-04-27 Jes Sorensen <jes@linuxcare.com>
8684 * elf/rtld.c (_dl_start): Get the function pointer return address
8685 via _dl_start_address for architectures that need a function
8686 pointer descriptor rather than just a pointer (ia64).
8688 * sysdeps/generic/dl-lookupcfg.h: New file.
8689 * sysdeps/ia64/dl-lookupcfg.h: New file.
8690 * sysdeps/ia64/dl-machine.h: New file.
8691 * sysdeps/ia64/dl-symaddr.c: New file.
8692 * sysdeps/ia64/dl-fptr.c: New file.
8694 * elf/elf.h: Add IA-64 specific definitions.
8696 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8698 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
8701 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8703 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
8706 2000-04-11 Geoff Keating <geoffk@cygnus.com>
8708 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
8709 symbol. Call _dl_init rather than the old way.
8711 2000-05-04 Ulrich Drepper <drepper@redhat.com>
8713 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
8714 test for pointer in range of DSO address space.
8716 2000-05-04 Andreas Jaeger <aj@suse.de>
8718 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
8720 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8722 * locale/findlocale.c (_nl_find_locale): Add new parameter to
8723 calls of _nl_make_l10nflist.
8725 * libio/stdio.h: Make fseeko and ftello prototypes available is
8726 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
8728 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
8729 real unsetenv implementation from 1999-07-29 [PR libc/1714].
8731 2000-05-03 Bruno Haible <haible@clisp.cons.org>
8733 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
8734 before calling tfind.
8736 2000-03-05 Jakub Jelinek <jakub@redhat.com>
8738 * resolv/resolv.h (res_querydomain): Remove redefinition to
8739 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
8741 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8743 * po/gl.po: Update from translation team.
8745 * manual/intro.texi (Program Basics): Change section title.
8746 * manual/process.texi: Fix reference.
8747 (Executing a File): Add reference exec in other section.
8748 * manual/signal.texi: Fix reference.
8749 * manual/startup.texi: Document syscall function.
8750 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8752 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8754 * intl/libintl.h (bind_textdomain_codeset): New declaration.
8755 * intl/bindtextdom.c (set_binding_values): New function.
8756 (bindtextdomain): Call it.
8757 (bind_textdomain_codeset): New function.
8758 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
8759 (free_mem): Free each binding's codeset.
8760 * intl/gettextP.h (struct binding): Add codeset field.
8761 (_nl_find_domain): Add domainbinding argument.
8762 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
8763 Pass it to _nl_make_l10nflist.
8764 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
8765 (_nl_make_l10nflist): Add domainbinding argument.
8766 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
8767 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
8768 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
8770 * manual/message.texi: New node "Charset conversion in gettext".
8772 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8774 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
8775 appropriate. Handle possible __read error.
8777 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8779 * intl/gettextP.h (__builtin_expect): Define as empty if not a
8781 * intl/loadinfo.h (__builtin_expect): Likewise.
8782 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
8783 __builtin_expect where appropriate.
8784 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8785 * intl/localealias.c (extend_alias_table): Return an error indicator.
8786 (read_alias_file): Bail out if extend_alias_table fails.
8788 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8790 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
8791 * intl/localealias.c: Likewise.
8793 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8795 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
8796 Initialize domain->plural and domain->nplurals even if there is no
8799 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8801 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
8802 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
8803 In case of failure, goto converted.
8805 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8807 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
8808 * iconv/gconv_int.h (norm_add_slashes): Move to here.
8809 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
8812 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8814 * intl/dcigettext.c (transcmp): Compare the domains as well.
8815 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
8817 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
8820 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8822 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
8823 Reported by Bruno Haible.
8825 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8827 * manual/arith.texi: Remove @w from @itemize.
8829 2000-05-02 Andreas Jaeger <aj@suse.de>
8831 * conform/data/tar.h-data: Add some checks for specific values.
8833 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
8836 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
8839 * conform/data/netinet/in.h-data: Add exact checks for the values
8840 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
8842 * conform/data/float.h-data: Add some minimal values.
8844 * conform/conformtest.pl: Test for macros with string constants,
8845 check for minimum and maximum values.
8846 Add limits.h to headers.
8848 * conform/data/cpio.h-data: Test for value of MAGIC.
8850 * conform/data/limits.h-data: New file.
8852 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8854 * math/Makefile (headers): Add bits/fenvinline.h.
8856 2000-05-01 Ulrich Drepper <drepper@redhat.com>
8858 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
8859 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
8861 * posix/Versions: Change posix_spawnattr_getdefault and
8862 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
8863 and posix_spawnattr_setsigdefault respectively.
8864 * posix/spawn.h: Likewise.
8865 * posix/spawnattr_getdefault.h: Likewise.
8866 * posix/spawnattr_setdefault.h: Likewise.
8867 * conform/data/spawn.h-data: Likewise.
8869 2000-05-01 Andreas Jaeger <aj@suse.de>
8871 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
8873 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8875 * manual/sysinfo.texi: Document getdomainname, setdomainname
8877 * manual/string.texi: Fix typo.
8878 * manual/terminal.texi: Document gtty and stty.
8879 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8881 2000-04-30 Andreas Jaeger <aj@suse.de>
8883 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
8884 accordance with Austin Draft.
8886 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8888 * catgets/gencat.c (read_input_file): Use isblank and not isspace
8889 to recognize second character in comment line.
8891 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
8892 ENOBUFS if we are out of memory.
8894 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
8895 available if __USE_XOPEN2K.
8896 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8897 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8898 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8899 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8900 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8901 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8902 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
8903 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8905 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8907 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
8908 Recognize option -s, -c, and -l.
8910 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
8912 * nscd/nscd.c: Start new session for nscd, drop privilegs
8913 to configured user if requested and no -S parameter are used.
8914 * nscd/nscd.conf: Add new option "server-user".
8915 * nscd/nscd_conf.c: Add support for new "server-user" option.
8916 * nscd/nscd.h: Add declaration for server_user variable.
8917 Based on patch by Chris Wing <wingc@engin.umich.edu>
8919 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8921 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
8922 that changing the __restore and __restore_rt signal return code
8925 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8927 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
8930 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8932 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
8934 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8936 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
8937 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
8939 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
8940 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
8941 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
8942 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
8943 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
8944 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
8945 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
8946 posix_fallocate, and posix_madvise.
8947 * conform/data/netdb.h-data: New file.
8948 * conform/data/pthread.h-data: Add pthread_barrier_t,
8949 pthread_barrierattr_t, pthread_barrier_destroy,
8950 pthread_barrier_init, pthread_barrier_wait,
8951 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
8952 pthread_barrierattr_init, pthread_barrierattr_setpshared,
8953 pthread_condattr_getclock, pthread_condattr_setclock,
8954 pthread_getcpuclockid, pthread_mutex_timedlock,
8955 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
8956 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
8957 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
8958 * conform/data/sched.h-data: Add sched_ss_low_priority,
8959 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
8961 * conform/data/semaphore.h-data: Add sem_timedwait.
8962 * conform/data/signal.h-data: Add SIGIO.
8963 * conform/data/spawn.h-data: New file.
8964 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
8965 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
8966 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
8967 Fix typo in gmtime_r definition.
8968 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
8969 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
8970 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
8971 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
8972 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
8973 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
8974 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
8975 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
8976 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
8977 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
8978 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
8979 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
8980 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
8981 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
8982 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
8983 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
8984 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
8985 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
8986 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
8987 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
8988 typo in off_t definition.
8989 * conform/data/net/if.h-data: New file.
8990 * conform/data/netinet/in.h-data: New file.
8991 * conform/data/netinet/tcp.h-data: New file.
8992 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
8993 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
8994 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
8995 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
8996 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
8997 and posix_typed_mem_open.
8998 * conform/data/sys/socket.h-data: New file.
8999 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
9000 * conform/data/sys/types.h-data: Add pthread_barrier_t,
9001 pthread_barrierattr_t, and pthread_spinlock_t.
9002 * conform/data/sys/un.h-data: New file.
9003 * conform/data/sys/utsname.h-data: New file.
9005 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
9007 * inet/gethstbyad.c (gethostbyname): Likewise.
9008 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
9009 * inet/getipnodebyad.c (getipnodebyad): Likewise.
9010 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
9011 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
9013 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
9014 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
9015 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
9016 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
9017 * resolv/gethnamaddr.c (gethostbyname): Likewise.
9018 * resolv/netdb.h (struct hostent): Fix type of h_length member.
9019 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
9020 and second parameter.
9022 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
9025 2000-04-29 Andreas Jaeger <aj@suse.de>
9027 * conform/data/arpa/inet.h-data: New file.
9029 2000-04-28 Geoff Clare <gwc@unisoft.com>
9031 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
9032 path passed to ftw() or nftw() is an empty string.
9033 Closes PR libc/1710.
9035 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9037 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
9038 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
9039 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
9040 * localedata/tst-mbswcs4.c: New file.
9041 * localedata/tst-mbswcs5.c: New file.
9043 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
9044 == NULL. Little optimization.
9046 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
9047 DT_PREINIT_ARRAYSZ).
9048 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
9050 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
9051 overflows in conversion from ASCII.
9053 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9055 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
9056 * Makerules (full_config_sysdirs): Likewise.
9057 * MakeTAGS (full_config_sysdirs): Likewise.
9059 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9061 * .cvsignore: Remove linuxthreads.
9062 * po/.cvsignore: Remove *.pot.
9063 * posix/glob/.cvsignore: Removed.
9064 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
9066 2000-04-25 Andreas Jaeger <aj@suse.de>
9068 * conform/Makefile (distribute): Also distribute contents of
9071 * Makerules (no_deps): Remove abi-versions.h.
9073 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
9075 2000-04-25 Jakub Jelinek <jakub@redhat.com>
9077 * sysdeps/sparc/sparc64/elf/Dist: Remove.
9078 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
9079 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
9080 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
9081 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
9082 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
9085 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
9087 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
9089 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9091 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
9092 * intl/l10nflist.c: Likewise.
9094 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9096 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
9097 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
9098 * intl/textdomain.c [!_LIBC]: Likewise.
9099 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
9100 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
9101 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
9104 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9106 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
9107 character set conversion also in the case the translation was found
9108 after a hash collision or through binary search. Store the maximum
9109 index together with the converted message. Use iconv() when available.
9110 In case of out of memory during conversion, return the unconverted
9111 translated string, not NULL.
9113 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
9115 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
9116 to avoid name clashes with the ia32 linker.
9118 2000-04-25 Jakub Jelinek <jakub@redhat.com>
9120 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
9123 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9125 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
9126 strtoumax, strfry, and memfrob.
9127 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
9128 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9130 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
9131 if this function is available.
9133 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
9136 2000-04-27 Jakub Jelinek <jakub@redhat.com>
9138 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
9140 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9142 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
9143 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
9144 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
9145 * localedata/tst-mbswcs3.c: New file.
9147 2000-04-26 Ulrich Drepper <drepper@redhat.com>
9149 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
9150 characters. Don't handle incomplete characters as errors.
9151 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
9152 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
9153 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
9154 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
9155 * localedata/tst-mbswcs2.c: New file.
9157 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
9158 stored character in state in UNPACK_BYTES macro.
9159 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
9160 test for available characters, handle result of BODY code correctly.
9161 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
9162 (distribute): Add tst-mbswcs.sh.
9163 Add rule to run tst-mbswcs.sh.
9164 * localedata/tst-mbswcs.sh: New file.
9165 * localedata/tst-mbswcs1.c: New file.
9167 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9169 * nis/nis_callback.c (__nis_create_callback): Do failed memory
9170 allocation fixups centrally, fix __builtin_expect call, return NULL
9171 on failure, not NIS_NOMEMORY.
9173 2000-04-27 Bruno Haible <haible@clisp.cons.org>
9175 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
9177 * intl/loadinfo.h (internal_function): Define if not already defined.
9179 2000-04-27 Andreas Jaeger <aj@suse.de>
9181 * intl/libintl.h: Fix typo, reported by Bruno Haible
9182 <haible@clisp.cons.org>.
9184 2000-04-25 Ulrich Drepper <drepper@redhat.com>
9186 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
9187 setting the state to GMON_PROF_BUSY.
9189 2000-04-24 Ulrich Drepper <drepper@redhat.com>
9191 * elf/dl-profile.c (_dl_start_profile): define all variables which
9192 do not have to be global as local variables.
9194 * nis/nis_callback.c (__nis_create_callback): Partially undo last
9195 patch. Keep needed tests for failed memory allocation.
9197 * elf/dl-reloc.c (_dl_relocate_object): Add one more
9198 __builtin_expect saying that we don't normally expect to profile.
9200 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
9201 __builtin_expect where desirable.
9203 2000-04-23 Ulrich Drepper <drepper@redhat.com>
9205 * manual/Makefile (chapters): Add syslog.
9206 * manual/syslog.texi: New file.
9207 * manual/math.texi: Fix references.
9208 * manual/terminal.texi: Likewise.
9209 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9211 2000-04-18 Jakub Jelinek <jakub@redhat.com>
9213 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
9214 stdlib.h was not included or __USE_XOPEN not defined.
9216 2000-04-23 Ulrich Drepper <drepper@redhat.com>
9218 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
9219 Patch by Zack Weinberg <zack@wolery.cumb.org>.
9221 2000-04-22 Ulrich Drepper <drepper@redhat.com>
9223 * manual/examples/subopt.c (mount_opts): Add missing terminating
9225 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
9227 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
9228 * libio/ftello.c: Likewise.
9229 * libio/ftello64.c: Likewise.
9230 * libio/ioftell.c: Likewise.
9231 * sysdeps/generic/memrchr.c: Likewise.
9232 * sysdeps/posix/libc_fatal.c: Likewise.
9233 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9234 * misc/fstab.c: Include <string.h> for strcmp prototype.
9235 * sysdeps/generic/ldsodefs.h: Likewise.
9236 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9237 Patch by Kurt Roeckx <Q@ping.be>.
9239 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
9240 Remove db-open. Change all uses.
9241 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
9243 2000-04-21 Jakub Jelinek <jakub@redhat.com>
9245 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
9246 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
9247 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
9248 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
9249 with .set noat/at to shut up warnings.
9250 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
9251 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
9252 compilation if __NR_pciconfig_iobase is not defined.
9253 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
9256 2000-04-21 Ulrich Drepper <drepper@redhat.com>
9258 * manual/sysinfo.texi: Fix typo.
9259 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
9260 Replace "high precision time" with "high accuracy clock".
9262 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
9264 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
9265 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
9267 * nis/nis_subr.c: Use __builtin_expect.
9268 * nis/ypclnt.c: Likewise.
9269 * nis/nis_getservlist.c: Likewise.
9270 * nis/nis_creategroup.c: Likewise.
9272 * nis/nis_callback.c (__nis_create_callback): Check result of
9273 memory allocation. Fix memory leaks. Use __builtin_expect.
9274 (__nis_destroy_callback): Fix memory leaks.
9276 2000-04-21 Andreas Jaeger <aj@suse.de>
9278 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
9279 * sysdeps/mips/mips64/add_n.S: Likewise.
9280 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
9281 * sysdeps/mips/mips64/lshift.S: Likewise.
9282 * sysdeps/mips/mips64/mul_1.S: Likewise.
9283 * sysdeps/mips/mips64/rshift.S: Likewise.
9284 * sysdeps/mips/mips64/setjmp.S: Likewise.
9285 * sysdeps/mips/mips64/sub_n.S: Likewise.
9286 * sysdeps/mips/mips64/submul_1.S: Likewise
9287 * sysdeps/unix/mips/sysdep.S: Likewise.
9289 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
9290 and update comment. The strtab from _dl_relocate_object can be
9293 2000-04-21 Ulrich Drepper <drepper@redhat.com>
9295 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
9296 * iconv/iconv_close.c (iconv_close): Likewise.
9297 * iconv/iconv_open.c (iconv_open): Likewise.
9299 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
9300 __builtin_expect where useful.
9302 * grp/initgroups.c (initgroups): Test for result of memory
9303 allocation and punt if it fails.
9305 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
9306 * grp/fgetgrent.c (fgetfrent): Likewise.
9307 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9309 2000-04-21 Jakub Jelinek <jakub@redhat.com>
9311 * libio/vasprintf.c: Include string.h to get memcpy prototype.
9313 2000-04-20 Ulrich Drepper <drepper@redhat.com>
9315 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
9316 don't search for NUL byte to decrement counter.
9317 Reported by Ulrich.Brink@sap.com.
9319 * iconv/gconv_simple.c: Define separate functions to convert from
9320 UCS4/UCS4-LE to the internal encoding.
9321 * iconv/gconv_builtin.h: Use separate functions to convert from
9322 UCS4/UCS4-LE to the internal encoding.
9323 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
9324 __gconv_transform_ucs4le_internal.
9326 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
9327 output buffer overflow. Reported by Ulrich.Brink@sap.com.
9329 * iconv/skeleton.c: Add some more __builtin_expect.
9330 * iconv/loop.c: Likewise.
9332 2000-03-08 H.J. Lu <hjl@gnu.org>
9334 * posix/regex.c (regex_compile): Correctly handle "\{" when
9335 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
9337 2000-04-20 Ulrich Drepper <drepper@redhat.com>
9339 * manual/stdio.texi: Give advise about handling error when using
9341 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
9343 2000-04-19 Jakub Jelinek <jakub@redhat.com>
9345 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
9346 field to nelems * sizeof (uint32_t).
9347 * locale/programs/ld-address.c (address_output): Align word fields
9349 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9350 Don't restart idx pointers to idx end at the duo_int_curr_symbol
9352 Avoid giving arbitrary garbage in the crncystr field.
9353 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
9354 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
9356 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9357 Don't restart idx pointers to idx end at the decimal_point_wc field.
9358 * locale/programs/ld-time.c (time_output): week_1stday should be
9359 word, not byte. Align it properly.
9361 2000-04-19 H.J. Lu <hjl@gnu.org>
9363 * csu/gmon-start.c (_start): Declared as "extern void".
9366 2000-04-18 Andreas Jaeger <aj@suse.de>
9368 * manual/install.texi (Running make install): Don't mention utmpd
9371 2000-04-18 Andreas Jaeger <aj@suse.de>
9373 * linuxthreads/Versions: Use ld instead of ld.so.
9375 * elf/Makefile (ld-map): Use ld.map.
9377 * Versions.def: Use ld instead of ld.so.
9378 * elf/Versions: Likewise.
9379 * sysdeps/mach/hurd/Versions: Likewise.
9381 2000-04-20 Andreas Jaeger <aj@suse.de>
9383 * elf/rtld.c (print_statistics): Move ifndef further up.
9384 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
9385 (dl_main): Likewise.
9387 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9389 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
9390 * gmon/Versions: Move moncontrol to GLIBC_2.2.
9392 * po/cs.po: Update from translation team.
9394 * sysdeps/generic/updwtmp.c: Remove daemon support.
9396 * login/Makefile (routines): Remove utmp_daemon.
9398 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
9399 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
9400 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
9401 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
9403 * elf/rtld.c: Display statitics option also if hp timing is not
9406 * login/programs/connection.c: Removed.
9407 * login/programs/database.c Removed.
9408 * login/programs/error.c: Removed.
9409 * login/programs/request.c: Removed.
9410 * login/programs/xtmp.c: Removed.
9411 * login/programs/xtmp.h: Removed.
9412 * login/Makefile: Remove rules for utmpd.
9413 * login/README.utmpd: Removed.
9414 * login/utmp_daemon.c: Removed.
9415 * login/getutent_r.c: Remove references to daemon functions.
9416 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
9419 2000-04-18 Andreas Jaeger <aj@suse.de>
9421 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9422 2.2 for libnsl, libresolv, librt, libnss_*.
9424 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
9426 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
9428 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9430 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
9431 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
9432 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
9433 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
9434 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
9435 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
9436 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
9437 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
9438 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
9439 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
9440 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
9441 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
9442 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
9444 * sysdeps/unix/sysv/aix/msync.c: New file.
9445 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
9446 * sysdeps/unix/sysv/aix/net/if.h: New file.
9447 * sysdeps/unix/sysv/aix/pipe.c: New file.
9448 * sysdeps/unix/sysv/aix/poll.c: New file.
9449 * sysdeps/unix/sysv/aix/rename.c: New file.
9450 * sysdeps/unix/sysv/aix/rmdir.c: New file.
9451 * sysdeps/unix/sysv/aix/select.c: New file.
9452 * sysdeps/unix/sysv/aix/semctl.c: New file.
9453 * sysdeps/unix/sysv/aix/semget.c: New file.
9454 * sysdeps/unix/sysv/aix/semop.c: New file.
9455 * sysdeps/unix/sysv/aix/sendto.c: New file.
9456 * sysdeps/unix/sysv/aix/setgroups.c: New file.
9457 * sysdeps/unix/sysv/aix/setpgid.c: New file.
9458 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
9459 * sysdeps/unix/sysv/aix/setpriority.c: New file.
9460 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
9461 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
9462 * sysdeps/unix/sysv/aix/setsid.c: New file.
9463 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
9464 * sysdeps/unix/sysv/aix/shmat.c: New file.
9465 * sysdeps/unix/sysv/aix/shmctl.c: New file.
9466 * sysdeps/unix/sysv/aix/shmdt.c: New file.
9467 * sysdeps/unix/sysv/aix/shmget.c: New file.
9468 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
9469 * sysdeps/unix/sysv/aix/sigstack.c: New file.
9470 * sysdeps/unix/sysv/aix/socket.c: New file.
9471 * sysdeps/unix/sysv/aix/socketpair.c: New file.
9472 * sysdeps/unix/sysv/aix/speed.c: New file.
9473 * sysdeps/unix/sysv/aix/symlink.c: New file.
9474 * sysdeps/unix/sysv/aix/sync.c: New file.
9475 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
9476 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
9477 * sysdeps/unix/sysv/aix/times.c: New file.
9478 * sysdeps/unix/sysv/aix/ulimit.c: New file.
9479 * sysdeps/unix/sysv/aix/umask.c: New file.
9480 * sysdeps/unix/sysv/aix/unlink.c: New file.
9481 * sysdeps/unix/sysv/aix/ustat.c: New file.
9482 * sysdeps/unix/sysv/aix/utimes.c: New file.
9484 2000-04-18 Andreas Jaeger <aj@suse.de>
9486 * manual/startup.texi (Environment Access): Fix putenv prototype
9487 according to recent changes.
9488 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
9491 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
9494 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9496 * posix/Makefile (tests): Add tst-getaddrinfo.
9497 * posix/tst-getaddrinfo.c: New file.
9499 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9501 * manual/sysinfo.texi: Document that umount2 is not widely available.
9503 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
9504 signal timing is not really implemented.
9506 2000-04-17 Andreas Jaeger <aj@suse.de>
9508 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
9510 2000-04-17 Jakub Jelinek <jakub@redhat.com>
9512 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
9515 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9517 * manual/intro.texi: Change reference from System Information to
9519 * manual/users.texi: Likewise.
9520 * manual/conf.texi: Likewise.
9521 * manual/sysinfo.texi: Document mount, umount, and umount2.
9522 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9524 2000-04-17 Jakub Jelinek <jakub@redhat.com>
9526 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
9527 Create wnumstr as well as numstr to support wide character output
9530 2000-04-15 Jakub Jelinek <jakub@redhat.com>
9532 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
9533 modification and move it...
9534 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
9535 Add -melf64_sparc switch to $(LD) on sparc64-linux.
9536 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
9537 switch to $(LD) on sparc-linux.
9539 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
9541 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
9542 and setresuid from sysdep_routines.
9544 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9546 * manual/Makefile (chapters): Add resource.
9548 * manual/time.texi: Move section on resources to...
9549 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
9551 * manual/setjmp.texi: Adjust back reference.
9552 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9554 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
9556 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
9557 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
9558 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
9559 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
9560 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
9561 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
9562 * sysdeps/unix/sysv/aix/close.c: Add copyright.
9563 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
9564 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
9565 * sysdeps/unix/sysv/aix/access.c: Add copyright.
9566 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
9567 * sysdeps/unix/sysv/aix/Implies: New file.
9568 * sysdeps/unix/sysv/aix/Versions: New file.
9569 * sysdeps/unix/sysv/aix/bind.c: New file.
9570 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
9571 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
9572 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
9573 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
9574 * sysdeps/unix/sysv/aix/chdir.c: New file.
9575 * sysdeps/unix/sysv/aix/chmod.c: New file.
9576 * sysdeps/unix/sysv/aix/chroot.c: New file.
9577 * sysdeps/unix/sysv/aix/creat.c: New file.
9578 * sysdeps/unix/sysv/aix/dl-close.c: New file.
9579 * sysdeps/unix/sysv/aix/dl-open.c: New file.
9580 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
9581 * sysdeps/unix/sysv/aix/fchdir.c: New file.
9582 * sysdeps/unix/sysv/aix/fchmod.c: New file.
9583 * sysdeps/unix/sysv/aix/getgroups.c: New file.
9584 * sysdeps/unix/sysv/aix/gethostname.c: New file.
9585 * sysdeps/unix/sysv/aix/getpriority.c: New file.
9586 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
9587 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
9588 * sysdeps/unix/sysv/aix/getrusage.c: New file.
9589 * sysdeps/unix/sysv/aix/link.c: New file.
9590 * sysdeps/unix/sysv/aix/madvise.c: New file.
9591 * sysdeps/unix/sysv/aix/mkdir.c: New file.
9592 * sysdeps/unix/sysv/aix/mknod.c: New file.
9593 * sysdeps/unix/sysv/aix/mprotect.c: New file.
9594 * sysdeps/unix/sysv/aix/msgctl.c: New file.
9595 * sysdeps/unix/sysv/aix/msgget.c: New file.
9596 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
9598 2000-04-17 Andreas Jaeger <aj@suse.de>
9600 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
9601 as suggested by Ulrich Drepper.
9602 (__dl_runtime_resolve): Remove unused variable, initialize sym
9604 (RTLD_START): Document OFFSET_GP_GOT.
9605 (OFFSET_GP_GOT): New magic value.
9606 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
9607 (elf_machine_got_rel): Only declare strtab if needed.
9608 (elf_machine_relplt): Removed, it's not needed.
9609 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
9611 * sysdeps/mips/add_n.S: Add newline at EOF.
9612 * sysdeps/mips/rshift.S: Likewise.
9613 * sysdeps/mips/mul_1.S: Likewise.
9614 * sysdeps/mips/lshift.S: Likewise.
9615 * sysdeps/mips/addmul_1.S: Likewise.
9617 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9619 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
9621 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
9622 * elf/dl-lookup.c: Likewise.
9623 * elf/dl-init.c (_dl_init): Likewise.
9624 * elf/dl-fini.c (_dl_fini): Likewise.
9625 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9626 * elf/dl-close.c (_dl_close): Likewise.
9627 * elf/rtld.c (_dl_start_final): Likewise.
9629 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
9631 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9633 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
9634 only fall back on using Linux.
9636 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
9637 Before testing versions check that we actually loaded the object
9638 and whether we are in trace mode. If not loaded during tracing don't
9639 test versions in this object.
9640 (_dl_check_all_versions): Take new parameter and pass to
9641 _dl_check_map_versions.
9642 * sysdeps/generic/ldsodefs.h: Update prototypes for
9643 _dl_check_all_versions and _dl_check_map_versions.
9644 * elf/rtld.c (struct version_check_args): Add dotrace.
9645 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
9646 (dl_main): Pass info about trace mode to version_check_doit.
9647 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
9648 _dl_check_all_versions.
9650 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
9652 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9654 * manual/argp.texi: Document index parameter of argp_parse.
9656 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
9658 2000-04-14 Andreas Jaeger <aj@suse.de>
9660 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
9661 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
9663 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
9665 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9667 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
9668 compat_symbol call for old adjtime.
9670 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
9671 function interface. Patch by Richard Henderson <rth@cygnus.com>.
9673 * posix/Makefile (headers): Add spawn.h.
9674 (distribute): Add spawn_int.h.
9675 (routines): Add spawn_faction_init, spawn_faction_destroy,
9676 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
9677 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
9678 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
9679 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
9680 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
9681 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
9682 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
9683 posix_spawnattr_init, posix_spawnattr_destroy,
9684 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
9685 posix_spawnattr_getflags, posix_spawnattr_setflags,
9686 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
9688 * posix/spawn.c: New file.
9689 * posix/spawn.h: New file.
9690 * posix/spawn_faction_addclose.c: New file.
9691 * posix/spawn_faction_adddup2.c: New file.
9692 * posix/spawn_faction_addopen.c: New file.
9693 * posix/spawn_faction_destroy.c: New file.
9694 * posix/spawn_faction_init.c: New file.
9695 * posix/spawn_int.h: New file.
9696 * posix/spawnattr_destroy.c: New file.
9697 * posix/spawnattr_getdefault.c: New file.
9698 * posix/spawnattr_getflags.c: New file.
9699 * posix/spawnattr_getpgroup.c: New file.
9700 * posix/spawnattr_getschedparam.c: New file.
9701 * posix/spawnattr_getschedpolicy.c: New file.
9702 * posix/spawnattr_getsigmask.c: New file.
9703 * posix/spawnattr_init.c: New file.
9704 * posix/spawnattr_setdefault.c: New file.
9705 * posix/spawnattr_setflags.c: New file.
9706 * posix/spawnattr_setpgroup.c: New file.
9707 * posix/spawnattr_setschedparam.c: New file.
9708 * posix/spawnattr_setschedpolicy.c: New file.
9709 * posix/spawnattr_setsigmask.c: New file.
9710 * posix/spawni.c: New file.
9711 * posix/spawnp.c: New file.
9713 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
9714 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9716 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9718 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
9719 * malloc/malloc.c: Implement posix_memalign for glibc.
9720 * include/stdlib.h: Add prototype for __posix_memalign.
9721 * stdlib/stdlib.h: Add prototype for posix_memalign.
9723 2000-04-14 Andreas Jaeger <aj@suse.de>
9725 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
9727 (elf_machine_got_rel): Cast sym correctly.
9729 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
9730 * sysdeps/mips/addmul_1.S: Likewise.
9731 * sysdeps/mips/lshift.S: Likewise.
9732 * sysdeps/mips/mul_1.S: Likewise.
9733 * sysdeps/mips/rshift.S: Likewise.
9734 * sysdeps/mips/sub_n.S: Likewise.
9735 * sysdeps/mips/submul_1.S: Likewise.
9737 * stdlib/stdlib.h: Fix typo in comment.
9739 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9740 2.2 for libdl, ld and libm.
9742 * sysdeps/generic/madvise.c: Fix typos.
9744 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
9746 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
9748 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
9751 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9753 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
9754 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
9755 Make old name weak alias.
9756 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
9757 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
9758 Make old name weak alias.
9759 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
9761 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
9762 posix_fallocate, and posix_fallocate64.
9763 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
9764 posix_fallocate, and posix_fallocate64.
9765 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
9766 posix_fallocate, and posix_fallocate64.
9767 * sysdeps/generic/fadvise.c: New file.
9768 * sysdeps/generic/fadvise64.c: New file.
9769 * sysdeps/generic/fallocate.c: New file.
9770 * sysdeps/generic/fallocate64.c: New file.
9771 * sysdeps/posix/fallocate.c: New file.
9772 * sysdeps/posix/fallocate64.c: New file.
9773 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
9774 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
9775 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
9776 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9777 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9778 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9779 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9780 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9781 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9783 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
9784 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9786 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9788 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
9789 * misc/sys/mman.h (posix_madvise): Add prototype.
9790 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
9791 old name and posix_madvise weak aliases.
9792 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9793 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
9794 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
9795 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9796 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
9797 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9798 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9800 2000-04-13 Andreas Jaeger <aj@suse.de>
9802 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
9804 (elf_machine_got_rel): Only add runtime display if needed.
9805 (elf_machine_got_rel): Handle symbol versioning.
9807 2000-04-13 Andreas Jaeger <aj@suse.de>
9809 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
9811 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
9814 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
9815 with some applications.
9816 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
9818 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
9819 * sysdeps/mips/bsd-_setjmp.S: Likewise.
9820 * sysdeps/mips/setjmp.S: Likewise.
9822 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
9824 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9826 * posix/globtest.sh: Work around inconsistency with expanding ~/
9827 in shell (PR libc/1690). Reported by patsmith@pobox.com.
9829 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9831 * posix/getconf.c: Add support for many more POSIX options.
9832 * sysdeps/posix/sysconf.c: Likewise.
9833 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
9834 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
9836 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9837 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
9838 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
9839 CLOCK_THREAD_CPUTIME_ID.
9840 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
9841 CLOCK_PROCESS_CPUTIME_ID.
9842 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
9843 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
9844 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
9845 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
9847 * malloc/Makefile (tests): Add tst-calloc.
9848 * malloc/tst-calloc.c: New file.
9850 * sysdeps/arm/libm-test-ulps: New file.
9852 * malloc/malloc.c: Undo all of today's changes.
9854 * locale/programs/locale.c (show_info): Don't try to look into
9855 data for LC_ALL (there is none).
9857 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
9858 avoid writing over boundary.
9859 Patch by Greg McGary <gkm@eng.ascend.com>.
9861 * sysdeps/arm/memprof.h: New file.
9863 2000-04-12 Andreas Jaeger <aj@suse.de>
9865 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
9867 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
9868 for memmem declaration.
9870 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9872 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
9874 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9876 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
9878 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9879 Patch by Bart Veer <bartv@redhat.com>.
9881 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
9884 2000-04-11 Andreas Jaeger <aj@suse.de>
9886 * sysdeps/mips/dl-machine.h: Update some comments.
9887 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
9889 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9891 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
9892 _POSIX_SHARED_MEMORY_OBJECTS.
9894 * rt/Makefile (tests): Add tst-shm.
9895 Add rules to generate tst-shm.
9896 * rt/tst-shm.c: New file.
9898 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
9901 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
9902 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
9903 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
9904 * sysdeps/generic/shm_open.c: New file.
9905 * sysdeps/generic/shm_unlink.c: New file.
9906 * sysdeps/unix/sysv/linux/shm_open.c: New file.
9907 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
9908 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
9909 __endmntent, __getmntent_r, __setmntent, and __statfs.
9911 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
9912 fragmentation by allocating new memory at the end instead of
9915 * posix/globtest.sh: Fix last change.
9917 2000-04-10 Philip Blundell <philb@gnu.org>
9919 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
9920 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
9921 IPV6_DROP_MEMBERSHIP.
9922 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
9925 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9927 * elf/readlib (process_file): Close streams in case of an error.
9929 2000-04-09 Andreas Jaeger <aj@suse.de>
9931 * elf/readlib.c (process_file): Check if file is big enough to
9932 contain aout and ELF headers.
9933 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
9935 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
9937 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
9939 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9941 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
9943 * rt/Makefile (tests): Add tst-clock.
9944 Add rules to build tst-clock.
9945 * rt/tst-clock.c: New file.
9946 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
9947 about initialization of nsec.
9948 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
9949 about initialization of freq. Set retval to zero if successful.
9950 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
9952 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9954 * Versions.def (librt): Add GLIBC_2.2.
9955 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
9956 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
9957 timer_getoverr, timer_gettime, and timer_settime.
9958 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
9959 clock_settime, timer_create, timer_delete, timer_getoverrun,
9960 timer_gettime, and timer_settime.
9961 * sysdeps/generic/clock_getcpuclockid.c: New file.
9962 * sysdeps/generic/get_clockfreq.c: New file.
9963 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
9964 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
9965 * sysdeps/mach/hurd/i386/bits/time.h: New file.
9966 * sysdeps/unix/i386/i586/clock_getres.c: New file.
9967 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
9968 * sysdeps/unix/i386/i686/Implies: New file.
9969 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
9970 * time/Makefile (routines): Move clock_getres, clock_gettime,
9971 clock_settime, timer_create, timer_delete, timer_getoverr,
9972 timer_gettime, and timer_settime to rt/Makefile.
9973 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
9974 clock_settime, timer_create, timer_delete, timer_getoverrun,
9975 timer_gettime, and timer_settime.
9976 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
9978 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
9979 and not const as attribute name.
9981 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
9983 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
9985 2000-04-10 Andreas Schwab <schwab@suse.de>
9987 * posix/globtest.sh: Skip tests that depend on unreadable
9988 directories if run as root.
9990 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9992 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
9993 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
9995 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9997 * sysdeps/unix/clock_gettime.c: New file.
9998 * sysdeps/unix/clock_settime.c: New file.
9999 * sysdeps/posix/clock_getres.c: New file.
10001 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
10003 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
10004 lseek call be passing in a buffer which never allow a successful
10005 first getdents syscall if not at leas the initial entry can be
10006 stored in the user buffer.
10008 * localedata/Makefile: Add rules to clean up directories created by
10011 2000-04-09 Geoff Clare <gwc@unisoft.com>
10013 * localedata/tst-fmon.data: Added new tests for strfmon()
10014 using test locales with all combinations of cs_precedes,
10015 sign_posn and sep_by_space.
10016 * localedata/tst-fmon.sh: Updated to support the new tests.
10017 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
10018 the localedef source for the new strfmon() test locale.
10019 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
10020 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
10021 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
10022 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
10023 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
10024 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
10025 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
10026 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
10027 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
10028 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
10029 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
10030 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
10031 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
10032 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
10034 * stdlib/strfmon.c: Correct problems with missing or extra
10035 spaces for unusual combinations of sign_posn and sep_by_space.
10036 Improved left-precision alignment code.
10038 2000-04-07 Andreas Jaeger <aj@suse.de>
10040 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
10042 2000-04-10 Andreas Jaeger <aj@suse.de>
10044 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
10046 2000-04-09 Ulrich Drepper <drepper@redhat.com>
10048 Implement handling of restartable conversion functions according to
10050 * iconv/gconv.h (__gconv_fct): Add additional parameter.
10051 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
10052 * iconv/gconv.c: Pass additional parameter to conversion function.
10053 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
10054 (internal_ucs4le_loop_single): New function.
10055 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
10056 (__gconv_transform_internal_ascii): Likewise.
10057 (__gconv_transform_internal_utf8): Likewise.
10058 (__gconv_transform_utf8_internal): Likewise.
10059 (__gconv_transform_ucs2_internal): Likewise.
10060 (__gconv_transform_internal_ucs2): Likewise.
10061 (__gconv_transform_ucs2reverse_internal): Likewise.
10062 (__gconv_transform_internal_ucs2reverse): Likewise.
10063 (internal_ucs4le_loop_unaligned): Before return
10064 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
10065 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
10066 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
10067 * iconv/loop.c: Fit in definition of function to convert one character
10068 for processing of left-over bytes from the state object.
10069 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
10070 inend to match names in loop functions.
10071 (RESET_INPUT_BUFFER): Change apprpriately.
10072 (gconv): If needed, call function to process bytes from the state
10073 object. Similar at the end: store left over bytes if input is
10075 Take extra argument and add new argument to all calls of the
10076 conversion function.
10077 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
10078 information in the state object to not conflict with length count.
10079 * iconvdata/iso-2022-jp.c: Likewise.
10080 * iconvdata/iso-2022-kr.c: Likewise.
10081 * iconvdata/unicode.c: Adjust for change change in parameters of
10083 * iconvdata/utf-16.c: Likewise.
10084 * libio/iofwide.c: Add new parameter to all calls of conversion
10086 * wcsmbs/btowc.c: Likewise.
10087 * wcsmbs/mbrtowc.c: Likewise.
10088 * wcsmbs/mbsnrtowcs.c: Likewise.
10089 * wcsmbs/mbsrtowcs.c: Likewise.
10090 * wcsmbs/wcrtomb.c: Likewise.
10091 * wcsmbs/wcsnrtombs.c: Likewise.
10092 * wcsmbs/wcsrtombs.c: Likewise.
10093 * wcsmbs/wctob.c: Likewise.
10095 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
10098 2000-04-07 Andreas Jaeger <aj@suse.de>
10100 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
10103 2000-04-07 Ulrich Drepper <drepper@redhat.com>
10105 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
10106 element a union to allow byte access.
10107 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
10109 * iconvdata/iso-2022-jp.c: Likewise.
10110 * iconvdata/iso-2022-kr.c: Likewise.
10111 * wcsmbs/mbsinit.c: Likewise.
10112 * stdlib/mblen.c: Likewise.
10113 * stdio-common/printf-parse.h: Likewise.
10115 2000-04-06 Ulrich Drepper <drepper@redhat.com>
10117 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
10118 kernel does not allow relative seeks on descriptors associated
10119 with directories. Go back to get the position in the directory
10120 every time we enter the function. Return -1 and set errno if one
10121 entry could be read from the kernel but does not fit into the
10122 buffer passed in by the user.
10124 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
10125 Support ..(2).. ellipsis.
10126 (parse_charmap): Recognize ..(2).. etc and pass step down.
10127 Correctly generate names for UCS4 characters.
10129 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
10130 (ctype_finish): We know the wide character value for <SP>,
10132 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
10133 (charclass_ucs4_ellipsis): Likewise.
10134 (read_translit_ignore_entry): Store ellipsis step.
10135 (ctype_read): Recognize ..(2).. etc and pass step down.
10137 * locale/programs/linereader.c (lr_token): When seeing comment
10138 character ignore only rest of line in sources but stop at escaped
10140 Recognize ..(2).. and ....(2).....
10142 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
10143 and tok_ellipsis4_2.
10145 2000-04-06 Andreas Jaeger <aj@suse.de>
10147 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
10148 removed, remove it here also.
10149 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
10150 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
10151 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
10152 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
10154 2000-04-06 Jakub Jelinek <jakub@redhat.com>
10156 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
10157 include bits/sigcontext.h.
10158 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10160 2000-04-06 Ulrich Drepper <drepper@redhat.com>
10162 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
10163 collation symbol definition. Value in quivalence definition must
10164 be defined, don't check that it is not.
10166 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
10167 values as character names.
10169 * locale/programs/ld-ctype.c (get_character): Handle missing
10170 repertoire map correctly.
10172 2000-04-05 Cristian Gafton <gafton@redhat.com>
10174 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
10175 because it is used in generic code.
10176 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
10177 * wcsmbs/wcwidth.h: Declare __ctype32_b.
10178 * intl/gettext.c: Include <locale.h>.
10179 * intl/ngettext.c: Likewise.
10181 2000-04-05 Jakub Jelinek <jakub@redhat.com>
10183 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
10184 socklen_t type for size.
10185 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
10186 init function interface.
10187 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10188 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
10190 (__jmp_buf): Declare the whole type structure here, don't use
10193 2000-04-05 Ulrich Drepper <drepper@redhat.com>
10195 * iconv/skeleton.c (put16u): Fix typo.
10196 Reported by Bruno Haible <haible@ilog.fr>.
10198 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
10199 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
10200 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
10201 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
10202 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
10203 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
10205 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
10206 * Makefile (distribute): Add abi-versions.awk and
10208 Patches by Torsten Duwe <duwe@caldera.de>.
10210 2000-04-05 Andreas Schwab <schwab@suse.de>
10212 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
10214 2000-04-05 Andreas Schwab <schwab@suse.de>
10216 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
10217 entry point, used on Hurd.
10219 2000-04-04 Andreas Jaeger <aj@suse.de>
10221 * intl/Makefile: Only run the gettext test with shared libraries.
10223 2000-03-16 Mark Kettenis <kettenis@gnu.org>
10225 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10226 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10228 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
10230 * Makeconfig: Undo last change.
10231 * configure.in: If --disable-shared was given, don't set VERSIONING,
10232 don't define DO_VERSIONING, and don't give scare warning for no
10234 * configure: Regenerated.
10236 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
10238 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
10240 2000-04-04 Andreas Jaeger <aj@suse.de>
10242 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
10244 2000-04-04 Ulrich Drepper <drepper@redhat.com>
10246 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
10247 STV_HIDDEN and STV_INTERNAL during lookup.
10248 (profile_fixup): Likewise.
10249 * elf/dl-reloc.c (RESOLVE): Likewise.
10251 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
10252 unaligned so that it compiles for system which need unaligned
10255 2000-04-04 Andreas Schwab <schwab@suse.de>
10257 * elf/cache.c (print_entry): Only look at the type field when
10260 2000-04-04 Andreas Schwab <schwab@suse.de>
10262 * iconvdata/big5.c (BODY): Fix typo.
10264 2000-04-04 Andreas Schwab <schwab@suse.de>
10266 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
10267 function interface. Remove unused _dl_start_user entry point.
10269 2000-04-03 Andreas Jaeger <aj@suse.de>
10271 * include/arpa/inet.h (__inet_aton): Add protoype.
10273 2000-04-01 Andreas Jaeger <aj@suse.de>
10275 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
10277 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
10278 * sysdeps/mach/mips/thread_state.h: Likewise.
10280 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
10281 * sysdeps/generic/fegetenv.c: Likewise.
10282 * sysdeps/generic/fesetenv.c: Likewise.
10283 * sysdeps/generic/feupdateenv.c: Likewise.
10284 * sysdeps/generic/fraiseexcpt.c: Likewise.
10285 * sysdeps/generic/fsetexcptflg.c: Likewise.
10286 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
10287 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10288 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10289 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10291 2000-04-02 H.J. Lu <hjl@gnu.org>
10293 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
10295 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10297 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
10298 (add_name_to_object): Add cast in malloc call.
10299 (fillin_rpath): Optimize loop to initialize ->status a bit.
10301 * sysdeps/i386/dl-machine.h: Undo last change.
10302 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
10303 Restore %edx register after call here.
10305 * sysdeps/arm/atomicity.h: New file.
10306 Contributed by Jesper Skov <jskov@redhat.com>.
10308 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
10310 * Makeconfig (preprocess-versions): Undo last change.
10311 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
10313 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
10314 here, before we might move the stack.
10315 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
10316 (init1): And not here.
10318 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
10319 change, to restore argc value in call-clobbered register after
10320 RTLD_START_SPECIAL_INIT, which will contain a call.
10322 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
10323 allocating and initializing L->l_initfini.
10325 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
10327 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10329 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
10330 RUNPATH, RPATH, and LD_LIBRARY_PATH.
10331 (open_path): Change type of fourth parameter. Make pointer to array
10332 of pointers. Create variable dirs with original type.
10333 Track whether any directory for the object exists and if not,
10334 change *DIRSP to (void*) -1 to signal there is no such search path.
10335 (_dl_map_object): Change all calls of open_path.
10336 Rewrite decompose_rpath calls.
10338 2000-03-31 Andreas Schwab <schwab@suse.de>
10340 * string/strfry.c: Declare STATE as array of char instead of int
10341 and do not initialize it (done by initstate_r). Pass correct
10344 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10346 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
10348 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
10349 instruction out of the code.
10351 2000-04-02 Ulrich Drepper <drepper@redhat.com>
10353 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
10354 element at this position.
10356 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
10357 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
10358 l_reldeps elements.
10359 * elf/dl-lookup.c (add_dependency): New function.
10360 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
10361 dynamically loaded object.
10362 (_dl_lookup_symbol_skip): Likewise.
10363 (_dl_lookup_versioned_symbol): Likewise.
10364 (_dl_lookup_versioned_symbol_skip): Likewise.
10365 * elf/dl-open.c: Don't define _dl_load_lock here...
10366 * elf/rtld.c: ...but here...
10367 * elf/dl-support.c: ...and here.
10368 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
10369 through relocation.
10370 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
10372 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
10374 * dlfcn/glrefmain.c: Add one more debug message.
10376 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
10378 * Makerules (sysd-versions): Use ( ) instead of { }.
10380 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
10381 optimize for the non-debugging case.
10382 * elf/dl-lookup.c: Likewise.
10383 * sysdeps/generic/libc-start.c: Likewise.
10385 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
10387 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
10388 (init1): Don't initialize __environ here, since init already does it.
10389 (first_init): New function, broken out of _init.
10390 (_hurd_stack_setup): Use it.
10391 [SHARED] (_dl_init_first): New function, renamed from old _init.
10392 (init1) [SHARED]: Don't call posixland_init here.
10393 (posixland_init): Take ENVP arg, so signature is usual for initializer.
10394 [SHARED] (_init): Define as alias for posixland_init.
10395 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
10396 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
10397 RTLD_START_SPECIAL_INIT before calling initializers.
10398 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
10399 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
10400 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
10401 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
10403 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
10404 since we define the function with the name `tmpfile'.
10406 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
10407 * hurd/Versions: Likewise.
10409 2000-04-02 Ulrich Drepper <drepper@redhat.com>
10411 * elf/dl-runtime.c (fixup): Fix typo in comment.
10413 * resolv/netdb.h (getnameinfo): All length parameters are of type
10415 * inet/getnameinfo.c: Likewise.
10417 2000-04-01 Ulrich Drepper <drepper@redhat.com>
10419 * posix/unistd.h (socklen_t): Define if it has not yet happened.
10420 (gethostname): Change type of second parameter to socklen_t.
10421 * include/unistd.h (__gethostname): Change type of second
10422 parameter to socklen_t.
10423 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
10424 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10425 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
10426 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
10428 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
10429 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
10430 Allow definition elsewhere.
10431 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
10432 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10433 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
10434 * sysdeps/generic/bits/types.h: Define __socklen_t.
10435 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
10436 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
10437 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10438 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10439 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
10440 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
10441 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
10443 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
10444 (inet_lnaof): Likewise.
10445 (inet_netof): Likewise.
10446 (inet_network): Likewise.
10447 (inet_aton): Likewise.
10448 (inet_makeaddr): Change parameter types to in_addr_t.
10449 (inet_neta): Likewise.
10450 (inet_ntop): Change type of last parameter to socklen_t.
10451 (inet_aton): Only make available if __USE_MISC.
10452 (inet_neta): Likewise.
10453 (inet_net_ntop): Likewise.
10454 (inet_net_pton): Likewise.
10455 (inet_nsap_ntoa): Likewise.
10457 * inet/in.h: Define in_port_t type.
10458 Define in_addr_t type.
10459 (struct in_addr): Use in_addr_t in definition.
10460 (IN_CLASSA): Use cast to in_addr_t.
10461 (IN_CLASSB): Likewise.
10462 (IN_CLASSC): Likewise.
10463 (IN_CLASSD): Likewise.
10464 (IN_EXPERIMENTAL): Likewise.
10465 (IN_BADCLASS): Likewise.
10466 (INADDR_ANY): Likewise.
10467 (INADDR_BROADCAST): Likewise.
10468 (INADDR_NONE): Likewise.
10469 (INADDR_LOOPBACK): Likewise.
10470 (INADDR_UNSPEC_GROUP): Likewise.
10471 (INADDR_ALLHOSTS_GROUP): Likewise.
10472 (INADDR_ALLRTRS_GROUP): Likewise.
10473 (INADDR_MAX_LOCAL_GROUP): Likewise.
10474 (struct sockaddr_in): Use in_port_t for sin_port element.
10475 (struct sockaddr_in6): Use in_port_t for sin6_port element.
10476 Use uint8_t instead of u_int8_t.
10478 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
10479 Call __inet_aton instead of inet_aton.
10480 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
10482 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
10483 (innetgr): Likewise.
10484 (struct addrinfo): Use socklen_t for ai_addrlen element.
10486 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
10487 IPV6_RECVERR): New defines.
10489 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
10490 * inet/getnetbyad.c: Likewise.
10491 * inet/getnetbyad_r.c: Likewise.
10492 * nis/nss_nis/nis-network.c: Likewise.
10493 * nis/nssplus_nis/nisplus-network.c: Likewise.
10494 * nss/nss_files/files-network.c: Likewise.
10495 * resolv/netdb.h: Define uint32_t if not already happened.
10496 Include bits/netdb.h. Remove definition of struct netent.
10497 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
10498 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
10499 * sysdeps/generic/bits/netdb.h: New file.
10500 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
10502 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
10503 (tests): Add glrefmain.
10504 Add rules to build modules and run tests. Ignore result of glrefmain
10505 for now since it fails.
10506 * dlfcn/glrefmain.c: New file.
10507 * dlfcn/glreflib1.c: New file.
10508 * dlfcn/glreflib2.c: New file.
10510 * test-skeleton.c: Include <string.h> for strsignal prototype.
10512 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
10515 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
10516 former init-first.h. Initialize __libc_multiple_libcs.
10518 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10520 * iconv/skeleton.c: Define access macros with u suffix. Adjust
10521 #if expression for use of unaligned function to the one used in
10522 the definition of these functions.
10523 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
10524 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
10525 (internal_ucs4le_loop_unaligned): New function.
10527 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
10528 (tests): Add order.
10529 (module-names): Add dep1, dep2, dep3, and dep4.
10530 Add dependencies for dep* modules and order.
10531 Define rule for order.out which checks the result.
10532 * elf/dep1.c: New file.
10533 * elf/dep2.c: New file.
10534 * elf/dep3.c: New file.
10535 * elf/dep4.c: New file.
10536 * elf/order.c: New file.
10538 * elf/dl-init.c: Fix typo in comment.
10540 2000-03-31 Andreas Jaeger <aj@suse.de>
10542 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
10543 init function interface.
10544 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
10546 2000-03-31 Andreas Jaeger <aj@suse.de>
10548 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
10549 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10550 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10551 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
10552 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10554 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
10555 anymore, update comment.
10557 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10559 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
10560 SHLIB_COMPAT - the struct is always needed.
10562 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10564 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
10565 * elf/dl-support.c: Define _dl_starting_up.
10567 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10569 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
10570 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
10572 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
10574 * elf/Makefile (dl-routines): Remove preinit.
10575 * elf/Versions: Remove _dl_preinit.
10576 * elf/dl-preinit.c: Removed. Move content into...
10577 * elf/dl-init.c: ...here.
10578 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
10580 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
10583 2000-03-29 Geoff Clare <gwc@unisoft.com>
10585 * stdlib/strfmon.c: Corrected problems with the code that
10586 sets default values for [np]_sep_by_space and
10587 [np]_sign_posn; also the new positive/negative alignment
10588 code from the previous patch was not quite right for
10589 [np]_sign_posn = 0.
10591 * localedata/tst-fmon.data: Changes corresponding to the
10592 two sets of fixes made to stdlib/strfmon.c.
10594 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
10596 * malloc/malloc.c: Declare bit flags UL so that they will not
10597 default to int size when being inverted.
10599 2000-03-29 Andreas Jaeger <aj@suse.de>
10601 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
10602 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10604 2000-03-29 Andreas Jaeger <aj@suse.de>,
10605 Ralf Baechle <ralf@uni-koblenz.de>
10607 * Makeconfig: Introduce new variable SHARED to mark code used in
10608 the shared library.
10609 * elf/dl-close.c: Use it instead of PIC.
10610 * elf/dl-load.c: Likewise.
10611 * elf/dl-open.c: Likewise.
10612 * hurd/geteuids.c: Likewise.
10613 * include/libc-symbols.h: Likewise.
10614 * include/shlib-compat.h: Likewise.
10615 * libio/freopen.c: Likewise.
10616 * linuxthreads/cancel.c: Likewise.
10617 * linuxthreads/pthread.c: Likewise.
10618 * linuxthreads/wrapsyscall.c: Likewise.
10619 * nss/nsswitch.c: Likewise.
10620 * stdio-common/vfprintf.c: Likewise.
10621 * sysdeps/arm/init-first.c: Likewise.
10622 * sysdeps/i386/init-first.c: Likewise
10623 * sysdeps/generic/init-first.c: Likewise.
10624 * sysdeps/generic/libc-start.c: Likewise.
10625 * sysdeps/mips/init-first.c: Likewise.
10626 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10627 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10628 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10629 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10630 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10632 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
10634 2000-03-29 Andreas Jaeger <aj@suse.de>
10636 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
10637 Use D_PTR to access relocated entries in l_info.
10638 (elf_machine_rela): Likewise.
10640 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
10642 (elf_machine_rela): Likewise.
10644 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
10646 (__elf_machine_fixup_plt): Likewise.
10647 (__process_machine_rela): Likewise.
10649 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
10650 (elf_machine_rela): Likewise.
10652 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
10653 (elf_machine_rel): Likewise.
10655 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
10656 (elf_machine_fixup_plt): Likewise.
10657 (elf_machine_rela): Likewise.
10659 2000-03-29 Andreas Jaeger <aj@suse.de>
10661 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
10662 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10663 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10664 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
10665 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10666 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
10667 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10668 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
10669 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10670 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
10671 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
10672 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
10673 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
10674 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
10675 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10677 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
10678 macros, remove K&R prototypes.
10680 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10682 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
10683 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
10686 2000-03-30 Andreas Jaeger <aj@suse.de>
10688 * misc/sys/cdefs.h: Remove K&R support.
10690 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10692 * iconv/skeleton.c: Avoid compiling unaligned versions in some
10694 * iconv/loop.c: Likewise.
10696 2000-03-29 Bruno Haible <haible@clisp.cons.org>
10698 * iconv/loop.c (put16): Remove __const. Fix access index.
10699 (put32): Remove __const. Use uint32_t instead of uint16_t.
10700 * iconv/skeleton.c: Likewise.
10702 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
10704 * mach/Versions (libc: GLIBC_2.0)
10705 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
10706 __vm_allocate on this.
10707 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
10708 mutex- and spinlock-related symbols on this.
10709 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10710 New version set. Lock-related symbols go here instead in this case.
10711 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
10712 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
10713 cthread_getspecific, cthread_setspecific, __libc_getspecific.
10715 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
10716 Put them here instead.
10717 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10718 New version set. Those cthreads symbols go here instead in this case.
10719 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
10721 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10723 * elf/dl-init.c (_dl_init): We don't need to call constructors
10724 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
10726 Implement dynamic determination of constructor/destructor order in
10727 the dynamic linker.
10728 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
10729 (GLIBC_2.2): Add _dl_init.
10730 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
10731 r_duplist is not anymore allocated separately. l_initfini is and
10732 therefore free it if necessary.
10733 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
10734 malloc block. Otherwise allocate l_initfini list only.
10735 Put dependencies for the object in l_initfini list.
10736 Sort dependencies for the object to be loaded topologically.
10737 * elf/dl-fini.c: Before running the destructors sort the topologically.
10738 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
10739 call constructors instead of iterating over the pointers. Get list of
10740 objects for which to run constructors from l_initfini element. Accept
10741 argc, argv, and env as parameters and pass them to the constructors.
10742 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
10743 with size of dynamic section.
10744 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
10745 _dl_init_next and calling constructors ourself.
10746 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
10747 Take argc, argv, and env as parameters and pass them to the
10748 constructors. Rewrite to call all constructors and not iterate over
10750 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
10751 precompute l_initcount and l_preinitcount.
10752 * elf/link.h (struct link_map): Add l_ldnum member.
10753 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
10754 l_initcount, and l_preinitcount. Add l_initfini.
10755 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
10757 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
10758 function interface.
10759 * sysdeps/unix/sysv/linux/init-first.h: Removed.
10760 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
10761 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
10762 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
10763 conventions now match.
10765 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
10766 effect for shared objects. Don't emit message and call only for
10769 2000-03-29 Ulrich Drepper <drepper@redhat.com>
10771 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
10772 CSA_Z243.4-1985-1..UCS2.
10773 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
10776 2000-03-29 Andreas Jaeger <aj@suse.de>
10778 * include/unistd.h: Remove duplicate entry for __rmdir.
10779 Remove declaration of __mkdir since __mkdir is declared in
10782 * manual/creature.texi (Feature Test Macros): Fix typo, reported
10783 by Michael Deutschmann <michael@talamasca.ocis.net>.
10785 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
10786 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10787 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10788 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10789 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
10791 2000-03-28 Andreas Jaeger <aj@suse.de>
10793 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
10794 declaration, the prototype is defined via bits/mathcalls.h.
10795 (__sincosf): Likewise.
10796 (__sincosl): Likewise.
10798 (ldexpf): Likewise.
10799 (ldexpl): Likewise.
10800 (__finite): Likewise.
10801 (__inline_mathcodeNP): New macro without prototype
10803 (__inline_mathcodeNP2): Likewise.
10804 (__inline_mathcodeNP3): Likewise.
10805 (__inline_mathcodeNP_): Likewise.
10806 (__inline_mathcodeNP2_): Likewise.
10807 (__inline_mathcodeNP3_): Likewise.
10808 (__inline_mathopNP): Likewise.
10809 (__inline_mathop_declNP): Likewise.
10810 (__inline_mathop_declNP_): Likewise.
10811 (__inline_mathcode_): Use __inline_mathcodeNP_.
10812 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
10813 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
10814 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
10815 (__expm1l): Don't define prototype, the prototype is defined via
10818 (__expl): Likewise.
10821 (__atan2l): Likewise.
10826 (__fabsl): Likewise.
10844 (__sqrtl): Likewise.
10854 2000-03-28 Ulrich Drepper <drepper@redhat.com>
10856 * Makerules: If make variable md5 is defined to yes after
10857 generating dependencies generate MD5 sum for the object.
10859 * iconv/gconv_builtin.h: Fix length in transformation definition
10862 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
10864 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
10865 allow as well reading from/writing to unaligned addresses on machines
10866 which don't support this in hardware. Use FCTNAME macro to define
10867 function name. Include the file a second time for platforms which
10868 need special unaligned handling.
10869 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
10870 to access potentially unaligned addresses. These macros are intended
10871 to be used only outside the loops.
10872 (unaligned): New definition. In case the machine can handle unaligned
10873 access define as zero. Otherwise as a variable which is initialized
10874 as nonzero in case the buffer passed in at runtime is unaligned with
10875 respect to the character set encoding involved.
10876 Call aligned or unaligned looop functions according to unaligned
10878 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
10879 of direct casting pointer to potentially handle unaligned memory
10881 * iconvdata/8bit-generic.c: Likewise.
10882 * iconvdata/ansi_x3.110.c: Likewise.
10883 * iconvdata/big5.c: Likewise.
10884 * iconvdata/euc-cn.c: Likewise.
10885 * iconvdata/euc-jp.c: Likewise.
10886 * iconvdata/euc-kr.c: Likewise.
10887 * iconvdata/euc-tw.c: Likewise.
10888 * iconvdata/gbk.c: Likewise.
10889 * iconvdata/iso-2022-cn.c: Likewise.
10890 * iconvdata/iso-2022-jp.c: Likewise.
10891 * iconvdata/iso-2022-kr.c: Likewise.
10892 * iconvdata/iso646.c: Likewise.
10893 * iconvdata/iso_6937-2.c: Likewise.
10894 * iconvdata/iso_6937.c: Likewise.
10895 * iconvdata/johab.c: Likewise.
10896 * iconvdata/sjis.c: Likewise.
10897 * iconvdata/t.61.c: Likewise.
10898 * iconvdata/uhc.c: Likewise.
10899 * iconvdata/unicode.c: Likewise.
10900 * iconvdata/utf-16.c: Likewise.
10902 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
10905 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
10906 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
10908 * malloc/mcheck.h (mcheck_check_all): Declare.
10910 * stdio-common/Makefile (tests): Add tst-obprintf.
10912 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
10914 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
10915 Declare pthread_sigmask.
10917 * csu/version.c: Add 2000 to copyright years.
10918 Remove Emacs local variables section.
10920 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10922 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
10923 __gconv_transform_internal_ucs2little): Remove declarations.
10924 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
10925 __gconv_transform_internal_ucs2): Never need to bswap_16.
10926 (__gconv_transform_ucs2reverse_internal,
10927 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
10929 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10931 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
10932 obsoleting version not being defined at all, in which case the
10933 result is always true.
10935 * Makeconfig (preprocess-versions): New canned sequence for running
10936 cpp on shlib-versions and the like.
10937 (soversions.i): Use it.
10938 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
10939 Versions.def and Versions files.
10941 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10943 * stdio-common/tst-obprintf.c (main): Add another check to see
10944 obstack_printf handling all possible beginnings of the block
10945 inside an obstack chunk.
10947 * locale/programs/localedef.c: Use __malloc_initialize_hook to
10948 install mcheck handler.
10950 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
10953 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10955 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
10957 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
10958 on [HAVE_ELF && DO_VERSIONING].
10960 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10962 * stdio-common/tst-obprintf.c: New file.
10964 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10966 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
10967 _IO_OVERFLOW directly instead through __overflow.
10969 * locale/programs/localedef.c (construct_output_path): If path
10970 contains a / compute the end of the directory name correctly.
10972 * include/features.h: Undef and document __USE_XOPEN2K.
10974 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
10975 whenever a function is called. Initiated by calling mcheck_pedantic
10977 * malloc/mcheck.h: Declare mcheck_pedantic.
10978 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
10979 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
10982 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10984 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
10985 * dlfcn/dlopenold.c: Likewise.
10986 * nss/getXXbyYY_r.c: Likewise.
10987 * nss/getXXent_r.c: Likewise.
10988 * hurd/hurdinit.c: Likewise.
10989 * hurd/compat-20.c: Likewise.
10990 * libio/oldiofopen.c: Likewise.
10991 * libio/oldiofclose.c: Likewise.
10992 * libio/oldiofdopen.c: Likewise.
10993 * libio/oldfileops.c: Likewise.
10994 * libio/oldstdfiles.c: Likewise.
10995 * libio/oldiofsetpos.c: Likewise.
10996 * libio/oldiofgetpos.c: Likewise.
10997 * libio/oldiofgetpos64.c: Likewise.
10998 * libio/oldiofsetpos64.c: Likewise.
10999 * libio/oldiopopen.c: Likewise.
11000 * libio/oldpclose.c: Likewise.
11001 * libio/oldtmpfile.c: Likewise.
11002 * libio/freopen.c (freopen): Likewise.
11003 * libio/iofclose.c (_IO_new_fclose): Likewise.
11005 * sysdeps/mach/sys/reboot.h: Include <features.h>.
11006 (reboot): Declare it.
11008 * libio/Makefile (headers): Add bits/stdio-lock.h here.
11010 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
11012 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
11014 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
11015 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
11016 We need this for the sbrk decl, which can be included without Unix98.
11018 2000-03-20 Richard Henderson <rth@cygnus.com>
11020 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
11021 argument to yperr2nss is an int, not size_t.
11022 * posix/regex.c (print_partial_compiled_pattern): Cast all
11023 ptrdiff_t to long for printing.
11024 (print_compiled_pattern): Use Z for printing size_t.
11025 * posix/testfnm.c (tests): Avoid trigraphs.
11026 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
11027 Use a C comment, not an assembly comment.
11029 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
11030 of __ASSUME_32BITUIDS.
11032 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11034 * libio/iofopncook.c: Remove K&R prototypes.
11036 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
11038 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
11039 an initial value of 1024 instead of RLIM_INFINITY.
11041 * Versions.def (libmachuser, libhurduser): Remove these sections,
11042 since these libraries do not presently use symbol versions.
11044 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
11045 is RLIM_INFINITY, return -1 instead.
11047 2000-03-24 Andreas Jaeger <aj@suse.de>
11049 * Makefile (postclean): Added soversions.i.
11051 2000-03-24 Scott Bambrough <scottb@netwinder.org>
11053 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
11054 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
11055 and _FPU_IEEE. Change _FPU_RESERVED.
11057 2000-03-24 Scott Bambrough <scottb@netwinder.org>
11059 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
11061 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
11063 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
11064 (gaih_inet): Remove unused duplicate variable.
11066 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
11067 Don't use __libc_sa_len, which only exists for Linux. Just handle
11068 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
11069 only flavors supported by this function anyway.
11071 2000-03-24 Geoff Clare <gwc@unisoft.com>
11073 * stdlib/strfmon.c: Corrected problems with missing signs and
11074 missing or extra spaces; allow for sign strings longer than
11075 one character; add padding to ensure positive and negative
11076 formats are aligned when a left precision is used.
11078 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11080 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
11081 Patch by John Mizel <John.Mizel@msdw.com>.
11083 2000-03-25 Ulrich Drepper <drepper@redhat.com>
11085 * manual/install.texi: Remove references to crypt add-on.
11087 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
11089 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
11090 section while taking the _hurd_rlimit_lock.
11091 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11093 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
11095 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
11098 * sysdeps/mach/hurd/if_index.c: New file.
11100 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
11101 * sysdeps/gnu/net/if.h: here.
11102 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
11103 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
11104 * sysdeps/generic/net/if.h: New file. Declares just the standard
11105 functions and `struct if_nameindex' type.
11106 * socket/Makefile (headers): Add net/if.h here.
11107 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
11108 * sysdeps/mach/hurd/Dist: Remove it here.
11109 * sysdeps/unix/sysv/linux/Dist: And here.
11110 * sysdeps/generic/if_index.c: Include <net/if.h>.
11112 2000-03-24 Andreas Jaeger <aj@suse.de>
11114 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
11115 access relocated entries in l_info.
11116 (elf_machine_got_rel): Likewise.
11117 (elf_machine_runtime_setup): Likewise.
11118 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
11119 (elf_machine_runtime_setup): Likewise.
11120 (__dl_runtime_resolve): Likewise.
11122 2000-03-23 Ulrich Drepper <drepper@redhat.com>
11124 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
11125 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
11126 according to RFC 2553.
11127 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
11128 * inet/getnameinfo.c: Likewise.
11129 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11131 2000-03-23 Bruno Haible <haible@clisp.cons.org>
11133 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
11134 Remove no-op pointer increment.
11136 2000-03-23 Andreas Jaeger <aj@suse.de>
11138 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
11139 follow change for libio.h from 2000-03-10.
11141 2000-03-23 Andreas Jaeger <aj@suse.de>
11143 * elf/dl-addr.c: Adjust include paths for ldsodefs location
11145 * elf/dl-debug.c: Likewise.
11146 * elf/dl-deps.c: Likewise.
11147 * elf/dl-error.c: Likewise.
11148 * elf/dl-fini.c: Likewise.
11149 * elf/dl-init.c: Likewise.
11150 * elf/dl-load.c: Likewise.
11151 * elf/dl-lookup.c: Likewise.
11152 * elf/dl-minimal.c: Likewise.
11153 * elf/dl-object.c: Likewise.
11154 * elf/dl-open.c: Likewise.
11155 * elf/dl-preinit.c: Likewise.
11156 * elf/dl-profile.c: Likewise.
11157 * elf/dl-profstub.c: Likewise.
11158 * elf/dl-reloc.c: Likewise.
11159 * elf/dl-runtime.c: Likewise.
11160 * elf/dl-support.c: Likewise.
11161 * elf/dl-symbol.c: Likewise.
11162 * elf/dl-version.c: Likewise.
11163 * elf/rtld.c: Likewise.
11164 * elf/sprof.c: Likewise.
11165 * sysdeps/generic/dl-cache.c: Likewise.
11166 * sysdeps/generic/dl-origin.c: Likewise.
11167 * sysdeps/generic/dl-sysdep.c: Likewise.
11168 * sysdeps/generic/elf/backtracesyms.c: Likewise.
11169 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11170 * sysdeps/generic/libc-start.c: Likewise.
11171 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11172 * sysdeps/powerpc/dl-machine.c: Likewise.
11173 * sysdeps/powerpc/elf/libc-start.c: Likewise.
11174 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11175 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11176 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
11178 * elf/ldsodefs.h: Move file to ...
11179 * sysdeps/generic/ldsodefs.h: ... here.
11181 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
11183 * sysdeps/mips/elf/ldsodefs.h: New file.
11185 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
11187 (_dl_check_map_versions): Likewise.
11188 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11189 * elf/dl-load.c (_dl_init_paths): Likewise.
11190 (_dl_map_object): Likewise.
11191 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
11192 (elf_get_dynamic_info): Likewise.
11193 * elf/do-lookup.h (FCT): Likewise.
11194 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
11195 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11196 * elf/dl-addr.c (_dl_addr): Likewise.
11197 * elf/dl-runtime.c (profile_fixup): Likewise.
11199 * elf/dl-init.c (_dl_init_next): Likewise.
11200 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
11201 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
11202 (DISTINGUISH_LIB_VERSIONS): Likewise.
11203 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
11204 (elf_machine_rel): Likewise.
11206 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
11207 for writable dynamic section.
11209 2000-03-22 Ulrich Drepper <drepper@redhat.com>
11211 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
11212 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11214 2000-03-22 Andreas Jaeger <aj@suse.de>
11216 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
11217 from latest Linux kernel.
11219 2000-03-21 Andreas Jaeger <aj@suse.de>
11221 * Versions.def: Add version 2.1.4.
11223 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11225 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
11226 * libio/oldiofopen.c: Likewise.
11227 * libio/oldiofclose.c: Likewise.
11228 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11230 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
11232 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
11233 indicating the first version set to obsolete the conditionalized code.
11234 (compat_symbol): New macro.
11235 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
11236 rhs be the ABI_* macro for the subsuming version. Assign increasing
11237 integer values to the ABI_* macros for supported versions.
11238 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
11239 compat_symbol macro.
11241 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11243 * nscd/connections.c (nscd_run): Pretty print.
11244 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
11246 * manual/charset.texi: Fix typos. Rephrase.
11247 * manual/process.texi: Likewise.
11248 * manual/signal.texi: Likewise.
11249 Patches by Mike Coleman <mkc@kc.net>.
11251 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
11253 * libio/iofdopen.c: Likewise.
11254 * libio/iofgetpos.c: Likewise.
11255 * libio/iofgetpos64.c: Likewise.
11256 * libio/iofopen.c: Likewise.
11257 * libio/iofsetpos.c: Likewise.
11258 * libio/iofsetpos64.c: Likewise.
11259 * libio/iopopen.c: Likewise.
11260 * libio/oldiofopen.c: Likewise.
11261 * libio/pclose.c: Likewise.
11262 * sysdeps/gnu/siglist.c: Likewise.
11263 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11265 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
11266 chance to expand VERSION_##lib##_##version.
11268 * libio/fileops.c: Use new macros from shlib-compat.h to define
11270 * libio/iofclose.c: Likewise.
11271 * libio/oldiofclose.c: Likewise.
11272 Patch by Roland McGrath <roland@frob.com>.
11274 2000-03-21 Jakub Jelinek <jakub@redhat.com>
11276 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
11277 Lay out struct sigcontext according to what really gets passed on
11279 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
11280 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
11281 (prgregset_t, prfpregset_t): Define to elf_* types.
11282 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
11283 Define to correct value.
11284 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
11286 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
11288 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
11290 * scripts/firstversions.awk: Allow multiple version sets in the
11291 "earliest version" specification, meaning that version sets in the
11292 gaps between listed versions should be folded into the earliest later
11293 version that is explicitly listed.
11294 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
11295 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
11297 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11299 * iconv/gconv_builtin.c: Include <endian.h>.
11300 * iconv/gconv_builtin.h: Add UCS-BE aliases.
11301 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
11302 according to current platform.
11303 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
11304 __gconv_transform_internal_ucs2reverse, and
11305 __gconv_transform_internal_ucs4le.
11306 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
11307 __gconv_transform_ucs2reverse_internal and
11308 __gconv_transform_internal_ucs2reverse.
11309 * iconvdata/Makefile (modules): Add UNICODE.
11310 (distribute): Add unicode.c.
11311 * iconvdata/gconv-modules: Add definitions for UNICODE module.
11312 * iconvdata/unicode.c: New file.
11314 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
11315 determine byte order of input and convert accordingly.
11317 * iconvdata/utf-16.c (gconv_init): Fix typo.
11319 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11321 * iconvdata/gconv-modules: Fix typo.
11323 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
11326 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
11328 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11330 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
11332 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11334 * misc/Makefile (routines): Add mincore.
11336 2000-03-20 Andreas Jaeger <aj@suse.de>
11338 * sysdeps/generic/mincore.c: New stub file.
11340 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
11341 from latest Linux kernel.
11343 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11345 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
11346 _SC_GETPW_R_SIZE_MAX.
11348 2000-03-20 Richard Henderson <rth@cygnus.com>
11350 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
11353 2000-03-20 Richard Henderson <rth@cygnus.com>
11355 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
11356 of arithmetic instructions.
11358 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
11359 with the fpcr. Protect from INV exception.
11360 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
11361 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
11362 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
11364 * sysdeps/alpha/fpu/s_copysign.c: New.
11365 * sysdeps/alpha/fpu/s_copysignf.c: New.
11366 * sysdeps/alpha/fpu/s_fabs.c: New.
11367 * sysdeps/alpha/fpu/s_fabsf.c: New.
11368 * sysdeps/alpha/fpu/s_rint.c: New.
11369 * sysdeps/alpha/fpu/s_rintf.c: New.
11371 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
11373 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
11375 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
11376 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
11377 Use physical addresses not KSEG addresses.
11378 (io_system): Add PYXIS.
11379 (io): Remove hae.reg, sys, hae_shift.
11380 (stb_mb, stw_mb, stl_mb, __sethae): New.
11381 (inline_outb, inline_outw, inline_outl): Don't set hae.
11382 (inline_inb, inline_inw, inline_inl): Likewise.
11383 (dense_sethae): New null function.
11384 (struct cpuinfo_data): New.
11385 (process_cpuinfo): Use local and stack variables, not static.
11386 Move readlink check here from init_iosys.
11387 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
11389 (_hae_shift): Calculate it here.
11390 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
11391 add pciconfig_iobase.
11393 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
11395 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
11396 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
11398 * scripts/versions.awk: Fixed version renaming code to distinguish
11399 libraries properly.
11401 2000-03-19 Ulrich Drepper <drepper@redhat.com>
11403 * include/stdlib.h: Add prototype for __cxa_atexit.
11405 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
11406 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
11408 2000-03-17 Cristian Gafton <gafton@redhat.com>
11410 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
11411 existing rtld-installed-name.
11412 ($(rtld-installed-name)): Request libc-$(version) be installed too.
11413 replace existing rtld-installed-name using $(symbolic-link-prog).
11415 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
11417 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
11418 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
11419 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
11420 but not the former.
11422 2000-03-19 Ulrich Drepper <drepper@redhat.com>
11424 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
11425 glob64. Since there is no glob64 in the LFS proposal applications
11426 can assume that glob handles LFS situations. glob64 is only needed
11427 if alternative filesystem functions are used.
11429 2000-03-19 Geoff Clare <gwc@unisoft.com>
11431 * sysdeps/generic/glob.c: Correct gl_pathc value returned
11432 when GLOB_DOOFFS is set; correct handling of patterns
11433 containing escaped wildcards (and no unescaped ones);
11434 GLOB_ERR flag was being ignored in some situations.
11436 * posix/globtest.c, posix/globtest.sh: Updated to include
11437 tests for the problems fixed by the above changes to glob.c.
11439 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
11441 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
11443 * Makeconfig (soversion.i): Use only first match for each lib.
11445 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
11447 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
11448 rather than $(sysd-dirs-done) to protect these rules.
11450 * Makerules (version-renames.def): Target removed.
11451 (Versions.all): Depend on soversions.i directly and parse it.
11453 * Makeconfig (soversions.i): New target, input-reading parts of
11454 soversions.mk generation moved here; result is a canonicalized
11455 list "LIB VERSION [SET]" for this configuration.
11456 (soversions.mk): Use that as input. Don't emit map-firstversions.
11457 * Makerules (version-renames.def): New target, generated from
11458 soversions.i with contents that was in $(map-firstversions).
11459 (Versions.all): Don't depend on soversions.mk, depend on
11460 version-renames.def instead; just cat it into the input.
11462 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
11463 for $(map-firstversions), which better handles it being empty.
11465 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
11466 supported version for libc 0.2.90.libio to GLIBC_2.2.
11468 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
11469 and use it to emit new variable `map-firstversions'.
11470 * scripts/firstversions.awk: New file.
11471 * Makerules (Versions.all): Use scripts/firstversions.awk and
11472 the $(map-firstversions) value to generate a modified versions list
11473 that includes renames in "A = B" syntax for each version set earlier
11474 than the "earliest symbol version" named in shlib-versions.
11475 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
11476 rename version set A to B in the output to the intermediate file.
11477 * scripts/abi-versions.awk: New file.
11478 * Makerules (abi-versions.h): New target, generated by that script.
11479 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
11480 * include/shlib-compat.h: New file, uses that generated header.
11482 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
11484 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
11485 after stripping # comments, and then run it through cpp.
11486 This allows things like "%ifdef FOO" based on config.h settings.
11487 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
11489 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
11490 and other errors that indicate a pseudo-receive happened, grok through
11491 the message buffer for port rights that need references fixed up.
11493 2000-03-16 Andreas Jaeger <aj@suse.de>
11495 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
11497 * sysdeps/unix/sysv/linux/madvise.c: Remove.
11499 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
11500 from latest Linux kernel.
11501 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
11503 * misc/sys/mman.h: Add prototype for mincore.
11505 2000-03-17 Ulrich Drepper <drepper@redhat.com>
11507 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
11508 entry for GLIBC_2.0 version of setrlimit.
11509 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11511 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11513 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
11514 * nis/nss_compat/compat-initgroups.c: Likewise.
11515 * nis/nss_nis/nis-initgroups.c: Likewise.
11516 * nis/nss_nis/nis-netgrp.c: Likewise.
11517 * nis/nss_nis/nis-proto.c: Likewise.
11518 * nis/nss_nis/nis-rpc.c: Likewise.
11519 * nis/nss_nis/nis-service.c: Likewise.
11520 * nis/ypclnt.c: Likewise.
11522 2000-03-16 Andreas Jaeger <aj@suse.de>
11524 * manual/Makefile: MAKEINFO is set to `:' from configure if it
11525 doesn't exist, correct checks. Fixes PR libc/1649.
11527 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11529 * nscd/hstcache.c: Restore correct UID.
11530 * nscd/pwdcache.c: Likewise.
11531 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
11533 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
11535 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
11536 macros for register names, in line with 2000-03-14 linux change.
11538 * sysdeps/mach/sched_yield.c: New file.
11540 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
11542 * sysdeps/generic/lockfile.c: Include <stdio.h>
11543 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
11544 case <libio.h> defined them.
11545 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
11547 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
11548 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
11550 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
11551 for more pleasing parse error.
11553 2000-03-16 Ulrich Drepper <drepper@redhat.com>
11555 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
11557 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11559 * elf/Makefile: Add rules to compile and run constload1 test.
11560 * elf/constload1.c: New file.
11561 * elf/constload2.c: New file.
11562 * elf/constload3.c: New file.
11564 2000-03-15 Ulrich Drepper <drepper@redhat.com>
11566 * sysdeps/posix/open64.c: Make __open64 weak alias.
11567 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
11568 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11569 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
11570 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11571 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
11572 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
11573 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11574 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
11575 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11576 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
11578 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11580 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
11581 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
11583 2000-03-16 Mark Kettenis <kettenis@gnu.org>
11585 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
11586 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
11588 2000-03-08 Andreas Jaeger <aj@suse.de>
11590 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
11592 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11594 * timezone/africa: Update from tzdata2000d.
11595 * timezone/asia: Likewise.
11596 * timezone/australasia: Likewise.
11597 * timezone/europe: Likewise.
11598 * timezone/northamerica: Likewise.
11599 * timezone/southamerica: Likewise.
11601 * po/fr.po: Update from translation team.
11602 * po/de.po: Likewise.
11604 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
11605 last parameter. Move code to add map to global scope from here...
11606 * elf/dl-open.c (dl_open_worker): ...here.
11607 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
11608 * elf/rtld.c: Adjust call to _dl_map_object_deps.
11610 * locale/programs/ld-collate.c (collate_read): Fix warning.
11612 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
11613 values and macros for register names.
11615 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
11616 returned by seek cookie function is -1.
11618 2000-03-14 Andreas Jaeger <aj@suse.de>
11620 * locale/localeconv.c (localeconv): Fix typo.
11621 Reported by Andre Charbonneau <andrec@corel.com>.
11623 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11625 * iconv/skeleton.c: Increment __invocation_counter in inner loop
11626 since modules depend on it counting the number of times the conversion
11627 function got called.
11629 * iconv/gconv_open.c: Optimize loop to setup step data structure.
11631 * iconv/gconv.h: Pretty print.
11633 2000-03-04 Ulrich Drepper <drepper@redhat.com>
11635 * posix/wordexp-test.c: Correct one of the tests added in the last
11636 change. Really get the root passwd entry to check again ~root.
11638 2000-03-10 Andreas Jaeger <aj@suse.de>
11640 * manual/filesys.texi (Working Directory): Fix last patch.
11641 Patch by Martin Buchholz <martin@xemacs.org>.
11643 2000-03-10 Andreas Jaeger <aj@suse.de>
11645 * manual/creature.texi (Feature Test Macros): Fix language.
11647 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
11649 * mach/devstream.c (devstream_write, devstream_read): New functions.
11650 (input, output): Functions removed.
11651 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
11652 using only the vanilla fopencookie interface.
11654 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
11655 as macro for __io_functions.
11656 (funcsio): Use cookie_io_functions_t type name.
11657 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
11659 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
11661 (fopencookie): Use it.
11662 * libio/libio.h: Declare _IO_cookie_init.
11663 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
11666 * libio/libio.h (__io_seek_fn): Fix second argument type
11667 to be a pointer, in line with the manual and the old stdio.
11668 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
11670 * sysdeps/generic/bits/stdio-lock.h: New file.
11671 This is a stub with #error, but that's better than no file at all.
11673 2000-03-09 Martin Buchholz <martin@xemacs.org>
11675 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
11676 * manual/message.texi (Using gettextized software): Doc Fixes.
11677 * manual/message.texi (Message Translation): Doc Fixes.
11678 * manual/filesys.texi (File Size): Doc Fixes.
11679 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
11680 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
11681 * iconv/gconv_db.c (find_derivation): Doc Fixes.
11682 * manual/install.texi: Doc Fixes.
11683 * manual/search.texi (Hash Search Function): Doc Fixes.
11684 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
11685 * FAQ.in: Doc Fixes.
11686 * config.h.in: Doc Fixes.
11687 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
11688 Doc Fixes. `allows to' is not correct English.
11690 * elf/rtld.c: Doc fixes.
11691 * manual/creature.texi (Feature Test Macros): Doc fixes.
11692 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
11694 * manual/filesys.texi (Working Directory): Check for ERANGE to
11697 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11699 * string/argz-stringify.c (__argz_stringify): Fix loop termination
11700 conditions so as not to clobber the final '\0' when there is only one
11701 element in the vector.
11703 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11705 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
11706 broken by 2000-02-27 change.
11708 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
11710 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11712 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
11713 argument type, for 2000-02-22 change in signal/signal.h declaration.
11715 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11717 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
11718 to getdirentries64 (no __), since the Linux implementation
11719 has no __ name, and there is no declaration for the __ name.
11721 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
11723 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
11724 sed regexp so as not to break directory names including /../ within.
11726 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
11727 The sysdeps/generic file is right for BSD. This file was in fact the
11728 Hurd file, but the only difference was the WNOREAP flag that was never
11729 actually implemented or used anywhere.
11731 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
11732 since AC_PATH_PROG already does it for us.
11733 (PERL): Rewrite check added in 2000-02-29 change for syntactic
11734 correctness and sh portability. I replaced the broken check
11735 with a more sensible implementation of the apparently intended
11736 semantics, which might still be questionable. Using expr causes
11737 a non-numeric value for `perl -V:apiversion` to be accepted,
11738 refusing to use only a perl that reports a number less than 5;
11739 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
11740 * configure: Regenerated.
11742 2000-03-08 Andreas Jaeger <aj@suse.de>
11744 * manual/crypt.texi: Fix paths.
11746 2000-03-07 Andreas Jaeger <aj@suse.de>
11748 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
11750 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
11753 2000-03-06 Andreas Jaeger <aj@suse.de>
11755 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
11756 in __sgn1l, otherwise g++ fails to parse this.
11757 Reported by Sean Chen <sean.chen@turbolinux.com>.
11759 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11761 * configure.in: Compute sizeof-long-double.
11762 * configure: Regenerated.
11763 * config.make.in: Make sizeof-long-double available to sub-makes.
11765 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11767 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11770 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11772 * Makeconfig (rpath-dirs): Add crypt.
11773 (all-subdirs): Remove md5crypt.
11774 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
11775 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
11776 * sysdeps/generic/crypt-entry.c: Delete.
11777 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
11778 * sysdeps/generic/crypt.h: Delete.
11779 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
11780 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
11781 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
11782 * sysdeps/generic/des_impl.c: Delete.
11783 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
11784 * crypt/sysdeps: Delete.
11785 * crypt/crypt_util.c: Don't use `patchlevel.h'.
11786 * md5-crypt/Versions: Move to crypt/.
11787 * md5-crypt/md5-crypt.c: Move to crypt/.
11788 * md5-crypt/md5.c: Move to crypt/.
11789 * md5-crypt/md5c-test.c: Move to crypt/.
11790 * md5-crypt/md5test.c: Move to crypt/.
11791 * md5-crypt: Delete.
11792 * crypt/Makefile: Adjust for new structure.
11794 2000-03-03 Paul Eggert <eggert@twinsun.com>
11796 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
11797 define to 1 if not defined.
11799 2000-03-03 Andreas Jaeger <aj@suse.de>
11801 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
11803 2000-03-03 Andreas Jaeger <aj@suse.de>
11805 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
11807 (xdr_int64_t): Correctly handle lower half.
11808 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
11810 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11812 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11815 2000-03-02 Andreas Jaeger <aj@suse.de>
11817 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
11820 2000-03-02 Andreas Jaeger <aj@suse.de>
11822 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
11824 2000-03-01 Andreas Jaeger <aj@suse.de>
11826 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
11827 (tests): Added tst-getdate.
11829 * time/tst-getdate.c: New file.
11831 * time/datemsk: New file, needed for tst-getdate.
11833 2000-02-29 Cristian Gafton <gafton@redhat.com>
11835 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
11837 2000-02-17 H.J. Lu <hjl@gnu.org>
11839 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
11841 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
11843 (svcudp_recv): Set up message with the new "xp_pad" field for
11845 (svcudp_reply): Support IP_PKTINFO if available.
11847 2000-03-01 Andreas Jaeger <aj@suse.de>
11849 * time/getdate.c (check_mday): Fix check for february.
11850 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
11851 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
11853 2000-03-02 Andreas Jaeger <aj@suse.de>
11855 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
11856 g++ fails to parse this.
11857 Reported by Sean Chen <sean.chen@turbolinux.com>.
11859 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11861 * io/creat.c: Moved to...
11862 * sysdeps/generic/creat.c: ...here.
11863 * io/creat64.c: Moved to...
11864 * sysdeps/generic/creat64.c: ...here.
11865 * io/lockf.c: Moved to...
11866 * sysdeps/generic/lockf.c: ...here.
11868 * crypt/crypt.texi: Moved to...
11869 * manual/crypt.texi: ...here.
11870 * crypt/examples/genpass.c: Moved to...
11871 * manual/examples/genpass.c: ...here.
11872 * crypt/examples/mygenpass.c: Moved to...
11873 * manual/examples/mygenpass.c: ...here.
11874 * crypt/examples/testpass.c: Moved to...
11875 * manual/examples/testpass.c: ...here.
11877 * manual/Makefile (chapters): Add crypt.
11878 * manual/conf.texi: Add usual header for not-last chapter.
11879 * manual/crypt.texi: Add special header for last chapter.
11881 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11883 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
11884 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
11885 complain if there is no crypt add-on.
11886 * crypt/configure: Removed.
11888 * crypt/crypt.texi: Update documentation of US export restrictions
11889 to match the 14 Jan 2000 regulations.
11891 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11893 * crypt: New subdirectory, merged in from the crypt add-on.
11895 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11897 * include/unistd.h: Add __rmdir and __mkdir prototypes.
11900 See ChangeLog.10 for earlier changes.