(elf_machine_rela): Add missing comma.
[glibc.git] / ChangeLog
blobd75743ef0487de7659064044fad0875a00acd924
1 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
3         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
5 2001-03-05  Andreas Jaeger  <aj@suse.de>
7         * stdlib/msort.c (qsort): Don't use alloca in a function call.
9 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
11         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
12         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
13         always return zero.
14         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
15         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
16         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
18         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
19         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22 2001-03-04  Andreas Jaeger  <aj@suse.de>
24         * stdlib/longlong.h: Don't use multi-line strings.
25         * iconvdata/tst-loading.c: Likewise.
27         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
28         string.
30 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
32         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
34         * rt/lio_listio.c: Add a few asserts.
36         * elf/global.c: New file.
37         * elf/globalmod1.c: New file.
38         * elf/Makefile: Add rules to build and run global.
40         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
41         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
43         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
46         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
47         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
49         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
51         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
52         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
54         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
56         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
58 2001-03-04  Andreas Jaeger  <aj@suse.de>
60         * resolv/tst-aton.c: Add testcase for IP with four periods.
62         * resolv/inet_addr.c: Don't recognize an IP with four periods.
63         Patch by Andre' Breiler <A.Breiler@gmx.net>.
65 2001-02-27  Philip Blundell  <pb@futuretv.com>
67         * elf/elf.h: Add new ARM definitions from latest (B-01)
68         specification.  Correct naming of EF_ARM_ALIGN8 et al.
70 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
72         * stdio-common/tst-printf.sh: Remove bashisms.
73         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
75 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
77         * Versions.def: Add libanl definition.
78         * shlib-versions: Add entry for libanl.
79         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
80         (routines): Add gai_sigqueue.
81         (extra-libs): Add libanl.
82         (libanl-routines): New variable.
83         Add rules to build libanl and ga_test.
84         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
85         [libanl]: New library.
86         * resolv/netdb.h: Add definitions for libanl.
87         * resolv/getaddrinfo_a.c: New file.
88         * resolv/gai_cancel.c: New file.
89         * resolv/gai_error.c: New file.
90         * resolv/gai_misc.c: New file.
91         * resolv/gai_misc.h: New file.
92         * resolv/gai_notify.c: New file.
93         * resolv/gai_suspend.c: New file.
94         * resolv/ga_test.c: New file.
95         * sysdeps/generic/gai_sigqueue.c: New file.
96         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
97         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
98         and provide only that definition.
99         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
100         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
101         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
102         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
103         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
104         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
106         * rt/aio_misc.c: Fix typos in comments.
107         * rt/lio_listio.c: Pretty printing.  Little optimization in request
108         list handling.
110         * elf/rtld.c: Remove commented out code.
112         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
113         Update for real 2.4 kernels.
115 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
117         * elf/dl-load.c: Pretty printing.
119         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
120         twice.
122 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
124         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
125         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
127         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
129         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
130         machines.
132         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
134 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
136         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
137         _dl_debug_mask.
139         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
140         _dl_debug_printf.
141         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
142         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
143         _dl_debug_printf_c, and _dl_printf.
144         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
145         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
146         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
147         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
148         * elf/dl-close.c: Replace use of old output functions with the new
149         ones.
150         * elf/dl-deps.c: Likewise.
151         * elf/dl-error.c: Likewise.
152         * elf/dl-fini.c: Likewise.
153         * elf/dl-init.c: Likewise.
154         * elf/dl-load.c: Likewise.
155         * elf/dl-lookup.c: Likewise.
156         * elf/dl-minimal.c: Likewise.
157         * elf/dl-open.c: Likewise.
158         * elf/dl-profile.c: Likewise.
159         * elf/dl-reloc.c: Likewise.
160         * elf/dl-version.c: Likewise.
161         * elf/do-lookup.h: Likewise.
162         * elf/rtld.c: Likewise.
163         * sysdeps/generic/dl-cache.c: Likewise.
164         * sysdeps/generic/dl-sysdep.c: Likewise.
165         * sysdeps/generic/libc-start.c: Likewise.
166         * sysdeps/i386/dl-machine.h: Likewise.
167         * sysdeps/arm/dl-machine.h: Likewise.
168         * sysdeps/hppa/dl-machine.h: Likewise.
169         * sysdeps/m68k/dl-machine.h: Likewise.
170         * sysdeps/powerpc/dl-machine.h: Likewise.
171         * sysdeps/s390/dl-machine.h: Likewise.
172         * sysdeps/sh/dl-machine.h: Likewise.
173         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
174         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
175         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
177         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
179         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
180         supported by assembler.
182         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
183         declaractions.
185         * elf/rtld.c: Little optimizations in handling _dl_lazy.
187         * elf/cache.c (save_cache): Portability changes.
188         * elf/dl-profile.c (_dl_start_profile): Likewise.
190         * elf/sln.c: Cleanups.  Remove arbitrary limits.
192         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
193         * elf/dl-deps.c: Likewise.
194         * elf/dl-fini.c: Likewise.
195         * elf/dl-init.c: Likewise.
196         * elf/dl-load.c: Likewise.
197         * elf/dl-lookup.c: Likewise.
198         * elf/dl-open.c: Likewise.
199         * elf/dl-reloc.c: Likewise.
200         * elf/dl-support.c: Likewise.
201         * elf/dl-version.c: Likewise.
202         * elf/do-lookup.h: Likewise.
203         * elf/rtld.c: Likewise.
204         * sysdeps/generic/dl-cache.c: Likewise.
205         * sysdeps/generic/ldsodefs.h: Likewise.
206         * sysdeps/generic/libc-start.c: Likewise.
207         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
208         Export _dl_debug_mask.
209         * Versions.def: Define GLIBC_2.2.3 for ld.
211 2001-02-26  Greg McGary  <greg@mcgary.org>
213         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
215 2001-02-26  Paul Eggert  <eggert@twinsun.com>
217         Modify mkstemp.c and tempname.c so that they can be used by
218         GNU applications on non-glibc platforms.
220         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
222         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
223         Include <stddef.h>, <stdint.h>, <string.h> only if
224         STDC_HEADERS || _LIBC.
225         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
226         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
227         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
228         (__set_errno): Define this macro if <errno.h> doesn't.
229         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
230         Define these macros if <stdio.h> doesn't.
231         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
232         Define these macros if <sys/stat.h> doesn't.
233         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
234         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
235         lxstat64, __xstat64): Define if not _LIBC.
236         (struct_stat64): New macro.
237         (direxists, __gen_tempname): Use it, to avoid a
238         portability problem with Solaris 8.
239         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
240         (__gen_tempname): Invoke gettimeofday only if
241         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
242         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
243         octal values like 0600.
245 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
247         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
248         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
250         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
251         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
253         * posix/wordexp-test.c (testit): Remove warnings.
255         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
256         (tests): Add tstatexit and tstcxaatexit.
257         (module-names): Add modatexit and modcxaatexit.
258         Add rules to build and run tstatexit and tstcxaatexit.
259         * dlfcn/modatexit.c: New file.
260         * dlfcn/modcxaatexit.c: New file.
261         * dlfcn/tstatexit.c: New file.
262         * dlfcn/tstcxaatexit.c: New file.
264         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
265         .hidden is available.
266         * io/stat.c: If .hidden is available use it to avoid exporting
267         functions.
268         * io/fstat.c: Likewise.
269         * io/lstat.c: Likewise.
270         * io/stat64.c: Likewise.
271         * io/fstat64.c: Likewise.
272         * io/lstat64.c: Likewise.
273         * sysdeps/generic/mknod.c: Likewise.
275         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
276         * sysdeps/generic/bb_init_func.c: Likewise.
277         * sysdeps/generic/libc-start.c: Likewise.
279         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
280         (atexit): Implement using __cxa_atexit.
281         Use .hidden if availble to avoid exporting atexit.
282         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
283         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
284         * stdlib/Makefile (routines): Add old_atexit.
285         (static-only-routines): Add atexit.
286         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
287         * stdlib/old_atexit.c: New file.
289         * intl/Makefile: Remove bogus endif.
291 2001-02-26  Andreas Jaeger  <aj@suse.de>
293         * iconvdata/Makefile (tests): Fix typo in last patch.
295         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
296         available.
297         Reported by Achim Gottinger <achim@gentoo.org>.
299 2001-02-25  Andreas Jaeger  <aj@suse.de>
301         * intl/Makefile (plural.c): Reorder rules so that they work if
302         BISON doesn't exist.
304 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
306         * intl/locale.alias: Don't use nb_NO but define aliases for it.
308 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
310         * sysdeps/i386/strtok.S: Continue to return NULL after the first
311         time this happened.
313 2001-02-23  Andreas Jaeger  <aj@suse.de>
315         * string/tester.c (test_strtok_r): Add testcase.
316         (test_strtok_r): Always initialize cp for proper checking.
318         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
319         returning NULL correctly.
320         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
321         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
323 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
325         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
326         including <stddef.h>.
327         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
328         * include/libc-symbols.h (weak_alias): Don't use .weak if
329         HAVE_ASM_GLOBAL_DOT_NAME is defined.
330         Patches by Michael Keezer <mkeezer@redhat.com>.
332         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
333         Patch by Michael Keezer <mkeezer@redhat.com>.
335         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
336         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
337         (sysdep_routines): Remove restf.S and savef.S.
338         * sysdeps/unix/sysv/aix/restf.S. Removed.
339         * sysdeps/unix/sysv/aix/savef.S. Removed.
340         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
341         alternative names used on some platforms.
342         * sysdeps/powerpc/fprsave.S: Likewise.
343         * sysdeps/powerpc/gprrest0.S: Likewise.
344         * sysdeps/powerpc/gprrest1.S: Likewise.
345         * sysdeps/powerpc/gprsave0.S: Likewise.
346         * sysdeps/powerpc/gprsave1.S: Likewise.
347         Patch by Michael Keezer <mkeezer@redhat.com>.
349 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
351         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
353 2001-02-22  Andreas Jaeger  <aj@suse.de>
355         * string/tst-strtok.c (main): Fix error messages.
357 2001-02-22  Andreas Jaeger  <aj@suse.de>
359         * math/Makefile: Remove omit-long-double-fcts.
361 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
363         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
364         avoid problems on MIPS I.
365         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
367         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
368         noreorder".
370 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
372         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
374         * sysdeps/generic/ftime.c: Include <time.h>.
376         * configure.in: Don't check for libgd if user passed --without-gd.
377         Patch by Achim Gottinger <achim@gentoo.org>.
379         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
380         first time this happened.
381         * string/Makefile (tests): Add tst-strtok.
383 2001-02-21  Andreas Jaeger  <aj@suse.de>
385         * string/tst-strtok.c: New testcase, reported by
386         Andrew Church <achurch@achurch.org>.
388 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
390         * libio/iofwide.c: Remove fwide alias.
392 2001-02-20  Andreas Jaeger  <aj@suse.de>
394         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
395         is available.
396         Reported by Achim Gottinger <achim@gentoo.org>.
398 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
400         * iconv/tst-iconv1.c (main): Remove debugging code.
402         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
403         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
405         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
406         parameters.
407         * sysdeps/generic/e_scalbf.c: Likewise.
408         * sysdeps/generic/e_scalbl.c: Likewise.
410         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
411         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
412         in libc.
413         (routines): Replace libm_error with libc_libm_error.
414         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
415         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
417 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
419         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
420         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
422 2001-02-17  H.J. Lu  <hjl@gnu.org>
424         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
425         scratch registers across the system call.
427 2001-02-19  Andreas Jaeger  <aj@suse.de>
429         * malloc/Makefile (tests): Run mtrace only when perl is available.
430         Reported by Achim Gottinger <achim@gentoo.org>.
432 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
434         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
435         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
437         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
438         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
439         * math/libm-test.inc (j1_test): Mark constants as long double.
440         (jn_test): Likewise.
441         (y1_test): Likewise.
442         (yn_test): Likewise.
444         * libio/iogetline.c: Move return until after last statement.
446         * localedata/show-ucs-data.c: Don't show < > for better readability.
448         * sysdeps/ia64/fpu/Dist: New file.
449         * sysdeps/ia64/fpu/Makefile: New file.
450         * sysdeps/ia64/fpu/Versions: New file.
451         * sysdeps/ia64/fpu/e_acos.S: New file.
452         * sysdeps/ia64/fpu/e_acosf.S: New file.
453         * sysdeps/ia64/fpu/e_acosl.S: New file.
454         * sysdeps/ia64/fpu/e_asin.S: New file.
455         * sysdeps/ia64/fpu/e_asinf.S: New file.
456         * sysdeps/ia64/fpu/e_asinl.S: New file.
457         * sysdeps/ia64/fpu/e_atan2.S: New file.
458         * sysdeps/ia64/fpu/e_atan2f.S: New file.
459         * sysdeps/ia64/fpu/e_atan2l.c: New file.
460         * sysdeps/ia64/fpu/e_cosh.S: New file.
461         * sysdeps/ia64/fpu/e_coshf.S: New file.
462         * sysdeps/ia64/fpu/e_coshl.S: New file.
463         * sysdeps/ia64/fpu/e_exp.S: New file.
464         * sysdeps/ia64/fpu/e_expf.S: New file.
465         * sysdeps/ia64/fpu/e_expl.c: New file.
466         * sysdeps/ia64/fpu/e_fmod.S: New file.
467         * sysdeps/ia64/fpu/e_fmodf.S: New file.
468         * sysdeps/ia64/fpu/e_fmodl.S: New file.
469         * sysdeps/ia64/fpu/e_hypot.S: New file.
470         * sysdeps/ia64/fpu/e_hypotf.S: New file.
471         * sysdeps/ia64/fpu/e_hypotl.S: New file.
472         * sysdeps/ia64/fpu/e_log.S: New file.
473         * sysdeps/ia64/fpu/e_log10.c: New file.
474         * sysdeps/ia64/fpu/e_log10f.c: New file.
475         * sysdeps/ia64/fpu/e_log10l.c: New file.
476         * sysdeps/ia64/fpu/e_logf.S: New file.
477         * sysdeps/ia64/fpu/e_logl.c: New file.
478         * sysdeps/ia64/fpu/e_pow.S: New file.
479         * sysdeps/ia64/fpu/e_powf.S: New file.
480         * sysdeps/ia64/fpu/e_powl.S: New file.
481         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
482         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
483         * sysdeps/ia64/fpu/e_remainder.S: New file.
484         * sysdeps/ia64/fpu/e_remainderf.S: New file.
485         * sysdeps/ia64/fpu/e_remainderl.S: New file.
486         * sysdeps/ia64/fpu/e_scalb.S: New file.
487         * sysdeps/ia64/fpu/e_scalbf.S: New file.
488         * sysdeps/ia64/fpu/e_scalbl.S: New file.
489         * sysdeps/ia64/fpu/e_sinh.S: New file.
490         * sysdeps/ia64/fpu/e_sinhf.S: New file.
491         * sysdeps/ia64/fpu/e_sinhl.S: New file.
492         * sysdeps/ia64/fpu/e_sqrt.S: New file.
493         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
494         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
495         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
496         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
497         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
498         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
499         * sysdeps/ia64/fpu/libm_error.c: New file.
500         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
501         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
502         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
503         * sysdeps/ia64/fpu/libm_reduce.S: New file.
504         * sysdeps/ia64/fpu/libm_support.h: New file.
505         * sysdeps/ia64/fpu/libm_tan.S: New file.
506         * sysdeps/ia64/fpu/s_atan.S: New file.
507         * sysdeps/ia64/fpu/s_atanf.S: New file.
508         * sysdeps/ia64/fpu/s_atanl.S: New file.
509         * sysdeps/ia64/fpu/s_cbrt.S: New file.
510         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
511         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
512         * sysdeps/ia64/fpu/s_ceil.S: New file.
513         * sysdeps/ia64/fpu/s_ceilf.S: New file.
514         * sysdeps/ia64/fpu/s_ceill.S: New file.
515         * sysdeps/ia64/fpu/s_cos.S: New file.
516         * sysdeps/ia64/fpu/s_cosf.S: New file.
517         * sysdeps/ia64/fpu/s_cosl.S: New file.
518         * sysdeps/ia64/fpu/s_expm1.S: New file.
519         * sysdeps/ia64/fpu/s_expm1f.S: New file.
520         * sysdeps/ia64/fpu/s_expm1l.S: New file.
521         * sysdeps/ia64/fpu/s_floor.S: New file.
522         * sysdeps/ia64/fpu/s_floorf.S: New file.
523         * sysdeps/ia64/fpu/s_floorl.S: New file.
524         * sysdeps/ia64/fpu/s_frexp.c: New file.
525         * sysdeps/ia64/fpu/s_frexpf.c: New file.
526         * sysdeps/ia64/fpu/s_frexpl.c: New file.
527         * sysdeps/ia64/fpu/s_ilogb.S: New file.
528         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
529         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
530         * sysdeps/ia64/fpu/s_ldexp.S: New file.
531         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
532         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
533         * sysdeps/ia64/fpu/s_log1p.S: New file.
534         * sysdeps/ia64/fpu/s_log1pf.S: New file.
535         * sysdeps/ia64/fpu/s_log1pl.S: New file.
536         * sysdeps/ia64/fpu/s_logb.S: New file.
537         * sysdeps/ia64/fpu/s_logbf.S: New file.
538         * sysdeps/ia64/fpu/s_logbl.S: New file.
539         * sysdeps/ia64/fpu/s_matherrf.c: New file.
540         * sysdeps/ia64/fpu/s_matherrl.c: New file.
541         * sysdeps/ia64/fpu/s_modf.S: New file.
542         * sysdeps/ia64/fpu/s_modff.S: New file.
543         * sysdeps/ia64/fpu/s_modfl.S: New file.
544         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
545         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
546         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
547         * sysdeps/ia64/fpu/s_rint.S: New file.
548         * sysdeps/ia64/fpu/s_rintf.S: New file.
549         * sysdeps/ia64/fpu/s_rintl.S: New file.
550         * sysdeps/ia64/fpu/s_round.S: New file.
551         * sysdeps/ia64/fpu/s_roundf.S: New file.
552         * sysdeps/ia64/fpu/s_roundl.S: New file.
553         * sysdeps/ia64/fpu/s_scalbn.S: New file.
554         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
555         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
556         * sysdeps/ia64/fpu/s_significand.S: New file.
557         * sysdeps/ia64/fpu/s_significandf.S: New file.
558         * sysdeps/ia64/fpu/s_significandl.S: New file.
559         * sysdeps/ia64/fpu/s_sin.c: New file.
560         * sysdeps/ia64/fpu/s_sincos.c: New file.
561         * sysdeps/ia64/fpu/s_sincosf.c: New file.
562         * sysdeps/ia64/fpu/s_sincosl.c: New file.
563         * sysdeps/ia64/fpu/s_sinf.c: New file.
564         * sysdeps/ia64/fpu/s_sinl.c: New file.
565         * sysdeps/ia64/fpu/s_tan.S: New file.
566         * sysdeps/ia64/fpu/s_tanf.S: New file.
567         * sysdeps/ia64/fpu/s_tanl.S: New file.
568         * sysdeps/ia64/fpu/s_trunc.S: New file.
569         * sysdeps/ia64/fpu/s_truncf.S: New file.
570         * sysdeps/ia64/fpu/s_truncl.S: New file.
571         * sysdeps/ia64/fpu/w_acos.c: New file.
572         * sysdeps/ia64/fpu/w_acosf.c: New file.
573         * sysdeps/ia64/fpu/w_acosl.c: New file.
574         * sysdeps/ia64/fpu/w_asin.c: New file.
575         * sysdeps/ia64/fpu/w_asinf.c: New file.
576         * sysdeps/ia64/fpu/w_asinl.c: New file.
577         * sysdeps/ia64/fpu/w_atan2.c: New file.
578         * sysdeps/ia64/fpu/w_atan2f.c: New file.
579         * sysdeps/ia64/fpu/w_atan2l.c: New file.
580         * sysdeps/ia64/fpu/w_cosh.c: New file.
581         * sysdeps/ia64/fpu/w_coshf.c: New file.
582         * sysdeps/ia64/fpu/w_coshl.c: New file.
583         * sysdeps/ia64/fpu/w_exp.c: New file.
584         * sysdeps/ia64/fpu/w_expf.c: New file.
585         * sysdeps/ia64/fpu/w_fmod.c: New file.
586         * sysdeps/ia64/fpu/w_fmodf.c: New file.
587         * sysdeps/ia64/fpu/w_fmodl.c: New file.
588         * sysdeps/ia64/fpu/w_hypot.c: New file.
589         * sysdeps/ia64/fpu/w_hypotf.c: New file.
590         * sysdeps/ia64/fpu/w_hypotl.c: New file.
591         * sysdeps/ia64/fpu/w_log.c: New file.
592         * sysdeps/ia64/fpu/w_log10.c: New file.
593         * sysdeps/ia64/fpu/w_log10f.c: New file.
594         * sysdeps/ia64/fpu/w_log10l.c: New file.
595         * sysdeps/ia64/fpu/w_logf.c: New file.
596         * sysdeps/ia64/fpu/w_logl.c: New file.
597         * sysdeps/ia64/fpu/w_pow.c: New file.
598         * sysdeps/ia64/fpu/w_powf.c: New file.
599         * sysdeps/ia64/fpu/w_powl.c: New file.
600         * sysdeps/ia64/fpu/w_remainder.c: New file.
601         * sysdeps/ia64/fpu/w_remainderf.c: New file.
602         * sysdeps/ia64/fpu/w_remainderl.c: New file.
603         * sysdeps/ia64/fpu/w_scalb.c: New file.
604         * sysdeps/ia64/fpu/w_scalbf.c: New file.
605         * sysdeps/ia64/fpu/w_scalbl.c: New file.
606         * sysdeps/ia64/fpu/w_sqrt.c: New file.
607         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
608         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
609         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
610         implementation.
611         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
612         Change FP_ILOGBNAN for new implementation.
613         * Verions.def: Add 2.2.3 versions.
615 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
617         * math/libm-test.inc (scalb_test): Require invalid exception being
618         raised for invalid parameters.
619         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
620         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
621         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
623 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
625         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
626         value to long int.
627         (__get_avphys_pages): Likewise.
629 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
631         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
632         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
633         * sysdeps/i386/fpu/e_powf.S: Likewise.
634         * sysdeps/i386/fpu/e_powl.S: Likewise.
636         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
638 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
640         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
642         * sysdeps/generic/s_exp2l.c: Renamed to...
643         * sysdeps/generic/e_exp2l.c: ...this.   New file.
644         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
645         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
646         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
647         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
648         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
649         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
650         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
651         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
652         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
653         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
654         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
655         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
656         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
657         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
658         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
659         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
661 2001-02-17  Andreas Jaeger  <aj@suse.de>
663         * configure.in: Allow gcc 3.
665 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
667         * math/w_acos.c: Move to ...
668         * sysdeps/generic/w_acos.c: ...here.  New file.
669         * math/w_acosf.c: Move to ...
670         * sysdeps/generic/w_acosf.c: ...here.  New file.
671         * math/w_acosh.c: Move to ...
672         * sysdeps/generic/w_acosh.c: ...here.  New file.
673         * math/w_acoshf.c: Move to ...
674         * sysdeps/generic/w_acoshf.c: ...here.  New file.
675         * math/w_acoshl.c: Move to ...
676         * sysdeps/generic/w_acoshl.c: ...here.  New file.
677         * math/w_acosl.c: Move to ...
678         * sysdeps/generic/w_acosl.c: ...here.  New file.
679         * math/w_asin.c: Move to ...
680         * sysdeps/generic/w_asin.c: ...here.  New file.
681         * math/w_asinf.c: Move to ...
682         * sysdeps/generic/w_asinf.c: ...here.  New file.
683         * math/w_asinl.c: Move to ...
684         * sysdeps/generic/w_asinl.c: ...here.  New file.
685         * math/w_atan2.c: Move to ...
686         * sysdeps/generic/w_atan2.c: ...here.  New file.
687         * math/w_atan2f.c: Move to ...
688         * sysdeps/generic/w_atan2f.c: ...here.  New file.
689         * math/w_atan2l.c: Move to ...
690         * sysdeps/generic/w_atan2l.c: ...here.  New file.
691         * math/w_atanh.c: Move to ...
692         * sysdeps/generic/w_atanh.c: ...here.  New file.
693         * math/w_atanhf.c: Move to ...
694         * sysdeps/generic/w_atanhf.c: ...here.  New file.
695         * math/w_atanhl.c: Move to ...
696         * sysdeps/generic/w_atanhl.c: ...here.  New file.
697         * math/w_cosh.c: Move to ...
698         * sysdeps/generic/w_cosh.c: ...here.  New file.
699         * math/w_coshf.c: Move to ...
700         * sysdeps/generic/w_coshf.c: ...here.  New file.
701         * math/w_coshl.c: Move to ...
702         * sysdeps/generic/w_coshl.c: ...here.  New file.
703         * math/w_drem.c: Move to ...
704         * sysdeps/generic/w_drem.c: ...here.  New file.
705         * math/w_dremf.c: Move to ...
706         * sysdeps/generic/w_dremf.c: ...here.  New file.
707         * math/w_dreml.c: Move to ...
708         * sysdeps/generic/w_dreml.c: ...here.  New file.
709         * math/w_exp10.c: Move to ...
710         * sysdeps/generic/w_exp10.c: ...here.  New file.
711         * math/w_exp10f.c: Move to ...
712         * sysdeps/generic/w_exp10f.c: ...here.  New file.
713         * math/w_exp10l.c: Move to ...
714         * sysdeps/generic/w_exp10l.c: ...here.  New file.
715         * math/w_exp2.c: Move to ...
716         * sysdeps/generic/w_exp2.c: ...here.  New file.
717         * math/w_exp2f.c: Move to ...
718         * sysdeps/generic/w_exp2f.c: ...here.  New file.
719         * math/w_exp2l.c: Move to ...
720         * sysdeps/generic/w_exp2l.c: ...here.  New file.
721         * math/w_fmod.c: Move to ...
722         * sysdeps/generic/w_fmod.c: ...here.  New file.
723         * math/w_fmodf.c: Move to ...
724         * sysdeps/generic/w_fmodf.c: ...here.  New file.
725         * math/w_fmodl.c: Move to ...
726         * sysdeps/generic/w_fmodl.c: ...here.  New file.
727         * math/w_hypot.c: Move to ...
728         * sysdeps/generic/w_hypot.c: ...here.  New file.
729         * math/w_hypotf.c: Move to ...
730         * sysdeps/generic/w_hypotf.c: ...here.  New file.
731         * math/w_hypotl.c: Move to ...
732         * sysdeps/generic/w_hypotl.c: ...here.  New file.
733         * math/w_j0.c: Move to ...
734         * sysdeps/generic/w_j0.c: ...here.  New file.
735         * math/w_j0f.c: Move to ...
736         * sysdeps/generic/w_j0f.c: ...here.  New file.
737         * math/w_j0l.c: Move to ...
738         * sysdeps/generic/w_j0l.c: ...here.  New file.
739         * math/w_j1.c: Move to ...
740         * sysdeps/generic/w_j1.c: ...here.  New file.
741         * math/w_j1f.c: Move to ...
742         * sysdeps/generic/w_j1f.c: ...here.  New file.
743         * math/w_j1l.c: Move to ...
744         * sysdeps/generic/w_j1l.c: ...here.  New file.
745         * math/w_jn.c: Move to ...
746         * sysdeps/generic/w_jn.c: ...here.  New file.
747         * math/w_jnf.c: Move to ...
748         * sysdeps/generic/w_jnf.c: ...here.  New file.
749         * math/w_jnl.c: Move to ...
750         * sysdeps/generic/w_jnl.c: ...here.  New file.
751         * math/w_lgamma.c: Move to ...
752         * sysdeps/generic/w_lgamma.c: ...here.  New file.
753         * math/w_lgammaf.c: Move to ...
754         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
755         * math/w_lgammaf_r.c: Move to ...
756         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
757         * math/w_lgammal.c: Move to ...
758         * sysdeps/generic/w_lgammal.c: ...here.  New file.
759         * math/w_lgammal_r.c: Move to ...
760         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
761         * math/w_lgamma_r.c: Move to ...
762         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
763         * math/w_log10.c: Move to ...
764         * sysdeps/generic/w_log10.c: ...here.  New file.
765         * math/w_log10f.c: Move to ...
766         * sysdeps/generic/w_log10f.c: ...here.  New file.
767         * math/w_log10l.c: Move to ...
768         * sysdeps/generic/w_log10l.c: ...here.  New file.
769         * math/w_log.c: Move to ...
770         * sysdeps/generic/w_log.c: ...here.  New file.
771         * math/w_logf.c: Move to ...
772         * sysdeps/generic/w_logf.c: ...here.  New file.
773         * math/w_logl.c: Move to ...
774         * sysdeps/generic/w_logl.c: ...here.  New file.
775         * math/w_pow.c: Move to ...
776         * sysdeps/generic/w_pow.c: ...here.  New file.
777         * math/w_powf.c: Move to ...
778         * sysdeps/generic/w_powf.c: ...here.  New file.
779         * math/w_powl.c: Move to ...
780         * sysdeps/generic/w_powl.c: ...here.  New file.
781         * math/w_remainder.c: Move to ...
782         * sysdeps/generic/w_remainder.c: ...here.  New file.
783         * math/w_remainderf.c: Move to ...
784         * sysdeps/generic/w_remainderf.c: ...here.  New file.
785         * math/w_remainderl.c: Move to ...
786         * sysdeps/generic/w_remainderl.c: ...here.  New file.
787         * math/w_scalb.c: Move to ...
788         * sysdeps/generic/w_scalb.c: ...here.  New file.
789         * math/w_scalbf.c: Move to ...
790         * sysdeps/generic/w_scalbf.c: ...here.  New file.
791         * math/w_scalbl.c: Move to ...
792         * sysdeps/generic/w_scalbl.c: ...here.  New file.
793         * math/w_sinh.c: Move to ...
794         * sysdeps/generic/w_sinh.c: ...here.  New file.
795         * math/w_sinhf.c: Move to ...
796         * sysdeps/generic/w_sinhf.c: ...here.  New file.
797         * math/w_sinhl.c: Move to ...
798         * sysdeps/generic/w_sinhl.c: ...here.  New file.
799         * math/w_sqrtl.c: Move to ...
800         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
801         * math/w_tgamma.c: Move to ...
802         * sysdeps/generic/w_tgamma.c: ...here.  New file.
803         * math/w_tgammaf.c: Move to ...
804         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
805         * math/w_tgammal.c: Move to ...
806         * sysdeps/generic/w_tgammal.c: ...here.  New file.
808         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
809         formats for postal_fmt.
811 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
813         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
814         __ftruncate64 alias.
815         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
816         Likewise.
818 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
820         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
821         do "loadrs".  Writing to bspstore already takes care of
822         invalidating the "clean" partition.
824 2001-02-16  Andreas Schwab  <schwab@suse.de>
826         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
827         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
829 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
831         * posix/regex.c (init_syntax_once): Add prototype.
832         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
833         (re_search_2): Avoid warning.
834         (count_mbs_length): Add prototype.
835         * posix/tst-regex3.c: New file.
836         * posix/Makefile (tests): Add bug-regex3.
838 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
840         * stdio-common/Makefile (tests): Add tst-gets.
841         * stdio-common/tst-gets.c: New file.
842         * stdio-common/tst-gets.input: New file.
844         * elf/elf.h (DT_CHECKSUM): Define.
846         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
847         default symbol.
848         * sysdeps/generic/strtoull.c: Likewise.
850 2001-02-14  Wolfram Gloger  <wg@malloc.de>
852         * malloc/malloc.c (new_heap): When allocating large chunk aligned
853         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
854         between the heaps.
856 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
858         * math/libm-test.inc (j0_test): Check whether sincos is available.
859         (j1_test): Likewise.
860         (jn_test): Likewise.
861         (y0_test): Likewise.
862         (y1_test): Likewise.
863         (yn_test): Likewise.
865         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
866         fake filesystem routines to handle this.
868         * time/sys/time.h: Make settimeofday and adjtime available if
869         _BSD_SOURCE.
871         * time/sys/time.h: Make timer* macros available for BSD.
873         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
874         Patch by Yong Li <rigel863@yahoo.com>.
876         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
877         name.
879         * posix/Makefile (tests): Add tst-gnuglob.
880         * posix/tst-gnuglob.c: New file.
882 2001-02-13  H.J. Lu  <hjl@gnu.org>
884         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
886 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
888         * locale/programs/ld-paper.c (paper_output): Pretty printing.
890         * iconvdata/Makefile (modules): Add GBBIG5.
891         (distribute): Add gbbig5.c.
892         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
894         * iconvdata/gbbig5.c: New file.
895         Contributed by Yong Li <rigel863@yahoo.com>.
897 2001-02-13  Philip Blundell  <pb@futuretv.com>
899         * manual/crypt.texi: Remove outdated references to crypt add-on.
901         * manual/creature.texi: Improve wording slightly.
903 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
905         * io/ftw.c: Always use readdir64.
906         * io/ftw64.c: Likewise.
907         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
908         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
909         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
910         callback to dirent.  Still allow compiling outside glibc.
911         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
912         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
914         * malloc/mtrace.c: Use fopen64.
915         * posix/spawni.c: Use __open64.
916         * sysdeps/unix/opendir.c: Likewise.
917         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
919         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
920         name a weak alias.
921         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
922         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
923         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
924         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
926         * resolv/res_data.c: Add cast to avoid warning.
928         * include/unistd.h: Declare __ftruncate64.
930         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
932         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
933         instead of __lseek.
935 2001-02-13  Andreas Jaeger  <aj@suse.de>
937         * login/getutent_r.c: Include <stdlib.h> for NULL.
938         * login/getutid_r.c: Likewise.
940 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
942         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
943         * sysdeps/dbl-64/e_j1.c: Likewise.
944         * sysdeps/dbl-64/e_jn.c: Likewise.
945         * sysdeps/flt-32/e_j0f.c: Likewise.
946         * sysdeps/flt-32/e_j1f.c: Likewise.
947         * sysdeps/ldbl-96/e_j0l.c: Likewise.
949 2000-12-02  H.J. Lu  <hjl@gnu.org>
951         * resolv/res_libc.c (res_init): Don't make it default.
953 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
955         * manual/debug.texi: Improved the wording.
956         Patch by Philip Blundell <pb@futuretv.com>.
958 2001-02-12  Andreas Jaeger  <aj@suse.de>
960         * posix/Makefile (tests): Don't run bug-regex2 when
961         cross-compiling.
963         * libio/Makefile (tests): Don't run test-freopen when
964         cross-compiling.
966         * manual/stdio.texi (Streams and I18N): Fix typos.
968 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
970         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
972         * math/libm-test.inc (j0_test): Make expected results long double
973         constants.
974         (y0_test): Likewise.
976         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
977         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
979 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
981         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
982         which was exported from libc.
983         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
985 2001-02-12  Andreas Jaeger  <aj@suse.de>
987         * manual/arith.texi (Parsing of Integers): Fix some wordings.
989 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
991         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
992         and get_avphys_page to long int.
993         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
994         * include/sys/sysinfo.h: Likewise.
995         * sysdeps/generic/sys/sysinfo.h: Likewise.
996         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
998         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
999         cannot return as many values as the user asked for.
1001 2001-02-11  Andreas Jaeger  <aj@suse.de>
1003         * manual/resource.texi (Memory Resources): Fix typo.
1005         * libio/Makefile ($(objpfx)test-freopen.out): Pass
1006         run-program-prefix.
1008         * libio/test-freopen.sh: Use run_program_prefix.
1010 2001-02-10  Andreas Jaeger  <aj@suse.de>
1012         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
1013         cross-compiling.
1014         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
1016         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
1017         only builds.
1019         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
1021         * posix/Makefile: Fix typo, it's build-static-nss.
1023         * iconv/Makefile (extra-objs): New.
1025 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
1027         * sysdeps/unix/stime.c: Include <time.h>.
1029         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
1031 2001-02-10  Andreas Jaeger  <aj@suse.de>
1033         * manual/string.texi (Search Functions): Fix typo.
1035 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
1037         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
1038         (timeval_to_clock_t): Add clk_tck argument and use that instead of
1039         CLK_TCK.
1040         (__times): Use __getclktck to get the number of clock ticks per
1041         second and use its return value instead of CLK_TCK.
1043 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
1045         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
1047 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
1049         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
1051 2001-02-10  Andreas Jaeger  <aj@suse.de>
1053         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
1054         warning.
1056 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
1058         * posix/Makefile: Add rules to build and run bug-regex2.
1059         * posix/bug-regex2.c: New file.
1061 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
1063         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
1064         (regex_compile): Likewise.
1065         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
1066         (re_match_2_internal): Use just is_binary instead of two variables.
1067         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
1069 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
1071         * version.h (VERSION): Bump to 2.2.2.
1073         * iconv/Makefile (distribute): Add iconv_charmap.c and
1074         dummy-repertoire.c.
1075         * elf/Makefile (distribute): Add firstobj.c.
1076         * Makefile (distribute): Add include/pthread.h.
1078         * configure.in: Require makeinfo version 4.
1080         * libio/tst_wscanf.c (main): Add cast to avoid warning.
1081         * libio/tst_swscanf.c (main): Likewise..
1083 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
1085         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
1086         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
1087         __NO_MATH_INLINES.
1088         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
1089         if not RTLD_BOOTSTRAP.
1090         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1091         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1093 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
1095         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
1096         lr_ungetc to push back last read character.
1097         * locale/programs/linereader.h (lr_ungetc): Don't push back is
1098         character is EOF.
1099         (lr_ignore_rest): Don't warn about garbage if it is really the end
1100         of the file.
1102         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
1103         definition.
1105 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
1107         * Makerules (build-shlib): Work around different order of
1108         processing of -B option in different gcc versions.
1110         * posix/regex.c: Fix alignment problem.
1111         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1113         * sysdeps/alpha/strrchr.S: Little optimization.
1114         Patch by Richard Henderson <rth@redhat.com>.
1116         * sysdeps/alpha/alphaev67/strrchr.S: New file.
1117         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
1119 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1121         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
1122         in the assembler end directive.
1124 2001-02-08  Andreas Jaeger  <aj@suse.de>
1126         * manual/stdio.texi (Closing Streams): Fix typos.
1128 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
1130         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
1131         Patch by Richard Henderson <rth@redhat.com>.
1132         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
1134         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
1135         pointer in FILE structure before calling _IO_init.
1136         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
1137         strfmon_l if necessary.
1138         Reported by Jury Gerold <gjury@grips.com>.
1140         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
1141         Patch by Pekka.Pietikainen@cern.ch.
1143         * posix/regex.c: Correct several problems with 64-bit architectures
1144         introduced in the MBS changes.
1145         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1147 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
1149         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
1150         not defined.
1151         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
1153 2001-02-07  Andreas Jaeger  <aj@suse.de>
1155         * manual/install.texi (Tools for Compilation): Fix typo.
1156         Reported by Pavel Machek <pavel@bug.ucw.cz>.
1158 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
1160         * stdlib/strtod.c: Never stop prematurely reading digits before the
1161         decimal point is found.  Compute exponent limit for negative exponents
1162         correctly.  For numbers ending in all zeros eat the zeros even before
1163         the decimal point if the exponent is negative [PR libc/2072].
1164         * stdlib/Makefile (tests): Add bug-strtod.
1165         * stdlib/bug-strtod.c: New file.
1167 2001-02-07  Andreas Jaeger  <aj@suse.de>
1169         * posix/bug-regex1.c: Include <wchar.h> for fwide.
1171 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
1173         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
1174         Store index.
1175         (compile_range): Handle index being passed, not pointer.
1176         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1178         * posix/regex.c: Fix a cast in the code for bracket handling which
1179         caused 8-bit uncleanliness.
1180         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
1182         * posix/Makefile (tests): Add bug-regex1.
1183         * posix/bug-regex1.c: New file.
1184         Contributed by Jim Meyering <jim@meyering.net>.
1186         * posix/regex.c: Many cleanups for incorrect format strings.
1188 2001-02-06  Andreas Jaeger  <aj@suse.de>
1190         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
1192 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
1194         * locale/programs/locale.c (write_locales): Use scandir to read
1195         directory so that the entries are sorted.
1197 2001-02-06  Andreas Jaeger  <aj@suse.de>
1199         * include/pthread.h: New file.
1201         * wctype/wctype.h: Move internal interfaces from here to...
1202         * include/wctype.h: ...here.
1204         * wcsmbs/wchar.h: Move __wcslen from here to...
1205         * include/wchar.h: ...here.
1207         * posix/sys/wait.h: Move __wait from here to...
1208         * include/sys/wait.h: ...here.
1210         * string/string.h: Move __ffs and __strerror_r from here to...
1211         * include/string.h: ...here.
1213         * stdlib/stdlib.h: Move __on_exit from here to...
1214         * include/stdlib.h: ...here.
1216         * libio/stdio.h: Move __vsnprintf from here to...
1217         * include/stdio.h: ...here.
1219 2001-02-06  Andreas Schwab  <schwab@suse.de>
1221         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
1222         headers.
1224         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
1225         of $(inst_datadir).
1227 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
1229         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
1231 2001-02-06  Andreas Jaeger  <aj@suse.de>
1233         * elf/firstobj.c: Add prototype.
1235         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
1236         (truncate_wchar): Likewise.
1238 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
1240         * locale/programs/locale.c: Implement --verbose option for -a
1241         which prints detailed information about the locales.
1243 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
1245         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
1246         variable to uint32_t.
1247         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
1249 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
1251         * locale/C-translit.h.in: Add transliterations for CJK units of
1252         measurement.
1254 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
1256         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
1257         string.  Include <inttypes.h> instead of <stdint.h>.
1259         * localedata/Makefile (tests): Add bug-iconv-trans.
1260         Define bug-iconv-trans-ENV.
1261         * localedata/bug-iconv-trans.c: New file.
1263 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
1265         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
1266         pointer, to avoid accumulating output from incomplete (unsuccessful)
1267         transliteration attempts.
1269 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
1271         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
1272         string.  Include <inttypes.h> instead of <stdint.h>.
1274         * configure.in: Add check for bison.
1275         * config.make.in: Define BISON variable.
1276         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
1277         Rename YFLAGS to BISONFLAGS.
1279 2001-02-05  Andreas Jaeger  <aj@suse.de>
1281         * io/test-lfs.c (do_test): Test lseek64 return value, call
1282         test_ftello.
1283         (test_ftello): New function to test ftello64 and fseeko64.
1285         * signal/signal.h: Move __sigaction from here to...
1286         * include/signal.h: ...here.
1288         * io/fcntl.h: Move __fcntl and __open to...
1289         * include/fcntl.h: ...here.
1291 2001-02-04  Philip Blundell  <philb@gnu.org>
1293         * configure.in: Distinguish ARM from Thumb.
1295 2001-02-04  Philip Blundell  <philb@gnu.org>
1297         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
1298         PC24 relocs with negative value.
1300 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
1302         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
1303         files in locale/programs.  Add CFLAGS definition to allow compiling
1304         localedef files.
1305         * iconv/dummy-repertoire.c: New file.
1306         * iconv/iconv_charmap.c: New file.
1307         * iconv/iconv_prog.h: New file.
1308         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
1309         (main): If parameter for -f and -t contain slashes try first to resolve
1310         the strings as filenames of charmap files.  Use them for conversion
1311         in this case.
1312         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
1313         iconv getting charmap names as parameters.
1314         * locale/programs/linereader.c (lr_token): Take extra parameters
1315         verbose and pass it to get_string.
1316         (get_string): Take extra parameters verbose.
1317         * locale/programs/charmap.c (parse_charmap): Take extra parameters
1318         verbose and be_quiet.  Change all callers of lr_token and
1319         parse_charmap.
1320         * locale/programs/charmap.h: Likewise.
1321         * locale/programs/ld-address.c: Likewise.
1322         * locale/programs/ld-collate.c: Likewise.
1323         * locale/programs/ld-ctype.c: Likewise.
1324         * locale/programs/ld-identification.c: Likewise.
1325         * locale/programs/ld-measurement.c: Likewise.
1326         * locale/programs/ld-messages.c: Likewise.
1327         * locale/programs/ld-monetary.c: Likewise.
1328         * locale/programs/ld-name.c: Likewise.
1329         * locale/programs/ld-numeric.c: Likewise.
1330         * locale/programs/ld-paper.c: Likewise.
1331         * locale/programs/ld-telephone.c: Likewise.
1332         * locale/programs/ld-time.c: Likewise.
1333         * locale/programs/linereader.c: Likewise.
1334         * locale/programs/linereader.h: Likewise.
1335         * locale/programs/localedef.c: Likewise.
1336         * locale/programs/locfile.c: Likewise.
1337         * locale/programs/locfile.h: Likewise.
1338         * locale/programs/repertoire.c: Likewise.
1340 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
1342         * iconv/iconv_prog.c (main): If output file name is "-" write to
1343         stdout.
1344         (main): If -f or -t argument is missing use charset of the current
1345         locale.
1347 2001-02-03  Andreas Jaeger  <aj@suse.de>
1349         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
1350         boundary for SSE/SSE-2 alignment.
1352         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
1353         annexc.
1355 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
1357         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
1358         Remove comma at end of enum.
1360         * elf/dl-init.c: Add a few __builtin_expect.
1362         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
1364 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
1366         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
1367         errno is ECONNREFUSED.
1369         * posix/Makefile: Define MBS_SUPPORT for regex.c.
1370         * posix/regex.c: Implement multibyte character handling.
1371         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
1373         * string/tst-svc.input: Add two more test cases.
1374         * string/tst-svc.expect: Modify to reflect new test cases.
1376 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
1378         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
1379         tp->name tests with tp->name[0] tests.
1381 2001-01-29  Ben Collins  <bcollins@debian.org>
1383         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
1384         Fix check for name == NULL.
1386 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
1388         * elf/Makefile: Add rules to build and run initfirst test.
1389         * elf/initfirst.c: New file.
1390         * elf/firstobj.c: New file.
1392         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
1393         * configure.in: Test for -z initfirst linker option.
1394         * config.make.in: Add have-z-initfirst.
1395         * elf/dl-init.c (_dl_init): Split out actual initialization code in
1396         new function call_init.  If _dl_initfirst is non-NULL initialize first.
1397         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
1398         remember object in _dl_initfirst.
1399         * elf/soinit.c: Remove special support for calling
1400         __pthread_initialize_minimal.
1402         * conform/conformtest.pl: Add missing $prepend in type test.
1404 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
1406         * elf/elf.h (SHT_CHECKSUM): New definition.
1408         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
1409         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1410         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
1412 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
1414         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
1415         to get definition of `struct timeval'.
1417 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
1419         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
1420         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
1422 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
1424         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
1425         seen, not flags.
1427         * nis/nis_findserv.c: Include <time.h>.
1429 2001-01-30  Yong Li  <yong.li@asu.edu>
1431         * iconv/iconv_prog.c (main): Correct error handling method name.
1433 2001-01-29  Ben Collins  <bcollins@debian.org>
1435         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
1436         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
1437         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1438         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
1440 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
1442         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
1443         Patch by Marko Myllynen <myllynen@lut.fi>.
1445         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
1446         (int instead of char).
1447         (__strpbrk_c3): Likewise.
1448         Reported by GOTO Masanori <gotom@debian.or.jp>.
1450         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
1451         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
1452         * include/sys/socket.h: Add SA_LEN here for internal use.
1453         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1455 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
1457         * malloc/Makefile: Don't build memusagestat if cross-compiling.
1459         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
1461         * math/libm-test.inc (rint_test): Add a few more tests for round
1462         to even rounding.
1464 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
1466         * conform/data/pthread.h-data: Correct return type of pthread_exit.
1468         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
1470         * conform/data/stdlib.h-data: Add _Exit.
1472         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
1473         if not already happened.
1474         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
1475         Don't include <limits.h> and <bits/sockaddr.h>.
1477         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
1479         * conform/data/spawn.h-data: Allow all of <sched.h>.
1481         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
1482         unused variable.
1484         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
1485         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
1487         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
1489         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
1490         * libio/stdio.h: Define va_list correctly.
1492         * conform/data/pthread.h-data: Make priority protocol related
1493         functions optional.  Fix typos.
1495         * posix/sched.h: Define sched_priority as __sched_priority.
1496         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
1497         to __sched_priority.
1498         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
1500 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
1502         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
1503         of <sys/time.h>.
1505         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
1506         * sysdeps/unix/time.c: Likewise.
1508         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
1509         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
1510         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
1511         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
1512         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1513         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
1514         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
1515         * time/time.h: Likewise.
1517         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
1518         * conform/data/complex.h-data: New file.
1519         * conform/data/tgmath.h-data: New file.
1521         * conform/data/wchar.h-data: Add missing functions.
1523         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
1525         * conform/data/termios.h-data: Add missing const in tcsetattr()
1526         prototype.
1528         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
1529         Don't define pid_t here.
1531         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
1533         * conform/data/sys/time.h-data: Allow sys/select.h.
1534         * conform/data/sys/un.h-data: Fix typo.
1535         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
1536         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
1537         <sys/time.h>.
1538         * sysdeps/unix/clock_nanosleep.c: Likewise.
1539         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
1540         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
1541         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
1542         * sysdeps/unix/clock_settime.c: Likewise.
1544         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
1545         * login/getutent.c: Likewise.
1546         * login/getutid.c: Likewise.
1547         * login/getutline.c: Likewise.
1549         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
1551         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
1552         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
1553         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
1554         f_fsid field after change in struct statvfs.
1555         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
1556         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
1557         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
1559         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
1560         optional-macro.
1562         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
1563         recvfrom, send, and socketpair prototypes.  Add allow lines.
1564         * socket/sys/socket.h: Include <sys/uio.h>.
1565         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
1566         Fix type of second parameter of listen.
1567         Don't declare isfdtype unless __USE_MISC.
1568         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
1569         * sysdeps/mach/hurd/listen.c: Likewise.
1570         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
1571         ss_family and __ss_family.
1572         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
1573         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1574         (struct msghdr): Change type of msg_iovlen to int and type of
1575         msg_controllen to socklen_t.
1576         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
1577         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
1578         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
1579         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
1580         (rresvport_af): Likewise.
1582         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
1583         * conform/conformtest.pl: Implement handling of symbol.
1585         * signal/signal.h: Fix handling of __need_* symbols.
1586         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
1587         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
1588         * include/sys/select.h: Use fd_set not __fd_set.
1589         * sysdeps/generic/bits/select.h: Likewise.
1590         * sysdeps/i386/bits/select.h: Likewise.
1591         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
1592         __FDELT, __FDMASK, and __fd_set here.
1593         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
1594         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
1595         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1596         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1597         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
1598         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1599         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1600         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1601         * time/sys/time.h: Define struct timeval before including <time.h>
1602         and <sys/select.h>.
1604         * conform/data/sys/time.h-data: fd_set is a typedef.
1605         * conform/data/sys/select.h-data: New file.
1606         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
1607         * conform/conformtest.pl (@headers): Add sys/select.h.
1608         (type, optional-type): Unless testing a typedef instantiate object.
1609         Implement optional-function.
1611         * math/test-misc.c: Include <float.h>.
1613 2001-01-27  Andreas Jaeger  <aj@suse.de>
1615         * misc/efgcvt_r.c: Include <float.h>.
1617 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
1619         * conform/data/stdlib.h-data: Account for XPG6 changes.
1620         * stdlib/stdlib.h (__random): Change return value type to long.
1621         (posix_memalign): Cleanup parameter names.
1622         (setenv, unsetenv): Make available for __USE_XOPEN2K.
1623         Change return type of unsetenv to int.
1624         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
1625         * include/stdlib.h: Change return type of unsetenv to int.
1626         Change return type of random to long int.
1627         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
1628         Return -1 and set errno if parameter is invalid.
1629         * stdlib/random.c (__random): Change return value type to long.
1631         * conform/data/stdio.h-data: Account for changes in XPG6.
1633         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
1634         prototype.
1636         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
1637         * conform/data/signal.h-data: Fix sigev_notify_function entry.
1638         Fix typo (SIGVALRM -> SIGVTALRM).
1639         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
1640         with real type.
1641         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
1642         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1643         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1644         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1645         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
1647         * conform/conformtest.pl: Implement optional-element.  Define
1648         $mustprepend{"sched.h"}.
1649         * conform/data/sched.h-data: Make sporadic scheduler definitions
1650         optional.
1652         * pwd/pwd.h: Don't define getpwent_r for XPG.
1654         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
1655         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
1656         * sysdeps/mach/hurd/poll.c: Likewise.
1657         * sysdeps/unix/bsd/poll.c: Likewise.
1658         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1659         * sysdeps/unix/sysv/aix/poll.c: Likewise.
1660         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
1661         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
1662         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
1663         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
1664         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
1665         * conform/data/poll.h-data: Fix typo in poll prototype.
1667         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
1668         only if __USE_MISC.
1669         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
1671         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
1673         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
1675         * conform/conformtest.pl: Implement optional-type.
1677         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
1678         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
1679         defining uint32_t here.  Define IPPORT_RESERVED.
1680         (struct hostent): Type of h_length element is int.
1681         (getnameinfo): Type of flags parameter is unsigned int.
1682         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
1683         * conform/data/netdb.h-data: Add many missing definitions.
1685         * conform/conformtest.pl: Implement optional-macro.
1686         * conform/data/math.h-data: Update for XPG6.
1688         * math/math.h (HUGE): Define as FLT_MAX value but don't use
1689         FLT_MAX.  Don't include <float.h>.
1690         (MAXFLOAT): Likewise.
1692         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
1694         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
1696         * conform/data/limits.h-data: Mark constants as optional wherever
1697         appropriate.
1699         * posix/bits/posix2_lim.h: Set correct values for
1700         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
1701         EQUIV_CLASS_MAX.
1703         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
1704         Required by POSIX.
1706         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
1708         * conform/data/netinet/in.h-data: Add reserved prefixes.
1710         * conform/data/arpa/inet.h-data: Fix a few typos.
1712 2001-01-26  Andreas Jaeger  <aj@suse.de>
1714         * sysdeps/generic/strtol.c: Include <locale.h>
1715         * stdlib/strtod.c: Likewise
1716         * stdlib/strfmon.c: Likewise.
1717         * string/strcoll.c: Likewise.
1718         * string/strxfrm.c: Likewise.
1719         * wctype/wcfuncs_l.c: Likewise.
1720         * wctype/wctype_l.c: Likewise.
1721         * wctype/wctrans_l.c: Likewise.
1723         * include/bits/locale.h: New file.
1725 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
1727         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
1728         and NOSTR.
1730         * locale/Makefile (headers): Add bits/locale.h.
1731         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
1732         and use __LC_ constants instead of LC_.
1733         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
1734         using __LC_ constants.
1735         * locale/bits/locale.h: New file.
1736         * locale/loadlocale.c: Include <locale.h>.
1737         * locale/nl_langinfo.h: Likewise.
1739         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
1741         * io/sys/stat.h: Define S_IFSOCK for XPG6.
1743         * conform/data/fcntl.h-data: posix_madvise is not expected here.
1745         * conform/conformtest.pl: Fix handling of macro-str.
1747         * conform/data/inttypes.h-data: Add missing definition and all of
1748         stdint.h-data.
1750         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
1752 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
1754         * conform/conformtest.pl (@headers): Add stdint.h.
1755         * conform/data/stdint.h-data: New file.
1757         * conform/conformtest.pl: Recognize options --headers and
1758         --dialect.  Add dialect-specific CFLAGS.
1760         * conform/conformtest.pl: Implement handling of recursive
1761         allow-header.
1763         * conform/data/locale.h-data: Add new struct lconv members.
1765         * posix/wordexp.h: Correct definition of wordexp_t.
1766         * posix/wordexp.c: Moved to ...
1767         * sysdeps/generic/wordexp.c: ...here.  New file.
1768         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
1769         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
1770         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
1771         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
1772         wordexp.
1773         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
1774         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
1776         * math/tgmath.h: Pretty printing.
1778         * math/Makefile (tests): Add test-tgmath.
1779         (CFLAGS-test-tgmath.c): New variable.
1780         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
1782         * conform/conformtest.pl: Handle allow-header in secondary headers
1783         correctly.
1785         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
1786         #ifdef.
1788         * conform/data/netinet/in.h-data: Use correct comment character.
1789         * conform/data/sys/stat.h-data: Likewise.
1791 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
1793         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
1794         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
1795         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
1796         __builtin_classify_type, add ##f suffixes where appropriate.
1797         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
1798         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
1799         __builtin_classify_type.
1800         (fma): Fix spelling of first argument.
1802 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
1804         * conform/data/unistd.h-data: Mark functions removed in XPG6
1805         correctly.
1807         * posix/unistd.h: Don't make functions removed in XPG6 available if
1808         __USE_XOPEN2K.
1810         * conform/conformtest.pl: Implement optional-constant.
1811         * conform/data/unistd.h-data: Use optional-constant wherever
1812         appropriate.
1814         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
1815         constants and add _SC_STREAMS.
1816         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1818         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
1819         make old name weak alias.
1820         * sysdeps/generic/statvfs64.c: Likewise.
1821         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
1822         make old name weak alias.
1823         * sysdeps/generic/fstatvfs64.c: Likewise.
1824         * include/sys/statvfs.h: New file.
1826         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
1827         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
1828         _PC_REC_XFER_ALIGN.
1829         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
1830         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
1831         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
1832         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1834         * conform/conformtest.pl: Run Unix tests for XPG6.
1835         Implement handling of known namespace violations.
1836         Improve printing of results.
1838         * posix/unistd.h (usleep): Correct return type.
1839         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
1840         * sysdeps/unix/bsd/usleep.c: Correct return type.
1841         * sysdeps/mach/usleep.c: Correct return type.
1842         * sysdeps/generic/usleep.c: Correct return type.
1844         * posix/unistd.h (sync): Correct return type.
1845         * sysdeps/generic/sync.c: Likewise.
1846         * sysdeps/mach/hurd/sync.c: Likewise.
1848         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
1850         * posix/unistd.h: Make seteuid and setegid available for XPG6.
1852         * wcsmbs/wchar.h: Get FILE definition for XPG5.
1854         * conform/data/ctype.h-data: Use correct comment form.
1855         * conform/data/errno.h-data: Likewise.
1856         * conform/data/math.h-data: Likewise.
1857         * conform/data/mqueue.h-data: Likewise.
1858         * conform/data/netdb.h-data: Likewise.
1859         * conform/data/pthread.h-data: Likewise.
1861 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
1863         * conform/data/wordexp.h-data: Fix typo.
1865         * conform/conformtest.pl: Handle allow-header correctly.
1867         * conform/data/time.h-data: Use correct comment form.
1869         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
1871         * configure.in: Comment out binutils version test.
1873         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
1874         separators.
1875         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
1877         * stdlib/tst-strtod.c (locale_test): New function.
1878         (main): Call locale_test.
1879         * stdlib/Makefile (tst-strtod-ENV): New variable.
1881 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
1883         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
1884         declaration of value such that we actually return the value of the
1885         environment variable.
1887 2001-01-24  Andreas Jaeger  <aj@suse.de>
1889         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
1890         prototype.
1891         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1893         * include/sys/sysctl.h: New file.
1895 2001-01-23  Andreas Jaeger  <aj@suse.de>
1897         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
1898         isomac.
1900         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
1901         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
1902         closes PR libc/2039.
1904         * manual/install.texi (Tools for Compilation): Change required
1905         binutils version.
1907 2001-01-22  Andreas Jaeger  <aj@suse.de>
1909         * configure.in: Add test for new enough binutils version, move
1910         compiler/binutils test up.
1912         * Versions.def: Add version GLIBC_2.2.2.
1914 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
1916         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
1917         available.
1918         * iconvdata/testdata/IBM932: New file.
1919         * iconvdata/testdata/IBM932..UTF8: New file.
1920         * iconvdata/testdata/IBM943: New file.
1921         * iconvdata/testdata/IBM943..UTF8: New file.
1922         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
1924 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1926         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
1928 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
1930         * malloc/malloc.c: Remove a few unnecessary initializers of global
1931         variables.
1933 2000-12-09  H.J. Lu  <hjl@gnu.org>
1935         * nss/Makefile (routines): Add digits_dots.
1936         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
1937         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
1938         into a function.
1939         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
1940         function.
1941         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
1942         (TYPE_VAR_P): Likewise.
1943         (FLAGS_VAR): Likewise.
1944         (AF_VAR_P): Likewise.
1945         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
1946         instead of including digits_dots.c.
1947         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
1948         (TYPE_VAR_P): Likewise.
1949         (FLAGS_VAR): Likewise.
1950         (AF_VAR_P): Likewise.
1951         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
1952         instead of including digits_dots.c.
1954 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
1956         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
1958 2001-01-21  Andreas Jaeger  <aj@suse.de>
1960         * elf/constload2.c: Add prototype for init.
1962 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
1964         * stdlib/stdlib.h (drand48_data): Make available only for
1965         __USE_MISC.  Rename elements to protect namespace.  Change type
1966         and position of a and init element.
1967         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
1968         differently.  Adjust for drand48_data change.  Don't compute a here,
1969         it comes from drand48_data.
1970         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
1971         differently.  Adjust for drand48_data change.  Compute a here.
1972         * stdlib/srand48_r.c: Likewise.
1973         * stdlib/drand48.c: Adjust for drand48_data change.
1974         * stdlib/lrand48.c: Likewise.
1975         * stdlib/mrand48.c: Likewise.
1976         * stdlib/seek48.c: Likewise.
1977         * stdlib/drand48_r.c: Likewise.
1978         * stdlib/lrand48_r.c: Likewise.
1979         * stdlib/mrand48_r.c: Likewise.
1980         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
1981         differently.
1982         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
1983         * stdlib/jrand48_r.c: Likewise.
1985         * po/sv.po: Update from translation team.
1987 2001-01-21  Andreas Jaeger  <aj@suse.de>
1989         * stdio-common/vfprintf.c (vfprintf): Add casts.
1991 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
1993         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
1994         the ASCII test.
1995         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
1997         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
1998         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
1999         * iconvdata/ibm932.c: New file.
2000         * iconvdata/ibm932.h: New file.
2001         * iconvdata/ibm943.c: New file.
2002         * iconvdata/ibm943.h: New file.
2003         Patches by Masahide Washizawa <washi@jp.ibm.com>.
2005         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
2006         preventing optimization from being done.  Set the correct type bit
2007         in seen.  Don't define and use _dl_base_addr unless
2008         NEED_DL_BASE_ADDR is defined.
2010         * io/ftw.c (ftw_dir): Add slash after directory name if there
2011         wasn't any.  Reported by loris <loris@iol.it>.
2012         * io/Makefile (tests): Add bug-ftw2.
2013         * io/bug-ftw2.c: New file.
2015 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
2017         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
2018         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
2019         * stdlib/tst-rand48.c: New file.
2020         * stdlib/Makefile (tests): Add tst-rand48.
2022         * locale/newlocale.c (__newlocale): Fix test for setting all
2023         categories.
2025 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
2027         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
2028         but change looking up the initial directory port in a similar way
2029         as done by _hurd_change_directory_port_from_name.
2030         * hurd/fchroot.c (fchroot): Likewise.
2032 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
2034         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
2035         defined don't look whether the AT_*ID values were set.
2036         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
2037         (_dl_show_auxv): Rewrite to avoid switch statement.
2038         * sysdeps/unix/sysv/linux/kernel-features.h: Define
2039         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
2040         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
2041         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
2043         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
2044         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2045         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2047         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
2048         strtoul.
2049         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
2050         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
2051         anything.
2052         * dlfcn/eval.c (__strtol_internal): Define here.
2053         (eval): Use __strtol_internal instead of strtol.
2055         * elf/elf.h: Add a few more EF_MIPS_* constants.
2057 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
2059         * manual/Makefile (chapters): Add debug.
2060         * manual/debug.texi: New file.
2061         * manual/examples/execinfo.c: New file.
2062         Patch by suckfish@ihug.co.nz.
2064 2001-01-17  Andreas Schwab  <schwab@suse.de>
2066         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
2067         invalid asm.
2069 2001-01-17  Andreas Jaeger  <aj@suse.de>
2071         * nscd/connections.c (nscd_run): Use proper format specifier.
2073 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
2075         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
2076         x86_platforms data into new file after prepending _dl_.  Change
2077         users.
2078         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
2079         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
2080         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
2081         dl-procinfo.c.
2083         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
2085         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
2086         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
2087         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
2088         (_setjmp): Likewise.
2089         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
2090         * sysdeps/i386/bsd-setjmp.S: Real implementation.
2091         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
2092         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
2093         version.
2095 2001-01-16  Andreas Jaeger  <aj@suse.de>
2097         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
2098         misapplied last patch.
2100 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
2102         * stdlib/random.c (__initstate): Clean up a cast.
2103         (__setstate): Likewise.
2105         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
2106         syscall handling.  The generic Linux version should work.
2108 2001-01-15  Andreas Jaeger  <aj@suse.de>
2110         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
2112         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
2114 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
2116         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
2117         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
2118         New functions.
2119         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
2120         If number is 0, list all.
2121         (services_keys): Likewise.  Lookup aliases as well.
2122         (databases): New table.
2123         (build_doc): Prepare argp doc text with list of supported databases.
2124         (main): Change to table driven processing.
2126 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
2128         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
2129         functions.
2131 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
2133         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
2134         encode value which does not fit in the 32bit type.
2136 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
2138         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
2139         Change type of CTX to (struct sigcontext *).
2140         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
2141         (GET_FRAME): Likewise.
2142         (GET_STACK): Likewise.
2143         (SIGCONTEXT): Likewise. Add 2nd arg _code.
2144         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
2146 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
2148         * manual/texinfo.tex: Update from upstream version.
2150 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
2152         * inet/ether_ntoh.c (lookup_function): Change arguments to match
2153         _nss_*_getntohost_r prototype.
2154         (ether_ntohost): Pass errno pointer to NSS function.
2156 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2158         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
2159         (MAP_LOCKED): New definition.
2160         (MAP_NORESERVE): New definition.
2162 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
2164         * assert/assert.h: Use static_cast instead of C-style cast for C++.
2165         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
2167 2001-01-12  Ben Collins  <bcollins@debian.org>
2169         * sysdeps/generic/segfault.c (install_handler): Use access, not
2170         __access.
2172 2001-01-12  Andreas Jaeger  <aj@suse.de>
2174         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
2175         * posix/wordexp.c (do_parse_glob): Likewise.
2176         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2177         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
2178         * elf/dl-open.c (_dl_open): Likewise.
2179         * elf/dl-close.c (_dl_close): Likewise.
2180         * elf/dl-load.c (_dl_map_object): Likewise.
2181         * iconv/iconv_prog.c (process_fd): Likewise.
2182         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
2184         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
2185         of a zero-length array.
2187 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
2189         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
2190         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
2191         * stdlib/cxa_on_exit.c: Remove.
2192         * stdlib/Makefile: Revert last patch.
2193         * stdlib/Versions: Likewise.
2194         * include/stdlib.h: Likewise.
2195         * stdlib/exit.h: Revert last patch.
2196         (struct exit_function): Add second argument to cxa fn.
2197         * stdlib/exit.c: Revert last patch.
2198         (exit): Add hidden second argument.
2200 2001-01-11  H.J. Lu  <hjl@gnu.org>
2202         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
2203         * elf/dl-open.c (_dl_open): Here.
2204         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
2205         Make it static.
2206         (_dl_static_init): Initialize the variables every time when possible.
2207         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
2208         Undefine it first.
2210 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
2212         * stdlib/Makefile (routines): Add cxa_on_exit.
2213         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
2214         * stdlib/cxa_on_exit.c: New file.
2215         * include/stdlib.h: Add prototype for __cxa_on_exit.
2216         * stdlib/exit.c: Handle ef_cxa2.
2217         * stdlib/exit.h (enum): Add ef_cxa2.
2218         (struct exit_function): Add cxa2.
2220         * Versions.def [ld]: Add GLIBC_2.2.1.
2222 2001-01-10  H.J. Lu  <hjl@gnu.org>
2224         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
2225         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
2226         dl-static.
2227         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
2228         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
2229         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
2230         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
2231         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
2233 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
2235         * libio/stdio.h: Remove definition of off_t.
2237 2001-01-11  Andreas Jaeger  <aj@suse.de>
2239         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
2240         <mkuhn@acm.org>.
2242 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
2244         * sunrpc/Makefile (distribute): Add errqueue.h.
2246 2001-01-10  H.J. Lu  <hjl@gnu.org>
2248         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
2249         r9, r10 and r11 for language specific registers.
2251 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
2253         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
2254         UDP socket.
2255         (clntudp_call): Handle MSG_ERRQUEUE.
2256         * sysdeps/generic/errqueue.h: New file.
2257         * sysdeps/unix/sysv/linux/errqueue.h: New file.
2259 2001-01-10  H.J. Lu  <hjl@gnu.org>
2261         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
2263 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
2265         * CONFORMANCE: Update.
2267 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
2269         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
2270         Minimal cleanups.  Add assert to ensure memory handling is correct.
2272         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
2273         Reported by Ben Collins <bcollins@debian.org>.
2275         * time/strftime.c (my_strftime): Mark previous GNU extensions
2276         which are now in C99 as such.
2278 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
2280         * elf/rtld.c (process_envvars): Place output files for profiling
2281         in SUID binaries in /var/profile.
2283         * elf/dl-load.c (_dl_map_object): Don't look in cache for
2284         preloading in SUID binaries.
2286         * elf/dl-profile.c (_dl_start_profile): Open the output file with
2287         O_NOFOLLOW if possible.
2289         * include/stdlib.h: Add __posix_openpt declaration.
2290         * stdlib/stdlib.h: Add posix_openpt declaration.
2291         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
2292         * sysdeps/generic/getpt.c: Define posix_openpt.
2293         * sysdeps/unix/bsd/getpt.c: Likewise.
2294         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
2296         * time/Makefile (tests): Add tst-mktime.
2297         * time/tst-mktime.c: New file.
2299         * posix/tst-dir.c (main): One more mkdir() test.
2301         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
2302         Remove getpagesize syscall.  We assume that the pagesize is always
2303         determined from the auxiliary vector.
2305         * intl/dcigettext.c: Fix a few warnings.
2306         Patch by Bruno Haible <haible@ilog.fr>.
2308 2001-01-08  Andreas Jaeger  <aj@suse.de>
2310         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
2311         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2313 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
2315         * sysdeps/generic/segfault.c (install_handler): Check output file
2316         name with access().
2318         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
2319         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
2321         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
2323         * malloc/memusage.c (me): Use access() to determine whether we
2324         should write the output file or not.
2326         * libio/bits/stdio.h (printf): Define macro to map printf call to
2327         fprintf which gcc can optimize.
2328         * stdio-common/printf.c: Undefine printf.
2330 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
2332         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
2333         patch.  We must use unsigned int for l member of union.
2335         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
2336         _dl_aux_init for shared libraries.
2338         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
2339         * sysdeps/gnu/glob64.c: ...here.  New file.
2341 2001-01-07  Ben Collins  <bcollins@debian.org>
2343         * manual/examples/longopt.c: Make the "struct option" a little
2344         more like it should be, adding usage of required_argument,
2345         noargument and such, and also setting the options string right.
2347         * manual/sysinfo.texi (Load Average): New section, documents
2348         getloadavg().
2350 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
2352         * version.h (VERSION): Bump to 2.2.1.
2354         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
2355         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
2356         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
2357         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
2358         * Makefile (distribute): Add include/libc-internal.h.
2359         * libio/Makefile (distribute): Avoid overwriting.
2361         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
2362         buffer and table handling.
2364 2001-01-05  H.J. Lu  <hjl@gnu.org>
2366         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
2367         vector checking to ...
2368         (_dl_aux_init): Here. New function. Defined only if
2369         HAVE_AUX_VECTOR is defined.
2371         * sysdeps/generic/libc-start.c (__libc_start_main): Call
2372         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
2374         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
2375         _dl_aux_init.
2377         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
2378         (HAVE_AUX_VECTOR): Defined.
2379         (_dl_aux_init): Declared.
2381 2001-01-05  Ben Collins  <bcollins@debian.org>
2383         * manual/string.texi (Finding Tokens in a String): Document XPG
2384         basename() and dirname(), as well as GNU basename().
2386 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
2388         * Makeconfig (preprocess-version): Replace -traditional with
2389         -x assembler-with-cpp.
2391 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
2393         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
2394         for GCC 2.97 or later.
2396 2001-01-05  Ben Collins  <bcollins@debian.org>
2398         * manual/stdio.texi (getline): Clarify the return value in the
2399         case of EOF being reached before a newline.
2401 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
2403         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
2404         FALSE otherwise.
2405         (pmap_set, pmap_unset): Check __get_myaddress return value.
2407 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
2409         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
2410         (struct ether_addr): Declare ether_addr_octet member as
2411         `u_int8_t'.  Add __attribute__ ((__packed__)).
2413 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
2415         * sysdeps/mach/hurd/readdir64.c: New file.
2416         * sysdeps/mach/hurd/readdir64_r.c: New file.
2418 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
2420         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
2421         `struct statfs' and `struct statvfs' being identical.
2422         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
2424 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
2426         * sysdeps/mach/hurd/fstatfs64.c: New file.
2427         * sysdeps/mach/hurd/fstatvfs64.c: New file.
2428         * sysdeps/mach/hurd/statfs64.c: New file.
2429         * sysdeps/mach/hurd/statvfs64.c: New file.
2430         * sysdeps/mach/hurd/statfsconv.c: New file.
2431         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
2433 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
2435         * iconv/skeleton.c: Reset outbuf for next round of the loop.
2436         Reported by Owen Taylor <otaylor@redhat.com>.
2437         * iconv/Makefile (tests): Add tst-iconv3.
2438         * iconv/tst-iconv3.c: New file.
2440         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
2441         * iconvdata/ibm933.c: Likewise.
2442         * iconvdata/ibm935.c: Likewise.
2443         * iconvdata/ibm937.c: Likewise.
2444         * iconvdata/ibm939.c: Likewise.
2445         * iconvdata/ibm930.h: Adjust single byte table for optimization.
2446         * iconvdata/ibm933.h: Likewise.
2447         * iconvdata/ibm935.h: Likewise.
2448         * iconvdata/ibm939.h: Likewise.
2450         * iconvdata/testdata/IBM930: Add misssing SI.
2451         * iconvdata/testdata/IBM933: Likewise.
2452         * iconvdata/testdata/IBM935: Likewise.
2453         * iconvdata/testdata/IBM937: Likewise.
2454         * iconvdata/testdata/IBM939: Likewise.
2456 2001-01-06  Andreas Jaeger  <aj@suse.de>
2458         * configure.in: Check for old add-ons that shouldn't be used with
2459         current glibc anymore.
2461 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
2463         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
2464         instead of -1 on failure.  Don't forget to copy file name into
2465         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
2466         of the directory.
2468 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
2470         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
2471         copy st_atime member.
2473 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
2475         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
2476         for searches from the root directory.
2477         Reported by loris <loris@iol.it> [PR libc/1991].
2478         * io/Makefile (tests): Add bug-ftw1.
2479         * io/bug-ftw1.c: New file.
2481         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
2482         if it is not available.  Instead use it only if it is available.
2483         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
2485         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
2486         overflowing output buffer.
2487         (internal_ucs4_loop_unaligned): Likewise.
2488         (ucs4_internal_loop): Likewise.
2489         (ucs4_internal_loop_unaligned): Likewise.
2490         (internal_ucs4le_loop): Likewise.
2491         (internal_ucs4le_loop_unaligned): Likewise.
2492         (ucs4le_internal_loop): Likewise.
2493         (ucs4le_internal_loop_unaligned): Likewise.
2494         Reported by Owen Taylor <otaylor@redhat.com>.
2495         * iconv/Makefile (tests): Add tst-iconv2.
2496         * iconv/tst-iconv2.c: New file.
2498 2001-01-04  H.J. Lu  <hjl@gnu.org>
2500         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
2501         (_dl_clktck): Declared.
2502         (non_dynamic_init): Take 3 arguments.
2503         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
2505 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
2507         Finish implementation of plural form handling.
2508         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
2509         'domainname'.  Remove 'plindex' field. Add 'domain' and
2510         'translation_length' fields.
2511         (transcmp): Don't compare 'plindex' fields.
2512         (plural_lookup): New function.
2513         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
2514         plural_eval before the translation and its catalog file have been
2515         found. Remove plindex from cache key.  Add 'translation_length' and
2516         'domain' to cache result.
2517         (_nl_find_msg): Remove index argument, return length of translation
2518         to the caller instead.  Weaken comparison of string lengths, to account
2519         for plural entries.  Call iconv() on the entire result string, not
2520         only on the portion needed so far.
2521         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
2522         argument.
2523         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
2525 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
2527         * intl/plural.y (yylex): Minimal improvement in number scanner.
2529 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
2531         * intl/plural.y: Include config.h. Needed to define 'inline' away for
2532         C compilers that don't support it.
2533         (yylex): Don't use gcc specific case range syntax.
2534         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
2535         compilers.
2537 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
2539         * intl/finddomain.c: Remove unneeded includes.
2541 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
2543         * intl/localealias.c (memcpy): Return first argument, just like the
2544         real memcpy function does.
2545         * intl/bindtextdom.c (memcpy): Likewise.
2546         * intl/finddomain.c (memcpy): Likewise.
2547         * intl/l10nflist.c (memcpy): Likewise.
2548         * intl/textdomain.c (memcpy): Likewise.
2549         From Paul Eggert <eggert@twinsun.com>.
2551 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
2553         * resolv/resolv.h (struct __res_state): Add nsinit field.
2554         * resolv/res_send.c (res_nsend): Use it instead of nscount.
2555         * resolv/res_init.c (__res_vinit): Initialize it.
2556         (res_nclose): Clear it instead of nscount.
2558 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
2560         * malloc/mtrace.pl: Fix matching of addresses.
2561         Patch by Aharon Robbins <arnold@skeeve.com>.
2563         * Versions.def (ld): Add GLIBC_2.2.
2565         * catgets/gencat.c: Copyright 2001.
2566         * csu/version.c: Likewise.
2567         * debug/catchsegv.sh: Likewise.
2568         * debug/xtrace.sh: Likewise.
2569         * elf/ldconfig.c: Likewise.
2570         * elf/sprof.c: Likewise.
2571         * iconv/iconv_prog.c: Likewise.
2572         * locale/locale.c: Likewise.
2573         * locale/localedef.c: Likewise.
2574         * malloc/memusage.sh: Likewise.
2575         * malloc/mtrace.pl: Likewise.
2576         * nscd/nscd.c: Likewise.
2577         * posix/getconf.c: Likewise.
2579 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
2581         * include/stdio.h: Only provide __getwc_unlocked prototype if
2582         USE_IN_LIBIO is defined.
2584 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2586         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
2587         handling.
2589 2001-01-03  Andreas Schwab  <schwab@suse.de>
2591         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
2592         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
2594         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
2595         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
2596         strtoull alias.
2597         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
2598         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
2599         wcstoull alias.
2601         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
2602         directory.
2603         * sysdeps/generic/strtol_l.c: Likewise.
2604         * sysdeps/generic/strtoul_l.c: Likewise.
2605         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
2607         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
2608         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
2609         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
2610         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
2612 2001-01-04  Andreas Jaeger  <aj@suse.de>
2614         * nss/nsswitch.c: Include files for missing prototypes, remove
2615         buggy declaration of prototypes.
2617 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2619         * resolv/Versions: Fix bracing.
2620         * sysdeps/powerpc/soft-fp/Versions: Likewise.
2621         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
2623 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2625         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
2627 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
2629         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
2630         Suggested by Minko Markov <mmarkov@home.com>.
2632 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2634         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
2635         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
2636         the failing symbol.
2637         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
2639 2001-01-02  Ben Collins  <bcollins@debian.org>
2641         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
2642         if TZ is not set and TZDEFAULT is not present.
2644 2001-01-01  Ben Collins  <bcollins@debian.org>
2646         * string/strings.h: Make sure we declare our functions even if
2647         string.h is already included, based on whether or not __USE_BSD is
2648         defined.
2650 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
2652         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
2653         other dlopen() and dlsym().
2654         Based on a patch by Ben Collins <bcollins@debian.org>.
2656 2001-01-02  Andreas Jaeger  <aj@suse.de>
2658         * dlfcn/errmsg1.c (main): Call dlerror initially.
2659         Reported by Ben Collins <bcollins@debian.org>.
2661 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
2663         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
2664         value is ignored if the selected locale is the C locale.
2665         * intl/tst-gettext.c: Set locale for above change.
2666         * intl/tst-translit.c: Likewise.
2668 2001-01-02  Andreas Jaeger  <aj@suse.de>
2670         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
2671         (_IO_switch_to_wget_mode): Likewise.
2672         (_IO_sputbackwc): Likewise.
2673         (_IO_sungetwc): Use wint_t for result.
2675         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
2677         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
2678         signedness.
2680         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
2681         to (int) to avoid warnings.
2682         * stdio-common/printf_fp.c (putc): Likewise.
2683         * stdio-common/printf_size.c (putc): Likewise.
2685         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
2686         constant unsigned.
2688 2001-01-01  Andreas Jaeger  <aj@suse.de>
2690         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
2692 2000-12-31  Andreas Jaeger  <aj@suse.de>
2694         * include/libc-internal.h: Add prototype for __libc_freeres.
2696         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
2697         for prototypes, remove redundant prototypes.
2698         * gmon/gmon.c: Likewise.
2699         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
2700         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
2701         * malloc/mtrace.c: Likewise.
2703         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
2704         prototypes.
2705         * elf/soinit.c: Likewise.
2706         * sysdeps/generic/prof-freq.c: Likewise.
2707         * sysdeps/mach/hurd/profil.c: Likewise.
2708         * debug/noophooks.c: Likewise.
2709         * debug/pcprofile.c: Likewise.
2710         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2711         * sysdeps/generic/get_clockfreq.c: Likewise.
2712         * malloc/set-freeres.c: Likewise.
2714         * locale/localeinfo.h: Add internal prototypes.
2716         * elf/rtld.c (dl_main): Fix prototype.
2718         * iconvdata/tst-table-to.c (main): Use return instead of exit to
2719         avoid warning.
2721         * nis/rpcsvc/yp_prot.h: Remove __P.
2722         * nis/rpcsvc/ypupd.h: Likewise.
2723         * nis/rpcsvc/yp.h: Likewise.
2725         * sunrpc/rpc_main.c: Add noreturn attributes.
2726         * sunrpc/rpc_scan.h: Likewise.
2728         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
2730         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
2732         * sunrpc/proto.h: Add noreturn attributes to error and crash.
2734         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
2736         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
2738         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
2740         * include/rpc/rpc_msg.h: Add prototypes for some functions.
2741         * include/rpc/auth.h: Likewise.
2742         * include/rpc/auth_des.h: Likewise.
2743         * include/rpc/clnt.h: Likewise.
2744         * include/rpc/rpc.h: Likewise.
2745         * include/rpc/svc.h: Likewise.
2746         * include/rpc/svc_auth.h: Likewise.
2748         * include/rpc/des_crypt.h: New file.
2750         * malloc/memusagestat.c (main): Use return instead of exit to
2751         avoid warning.
2752         * io/pwd.c (main): Likewise.
2753         * iconvdata/tst-table-from.c (main): Likewise.
2754         * ctype/test_ctype.c (main): Likewise.
2755         * setjmp/tst-setjmp.c (main): Likewise.
2756         * signal/tst-signal.c (main): Likewise.
2757         * stdlib/tst-strtol.c (main): Likewise.
2758         * stdlib/tst-strtod.c (main): Likewise.
2759         * stdlib/tst-strtoll.c (main): Likewise.
2760         * stdlib/tst-xpg-basename.c (main): Likewise.
2761         * dirent/tst-seekdir.c (main): Likewise.
2762         * grp/testgrp.c (main): Likewise.
2763         * inet/test_ifindex.c (main): Likewise.
2764         * io/test-utime.c (main): Likewise.
2765         * posix/test-vfork.c (main): Likewise.
2766         * posix/testfnm.c (main): Likewise.
2767         * stdio-common/temptest.c (main): Likewise.
2768         * stdio-common/test_rdwr.c (main): Likewise.
2769         * stdio-common/tst-fileno.c (main): Likewise.
2770         * stdio-common/tst-sscanf.c (main): Likewise.
2771         * stdio-common/tstscanf.c (main): Likewise.
2772         * string/bug-strncat1.c (main): Likewise.
2773         * string/bug-strpbrk1.c (main): Likewise.
2774         * string/bug-strspn1.c (main): Likewise.
2775         * string/test-ffs.c (main): Likewise.
2776         * string/tst-inlcall.c (main): Likewise.
2777         * string/tst-svc.c (main): Likewise.
2778         * timezone/test-tz.c (main): Likewise.
2779         * wctype/test_wcfuncs.c (main): Likewise.
2780         * wctype/test_wctype.c (main): Likewise.
2782         * stdlib/tst-random.c: Add attribute noreturn to fail.
2784 2000-12-28  Wolfram Gloger  <wg@malloc.de>
2786         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
2787         destination overlap.  Assume dest is always below source if
2788         overlapping.
2790 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
2792         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
2793         object was not yet initialized.
2795 2000-12-28  H.J. Lu  <hjl@gnu.org>
2797         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
2798         is always consistent even if its dependency is failed.
2800         * elf/dl-open.c (_dl_open): Increment the open count before
2801         calling _dl_close () in case of failure.
2803         * elf/neededtest4.c: New file.
2804         * elf/neededobj5.c: New file.
2805         * elf/neededobj6.c: New file.
2807         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
2808         (tests): Add neededtest4.
2809         (modules-names): Add neededobj5 and neededobj6.
2810         ($(objpfx)neededobj6.so): New target.
2811         ($(objpfx)neededtest4): New target.
2812         ($(objpfx)neededtest4.out): New target.
2814 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
2816         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
2817         * stdlib/monetary.h: Add strfmon format attributes.
2819 2000-12-28  Roland McGrath  <roland@frob.com>
2821         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
2822         __mempcpy does it for us.
2824 2000-12-28  Andreas Jaeger  <aj@suse.de>
2826         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
2828         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
2829         __new_setrlimit.
2831         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
2832         __old_getrlimit64.
2834         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
2835         __new_getrlimit.
2837         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
2838         __chown_is_lchown and __real_chown.
2840         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
2841         _dl_reloc_bad_type.
2843         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
2844         up GCC's warning about "deprecated use of label at end of compound
2845         statement."
2846         * sunrpc/rpc_cout.c (emit_inline): Likewise.
2848         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
2849         prototypes.
2850         Remove struct bb and __bb_head since those are declared by
2851         sys/gmon.h.
2853 2000-12-22  Ben Collins  <bcollins@debian.org>
2855         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
2857         * manual/argp.texi: Document argp_domain as part of struct argp.
2859 2000-12-28  Andreas Jaeger  <aj@suse.de>
2861         * catgets/Makefile (generated): Add sample.SJIS.cat.
2863         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
2865         * elf/dl-minimal.c: Add prototypes.
2867         * include/locale.h: Add internal prototypes.
2868         * include/sys/gmon.h: Likewise.
2870         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
2872 2000-12-27  Ben Collins  <bcollins@debian.org>
2874         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
2875         when reallocating the error strings.
2876         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
2878 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
2880         * dlfcn/Makefile (tests): Add errmsg1.
2881         (modules-names): Add errmsg1mod.
2882         Add rules to run errmsg1.
2883         * dlfcn/errmsg1.c: New file.
2884         * dlfcn/errmsg1mod.c: New file.
2886         * dlfcn/dlerror.c (dlerror): Always create output string which
2887         includes object file name.
2889         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
2890         if we would go through it only once.
2891         Patch by Rick Gorton <rick.gorton@api-networks.com>.
2893         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
2894         Patch by Richard Henderson <rth@redhat.com>.
2896 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
2898         * malloc/malloc.c (memmove): Add prototypes.
2899         (MALLOC_MEMMOVE): Define.
2900         (chunk_realloc): Use it instead of MALLOC_COPY if source and
2901         destination might overlap.
2903 2000-12-27  Andreas Jaeger  <aj@suse.de>
2905         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
2906         function.
2907         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2908         * locale/programs/locale.c (show_locale_vars): Likewise.
2909         (show_info): Likewise.
2910         * locale/programs/ld-collate.c (collate_output): Likewise.
2911         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2912         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2913         * stdlib/rpmatch.c (rpmatch): Likewise.
2915         * setjmp/tst-setjmp.c: Make local functions static.
2916         * setjmp/jmpbug.c: Likewise.
2917         * signal/tst-signal.c: Likewise.
2918         * stdio-common/tfformat.c: Likewise.
2919         * string/tst-svc.c: Likewise.
2920         * time/clocktest.c: Likewise.
2921         * time/tst-getdate.c: Likewise.
2922         * dirent/list.c: Likewise.
2923         * dirent/opendir-tst1.c: Likewise.
2924         * posix/runtests.c: Likewise.
2925         * posix/tst-getaddrinfo.c: Likewise.
2926         * posix/tst-chmod.c: Likewise.
2927         * posix/wordexp-test.c: Likewise.
2928         * misc/tst-efgcvt.c: Likewise.
2929         * timezone/tst-timezone.c: Likewise.
2930         * rt/tst-clock.c: Likewise.
2931         * rt/tst-shm.c: Likewise.
2932         * rt/tst-aio2.c: Likewise.
2933         * rt/tst-aio3.c: Likewise.
2934         * rt/tst-aio4.c: Likewise.
2935         * rt/tst-aio5.c: Likewise.
2937         * dlfcn/failtest.c: Add prototype for foo.
2939         * dlfcn/glrefmain.c: Add prototype for do_test.
2941         * dlfcn/tst-dladdr.c: Add prototype for do_test.
2943         * string/test-ffs.c (main): Add prototype for nested function.
2945         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
2947         * nss/XXX-lookup.c: Add prototype to shut up GCC.
2949         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
2950         setetherent prototype.
2951         Add internal interfaces.
2953         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
2954         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
2956         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
2958         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
2960         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
2961         prototypes, remove struct etherent since it's declared in ether.h.
2962         Fix ntohost declaration.
2964         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
2966         * include/getopt.h: Add internal interfaces.
2967         * include/termios.h: Likewise.
2968         * include/resolv.h: Likewise.
2969         * include/netdb.h: Likewise.
2970         * include/grp.h: Likewise.
2971         * include/pwd.h: Likewise.
2972         * include/shadow.h: Likewise.
2973         * include/rpc/netdb.h: Likewise.
2974         * include/setjmp.h: Likewise.
2976         * include/stdio.h: Add prototypes for compatibility functions.
2977         * include/grp.h: Likewise.
2978         * include/pwd.h: Likewise.
2979         * include/shadow.h: Likewise.
2981         * include/fenv.h: Define internal interfaces.
2983 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
2985         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
2986         argument case separately.
2987         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
2989 2000-12-27  Andreas Jaeger  <aj@suse.de>
2991         * include/sys/wait.h: Add some prototypes.
2992         * Rules (dummy.c): Create also prototype to shut up GCC.
2994 2000-12-27  Andreas Jaeger  <aj@suse.de>
2996         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
2997         it's not needed at the moment.
2998         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
2999         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
3001 2000-12-26  Andreas Jaeger  <aj@suse.de>
3003         * libio/getc_u.c: Include stdio.h via system path to get internal
3004         prototypes.
3005         * libio/getwc_u.c: Likewise.
3007         * stdlib/strfmon.c: Fix prototype of __printf_fp.
3009         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
3010         __printf_fp prototypes to ...
3011         * include/printf.h: ...here.
3013         * include/stdio.h: Add some internal prototypes to shut up GCC.
3014         * include/stdlib.h: Likewise.
3016         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
3017         declaration.
3019         * include/signal.h: Add prototypes for internal sigpause
3020         interfaces.
3022 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
3024         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
3025         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
3027         * string/Makefile (tests): Add tst-bswap.
3028         * string/tst-bswap.c: New file.
3030 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
3032         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
3034 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
3036         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
3037         Patch by Ed Connell <Ed.Connell@sas.com>.
3039 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
3041         * locale/iso-639.def: Correct one entry.  Add two missing entries.
3043         * locale/iso-4217.def: Change entry for Eritrea.
3044         Reported by Daniel Yacob <yacob@geez.org>.
3046 2000-12-23  Ben Collins  <bcollins@debian.org>
3048         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
3049         description.
3051         * manual/stdio.texi (Dynamic Output): Document the return value of
3052         asprintf.  Also make the asprintf/snprintf examples a little
3053         better (check for some error returns).
3055 2000-12-22  Andreas Jaeger  <aj@suse.de>
3057         * include/stdio.h: Add __ftrylockfile prototype.
3059 2000-12-21  H.J. Lu  <hjl@gnu.org>
3061         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
3062         Make sign_exponent element signed.
3064         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
3065         Fix a typo.
3067         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
3069 2000-12-21  Andreas Jaeger  <aj@suse.de>
3071         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
3072         * inet/ether_hton.c: Likewise
3073         * inet/ether_ntoh.c: Likewise.
3075         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
3076         declaration to match prototype.
3078         * include/netinet/ether.h (struct etherent): Declare here so that
3079         all implementations use the same struct.
3081         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
3082         prototypes.
3083         (struct ether): Removed.
3084         Use struct etherent instead of ether everywhere.
3086         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
3088         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
3090         * sunrpc/publickey.c: Include auth_des.h for prototypes.
3092 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
3094         * math/test-misc.c: Add more tests for nextafter functions.
3096         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
3097         normal correctly.  Correct test for sign.
3098         Based on a patch by HJ Lu.
3100 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
3102         * Makeconfig (preprocess-version): Add -traditional to gcc call.
3103         Cleanup sed calls.
3105 2000-12-19  Andreas Jaeger  <aj@suse.de>
3107         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
3109         * nis/nis_intern.h: Add prototype for __do_niscall3.
3111         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
3112         match prototype.
3114         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
3116         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
3118         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
3120 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
3122         * math/test-misc.c: Add more tests for nextafter.
3123         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
3124         * sysdeps/ieee754/ldbl-96/math_ldbl.h
3125         (ieee_long_double_shape_type): Make sign_exponent element signed.
3127         * manual/message.texi: Add Estonian to plural overview list.
3128         Correct rule for Slavic languages.
3129         Patch by Stanislav Brabec <utx@penguin.cz>.
3131         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
3133 2000-12-18  Andreas Jaeger  <aj@suse.de>
3135         * test-skeleton.c: Use temp_name_list instead of name_list to
3136         avoid collision with name_list from inet/netgroup.h.
3138         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
3140         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
3141         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
3142         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
3143         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
3145         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
3146         declaration to match prototype.
3147         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
3148         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
3149         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
3150         Likewise.
3151         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
3152         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
3153         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
3154         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
3155         (_nss_nis_getservbyport_r): Likewise.
3156         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
3157         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
3158         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
3159         (_nss_nis_setnetent): Likewise
3160         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3161         (_nss_nis_endnetgrent): Likewise.
3162         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
3163         Likewise.
3164         (_nss_nisplus_setnetgrent): Likewise.
3165         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
3166         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
3167         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
3168         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
3169         Likewise.
3170         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
3171         Likewise.
3172         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
3173         Likewise.
3174         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
3175         Likewise.
3176         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
3177         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
3178         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
3179         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
3180         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
3181         (_nss_dns_getnetbyaddr_r): Likewise.
3183 2000-12-17  Andreas Jaeger  <aj@suse.de>
3185         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
3186         parameter.
3188         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
3189         unused attribute to shut up gcc warnings.
3191         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
3192         * sysdeps/generic/k_tanl.c: Likewise.
3193         * sysdeps/generic/k_cosl.c: Likewise.
3194         * sysdeps/generic/e_j0l.c: Likewise.
3195         * sysdeps/generic/e_j1l.c: Likewise.
3196         * sysdeps/generic/e_jnl.c: Likewise.
3197         * sysdeps/generic/e_lgammal_r.c: Likewise.
3199         * elf/vismain.c: Move prototypes for functions in vismod*.c to
3200         vismod.h.
3201         * elf/vismod.h: New file.
3202         * elf/Makefile (distribute): Add vismod.h.
3203         * elf/vismod1.c: Include vismod.h.
3204         * elf/vismod2.c: Likewise.
3205         * elf/vismod3.c: Likewise.
3207         * elf/constload3.c: Add prototype declarations to shut up gcc.
3208         * elf/failobj.c: Likewise.
3209         * elf/nodelmod3.c: Likewise.
3210         * elf/filtmod1.c: Likewise.
3211         * elf/filtmod2.c: Likewise.
3212         * elf/reldepmod1.c: Likewise.
3213         * elf/reldepmod2.c: Likewise.
3214         * elf/reldepmod3.c: Likewise.
3215         * elf/reldepmod4.c: Likewise.
3216         * elf/unload2dep.c: Likewise.
3217         * elf/unload2mod.c: Likewise.
3218         * elf/ltglobmod1.c: Likewise.
3219         * elf/pathoptobj.c: Likewise.
3220         * elf/neededobj1.c: Likewise.
3221         * elf/neededobj2.c: Likewise.
3222         * elf/neededobj3.c: Likewise.
3223         * elf/neededobj4.c: Likewise.
3224         * elf/nextmod1.c: Likewise.
3225         * elf/nextmod2.c: Likewise.
3227         * locale/programs/ld-collate.c (collate_finish): Don't use labels
3228         at end of compound statement.
3229         * locale/programs/locale.c (show_info): Likewise.
3230         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
3232 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
3234         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
3235         with a pointer not returned by obstack_ functions.
3237 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
3239         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
3240         version.
3241         (struct stat64): Likewise.
3242         Reported by Michael Keezer <mkeezer@redhat.com>.
3244         * timezone/asia: Update from tzdata2000h.
3245         * timezone/australasia: Likewise.
3246         * timezone/backward: Likewise.
3247         * timezone/europe: Likewise.
3248         * timezone/northamerica: Likewise.
3249         * timezone/southamerica: Likewise.
3250         * timezone/zone.tab: Likewise.
3252 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
3254         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
3255         and dir.stream is NULL, only free dir.content.
3256         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
3257         * io/ftwtest-sh: Test with --early-exit.
3259 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
3261         * misc/efgcvt.c (FCVT_MAXDIG): Define.
3262         (FCVT_BUFPTR): New variable.
3263         (fcvt): If fcvt_r returns -1 on the static short buffer,
3264         try to malloc a sufficiently large one and retry.
3265         (free_mem): New function.
3266         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
3267         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
3269 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
3271         * misc/dirname.c (dirname): Fix search for second to last slash.
3273 2000-12-13  Andreas Jaeger  <aj@suse.de>
3275         * misc/tst-dirname.c (main): Fix typo in test to really use
3276         the examples from Unix98.
3277         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3279 2000-12-09  H.J. Lu  <hjl@gnu.org>
3281         * sysdeps/ia64/fpu/s_fabs.S: New file.
3282         * sysdeps/ia64/fpu/s_fabsf.S: New file.
3283         * sysdeps/ia64/fpu/s_fabsl.S: New file.
3285 2000-12-15  Andreas Jaeger  <aj@suse.de>
3287         * stdio-common/scanf9.c (main): Reformat and change to avoid
3288         warnings.
3290         * stdio-common/tstdiomisc.c: Make local functions static.
3291         * stdio-common/tst-printf.c: Likewise.
3293         * elf/constload2.c: Add prototype declarations to shut up gcc.
3294         * elf/dep1.c: Likewise.
3295         * elf/dep2.c: Likewise.
3296         * elf/dep3.c: Likewise.
3297         * elf/dep4.c: Likewise.
3298         * elf/ltglobmod2.c: Likewise.
3300         * libio/fmemopen.c: Make local functions static.
3302         * elf/Makefile (distribute): Added testobj.h.
3304         * elf/testobj.h: New file.
3306         * elf/testobj1.c: Include testobj.h and move prototype
3307         declarations to testobj.h.
3308         * elf/testobj2.c: Likewise.
3309         * elf/testobj3.c: Likewise.
3310         * elf/testobj4.c: Likewise.
3311         * elf/testobj5.c: Likewise.
3312         * elf/testobj6.c: Likewise.
3313         * elf/testobj1_1.c: Likewise.
3314         * elf/preloadtest.c: Likewise.
3316 2000-12-15  Ben Collins  <bcollins@debian.org>
3318         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
3319         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
3321 2000-12-14  H.J. Lu  <hjl@gnu.org>
3323         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
3324         field in a float is 8 bits, not 11 bits.
3326 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
3328         * math/test-misc.c (main): Adjust m for IEEE quad long double.
3330 2000-12-13  Andreas Jaeger  <aj@suse.de>
3332         * manual/message.texi (Using gettextized software): Fix typo.
3334         * manual/charset.texi (Converting a Character): Fix mbstouwcs
3335         program to compile.
3336         Patch by Martin Buchholz <martin@xemacs.org>.
3338         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
3339         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3341 2000-12-11  Andreas Jaeger  <aj@suse.de>
3343         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
3344         kernel_sigset_t and use it.
3345         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
3347 2000-12-10  Richard Henderson  <rth@redhat.com>
3349         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
3350         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
3351         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
3353 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
3355         * sysdeps/alpha/htonl.S: Fix a typo.
3357 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
3359         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
3361 2000-12-10  Andreas Jaeger  <aj@suse.de>
3363         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
3364         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
3365         Drepper <drepper@redhat.com>.
3367 2000-12-09  Andreas Jaeger  <aj@suse.de>
3369         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
3371         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
3372         generic version.
3373         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
3375         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
3376         string.
3378         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
3379         format string.
3381         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
3382         * nscd/connections.c (handle_request): Likewise.
3383         * nscd/pwdcache.c (addpwbyname): Likewise.
3384         * nscd/grpcache.c (addgrbyname): Likewise.
3386         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
3388 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
3390         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
3392         * Makeconfig (default_cflags): Make -O2 the default for stable
3393         releases.
3395 2000-12-08  H.J. Lu  <hjl@gnu.org>
3397         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
3398         * sysdeps/ia64/fpu/s_isinf.S: This.
3399         Add a .pred.rel.mutex note to avoid false report.
3401         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
3402         * sysdeps/ia64/fpu/s_isnan.S: This.
3404         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
3405         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
3406         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
3407         * sysdeps/ia64/fpu/s_isinff.S: New file.
3408         * sysdeps/ia64/fpu/s_isinfl.S: New file.
3409         * sysdeps/ia64/fpu/s_isnanf.S: New file.
3410         * sysdeps/ia64/fpu/s_isnanl.S: New file.
3411         * sysdeps/ia64/fpu/s_finite.S: New file.
3412         * sysdeps/ia64/fpu/s_finitef.S: New file.
3413         * sysdeps/ia64/fpu/s_finitel.S: New file.
3414         * sysdeps/ia64/fpu/s_signbit.S: New file.
3415         * sysdeps/ia64/fpu/s_signbitf.S: New file.
3416         * sysdeps/ia64/fpu/s_signbitl.S: New file.
3417         * sysdeps/ia64/fpu/s_copysign.S: New file.
3418         * sysdeps/ia64/fpu/s_copysignf.S: New file.
3419         * sysdeps/ia64/fpu/s_copysignl.S: New file.
3421 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
3423         * math/libm-test.inc (main): Fix typos in messages.
3425         * string/stratcliff.c: Add test for rawmemchr.
3427 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
3429         * elf/dl-open.c (_dl_open): If objname points right after errstring,
3430         allocate it together with errstring using alloca.
3431         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
3432         to "", because it might point to local stack.
3434 2000-12-05  H.J. Lu  <hjl@gnu.org>
3436         * nss/Makefile (routines): Add getnssent and getnssent_r.
3437         * nss/nsswitch.h (__nss_setent): New internal NSS function.
3438         (__nss_endent): Likewise.
3439         (__nss_getent_r): Likewise.
3440         (__nss_getent): Likewise.
3441         * nss/getnssent_r.c: New file.
3442         * nss/getnssent.c: New file.
3443         * nss/getXXent.c (H_ERRNO_VAR): Updated.
3444         (GETFUNC_NAME): Updated to call __nss_getent ().
3445         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
3446         (STAYOPEN_TMPVAR): Updated.
3447         (STAYOPEN_VAR): Updated.
3448         (SETFUNC_NAME): Updated to call __nss_setent ().
3449         (ENDFUNC_NAME): Updated to call __nss_endent ().
3450         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
3452 2000-12-08  Andreas Jaeger  <aj@suse.de>
3454         * nscd/dbg_log.h (dbg_log): Correct attribute.
3456 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
3458         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
3459         cp + len.  Compute where from dirname.
3460         Reported by <jreiser@BitWagon.com>.
3462 2000-12-08  Richard Henderson  <rth@twiddle.net>
3464         * sysdeps/alpha/_mcount.S: Fix typo.
3465         * sysdeps/alpha/strncpy.S: Likewise.
3467         * sysdeps/alpha/alphaev6/Implies: New file.
3468         * sysdeps/alpha/alphaev67/Implies: New file.
3469         * sysdeps/alpha/alphaev67/ffs.S: New file.
3470         * sysdeps/alpha/alphaev67/ffsll.S: New file.
3471         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
3472         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
3473         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
3474         * sysdeps/alpha/rawmemchr.S: New file.
3475         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
3476         * sysdeps/alpha/strcpy.S: Likewise.
3478         From GMP 3.1.1:
3479         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
3481         From rick.gorton@alpha-processor.com:
3482         * sysdeps/alpha/alphaev6/memchr.S: New file.
3483         * sysdeps/alpha/alphaev6/memcpy.S: New file.
3484         * sysdeps/alpha/alphaev6/memset.S: New file.
3485         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
3486         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
3487         * sysdeps/alpha/alphaev67/strcat.S: New file.
3488         * sysdeps/alpha/alphaev67/strchr.S: New file.
3489         * sysdeps/alpha/alphaev67/strlen.S: New file.
3490         * sysdeps/alpha/alphaev67/strncat.S: New file.
3491         * sysdeps/alpha/htonl.S: Use a shorter sequence.
3493 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
3495         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
3496         Reported by <pspencer@fields.utoronto.ca>.
3498 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
3500         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
3501         Pointed out by Hans Boehm.
3503 2000-12-07  H.J. Lu  <hjl@gnu.org>
3505         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
3507 2000-12-07  Andreas Jaeger  <aj@suse.de>
3509         * misc/error.c: Add format attributes for __error and __error_at_line.
3511         * nscd/dbg_log.h: Add format attribute.
3513 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
3515         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
3516         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3518 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
3520         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
3522 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
3524         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
3525         (sysdep_routines): Add uitrunc.
3526         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
3527         Patches by Michael Keezer <mkeezer@redhat.com>.
3529 2000-12-06  Roland McGrath  <roland@frob.com>
3531         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
3532         argument data, since it will be used to copy out too (for INOUT).
3533         Reported by Marcus Brinkmann <marcus@gnu.org>.
3535         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
3536         (__ioctl): Use uintptr_t instead of unsigned long int.
3538 2000-12-06  Jim Wilson  <wilson@redhat.com>
3540         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
3542 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
3544         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
3545         x.5 rounding correctly.
3547 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
3549         * stdio-common/perror.c (perror): Conditionalize code dealing with
3550         wide-oriented streams on USE_IN_LIBIO.
3552 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
3554         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
3555         as internal_function.
3557 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
3559         * sysdeps/alpha/elf/start.S (__data_start): Define.
3561 2000-12-05  H.J. Lu  <hjl@gnu.org>
3563         * nss/getXXent_r.c (setup): Change the return type to int.
3565 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
3567         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
3568         (sysdep_routines): Add restf and savef.
3569         * sysdeps/unix/sysv/aix/restf.c: New file.
3570         * sysdeps/unix/sysv/aix/savef.c: New file.
3571         Patches by Michael Keezer <mkeezer@redhat.com>.
3573         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
3574         if O_DIRECTORY is not defined.
3575         Patch by Michael Keezer <mkeezer@redhat.com>.
3577         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
3578         Patch by Michael Keezer <mkeezer@redhat.com>.
3580         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
3581         than 4 bytes in escape sequence.
3582         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3584 2000-12-05  Andreas Jaeger  <aj@suse.de>
3586         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
3587         set mips2.
3589         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
3591         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
3593         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
3594         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3596         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
3597         internal_function.
3598         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
3599         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
3601         * sysdeps/generic/dl-cache.c: Remove declaration of
3602         _dl_sysdep_read_whole_file.
3604         * elf/dl-load.c (_dl_map_object): Remove declaration of
3605         _dl_load_cache_lookup.
3607         * sysdeps/generic/ldsodefs.h: Add declarations of
3608         _dl_load_cache_lookup, _dl_unload_cache,
3609         _dl_sysdep_read_whole_file, _dl_sysdep_start and
3610         _dl_sysdep_start_cleanup.
3612         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
3613         now.
3615         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
3616         * sysdeps/generic/dl-environ.c: Likewise.
3618         * stdio-common/printf_fp.c: Include <gmp.h> instead of
3619         <stdlib/gmp.h>.
3620         * math/atest-exp.c: Likewise.
3621         * math/atest-exp2.c: Likewise.
3622         * math/atest-sincos.c: Likewise.
3623         * stdio-common/_itoa.c: Likewise.
3624         * stdio-common/_itowa.c: Likewise.
3626         * include/gmp.h: New file with internal prototypes.
3628         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
3629         here to...
3630         * include/setjmp.h: ...here.
3632         * locale/Makefile (routines): Remove codeset_name since it's not
3633         needed anywhere.
3635         * locale/codeset_name.c: Removed.
3637 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
3639         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
3641 2000-12-05  Andreas Jaeger  <aj@suse.de>
3643         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
3645 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3647         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
3648         available.
3650 2000-12-05  Andreas Jaeger  <aj@suse.de>
3652         * nss/test-netdb.c: Mark local functions as static to avoid
3653         warnings.
3654         (main): Use return to silence warning.
3656         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
3658         * stdio-common/test-popen.c: Mark local functions as static to
3659         avoid warnings.
3660         (main): Use return to silence warning.
3662         * stdlib/testsort.c (compare): Mark as static to avoid warning.
3664         * assert/test-assert.c: Mark local functions as static to avoid
3665         warnings.
3666         * assert/test-assert-perr.c: Likewise.
3668         * math/libm-test.inc (main): Use return to silence warnings.
3670 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
3672         * math/fenv.h: Fix typo in comment.
3674         * math/test-misc.c (main): Add a few more over and underflow tests
3675         for scalb.
3677         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
3678         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3679         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3680         * math/w_scalb.c: Don't use matherr except in SVID mode.
3681         * math/w_scalbf.c: Likewise.
3682         * math/w_scalbl.c: Likewise.
3683         * math/test-misc.c: Add test for NaN and scalbl.
3684         Reported by Fred J. Tydeman <tydeman@tybor.com>.
3686 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
3688         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
3689         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
3690         * include/libc-symbols.h (strong_alias): Define special version
3691         for HAVE_ASM_GLOBAL_DOT_NAME.
3692         (weak_alias): Likewise.
3693         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
3694         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
3695         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
3696         getutxline, pututxline, and utmpxname.
3697         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
3698         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
3699         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
3700         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
3701         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
3702         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
3703         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
3704         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
3705         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
3706         Patches by Michael Keezer <mkeezer@redhat.com>.
3708 2000-12-04  H.J. Lu  <hjl@gnu.org>
3710         * configure.in: Change --with-oldest-abi=ABI to
3711         --enable-oldest-abi=ABI.
3713 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
3715         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
3716         fwprintf instead of fprintf.
3718 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
3720         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
3721         DECIMAL_DIG definitions.
3722         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
3723         * sysdeps/generic/bits/mathdef.h: Likewise
3724         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
3725         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
3726         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
3727         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
3728         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
3729         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
3731 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
3733         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
3735         * math/atest-exp.c: Mark local functions as static to avoid warnings.
3736         * math/atest-exp2.c: Likewise.
3737         * math/atest-sincos.c: Likewise.
3739         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
3740         Reported by Fred J. Tydeman <tydeman@tybor.com>.
3742         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
3743         the handling of denormalized numbers.
3745         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
3746         numbers on x86.
3747         * sysdeps/i386/fpu/fpclassifyl.c: New file.
3749         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
3750         pseudo denormal representation of LDBL_MIN.
3752         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
3753         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
3755         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
3756         * iconvdata/jis0208.c: Likewise.
3757         * iconvdata/jis0212.c: Likewise.
3758         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3760         * math/test-misc.c (main): More tests for frexp and some for
3761         fpclassify and isnormal.
3763         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
3764         test for subnormal.
3765         Reported by Fred J. Tydeman <tydeman@tybor.com>.
3767         * math/test-misc.c (main): Add tests for frexp.
3768         Reported by Fred J. Tydeman <tydeman@tybor.com>.
3769         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
3771 2000-12-02  H.J. Lu  <hjl@gnu.org>
3773         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
3774         '\0' to wcschr.
3776 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
3778         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
3779         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3780         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3782         * sysdeps/generic/glob.c: Adjust types of several variables to
3783         avoid warnings.
3785 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
3787         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
3789 2000-11-30  Roland McGrath  <roland@frob.com>
3791         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
3792         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
3793         allow multiple instances using the same function name in one file.
3795 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
3797         * configure.in: Correct test for pserver CVS access.
3799 2000-11-28  H.J. Lu  <hjl@gnu.org>
3801         * libio/libio.h: Remove extra "#if ... #endif".
3803 2000-11-29  H.J. Lu  <hjl@gnu.org>
3805         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
3807 2000-12-01  H.J. Lu  <hjl@gnu.org>
3809         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
3810         * nss/getXXent_r.c: Likewise.
3811         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3813 2000-11-30  H.J. Lu  <hjl@gnu.org>
3815         * scripts/abi-versions.awk (oldest_abi): New variable.
3816         Handle the oldest ABI supported.
3818         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
3819         for scripts/abi-versions.awk.
3821         * configure.in: Add --with-oldest-abi=ABI.
3822         * configure: Rebuild.
3824         * config.make.in (oldest-abi): New.
3826         * config.h.in (GLIBC_OLDEST_ABI): New.
3828         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
3830 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
3832         * locale/setlocale.c (setname): Free for all categories, not just
3833         LC_ALL.
3834         (setlocale): Store a copy of string passed by user, not the string
3835         itself.
3837 2000-11-30  Roland McGrath  <roland@frob.com>
3839         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
3840         rather than _hurd_fd_subinit, so it happens after it's safe to use
3841         libc facilities like malloc.
3843 2000-11-28  Andreas Jaeger  <aj@suse.de>
3845         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
3846         declaration, adjust declaration of __syscall_getdents to match
3847         kernel.
3849 2000-11-29  H.J. Lu  <hjl@gnu.org>
3851         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
3853 2000-11-29  Andreas Jaeger  <aj@suse.de>
3855         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
3857 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
3859         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
3860         * dlfcn/defaultmod2.c: Likewise.
3861         * dlfcn/dlopen.c: Likewise.
3862         * dlfcn/dlopenold.c: Likewise.
3863         * dlfcn/failtestmod.c: Likewise.
3864         * dlfcn/glreflib1.c: Likewise.
3865         * dlfcn/glreflib2.c: Likewise.
3866         * dlfcn/eval.c: Likewise.  Add attributes.
3868         * ctype/ctype-extn.c: Define isblank and not __isblank.
3870         * time/strftime.c: Add const where necessary to avoid warnings.
3871         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
3873 2000-11-22  Paul Eggert  <eggert@twinsun.com>
3875         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
3876         size of (size_t) -1; it's not portable.
3878 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
3880         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
3881         crappy i486 FPU.
3882         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
3884 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
3886         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
3888         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
3889         _mcount is required by profiled binaries.
3891         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
3892         * sysdeps/ia64/machine-gmon.h: ...here.
3894 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
3896         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
3897         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
3898         and ibm1129.h.
3899         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
3900         IBM1129.
3901         * iconvdata/ibm922.c: New file.
3902         * iconvdata/ibm922.h: New file.
3903         * iconvdata/ibm1124.c: New file.
3904         * iconvdata/ibm1124.h: New file.
3905         * iconvdata/ibm1129.c: New file.
3906         * iconvdata/ibm1129.h: New file.
3907         * iconvdata/testdata/IBM922: New file.
3908         * iconvdata/testdata/IBM922..UTF8: New file.
3909         * iconvdata/testdata/IBM1124: New file.
3910         * iconvdata/testdata/IBM1124..UTF8: New file.
3911         * iconvdata/testdata/IBM1129: New file.
3912         * iconvdata/testdata/IBM1129..UTF8: New file.
3914 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
3916         * catgets/gencat.c (normalize_line): Take extra parameter with escape
3917         character.  Change callers.
3918         (open_conversion): Determine mapping of 0x5c as wchar_t value.
3919         * catgets/Makefile: Add rules to build and run test-gencat.
3920         * catgets/sample.SJIS: New file.
3921         * catgets/test-gencat.c: New file.
3922         * catgets/test-gencat.sh: New file.
3923         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3925 2000-11-28  Andreas Jaeger  <aj@suse.de>
3927         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
3928         Linux version.
3930 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
3932         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
3934 2000-11-28  Andreas Jaeger  <aj@suse.de>
3936         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
3937         __flexarr.
3938         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
3939         Likewise.
3941 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
3943         * misc/getusershell.c: Make strings in okshells array const.
3944         * misc/regexp.c: Add const to cast to avoid warnings.
3945         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
3946         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
3947         __setresuid.
3948         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
3949         setresgid.
3950         * misc/error.c: Add prototypes for __error and __error_at_line.
3951         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
3952         statement to avoid warning.
3953         * test-skeleton.c: Mark timeout_handler with noreturn.
3954         * iconv/skeleton.c (get16u): Add const to cast.
3955         (get32u): Likewise.
3956         * iconvdata/gb18030.c: Likewise.
3957         * iconvdata/iso-2022-cn-ext.c: Likewise.
3958         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
3959         * iconvdata/big5.c: Likewise.
3960         * iconvdata/big5hkscs.c: Likewise.
3961         * iconvdata/iso_6937.c: Likewise.
3962         * iconvdata/iso_6937-2.c: Likewise.
3963         * iconvdata/t.61.c: Likewise.
3964         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
3965         * iconvdata/unicode.c: Likewise.
3966         * iconvdata/utf-16.c: Likewise.
3967         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
3968         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
3969         with little code shuffling.
3971         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
3972         the problems introduced when the user selects -O3.
3974         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
3975         * misc/sys/cdefs.h: Define __flexarr.
3976         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
3978         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
3979         * iconv/skeleton.c: Likewise.
3980         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
3981         * iconv/loop.c (get16): Add const to cast.
3982         (get32): Likewise.
3984 2000-11-27  Andreas Jaeger  <aj@suse.de>
3986         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
3987         to avoid warning.
3988         * login/programs/utmpdump.c (print_entry): Likewise.
3990 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
3992         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
3993         in a single asm as they may be used to access other stored
3994         registers.
3995         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3997 2000-11-27  Andreas Jaeger  <aj@suse.de>
3999         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
4000         * rt/tst-aio64.c: Likewise.
4002 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
4004         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
4005         for gencat run.
4006         (libc.cat): Likewise.
4007         * catgets/gencat.c: Implement handling of message catalogs encoded
4008         with stateful character sets.
4009         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4011 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
4013         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
4015         * inet/getnameinfo.c: Adjust casts to avoid warnings.
4016         * inet/rcmd.c: Likewise.
4017         * inet/ruserpass.c: Likewise.
4018         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
4019         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4020         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
4021         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
4022         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
4023         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
4024         * include/aliases.h: Add prototypes for internal __getalias* functions.
4025         * include/netdb.h: Add prototypes for __old_gethostent_r,
4026         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
4027         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
4028         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
4029         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
4030         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
4031         __old_getrpcbynumber_r, __old_getrpcent_r.
4033         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
4034         __getrpcent_r prototypes.
4036 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
4038         * string/strcoll.c: Add casts to avoid warnings.
4039         * string/strnlen.c: Likewise.
4040         * string/strxfrm.c: Likewise.
4041         * sysdeps/generic/_strerror.c: Likewise.
4042         * sysdeps/generic/memrchr.c: Likewise.
4043         * sysdeps/generic/strcasestr.c: Likewise.
4044         * sysdeps/generic/strstr.c: Likewise.
4046         * locale/weight.h (findidx): Add const to cast to avoid warning.
4048         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
4049         * elf/loadtest.c: Likewise.
4050         * elf/multiload.c: Likewise.
4051         * elf/next.c: Likewise.
4052         * elf/nodelete.c: Likewise.
4053         * elf/noload.c: Likewise.
4054         * elf/order.c: Likewise.
4055         * elf/origtest.c: Likewise.
4056         * elf/preloadtest.c: Likewise.
4057         * elf/restest1.c: Likewise.
4059         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
4060         parameter of asm must be in %ecx.
4062         * string/tester.c: Mark test functions as static to avoid warnings.
4064         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
4065         preserve value over different gconv-modules files.
4067 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
4069         * locale/findlocale.c: Add casts to avoid warnings.
4070         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
4071         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
4072         to avoid warnings.
4073         * misc/tsearch.c (const_node): New type.
4074         (trecurse): Correct casts to avoid warnings.
4075         (__twalk): Likewise.
4076         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
4077         LONG_BIT.
4079         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
4081         * test-skeleton.c: Mark local functions as static to avoid warnings.
4083 2000-11-23  H.J. Lu  <hjl@gnu.org>
4085         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
4086         support the background job.
4087         Fix a typo.
4089 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
4091         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
4092         has same names but lower cost.
4094 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
4096         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
4097         which never occur during bootstrap.
4098         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4100 2000-11-23  Andreas Jaeger  <aj@suse.de>
4102         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
4104         * nss/Versions: Remove _nss_files_getipnodebyname_r.
4106         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
4108 2000-11-18  Martin Buchholz  <martin@xemacs.org>
4110         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
4111         (called++) return;'
4113 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
4115         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
4117         * csu/abi-note.S: Correct comment for operating system number.
4119 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
4121         * Versions.def: Add GLIBC_2.2.1 for glibc.
4123 2000-11-22  Andreas Schwab  <schwab@suse.de>
4125         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
4126         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
4128 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
4130         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
4131         absolute time for pthread_cond_timedwait call.
4132         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
4134         * rt/Makefile (tests): Add tst-aio6.
4135         * rt/tst-aio6.c: New file.
4137 2000-11-23  Andreas Jaeger  <aj@suse.de>
4139         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
4141 2000-11-22  Andreas Jaeger  <aj@suse.de>
4143         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
4145 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4147         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
4149 2000-11-21  Andreas Schwab  <schwab@suse.de>
4151         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
4152         * sysdeps/arm/setjmp.S: Likewise.
4153         * sysdeps/arm/fpu/setjmp.S: Likewise.
4154         * sysdeps/i386/setjmp.S: Likewise.
4155         * sysdeps/i386/elf/setjmp.S: Likewise.
4156         * sysdeps/s390/setjmp.S: Likewise.
4157         * sysdeps/s390/elf/setjmp.S: Likewise.
4158         * sysdeps/sh/sh3/setjmp.S: Likewise.
4159         * sysdeps/sh/sh4/setjmp.S: Likewise.
4160         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
4161         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4162         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
4163         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
4165 2000-11-21  Andreas Jaeger  <aj@suse.de>
4167         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
4168         NORETURN, fix parameter list.
4170         * string/bug-strncat1.c (main): Fix typo.
4171         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
4173 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
4175         * configure.in: Add --enable-all-warnings.
4176         * config.make.in (all-warnings): New variable.
4177         * Makeconfig (+gccwarn): Define with many more warnings if
4178         all-warnings is yes.
4180 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
4182         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
4183         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
4184         * malloc/tst-valloc.c (main): Cast valloc return value to long.
4185         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
4186         * math/test-fpucw.c (main): Use %lx in format string, cast
4187         control words to long.
4188         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
4189         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
4190         large that it is unsigned warning.
4192         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
4193         it to long on sparc64.
4195 2000-11-20  Andreas Jaeger  <aj@suse.de>
4197         * nscd/nscd.h (termination_handler): Add noreturn attribute.
4198         (receiv_print_stats): Likewise.
4200         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
4202 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
4204         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
4206         * csu/gmon-start.c: Always have prototype for __gmon_start.
4207         * csu/version.c: Add prototypes for __libc_print_version and
4208         __libc_main.
4209         * iconv/gconv.c: Include gconv_int.h and gconv.h.
4210         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
4211         and __to_name.
4212         * iconv/gconv_builtin.h: Add ASCII module definitions.
4213         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
4214         (add_module): Add cast to avoid warning.  Rework construction of
4215         strings for new module.
4216         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
4217         (derivation_compare): Likewise.
4218         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
4219         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
4220         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
4221         (struct gconv_alias): Remove const from fromname and toname.
4222         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
4223         for loop functions.
4224         (internal_ucs4_loop): Use correct const-ness.
4225         (ucs4_internal_loop): Likewise.
4226         (internal_ucs4le_loop): Likewise.
4227         (ucs4le_internal_loop_single): Likewise.
4228         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
4229         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
4230         assignments appropriately.
4231         (struct known_trans): Remove const from fname.
4232         (trans_compare): Make s1 and s2 const.
4233         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
4234         avoid warning.
4235         * iconv/skeleton.c: Remove cast in calls of loop functions.
4236         * iconvdata/gconv-modules: Remove US-ASCII definitions.
4237         * iconvdata/iso646.c: Remove US_ASCII support.
4238         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
4239         * include/unistd.h: Add __libc_check_standard_fds prototype.
4240         * string/bits/string2.h (__mempcpy_args): Add const to casts.
4241         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
4242         _fini.
4243         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
4244         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
4245         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
4246         warning.
4247         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
4248         __libc_init_first and _dl_start.
4249         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
4250         (DCIGETTEXT): Make domaindata variable const.
4251         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
4252         to avoid warning.
4254 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
4256         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
4258         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
4259         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
4260         __unused? members.
4262         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
4263         value defined in /usr/include/asm-mips/fcntl.h.
4265 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
4267         * stdio-common/Makefile (tests): Add test-vfprintf.
4268         (test-vfprintf-ENV): New variable.
4269         * stdio-common/test-vfprintf.c: New file.
4271         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
4273         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
4274         (tst-mbrtowc-ENV): New variable.
4275         (tst-wcrtomb-ENV): New variable.
4276         * wcsmbs/tst-mbrtowc.c: New file.
4277         * wcsmbs/tst-wcrtomb.c: New file.
4279 2000-11-16  Andreas Jaeger  <aj@suse.de>
4281         * manual/install.texi (Tools for Compilation): Update
4282         documentation for GCC 2.95.2.
4284 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
4286         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
4287         if IPv4 and IPv6 requests timed out.
4289 2000-11-18  Akim Demaille  <akim@epita.fr>
4291         * malloc/obstack.h: Formatting changes.
4292         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
4293         prevents type checking.
4294         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
4295         cast the value to (void *): assigning a `foo *' to a `void *'
4296         variable is valid.
4297         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
4299 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
4301         * scripts/config.guess: Update from upstream maintainer.
4302         * scripts/config.sub: Likewise.
4304 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
4306         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
4307         * libio/freopen64.c (freopen64): Likewise.
4308         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4310         * libio/Makefile: Add rules to build and run test-freopen.
4311         * libio/test-freopen.c: New file.
4312         * libio/test-freopen.sh: New file.
4314 2000-11-15  H.J. Lu  <hjl@gnu.org>
4316         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
4317         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
4318         (DL_DT_FINI_ADDRESS): Likewise.
4320         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
4321         return type to ElfW(Addr).
4322         (_dl_function_address): New prototype.
4323         (DL_FUNCTION_ADDRESS): Defined.
4324         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
4325         (DL_DT_FINI_ADDRESS): Likewise.
4327         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
4329         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
4330         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
4332         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
4333         (_dl_function_address): This.
4335         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
4336         function pointer for DT_FINI.
4337         * elf/dl-close.c (_dl_close): Likewise.
4339         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
4340         function pointer for DT_INIT.
4342 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
4344         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
4345         end of wexpbuf buffer.
4347 2000-11-16  Andreas Jaeger  <aj@suse.de>
4349         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
4350         definition of F_GETLK, F_SETLK, F_SETLKW.
4352 2000-11-16  Andreas Jaeger  <aj@suse.de>
4354         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
4355         it's not defined.
4357 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
4359         * dlfcn/default.c (main): Add test for dladdr of main returning
4360         argv[0] in dli_fname field.
4362 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
4364         * Makeconfig (run-program-prefix): Move test-static test into the
4365         variable.
4367         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
4368         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
4369         schedule instructions.
4370         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
4371         schedule instructions, fix a bug in copying auxiliary data.
4373 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
4375         * manual/startup.texi (Program Arguments): Fix type of main's envp
4376         parameter.
4377         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
4379         * iconvdata/gconv-modules: Add CP950 alias.
4381 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
4383         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
4384         syscall-list.h goal.
4385         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
4387 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
4389         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
4391         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
4392         output of program.
4394         * intl/tst-gettext2.c: Set C locale if setting other locale
4395         failed.  Use gettext() not _().
4397         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
4398         successfully loaded a new locale.
4400 2000-11-13  Andreas Jaeger  <aj@suse.de>
4402         * configure.in: Require gcc 2.95 or newer.
4404 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
4406         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
4407         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
4409 2000-11-11  Jim Meyering  <meyering@lucent.com>
4411         * string/strndup.c (strndup): Cast return value to `char *'.
4413 2000-11-15  Jim Meyering  <meyering@ascend.com>
4415         * sysdeps/generic/memchr.c: Remove some useless parentheses.
4416         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
4417         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
4418         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
4419         Also #undef __memchr.
4420         Use `weak_alias' only if it's defined.
4422 2000-11-10  H.J. Lu  <hjl@gnu.org>
4424         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
4426 2000-11-15  Andreas Jaeger  <aj@suse.de>
4428         * elf/chroot_canon.c: Include <stdint.h>.
4430         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
4431         (print_entry): Likewise.
4432         (add_to_cache): Likewise.
4434         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
4436         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
4437         (path_hwcap): Likewise.
4438         (search_dir): Likewise.
4440         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
4442         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
4444         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
4445         (_dl_platform_string): New.
4446         (_DL_HWCAP_PLATFORM): New.
4447         (_dl_string_platform): New.
4448         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4450         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4451         (_dl_string_platform): New.
4452         (_DL_HWCAP_PLATFORM): New.
4453         (_dl_platform_string): New.
4455         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
4456         recognition.
4457         (_DL_HWCAP_COUNT): New.
4458         (_dl_string_platform): New.
4459         (_DL_HWCAP_PLATFORM): New.
4460         (_dl_platform_string): New.
4462 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
4464         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
4466 2000-11-14  Andreas Jaeger  <aj@suse.de>
4468         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
4470 2000-11-13  Roland McGrath  <roland@frob.com>
4472         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
4474 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
4476         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
4477         underrun and make sure the result is null terminated even if there
4478         is no trailing newline.
4480 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
4482         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4484 2000-11-10  H.J. Lu  <hjl@gnu.org>
4486         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
4488 2000-11-10  Andreas Jaeger  <aj@suse.de>
4490         * elf/ldconfig.c (create_links): Fix alloca calculation.
4491         Patch by Ben Collins <bcollins@debian.org>.
4493 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
4495         * inet/getnameinfo.c (getnameinfo): Use correct destination
4496         parameter for if_indextoname.
4497         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
4499 2000-11-09  H.J. Lu  <hjl@gnu.org>
4501         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
4502         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
4503         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
4504         xdr_keystatus.
4506         * time/Versions (GLIBC_2.1): Move getitimer to...
4507         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
4509 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
4511         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
4512         "make install", to work around a binary incompatibility between
4513         glibc 2.1 and glibc 2.2 gconv modules.
4515 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
4517         * intl/locale.alias: Add thai.
4518         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
4520 2000-11-07  Akim Demaille  <akim@epita.fr>
4522         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
4523         argument `data' for consistency with the prototypes.
4524         Qualify it `const'.
4525         (obstack_copy, obstack_copy0): Rename the second argument as
4526         `address' for consistency.  Qualify it `const'.
4527         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
4528         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
4529         `const' their input argument (`data' or `address').
4530         Adjust the corresponding macros to include `const' in casts.
4532 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4534         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
4535         target family.
4537 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4539         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
4540         socket creation.
4542 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4544         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
4545         ai_protocol by internal table if service was not given.
4547 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4549         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
4550         numerical port was specified with protocol without socktype.
4552 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4554         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
4556 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4558         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
4560 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4562         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
4563         sin6_scope_id field.
4565 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4567         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
4569 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4571         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
4573 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4575         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
4576         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
4578 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
4580         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
4581         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
4583 2000-11-09  H.J. Lu  <hjl@gnu.org>
4585         * io/Versions (GLIBC_2.1.1): Remove lockf64.
4588 See ChangeLog.11 for earlier changes.