Update.
[glibc.git] / ChangeLog
blob47b6f6ae5596cafdbb22e714af1c1cbea6a7085d
1 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
3         * elf/ldconfig.c (_dl_sysdep_message): Remove.
4         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
5         ldsodefs.h.
6         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
9         _dl_error_printf instead of _dl_sysdep_error.
10         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
12         Use _dl_printf instead of _dl_sysdep_message.
13         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
14         Likewise.
16 2001-03-06  Ben Collins  <bcollins@debian.org>
18         * manual/arith.texi (Integers): Fix documentation of fast and
19         least integer typedefs.
21 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
23         * resolv/Depend: New file.
24         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
25         when libpthread is built.
27 2001-03-06  Andreas Jaeger  <aj@suse.de>
29         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
31         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
32         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
34 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
36         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
38 2001-03-05  Andreas Jaeger  <aj@suse.de>
40         * stdlib/msort.c (qsort): Don't use alloca in a function call.
42 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
44         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
45         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
46         always return zero.
47         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
48         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
49         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
50         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
51         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
52         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
53         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
55 2001-03-04  Andreas Jaeger  <aj@suse.de>
57         * stdlib/longlong.h: Don't use multi-line strings.
58         * iconvdata/tst-loading.c: Likewise.
60         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
61         string.
63 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
65         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
67         * rt/lio_listio.c: Add a few asserts.
69         * elf/global.c: New file.
70         * elf/globalmod1.c: New file.
71         * elf/Makefile: Add rules to build and run global.
73         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
74         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
75         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
76         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
79         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
80         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
82         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
84         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
85         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
87         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
89         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
91 2001-03-04  Andreas Jaeger  <aj@suse.de>
93         * resolv/tst-aton.c: Add testcase for IP with four periods.
95         * resolv/inet_addr.c: Don't recognize an IP with four periods.
96         Patch by Andre' Breiler <A.Breiler@gmx.net>.
98 2001-02-27  Philip Blundell  <pb@futuretv.com>
100         * elf/elf.h: Add new ARM definitions from latest (B-01)
101         specification.  Correct naming of EF_ARM_ALIGN8 et al.
103 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
105         * stdio-common/tst-printf.sh: Remove bashisms.
106         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
108 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
110         * Versions.def: Add libanl definition.
111         * shlib-versions: Add entry for libanl.
112         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
113         (routines): Add gai_sigqueue.
114         (extra-libs): Add libanl.
115         (libanl-routines): New variable.
116         Add rules to build libanl and ga_test.
117         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
118         [libanl]: New library.
119         * resolv/netdb.h: Add definitions for libanl.
120         * resolv/getaddrinfo_a.c: New file.
121         * resolv/gai_cancel.c: New file.
122         * resolv/gai_error.c: New file.
123         * resolv/gai_misc.c: New file.
124         * resolv/gai_misc.h: New file.
125         * resolv/gai_notify.c: New file.
126         * resolv/gai_suspend.c: New file.
127         * resolv/ga_test.c: New file.
128         * sysdeps/generic/gai_sigqueue.c: New file.
129         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
130         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
131         and provide only that definition.
132         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
133         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
134         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
135         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
136         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
137         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
139         * rt/aio_misc.c: Fix typos in comments.
140         * rt/lio_listio.c: Pretty printing.  Little optimization in request
141         list handling.
143         * elf/rtld.c: Remove commented out code.
145         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
146         Update for real 2.4 kernels.
148 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
150         * elf/dl-load.c: Pretty printing.
152         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
153         twice.
155 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
157         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
158         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
160         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
162         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
163         machines.
165         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
167 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
169         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
170         _dl_debug_mask.
172         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
173         _dl_debug_printf.
174         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
175         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
176         _dl_debug_printf_c, and _dl_printf.
177         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
178         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
179         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
180         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
181         * elf/dl-close.c: Replace use of old output functions with the new
182         ones.
183         * elf/dl-deps.c: Likewise.
184         * elf/dl-error.c: Likewise.
185         * elf/dl-fini.c: Likewise.
186         * elf/dl-init.c: Likewise.
187         * elf/dl-load.c: Likewise.
188         * elf/dl-lookup.c: Likewise.
189         * elf/dl-minimal.c: Likewise.
190         * elf/dl-open.c: Likewise.
191         * elf/dl-profile.c: Likewise.
192         * elf/dl-reloc.c: Likewise.
193         * elf/dl-version.c: Likewise.
194         * elf/do-lookup.h: Likewise.
195         * elf/rtld.c: Likewise.
196         * sysdeps/generic/dl-cache.c: Likewise.
197         * sysdeps/generic/dl-sysdep.c: Likewise.
198         * sysdeps/generic/libc-start.c: Likewise.
199         * sysdeps/i386/dl-machine.h: Likewise.
200         * sysdeps/arm/dl-machine.h: Likewise.
201         * sysdeps/hppa/dl-machine.h: Likewise.
202         * sysdeps/m68k/dl-machine.h: Likewise.
203         * sysdeps/powerpc/dl-machine.h: Likewise.
204         * sysdeps/s390/dl-machine.h: Likewise.
205         * sysdeps/sh/dl-machine.h: Likewise.
206         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
207         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
208         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
210         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
212         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
213         supported by assembler.
215         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
216         declaractions.
218         * elf/rtld.c: Little optimizations in handling _dl_lazy.
220         * elf/cache.c (save_cache): Portability changes.
221         * elf/dl-profile.c (_dl_start_profile): Likewise.
223         * elf/sln.c: Cleanups.  Remove arbitrary limits.
225         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
226         * elf/dl-deps.c: Likewise.
227         * elf/dl-fini.c: Likewise.
228         * elf/dl-init.c: Likewise.
229         * elf/dl-load.c: Likewise.
230         * elf/dl-lookup.c: Likewise.
231         * elf/dl-open.c: Likewise.
232         * elf/dl-reloc.c: Likewise.
233         * elf/dl-support.c: Likewise.
234         * elf/dl-version.c: Likewise.
235         * elf/do-lookup.h: Likewise.
236         * elf/rtld.c: Likewise.
237         * sysdeps/generic/dl-cache.c: Likewise.
238         * sysdeps/generic/ldsodefs.h: Likewise.
239         * sysdeps/generic/libc-start.c: Likewise.
240         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
241         Export _dl_debug_mask.
242         * Versions.def: Define GLIBC_2.2.3 for ld.
244 2001-02-26  Greg McGary  <greg@mcgary.org>
246         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
248 2001-02-26  Paul Eggert  <eggert@twinsun.com>
250         Modify mkstemp.c and tempname.c so that they can be used by
251         GNU applications on non-glibc platforms.
253         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
255         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
256         Include <stddef.h>, <stdint.h>, <string.h> only if
257         STDC_HEADERS || _LIBC.
258         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
259         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
260         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
261         (__set_errno): Define this macro if <errno.h> doesn't.
262         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
263         Define these macros if <stdio.h> doesn't.
264         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
265         Define these macros if <sys/stat.h> doesn't.
266         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
267         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
268         lxstat64, __xstat64): Define if not _LIBC.
269         (struct_stat64): New macro.
270         (direxists, __gen_tempname): Use it, to avoid a
271         portability problem with Solaris 8.
272         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
273         (__gen_tempname): Invoke gettimeofday only if
274         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
275         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
276         octal values like 0600.
278 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
280         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
281         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
283         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
284         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
286         * posix/wordexp-test.c (testit): Remove warnings.
288         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
289         (tests): Add tstatexit and tstcxaatexit.
290         (module-names): Add modatexit and modcxaatexit.
291         Add rules to build and run tstatexit and tstcxaatexit.
292         * dlfcn/modatexit.c: New file.
293         * dlfcn/modcxaatexit.c: New file.
294         * dlfcn/tstatexit.c: New file.
295         * dlfcn/tstcxaatexit.c: New file.
297         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
298         .hidden is available.
299         * io/stat.c: If .hidden is available use it to avoid exporting
300         functions.
301         * io/fstat.c: Likewise.
302         * io/lstat.c: Likewise.
303         * io/stat64.c: Likewise.
304         * io/fstat64.c: Likewise.
305         * io/lstat64.c: Likewise.
306         * sysdeps/generic/mknod.c: Likewise.
308         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
309         * sysdeps/generic/bb_init_func.c: Likewise.
310         * sysdeps/generic/libc-start.c: Likewise.
312         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
313         (atexit): Implement using __cxa_atexit.
314         Use .hidden if availble to avoid exporting atexit.
315         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
316         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
317         * stdlib/Makefile (routines): Add old_atexit.
318         (static-only-routines): Add atexit.
319         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
320         * stdlib/old_atexit.c: New file.
322         * intl/Makefile: Remove bogus endif.
324 2001-02-26  Andreas Jaeger  <aj@suse.de>
326         * iconvdata/Makefile (tests): Fix typo in last patch.
328         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
329         available.
330         Reported by Achim Gottinger <achim@gentoo.org>.
332 2001-02-25  Andreas Jaeger  <aj@suse.de>
334         * intl/Makefile (plural.c): Reorder rules so that they work if
335         BISON doesn't exist.
337 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
339         * intl/locale.alias: Don't use nb_NO but define aliases for it.
341 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
343         * sysdeps/i386/strtok.S: Continue to return NULL after the first
344         time this happened.
346 2001-02-23  Andreas Jaeger  <aj@suse.de>
348         * string/tester.c (test_strtok_r): Add testcase.
349         (test_strtok_r): Always initialize cp for proper checking.
351         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
352         returning NULL correctly.
353         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
354         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
356 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
358         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
359         including <stddef.h>.
360         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
361         * include/libc-symbols.h (weak_alias): Don't use .weak if
362         HAVE_ASM_GLOBAL_DOT_NAME is defined.
363         Patches by Michael Keezer <mkeezer@redhat.com>.
365         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
366         Patch by Michael Keezer <mkeezer@redhat.com>.
368         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
369         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
370         (sysdep_routines): Remove restf.S and savef.S.
371         * sysdeps/unix/sysv/aix/restf.S. Removed.
372         * sysdeps/unix/sysv/aix/savef.S. Removed.
373         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
374         alternative names used on some platforms.
375         * sysdeps/powerpc/fprsave.S: Likewise.
376         * sysdeps/powerpc/gprrest0.S: Likewise.
377         * sysdeps/powerpc/gprrest1.S: Likewise.
378         * sysdeps/powerpc/gprsave0.S: Likewise.
379         * sysdeps/powerpc/gprsave1.S: Likewise.
380         Patch by Michael Keezer <mkeezer@redhat.com>.
382 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
384         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
386 2001-02-22  Andreas Jaeger  <aj@suse.de>
388         * string/tst-strtok.c (main): Fix error messages.
390 2001-02-22  Andreas Jaeger  <aj@suse.de>
392         * math/Makefile: Remove omit-long-double-fcts.
394 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
396         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
397         avoid problems on MIPS I.
398         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
400         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
401         noreorder".
403 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
405         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
407         * sysdeps/generic/ftime.c: Include <time.h>.
409         * configure.in: Don't check for libgd if user passed --without-gd.
410         Patch by Achim Gottinger <achim@gentoo.org>.
412         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
413         first time this happened.
414         * string/Makefile (tests): Add tst-strtok.
416 2001-02-21  Andreas Jaeger  <aj@suse.de>
418         * string/tst-strtok.c: New testcase, reported by
419         Andrew Church <achurch@achurch.org>.
421 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
423         * libio/iofwide.c: Remove fwide alias.
425 2001-02-20  Andreas Jaeger  <aj@suse.de>
427         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
428         is available.
429         Reported by Achim Gottinger <achim@gentoo.org>.
431 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
433         * iconv/tst-iconv1.c (main): Remove debugging code.
435         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
436         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
438         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
439         parameters.
440         * sysdeps/generic/e_scalbf.c: Likewise.
441         * sysdeps/generic/e_scalbl.c: Likewise.
443         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
444         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
445         in libc.
446         (routines): Replace libm_error with libc_libm_error.
447         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
448         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
450 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
452         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
453         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
455 2001-02-17  H.J. Lu  <hjl@gnu.org>
457         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
458         scratch registers across the system call.
460 2001-02-19  Andreas Jaeger  <aj@suse.de>
462         * malloc/Makefile (tests): Run mtrace only when perl is available.
463         Reported by Achim Gottinger <achim@gentoo.org>.
465 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
467         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
468         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
470         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
471         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
472         * math/libm-test.inc (j1_test): Mark constants as long double.
473         (jn_test): Likewise.
474         (y1_test): Likewise.
475         (yn_test): Likewise.
477         * libio/iogetline.c: Move return until after last statement.
479         * localedata/show-ucs-data.c: Don't show < > for better readability.
481         * sysdeps/ia64/fpu/Dist: New file.
482         * sysdeps/ia64/fpu/Makefile: New file.
483         * sysdeps/ia64/fpu/Versions: New file.
484         * sysdeps/ia64/fpu/e_acos.S: New file.
485         * sysdeps/ia64/fpu/e_acosf.S: New file.
486         * sysdeps/ia64/fpu/e_acosl.S: New file.
487         * sysdeps/ia64/fpu/e_asin.S: New file.
488         * sysdeps/ia64/fpu/e_asinf.S: New file.
489         * sysdeps/ia64/fpu/e_asinl.S: New file.
490         * sysdeps/ia64/fpu/e_atan2.S: New file.
491         * sysdeps/ia64/fpu/e_atan2f.S: New file.
492         * sysdeps/ia64/fpu/e_atan2l.c: New file.
493         * sysdeps/ia64/fpu/e_cosh.S: New file.
494         * sysdeps/ia64/fpu/e_coshf.S: New file.
495         * sysdeps/ia64/fpu/e_coshl.S: New file.
496         * sysdeps/ia64/fpu/e_exp.S: New file.
497         * sysdeps/ia64/fpu/e_expf.S: New file.
498         * sysdeps/ia64/fpu/e_expl.c: New file.
499         * sysdeps/ia64/fpu/e_fmod.S: New file.
500         * sysdeps/ia64/fpu/e_fmodf.S: New file.
501         * sysdeps/ia64/fpu/e_fmodl.S: New file.
502         * sysdeps/ia64/fpu/e_hypot.S: New file.
503         * sysdeps/ia64/fpu/e_hypotf.S: New file.
504         * sysdeps/ia64/fpu/e_hypotl.S: New file.
505         * sysdeps/ia64/fpu/e_log.S: New file.
506         * sysdeps/ia64/fpu/e_log10.c: New file.
507         * sysdeps/ia64/fpu/e_log10f.c: New file.
508         * sysdeps/ia64/fpu/e_log10l.c: New file.
509         * sysdeps/ia64/fpu/e_logf.S: New file.
510         * sysdeps/ia64/fpu/e_logl.c: New file.
511         * sysdeps/ia64/fpu/e_pow.S: New file.
512         * sysdeps/ia64/fpu/e_powf.S: New file.
513         * sysdeps/ia64/fpu/e_powl.S: New file.
514         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
515         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
516         * sysdeps/ia64/fpu/e_remainder.S: New file.
517         * sysdeps/ia64/fpu/e_remainderf.S: New file.
518         * sysdeps/ia64/fpu/e_remainderl.S: New file.
519         * sysdeps/ia64/fpu/e_scalb.S: New file.
520         * sysdeps/ia64/fpu/e_scalbf.S: New file.
521         * sysdeps/ia64/fpu/e_scalbl.S: New file.
522         * sysdeps/ia64/fpu/e_sinh.S: New file.
523         * sysdeps/ia64/fpu/e_sinhf.S: New file.
524         * sysdeps/ia64/fpu/e_sinhl.S: New file.
525         * sysdeps/ia64/fpu/e_sqrt.S: New file.
526         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
527         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
528         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
529         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
530         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
531         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
532         * sysdeps/ia64/fpu/libm_error.c: New file.
533         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
534         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
535         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
536         * sysdeps/ia64/fpu/libm_reduce.S: New file.
537         * sysdeps/ia64/fpu/libm_support.h: New file.
538         * sysdeps/ia64/fpu/libm_tan.S: New file.
539         * sysdeps/ia64/fpu/s_atan.S: New file.
540         * sysdeps/ia64/fpu/s_atanf.S: New file.
541         * sysdeps/ia64/fpu/s_atanl.S: New file.
542         * sysdeps/ia64/fpu/s_cbrt.S: New file.
543         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
544         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
545         * sysdeps/ia64/fpu/s_ceil.S: New file.
546         * sysdeps/ia64/fpu/s_ceilf.S: New file.
547         * sysdeps/ia64/fpu/s_ceill.S: New file.
548         * sysdeps/ia64/fpu/s_cos.S: New file.
549         * sysdeps/ia64/fpu/s_cosf.S: New file.
550         * sysdeps/ia64/fpu/s_cosl.S: New file.
551         * sysdeps/ia64/fpu/s_expm1.S: New file.
552         * sysdeps/ia64/fpu/s_expm1f.S: New file.
553         * sysdeps/ia64/fpu/s_expm1l.S: New file.
554         * sysdeps/ia64/fpu/s_floor.S: New file.
555         * sysdeps/ia64/fpu/s_floorf.S: New file.
556         * sysdeps/ia64/fpu/s_floorl.S: New file.
557         * sysdeps/ia64/fpu/s_frexp.c: New file.
558         * sysdeps/ia64/fpu/s_frexpf.c: New file.
559         * sysdeps/ia64/fpu/s_frexpl.c: New file.
560         * sysdeps/ia64/fpu/s_ilogb.S: New file.
561         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
562         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
563         * sysdeps/ia64/fpu/s_ldexp.S: New file.
564         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
565         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
566         * sysdeps/ia64/fpu/s_log1p.S: New file.
567         * sysdeps/ia64/fpu/s_log1pf.S: New file.
568         * sysdeps/ia64/fpu/s_log1pl.S: New file.
569         * sysdeps/ia64/fpu/s_logb.S: New file.
570         * sysdeps/ia64/fpu/s_logbf.S: New file.
571         * sysdeps/ia64/fpu/s_logbl.S: New file.
572         * sysdeps/ia64/fpu/s_matherrf.c: New file.
573         * sysdeps/ia64/fpu/s_matherrl.c: New file.
574         * sysdeps/ia64/fpu/s_modf.S: New file.
575         * sysdeps/ia64/fpu/s_modff.S: New file.
576         * sysdeps/ia64/fpu/s_modfl.S: New file.
577         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
578         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
579         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
580         * sysdeps/ia64/fpu/s_rint.S: New file.
581         * sysdeps/ia64/fpu/s_rintf.S: New file.
582         * sysdeps/ia64/fpu/s_rintl.S: New file.
583         * sysdeps/ia64/fpu/s_round.S: New file.
584         * sysdeps/ia64/fpu/s_roundf.S: New file.
585         * sysdeps/ia64/fpu/s_roundl.S: New file.
586         * sysdeps/ia64/fpu/s_scalbn.S: New file.
587         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
588         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
589         * sysdeps/ia64/fpu/s_significand.S: New file.
590         * sysdeps/ia64/fpu/s_significandf.S: New file.
591         * sysdeps/ia64/fpu/s_significandl.S: New file.
592         * sysdeps/ia64/fpu/s_sin.c: New file.
593         * sysdeps/ia64/fpu/s_sincos.c: New file.
594         * sysdeps/ia64/fpu/s_sincosf.c: New file.
595         * sysdeps/ia64/fpu/s_sincosl.c: New file.
596         * sysdeps/ia64/fpu/s_sinf.c: New file.
597         * sysdeps/ia64/fpu/s_sinl.c: New file.
598         * sysdeps/ia64/fpu/s_tan.S: New file.
599         * sysdeps/ia64/fpu/s_tanf.S: New file.
600         * sysdeps/ia64/fpu/s_tanl.S: New file.
601         * sysdeps/ia64/fpu/s_trunc.S: New file.
602         * sysdeps/ia64/fpu/s_truncf.S: New file.
603         * sysdeps/ia64/fpu/s_truncl.S: New file.
604         * sysdeps/ia64/fpu/w_acos.c: New file.
605         * sysdeps/ia64/fpu/w_acosf.c: New file.
606         * sysdeps/ia64/fpu/w_acosl.c: New file.
607         * sysdeps/ia64/fpu/w_asin.c: New file.
608         * sysdeps/ia64/fpu/w_asinf.c: New file.
609         * sysdeps/ia64/fpu/w_asinl.c: New file.
610         * sysdeps/ia64/fpu/w_atan2.c: New file.
611         * sysdeps/ia64/fpu/w_atan2f.c: New file.
612         * sysdeps/ia64/fpu/w_atan2l.c: New file.
613         * sysdeps/ia64/fpu/w_cosh.c: New file.
614         * sysdeps/ia64/fpu/w_coshf.c: New file.
615         * sysdeps/ia64/fpu/w_coshl.c: New file.
616         * sysdeps/ia64/fpu/w_exp.c: New file.
617         * sysdeps/ia64/fpu/w_expf.c: New file.
618         * sysdeps/ia64/fpu/w_fmod.c: New file.
619         * sysdeps/ia64/fpu/w_fmodf.c: New file.
620         * sysdeps/ia64/fpu/w_fmodl.c: New file.
621         * sysdeps/ia64/fpu/w_hypot.c: New file.
622         * sysdeps/ia64/fpu/w_hypotf.c: New file.
623         * sysdeps/ia64/fpu/w_hypotl.c: New file.
624         * sysdeps/ia64/fpu/w_log.c: New file.
625         * sysdeps/ia64/fpu/w_log10.c: New file.
626         * sysdeps/ia64/fpu/w_log10f.c: New file.
627         * sysdeps/ia64/fpu/w_log10l.c: New file.
628         * sysdeps/ia64/fpu/w_logf.c: New file.
629         * sysdeps/ia64/fpu/w_logl.c: New file.
630         * sysdeps/ia64/fpu/w_pow.c: New file.
631         * sysdeps/ia64/fpu/w_powf.c: New file.
632         * sysdeps/ia64/fpu/w_powl.c: New file.
633         * sysdeps/ia64/fpu/w_remainder.c: New file.
634         * sysdeps/ia64/fpu/w_remainderf.c: New file.
635         * sysdeps/ia64/fpu/w_remainderl.c: New file.
636         * sysdeps/ia64/fpu/w_scalb.c: New file.
637         * sysdeps/ia64/fpu/w_scalbf.c: New file.
638         * sysdeps/ia64/fpu/w_scalbl.c: New file.
639         * sysdeps/ia64/fpu/w_sqrt.c: New file.
640         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
641         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
642         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
643         implementation.
644         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
645         Change FP_ILOGBNAN for new implementation.
646         * Verions.def: Add 2.2.3 versions.
648 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
650         * math/libm-test.inc (scalb_test): Require invalid exception being
651         raised for invalid parameters.
652         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
653         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
654         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
656 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
658         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
659         value to long int.
660         (__get_avphys_pages): Likewise.
662 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
664         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
665         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
666         * sysdeps/i386/fpu/e_powf.S: Likewise.
667         * sysdeps/i386/fpu/e_powl.S: Likewise.
669         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
671 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
673         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
675         * sysdeps/generic/s_exp2l.c: Renamed to...
676         * sysdeps/generic/e_exp2l.c: ...this.   New file.
677         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
678         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
679         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
680         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
681         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
682         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
683         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
684         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
685         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
686         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
687         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
688         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
689         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
690         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
691         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
692         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
694 2001-02-17  Andreas Jaeger  <aj@suse.de>
696         * configure.in: Allow gcc 3.
698 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
700         * math/w_acos.c: Move to ...
701         * sysdeps/generic/w_acos.c: ...here.  New file.
702         * math/w_acosf.c: Move to ...
703         * sysdeps/generic/w_acosf.c: ...here.  New file.
704         * math/w_acosh.c: Move to ...
705         * sysdeps/generic/w_acosh.c: ...here.  New file.
706         * math/w_acoshf.c: Move to ...
707         * sysdeps/generic/w_acoshf.c: ...here.  New file.
708         * math/w_acoshl.c: Move to ...
709         * sysdeps/generic/w_acoshl.c: ...here.  New file.
710         * math/w_acosl.c: Move to ...
711         * sysdeps/generic/w_acosl.c: ...here.  New file.
712         * math/w_asin.c: Move to ...
713         * sysdeps/generic/w_asin.c: ...here.  New file.
714         * math/w_asinf.c: Move to ...
715         * sysdeps/generic/w_asinf.c: ...here.  New file.
716         * math/w_asinl.c: Move to ...
717         * sysdeps/generic/w_asinl.c: ...here.  New file.
718         * math/w_atan2.c: Move to ...
719         * sysdeps/generic/w_atan2.c: ...here.  New file.
720         * math/w_atan2f.c: Move to ...
721         * sysdeps/generic/w_atan2f.c: ...here.  New file.
722         * math/w_atan2l.c: Move to ...
723         * sysdeps/generic/w_atan2l.c: ...here.  New file.
724         * math/w_atanh.c: Move to ...
725         * sysdeps/generic/w_atanh.c: ...here.  New file.
726         * math/w_atanhf.c: Move to ...
727         * sysdeps/generic/w_atanhf.c: ...here.  New file.
728         * math/w_atanhl.c: Move to ...
729         * sysdeps/generic/w_atanhl.c: ...here.  New file.
730         * math/w_cosh.c: Move to ...
731         * sysdeps/generic/w_cosh.c: ...here.  New file.
732         * math/w_coshf.c: Move to ...
733         * sysdeps/generic/w_coshf.c: ...here.  New file.
734         * math/w_coshl.c: Move to ...
735         * sysdeps/generic/w_coshl.c: ...here.  New file.
736         * math/w_drem.c: Move to ...
737         * sysdeps/generic/w_drem.c: ...here.  New file.
738         * math/w_dremf.c: Move to ...
739         * sysdeps/generic/w_dremf.c: ...here.  New file.
740         * math/w_dreml.c: Move to ...
741         * sysdeps/generic/w_dreml.c: ...here.  New file.
742         * math/w_exp10.c: Move to ...
743         * sysdeps/generic/w_exp10.c: ...here.  New file.
744         * math/w_exp10f.c: Move to ...
745         * sysdeps/generic/w_exp10f.c: ...here.  New file.
746         * math/w_exp10l.c: Move to ...
747         * sysdeps/generic/w_exp10l.c: ...here.  New file.
748         * math/w_exp2.c: Move to ...
749         * sysdeps/generic/w_exp2.c: ...here.  New file.
750         * math/w_exp2f.c: Move to ...
751         * sysdeps/generic/w_exp2f.c: ...here.  New file.
752         * math/w_exp2l.c: Move to ...
753         * sysdeps/generic/w_exp2l.c: ...here.  New file.
754         * math/w_fmod.c: Move to ...
755         * sysdeps/generic/w_fmod.c: ...here.  New file.
756         * math/w_fmodf.c: Move to ...
757         * sysdeps/generic/w_fmodf.c: ...here.  New file.
758         * math/w_fmodl.c: Move to ...
759         * sysdeps/generic/w_fmodl.c: ...here.  New file.
760         * math/w_hypot.c: Move to ...
761         * sysdeps/generic/w_hypot.c: ...here.  New file.
762         * math/w_hypotf.c: Move to ...
763         * sysdeps/generic/w_hypotf.c: ...here.  New file.
764         * math/w_hypotl.c: Move to ...
765         * sysdeps/generic/w_hypotl.c: ...here.  New file.
766         * math/w_j0.c: Move to ...
767         * sysdeps/generic/w_j0.c: ...here.  New file.
768         * math/w_j0f.c: Move to ...
769         * sysdeps/generic/w_j0f.c: ...here.  New file.
770         * math/w_j0l.c: Move to ...
771         * sysdeps/generic/w_j0l.c: ...here.  New file.
772         * math/w_j1.c: Move to ...
773         * sysdeps/generic/w_j1.c: ...here.  New file.
774         * math/w_j1f.c: Move to ...
775         * sysdeps/generic/w_j1f.c: ...here.  New file.
776         * math/w_j1l.c: Move to ...
777         * sysdeps/generic/w_j1l.c: ...here.  New file.
778         * math/w_jn.c: Move to ...
779         * sysdeps/generic/w_jn.c: ...here.  New file.
780         * math/w_jnf.c: Move to ...
781         * sysdeps/generic/w_jnf.c: ...here.  New file.
782         * math/w_jnl.c: Move to ...
783         * sysdeps/generic/w_jnl.c: ...here.  New file.
784         * math/w_lgamma.c: Move to ...
785         * sysdeps/generic/w_lgamma.c: ...here.  New file.
786         * math/w_lgammaf.c: Move to ...
787         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
788         * math/w_lgammaf_r.c: Move to ...
789         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
790         * math/w_lgammal.c: Move to ...
791         * sysdeps/generic/w_lgammal.c: ...here.  New file.
792         * math/w_lgammal_r.c: Move to ...
793         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
794         * math/w_lgamma_r.c: Move to ...
795         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
796         * math/w_log10.c: Move to ...
797         * sysdeps/generic/w_log10.c: ...here.  New file.
798         * math/w_log10f.c: Move to ...
799         * sysdeps/generic/w_log10f.c: ...here.  New file.
800         * math/w_log10l.c: Move to ...
801         * sysdeps/generic/w_log10l.c: ...here.  New file.
802         * math/w_log.c: Move to ...
803         * sysdeps/generic/w_log.c: ...here.  New file.
804         * math/w_logf.c: Move to ...
805         * sysdeps/generic/w_logf.c: ...here.  New file.
806         * math/w_logl.c: Move to ...
807         * sysdeps/generic/w_logl.c: ...here.  New file.
808         * math/w_pow.c: Move to ...
809         * sysdeps/generic/w_pow.c: ...here.  New file.
810         * math/w_powf.c: Move to ...
811         * sysdeps/generic/w_powf.c: ...here.  New file.
812         * math/w_powl.c: Move to ...
813         * sysdeps/generic/w_powl.c: ...here.  New file.
814         * math/w_remainder.c: Move to ...
815         * sysdeps/generic/w_remainder.c: ...here.  New file.
816         * math/w_remainderf.c: Move to ...
817         * sysdeps/generic/w_remainderf.c: ...here.  New file.
818         * math/w_remainderl.c: Move to ...
819         * sysdeps/generic/w_remainderl.c: ...here.  New file.
820         * math/w_scalb.c: Move to ...
821         * sysdeps/generic/w_scalb.c: ...here.  New file.
822         * math/w_scalbf.c: Move to ...
823         * sysdeps/generic/w_scalbf.c: ...here.  New file.
824         * math/w_scalbl.c: Move to ...
825         * sysdeps/generic/w_scalbl.c: ...here.  New file.
826         * math/w_sinh.c: Move to ...
827         * sysdeps/generic/w_sinh.c: ...here.  New file.
828         * math/w_sinhf.c: Move to ...
829         * sysdeps/generic/w_sinhf.c: ...here.  New file.
830         * math/w_sinhl.c: Move to ...
831         * sysdeps/generic/w_sinhl.c: ...here.  New file.
832         * math/w_sqrtl.c: Move to ...
833         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
834         * math/w_tgamma.c: Move to ...
835         * sysdeps/generic/w_tgamma.c: ...here.  New file.
836         * math/w_tgammaf.c: Move to ...
837         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
838         * math/w_tgammal.c: Move to ...
839         * sysdeps/generic/w_tgammal.c: ...here.  New file.
841         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
842         formats for postal_fmt.
844 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
846         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
847         __ftruncate64 alias.
848         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
849         Likewise.
851 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
853         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
854         do "loadrs".  Writing to bspstore already takes care of
855         invalidating the "clean" partition.
857 2001-02-16  Andreas Schwab  <schwab@suse.de>
859         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
860         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
862 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
864         * posix/regex.c (init_syntax_once): Add prototype.
865         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
866         (re_search_2): Avoid warning.
867         (count_mbs_length): Add prototype.
868         * posix/tst-regex3.c: New file.
869         * posix/Makefile (tests): Add bug-regex3.
871 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
873         * stdio-common/Makefile (tests): Add tst-gets.
874         * stdio-common/tst-gets.c: New file.
875         * stdio-common/tst-gets.input: New file.
877         * elf/elf.h (DT_CHECKSUM): Define.
879         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
880         default symbol.
881         * sysdeps/generic/strtoull.c: Likewise.
883 2001-02-14  Wolfram Gloger  <wg@malloc.de>
885         * malloc/malloc.c (new_heap): When allocating large chunk aligned
886         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
887         between the heaps.
889 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
891         * math/libm-test.inc (j0_test): Check whether sincos is available.
892         (j1_test): Likewise.
893         (jn_test): Likewise.
894         (y0_test): Likewise.
895         (y1_test): Likewise.
896         (yn_test): Likewise.
898         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
899         fake filesystem routines to handle this.
901         * time/sys/time.h: Make settimeofday and adjtime available if
902         _BSD_SOURCE.
904         * time/sys/time.h: Make timer* macros available for BSD.
906         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
907         Patch by Yong Li <rigel863@yahoo.com>.
909         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
910         name.
912         * posix/Makefile (tests): Add tst-gnuglob.
913         * posix/tst-gnuglob.c: New file.
915 2001-02-13  H.J. Lu  <hjl@gnu.org>
917         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
919 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
921         * locale/programs/ld-paper.c (paper_output): Pretty printing.
923         * iconvdata/Makefile (modules): Add GBBIG5.
924         (distribute): Add gbbig5.c.
925         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
927         * iconvdata/gbbig5.c: New file.
928         Contributed by Yong Li <rigel863@yahoo.com>.
930 2001-02-13  Philip Blundell  <pb@futuretv.com>
932         * manual/crypt.texi: Remove outdated references to crypt add-on.
934         * manual/creature.texi: Improve wording slightly.
936 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
938         * io/ftw.c: Always use readdir64.
939         * io/ftw64.c: Likewise.
940         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
941         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
942         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
943         callback to dirent.  Still allow compiling outside glibc.
944         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
945         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
947         * malloc/mtrace.c: Use fopen64.
948         * posix/spawni.c: Use __open64.
949         * sysdeps/unix/opendir.c: Likewise.
950         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
952         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
953         name a weak alias.
954         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
955         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
956         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
957         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
959         * resolv/res_data.c: Add cast to avoid warning.
961         * include/unistd.h: Declare __ftruncate64.
963         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
965         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
966         instead of __lseek.
968 2001-02-13  Andreas Jaeger  <aj@suse.de>
970         * login/getutent_r.c: Include <stdlib.h> for NULL.
971         * login/getutid_r.c: Likewise.
973 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
975         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
976         * sysdeps/dbl-64/e_j1.c: Likewise.
977         * sysdeps/dbl-64/e_jn.c: Likewise.
978         * sysdeps/flt-32/e_j0f.c: Likewise.
979         * sysdeps/flt-32/e_j1f.c: Likewise.
980         * sysdeps/ldbl-96/e_j0l.c: Likewise.
982 2000-12-02  H.J. Lu  <hjl@gnu.org>
984         * resolv/res_libc.c (res_init): Don't make it default.
986 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
988         * manual/debug.texi: Improved the wording.
989         Patch by Philip Blundell <pb@futuretv.com>.
991 2001-02-12  Andreas Jaeger  <aj@suse.de>
993         * posix/Makefile (tests): Don't run bug-regex2 when
994         cross-compiling.
996         * libio/Makefile (tests): Don't run test-freopen when
997         cross-compiling.
999         * manual/stdio.texi (Streams and I18N): Fix typos.
1001 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
1003         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
1005         * math/libm-test.inc (j0_test): Make expected results long double
1006         constants.
1007         (y0_test): Likewise.
1009         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
1010         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1012 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
1014         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
1015         which was exported from libc.
1016         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
1018 2001-02-12  Andreas Jaeger  <aj@suse.de>
1020         * manual/arith.texi (Parsing of Integers): Fix some wordings.
1022 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
1024         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
1025         and get_avphys_page to long int.
1026         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
1027         * include/sys/sysinfo.h: Likewise.
1028         * sysdeps/generic/sys/sysinfo.h: Likewise.
1029         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
1031         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
1032         cannot return as many values as the user asked for.
1034 2001-02-11  Andreas Jaeger  <aj@suse.de>
1036         * manual/resource.texi (Memory Resources): Fix typo.
1038         * libio/Makefile ($(objpfx)test-freopen.out): Pass
1039         run-program-prefix.
1041         * libio/test-freopen.sh: Use run_program_prefix.
1043 2001-02-10  Andreas Jaeger  <aj@suse.de>
1045         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
1046         cross-compiling.
1047         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
1049         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
1050         only builds.
1052         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
1054         * posix/Makefile: Fix typo, it's build-static-nss.
1056         * iconv/Makefile (extra-objs): New.
1058 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
1060         * sysdeps/unix/stime.c: Include <time.h>.
1062         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
1064 2001-02-10  Andreas Jaeger  <aj@suse.de>
1066         * manual/string.texi (Search Functions): Fix typo.
1068 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
1070         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
1071         (timeval_to_clock_t): Add clk_tck argument and use that instead of
1072         CLK_TCK.
1073         (__times): Use __getclktck to get the number of clock ticks per
1074         second and use its return value instead of CLK_TCK.
1076 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
1078         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
1080 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
1082         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
1084 2001-02-10  Andreas Jaeger  <aj@suse.de>
1086         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
1087         warning.
1089 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
1091         * posix/Makefile: Add rules to build and run bug-regex2.
1092         * posix/bug-regex2.c: New file.
1094 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
1096         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
1097         (regex_compile): Likewise.
1098         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
1099         (re_match_2_internal): Use just is_binary instead of two variables.
1100         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
1102 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
1104         * version.h (VERSION): Bump to 2.2.2.
1106         * iconv/Makefile (distribute): Add iconv_charmap.c and
1107         dummy-repertoire.c.
1108         * elf/Makefile (distribute): Add firstobj.c.
1109         * Makefile (distribute): Add include/pthread.h.
1111         * configure.in: Require makeinfo version 4.
1113         * libio/tst_wscanf.c (main): Add cast to avoid warning.
1114         * libio/tst_swscanf.c (main): Likewise..
1116 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
1118         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
1119         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
1120         __NO_MATH_INLINES.
1121         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
1122         if not RTLD_BOOTSTRAP.
1123         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1124         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1126 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
1128         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
1129         lr_ungetc to push back last read character.
1130         * locale/programs/linereader.h (lr_ungetc): Don't push back is
1131         character is EOF.
1132         (lr_ignore_rest): Don't warn about garbage if it is really the end
1133         of the file.
1135         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
1136         definition.
1138 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
1140         * Makerules (build-shlib): Work around different order of
1141         processing of -B option in different gcc versions.
1143         * posix/regex.c: Fix alignment problem.
1144         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1146         * sysdeps/alpha/strrchr.S: Little optimization.
1147         Patch by Richard Henderson <rth@redhat.com>.
1149         * sysdeps/alpha/alphaev67/strrchr.S: New file.
1150         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
1152 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1154         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
1155         in the assembler end directive.
1157 2001-02-08  Andreas Jaeger  <aj@suse.de>
1159         * manual/stdio.texi (Closing Streams): Fix typos.
1161 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
1163         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
1164         Patch by Richard Henderson <rth@redhat.com>.
1165         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
1167         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
1168         pointer in FILE structure before calling _IO_init.
1169         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
1170         strfmon_l if necessary.
1171         Reported by Jury Gerold <gjury@grips.com>.
1173         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
1174         Patch by Pekka.Pietikainen@cern.ch.
1176         * posix/regex.c: Correct several problems with 64-bit architectures
1177         introduced in the MBS changes.
1178         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1180 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
1182         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
1183         not defined.
1184         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
1186 2001-02-07  Andreas Jaeger  <aj@suse.de>
1188         * manual/install.texi (Tools for Compilation): Fix typo.
1189         Reported by Pavel Machek <pavel@bug.ucw.cz>.
1191 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
1193         * stdlib/strtod.c: Never stop prematurely reading digits before the
1194         decimal point is found.  Compute exponent limit for negative exponents
1195         correctly.  For numbers ending in all zeros eat the zeros even before
1196         the decimal point if the exponent is negative [PR libc/2072].
1197         * stdlib/Makefile (tests): Add bug-strtod.
1198         * stdlib/bug-strtod.c: New file.
1200 2001-02-07  Andreas Jaeger  <aj@suse.de>
1202         * posix/bug-regex1.c: Include <wchar.h> for fwide.
1204 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
1206         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
1207         Store index.
1208         (compile_range): Handle index being passed, not pointer.
1209         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1211         * posix/regex.c: Fix a cast in the code for bracket handling which
1212         caused 8-bit uncleanliness.
1213         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
1215         * posix/Makefile (tests): Add bug-regex1.
1216         * posix/bug-regex1.c: New file.
1217         Contributed by Jim Meyering <jim@meyering.net>.
1219         * posix/regex.c: Many cleanups for incorrect format strings.
1221 2001-02-06  Andreas Jaeger  <aj@suse.de>
1223         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
1225 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
1227         * locale/programs/locale.c (write_locales): Use scandir to read
1228         directory so that the entries are sorted.
1230 2001-02-06  Andreas Jaeger  <aj@suse.de>
1232         * include/pthread.h: New file.
1234         * wctype/wctype.h: Move internal interfaces from here to...
1235         * include/wctype.h: ...here.
1237         * wcsmbs/wchar.h: Move __wcslen from here to...
1238         * include/wchar.h: ...here.
1240         * posix/sys/wait.h: Move __wait from here to...
1241         * include/sys/wait.h: ...here.
1243         * string/string.h: Move __ffs and __strerror_r from here to...
1244         * include/string.h: ...here.
1246         * stdlib/stdlib.h: Move __on_exit from here to...
1247         * include/stdlib.h: ...here.
1249         * libio/stdio.h: Move __vsnprintf from here to...
1250         * include/stdio.h: ...here.
1252 2001-02-06  Andreas Schwab  <schwab@suse.de>
1254         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
1255         headers.
1257         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
1258         of $(inst_datadir).
1260 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
1262         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
1264 2001-02-06  Andreas Jaeger  <aj@suse.de>
1266         * elf/firstobj.c: Add prototype.
1268         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
1269         (truncate_wchar): Likewise.
1271 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
1273         * locale/programs/locale.c: Implement --verbose option for -a
1274         which prints detailed information about the locales.
1276 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
1278         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
1279         variable to uint32_t.
1280         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
1282 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
1284         * locale/C-translit.h.in: Add transliterations for CJK units of
1285         measurement.
1287 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
1289         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
1290         string.  Include <inttypes.h> instead of <stdint.h>.
1292         * localedata/Makefile (tests): Add bug-iconv-trans.
1293         Define bug-iconv-trans-ENV.
1294         * localedata/bug-iconv-trans.c: New file.
1296 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
1298         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
1299         pointer, to avoid accumulating output from incomplete (unsuccessful)
1300         transliteration attempts.
1302 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
1304         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
1305         string.  Include <inttypes.h> instead of <stdint.h>.
1307         * configure.in: Add check for bison.
1308         * config.make.in: Define BISON variable.
1309         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
1310         Rename YFLAGS to BISONFLAGS.
1312 2001-02-05  Andreas Jaeger  <aj@suse.de>
1314         * io/test-lfs.c (do_test): Test lseek64 return value, call
1315         test_ftello.
1316         (test_ftello): New function to test ftello64 and fseeko64.
1318         * signal/signal.h: Move __sigaction from here to...
1319         * include/signal.h: ...here.
1321         * io/fcntl.h: Move __fcntl and __open to...
1322         * include/fcntl.h: ...here.
1324 2001-02-04  Philip Blundell  <philb@gnu.org>
1326         * configure.in: Distinguish ARM from Thumb.
1328 2001-02-04  Philip Blundell  <philb@gnu.org>
1330         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
1331         PC24 relocs with negative value.
1333 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
1335         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
1336         files in locale/programs.  Add CFLAGS definition to allow compiling
1337         localedef files.
1338         * iconv/dummy-repertoire.c: New file.
1339         * iconv/iconv_charmap.c: New file.
1340         * iconv/iconv_prog.h: New file.
1341         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
1342         (main): If parameter for -f and -t contain slashes try first to resolve
1343         the strings as filenames of charmap files.  Use them for conversion
1344         in this case.
1345         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
1346         iconv getting charmap names as parameters.
1347         * locale/programs/linereader.c (lr_token): Take extra parameters
1348         verbose and pass it to get_string.
1349         (get_string): Take extra parameters verbose.
1350         * locale/programs/charmap.c (parse_charmap): Take extra parameters
1351         verbose and be_quiet.  Change all callers of lr_token and
1352         parse_charmap.
1353         * locale/programs/charmap.h: Likewise.
1354         * locale/programs/ld-address.c: Likewise.
1355         * locale/programs/ld-collate.c: Likewise.
1356         * locale/programs/ld-ctype.c: Likewise.
1357         * locale/programs/ld-identification.c: Likewise.
1358         * locale/programs/ld-measurement.c: Likewise.
1359         * locale/programs/ld-messages.c: Likewise.
1360         * locale/programs/ld-monetary.c: Likewise.
1361         * locale/programs/ld-name.c: Likewise.
1362         * locale/programs/ld-numeric.c: Likewise.
1363         * locale/programs/ld-paper.c: Likewise.
1364         * locale/programs/ld-telephone.c: Likewise.
1365         * locale/programs/ld-time.c: Likewise.
1366         * locale/programs/linereader.c: Likewise.
1367         * locale/programs/linereader.h: Likewise.
1368         * locale/programs/localedef.c: Likewise.
1369         * locale/programs/locfile.c: Likewise.
1370         * locale/programs/locfile.h: Likewise.
1371         * locale/programs/repertoire.c: Likewise.
1373 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
1375         * iconv/iconv_prog.c (main): If output file name is "-" write to
1376         stdout.
1377         (main): If -f or -t argument is missing use charset of the current
1378         locale.
1380 2001-02-03  Andreas Jaeger  <aj@suse.de>
1382         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
1383         boundary for SSE/SSE-2 alignment.
1385         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
1386         annexc.
1388 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
1390         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
1391         Remove comma at end of enum.
1393         * elf/dl-init.c: Add a few __builtin_expect.
1395         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
1397 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
1399         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
1400         errno is ECONNREFUSED.
1402         * posix/Makefile: Define MBS_SUPPORT for regex.c.
1403         * posix/regex.c: Implement multibyte character handling.
1404         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
1406         * string/tst-svc.input: Add two more test cases.
1407         * string/tst-svc.expect: Modify to reflect new test cases.
1409 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
1411         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
1412         tp->name tests with tp->name[0] tests.
1414 2001-01-29  Ben Collins  <bcollins@debian.org>
1416         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
1417         Fix check for name == NULL.
1419 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
1421         * elf/Makefile: Add rules to build and run initfirst test.
1422         * elf/initfirst.c: New file.
1423         * elf/firstobj.c: New file.
1425         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
1426         * configure.in: Test for -z initfirst linker option.
1427         * config.make.in: Add have-z-initfirst.
1428         * elf/dl-init.c (_dl_init): Split out actual initialization code in
1429         new function call_init.  If _dl_initfirst is non-NULL initialize first.
1430         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
1431         remember object in _dl_initfirst.
1432         * elf/soinit.c: Remove special support for calling
1433         __pthread_initialize_minimal.
1435         * conform/conformtest.pl: Add missing $prepend in type test.
1437 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
1439         * elf/elf.h (SHT_CHECKSUM): New definition.
1441         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
1442         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1443         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
1445 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
1447         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
1448         to get definition of `struct timeval'.
1450 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
1452         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
1453         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
1455 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
1457         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
1458         seen, not flags.
1460         * nis/nis_findserv.c: Include <time.h>.
1462 2001-01-30  Yong Li  <yong.li@asu.edu>
1464         * iconv/iconv_prog.c (main): Correct error handling method name.
1466 2001-01-29  Ben Collins  <bcollins@debian.org>
1468         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
1469         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
1470         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1471         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
1473 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
1475         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
1476         Patch by Marko Myllynen <myllynen@lut.fi>.
1478         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
1479         (int instead of char).
1480         (__strpbrk_c3): Likewise.
1481         Reported by GOTO Masanori <gotom@debian.or.jp>.
1483         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
1484         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
1485         * include/sys/socket.h: Add SA_LEN here for internal use.
1486         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1488 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
1490         * malloc/Makefile: Don't build memusagestat if cross-compiling.
1492         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
1494         * math/libm-test.inc (rint_test): Add a few more tests for round
1495         to even rounding.
1497 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
1499         * conform/data/pthread.h-data: Correct return type of pthread_exit.
1501         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
1503         * conform/data/stdlib.h-data: Add _Exit.
1505         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
1506         if not already happened.
1507         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
1508         Don't include <limits.h> and <bits/sockaddr.h>.
1510         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
1512         * conform/data/spawn.h-data: Allow all of <sched.h>.
1514         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
1515         unused variable.
1517         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
1518         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
1520         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
1522         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
1523         * libio/stdio.h: Define va_list correctly.
1525         * conform/data/pthread.h-data: Make priority protocol related
1526         functions optional.  Fix typos.
1528         * posix/sched.h: Define sched_priority as __sched_priority.
1529         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
1530         to __sched_priority.
1531         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
1533 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
1535         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
1536         of <sys/time.h>.
1538         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
1539         * sysdeps/unix/time.c: Likewise.
1541         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
1542         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
1543         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
1544         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
1545         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1546         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
1547         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
1548         * time/time.h: Likewise.
1550         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
1551         * conform/data/complex.h-data: New file.
1552         * conform/data/tgmath.h-data: New file.
1554         * conform/data/wchar.h-data: Add missing functions.
1556         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
1558         * conform/data/termios.h-data: Add missing const in tcsetattr()
1559         prototype.
1561         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
1562         Don't define pid_t here.
1564         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
1566         * conform/data/sys/time.h-data: Allow sys/select.h.
1567         * conform/data/sys/un.h-data: Fix typo.
1568         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
1569         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
1570         <sys/time.h>.
1571         * sysdeps/unix/clock_nanosleep.c: Likewise.
1572         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
1573         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
1574         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
1575         * sysdeps/unix/clock_settime.c: Likewise.
1577         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
1578         * login/getutent.c: Likewise.
1579         * login/getutid.c: Likewise.
1580         * login/getutline.c: Likewise.
1582         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
1584         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
1585         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
1586         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
1587         f_fsid field after change in struct statvfs.
1588         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
1589         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
1590         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
1592         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
1593         optional-macro.
1595         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
1596         recvfrom, send, and socketpair prototypes.  Add allow lines.
1597         * socket/sys/socket.h: Include <sys/uio.h>.
1598         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
1599         Fix type of second parameter of listen.
1600         Don't declare isfdtype unless __USE_MISC.
1601         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
1602         * sysdeps/mach/hurd/listen.c: Likewise.
1603         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
1604         ss_family and __ss_family.
1605         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
1606         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1607         (struct msghdr): Change type of msg_iovlen to int and type of
1608         msg_controllen to socklen_t.
1609         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
1610         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
1611         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
1612         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
1613         (rresvport_af): Likewise.
1615         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
1616         * conform/conformtest.pl: Implement handling of symbol.
1618         * signal/signal.h: Fix handling of __need_* symbols.
1619         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
1620         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
1621         * include/sys/select.h: Use fd_set not __fd_set.
1622         * sysdeps/generic/bits/select.h: Likewise.
1623         * sysdeps/i386/bits/select.h: Likewise.
1624         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
1625         __FDELT, __FDMASK, and __fd_set here.
1626         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
1627         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
1628         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1629         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1630         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
1631         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1632         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1633         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1634         * time/sys/time.h: Define struct timeval before including <time.h>
1635         and <sys/select.h>.
1637         * conform/data/sys/time.h-data: fd_set is a typedef.
1638         * conform/data/sys/select.h-data: New file.
1639         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
1640         * conform/conformtest.pl (@headers): Add sys/select.h.
1641         (type, optional-type): Unless testing a typedef instantiate object.
1642         Implement optional-function.
1644         * math/test-misc.c: Include <float.h>.
1646 2001-01-27  Andreas Jaeger  <aj@suse.de>
1648         * misc/efgcvt_r.c: Include <float.h>.
1650 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
1652         * conform/data/stdlib.h-data: Account for XPG6 changes.
1653         * stdlib/stdlib.h (__random): Change return value type to long.
1654         (posix_memalign): Cleanup parameter names.
1655         (setenv, unsetenv): Make available for __USE_XOPEN2K.
1656         Change return type of unsetenv to int.
1657         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
1658         * include/stdlib.h: Change return type of unsetenv to int.
1659         Change return type of random to long int.
1660         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
1661         Return -1 and set errno if parameter is invalid.
1662         * stdlib/random.c (__random): Change return value type to long.
1664         * conform/data/stdio.h-data: Account for changes in XPG6.
1666         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
1667         prototype.
1669         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
1670         * conform/data/signal.h-data: Fix sigev_notify_function entry.
1671         Fix typo (SIGVALRM -> SIGVTALRM).
1672         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
1673         with real type.
1674         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
1675         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1676         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1677         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1678         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
1680         * conform/conformtest.pl: Implement optional-element.  Define
1681         $mustprepend{"sched.h"}.
1682         * conform/data/sched.h-data: Make sporadic scheduler definitions
1683         optional.
1685         * pwd/pwd.h: Don't define getpwent_r for XPG.
1687         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
1688         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
1689         * sysdeps/mach/hurd/poll.c: Likewise.
1690         * sysdeps/unix/bsd/poll.c: Likewise.
1691         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1692         * sysdeps/unix/sysv/aix/poll.c: Likewise.
1693         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
1694         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
1695         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
1696         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
1697         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
1698         * conform/data/poll.h-data: Fix typo in poll prototype.
1700         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
1701         only if __USE_MISC.
1702         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
1704         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
1706         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
1708         * conform/conformtest.pl: Implement optional-type.
1710         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
1711         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
1712         defining uint32_t here.  Define IPPORT_RESERVED.
1713         (struct hostent): Type of h_length element is int.
1714         (getnameinfo): Type of flags parameter is unsigned int.
1715         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
1716         * conform/data/netdb.h-data: Add many missing definitions.
1718         * conform/conformtest.pl: Implement optional-macro.
1719         * conform/data/math.h-data: Update for XPG6.
1721         * math/math.h (HUGE): Define as FLT_MAX value but don't use
1722         FLT_MAX.  Don't include <float.h>.
1723         (MAXFLOAT): Likewise.
1725         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
1727         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
1729         * conform/data/limits.h-data: Mark constants as optional wherever
1730         appropriate.
1732         * posix/bits/posix2_lim.h: Set correct values for
1733         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
1734         EQUIV_CLASS_MAX.
1736         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
1737         Required by POSIX.
1739         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
1741         * conform/data/netinet/in.h-data: Add reserved prefixes.
1743         * conform/data/arpa/inet.h-data: Fix a few typos.
1745 2001-01-26  Andreas Jaeger  <aj@suse.de>
1747         * sysdeps/generic/strtol.c: Include <locale.h>
1748         * stdlib/strtod.c: Likewise
1749         * stdlib/strfmon.c: Likewise.
1750         * string/strcoll.c: Likewise.
1751         * string/strxfrm.c: Likewise.
1752         * wctype/wcfuncs_l.c: Likewise.
1753         * wctype/wctype_l.c: Likewise.
1754         * wctype/wctrans_l.c: Likewise.
1756         * include/bits/locale.h: New file.
1758 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
1760         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
1761         and NOSTR.
1763         * locale/Makefile (headers): Add bits/locale.h.
1764         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
1765         and use __LC_ constants instead of LC_.
1766         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
1767         using __LC_ constants.
1768         * locale/bits/locale.h: New file.
1769         * locale/loadlocale.c: Include <locale.h>.
1770         * locale/nl_langinfo.h: Likewise.
1772         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
1774         * io/sys/stat.h: Define S_IFSOCK for XPG6.
1776         * conform/data/fcntl.h-data: posix_madvise is not expected here.
1778         * conform/conformtest.pl: Fix handling of macro-str.
1780         * conform/data/inttypes.h-data: Add missing definition and all of
1781         stdint.h-data.
1783         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
1785 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
1787         * conform/conformtest.pl (@headers): Add stdint.h.
1788         * conform/data/stdint.h-data: New file.
1790         * conform/conformtest.pl: Recognize options --headers and
1791         --dialect.  Add dialect-specific CFLAGS.
1793         * conform/conformtest.pl: Implement handling of recursive
1794         allow-header.
1796         * conform/data/locale.h-data: Add new struct lconv members.
1798         * posix/wordexp.h: Correct definition of wordexp_t.
1799         * posix/wordexp.c: Moved to ...
1800         * sysdeps/generic/wordexp.c: ...here.  New file.
1801         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
1802         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
1803         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
1804         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
1805         wordexp.
1806         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
1807         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
1809         * math/tgmath.h: Pretty printing.
1811         * math/Makefile (tests): Add test-tgmath.
1812         (CFLAGS-test-tgmath.c): New variable.
1813         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
1815         * conform/conformtest.pl: Handle allow-header in secondary headers
1816         correctly.
1818         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
1819         #ifdef.
1821         * conform/data/netinet/in.h-data: Use correct comment character.
1822         * conform/data/sys/stat.h-data: Likewise.
1824 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
1826         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
1827         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
1828         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
1829         __builtin_classify_type, add ##f suffixes where appropriate.
1830         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
1831         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
1832         __builtin_classify_type.
1833         (fma): Fix spelling of first argument.
1835 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
1837         * conform/data/unistd.h-data: Mark functions removed in XPG6
1838         correctly.
1840         * posix/unistd.h: Don't make functions removed in XPG6 available if
1841         __USE_XOPEN2K.
1843         * conform/conformtest.pl: Implement optional-constant.
1844         * conform/data/unistd.h-data: Use optional-constant wherever
1845         appropriate.
1847         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
1848         constants and add _SC_STREAMS.
1849         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1851         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
1852         make old name weak alias.
1853         * sysdeps/generic/statvfs64.c: Likewise.
1854         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
1855         make old name weak alias.
1856         * sysdeps/generic/fstatvfs64.c: Likewise.
1857         * include/sys/statvfs.h: New file.
1859         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
1860         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
1861         _PC_REC_XFER_ALIGN.
1862         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
1863         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
1864         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
1865         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1867         * conform/conformtest.pl: Run Unix tests for XPG6.
1868         Implement handling of known namespace violations.
1869         Improve printing of results.
1871         * posix/unistd.h (usleep): Correct return type.
1872         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
1873         * sysdeps/unix/bsd/usleep.c: Correct return type.
1874         * sysdeps/mach/usleep.c: Correct return type.
1875         * sysdeps/generic/usleep.c: Correct return type.
1877         * posix/unistd.h (sync): Correct return type.
1878         * sysdeps/generic/sync.c: Likewise.
1879         * sysdeps/mach/hurd/sync.c: Likewise.
1881         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
1883         * posix/unistd.h: Make seteuid and setegid available for XPG6.
1885         * wcsmbs/wchar.h: Get FILE definition for XPG5.
1887         * conform/data/ctype.h-data: Use correct comment form.
1888         * conform/data/errno.h-data: Likewise.
1889         * conform/data/math.h-data: Likewise.
1890         * conform/data/mqueue.h-data: Likewise.
1891         * conform/data/netdb.h-data: Likewise.
1892         * conform/data/pthread.h-data: Likewise.
1894 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
1896         * conform/data/wordexp.h-data: Fix typo.
1898         * conform/conformtest.pl: Handle allow-header correctly.
1900         * conform/data/time.h-data: Use correct comment form.
1902         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
1904         * configure.in: Comment out binutils version test.
1906         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
1907         separators.
1908         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
1910         * stdlib/tst-strtod.c (locale_test): New function.
1911         (main): Call locale_test.
1912         * stdlib/Makefile (tst-strtod-ENV): New variable.
1914 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
1916         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
1917         declaration of value such that we actually return the value of the
1918         environment variable.
1920 2001-01-24  Andreas Jaeger  <aj@suse.de>
1922         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
1923         prototype.
1924         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1926         * include/sys/sysctl.h: New file.
1928 2001-01-23  Andreas Jaeger  <aj@suse.de>
1930         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
1931         isomac.
1933         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
1934         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
1935         closes PR libc/2039.
1937         * manual/install.texi (Tools for Compilation): Change required
1938         binutils version.
1940 2001-01-22  Andreas Jaeger  <aj@suse.de>
1942         * configure.in: Add test for new enough binutils version, move
1943         compiler/binutils test up.
1945         * Versions.def: Add version GLIBC_2.2.2.
1947 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
1949         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
1950         available.
1951         * iconvdata/testdata/IBM932: New file.
1952         * iconvdata/testdata/IBM932..UTF8: New file.
1953         * iconvdata/testdata/IBM943: New file.
1954         * iconvdata/testdata/IBM943..UTF8: New file.
1955         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
1957 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1959         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
1961 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
1963         * malloc/malloc.c: Remove a few unnecessary initializers of global
1964         variables.
1966 2000-12-09  H.J. Lu  <hjl@gnu.org>
1968         * nss/Makefile (routines): Add digits_dots.
1969         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
1970         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
1971         into a function.
1972         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
1973         function.
1974         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
1975         (TYPE_VAR_P): Likewise.
1976         (FLAGS_VAR): Likewise.
1977         (AF_VAR_P): Likewise.
1978         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
1979         instead of including digits_dots.c.
1980         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
1981         (TYPE_VAR_P): Likewise.
1982         (FLAGS_VAR): Likewise.
1983         (AF_VAR_P): Likewise.
1984         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
1985         instead of including digits_dots.c.
1987 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
1989         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
1991 2001-01-21  Andreas Jaeger  <aj@suse.de>
1993         * elf/constload2.c: Add prototype for init.
1995 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
1997         * stdlib/stdlib.h (drand48_data): Make available only for
1998         __USE_MISC.  Rename elements to protect namespace.  Change type
1999         and position of a and init element.
2000         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
2001         differently.  Adjust for drand48_data change.  Don't compute a here,
2002         it comes from drand48_data.
2003         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
2004         differently.  Adjust for drand48_data change.  Compute a here.
2005         * stdlib/srand48_r.c: Likewise.
2006         * stdlib/drand48.c: Adjust for drand48_data change.
2007         * stdlib/lrand48.c: Likewise.
2008         * stdlib/mrand48.c: Likewise.
2009         * stdlib/seek48.c: Likewise.
2010         * stdlib/drand48_r.c: Likewise.
2011         * stdlib/lrand48_r.c: Likewise.
2012         * stdlib/mrand48_r.c: Likewise.
2013         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
2014         differently.
2015         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
2016         * stdlib/jrand48_r.c: Likewise.
2018         * po/sv.po: Update from translation team.
2020 2001-01-21  Andreas Jaeger  <aj@suse.de>
2022         * stdio-common/vfprintf.c (vfprintf): Add casts.
2024 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
2026         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
2027         the ASCII test.
2028         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
2030         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
2031         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
2032         * iconvdata/ibm932.c: New file.
2033         * iconvdata/ibm932.h: New file.
2034         * iconvdata/ibm943.c: New file.
2035         * iconvdata/ibm943.h: New file.
2036         Patches by Masahide Washizawa <washi@jp.ibm.com>.
2038         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
2039         preventing optimization from being done.  Set the correct type bit
2040         in seen.  Don't define and use _dl_base_addr unless
2041         NEED_DL_BASE_ADDR is defined.
2043         * io/ftw.c (ftw_dir): Add slash after directory name if there
2044         wasn't any.  Reported by loris <loris@iol.it>.
2045         * io/Makefile (tests): Add bug-ftw2.
2046         * io/bug-ftw2.c: New file.
2048 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
2050         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
2051         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
2052         * stdlib/tst-rand48.c: New file.
2053         * stdlib/Makefile (tests): Add tst-rand48.
2055         * locale/newlocale.c (__newlocale): Fix test for setting all
2056         categories.
2058 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
2060         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
2061         but change looking up the initial directory port in a similar way
2062         as done by _hurd_change_directory_port_from_name.
2063         * hurd/fchroot.c (fchroot): Likewise.
2065 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
2067         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
2068         defined don't look whether the AT_*ID values were set.
2069         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
2070         (_dl_show_auxv): Rewrite to avoid switch statement.
2071         * sysdeps/unix/sysv/linux/kernel-features.h: Define
2072         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
2073         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
2074         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
2076         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
2077         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2078         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2080         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
2081         strtoul.
2082         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
2083         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
2084         anything.
2085         * dlfcn/eval.c (__strtol_internal): Define here.
2086         (eval): Use __strtol_internal instead of strtol.
2088         * elf/elf.h: Add a few more EF_MIPS_* constants.
2090 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
2092         * manual/Makefile (chapters): Add debug.
2093         * manual/debug.texi: New file.
2094         * manual/examples/execinfo.c: New file.
2095         Patch by suckfish@ihug.co.nz.
2097 2001-01-17  Andreas Schwab  <schwab@suse.de>
2099         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
2100         invalid asm.
2102 2001-01-17  Andreas Jaeger  <aj@suse.de>
2104         * nscd/connections.c (nscd_run): Use proper format specifier.
2106 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
2108         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
2109         x86_platforms data into new file after prepending _dl_.  Change
2110         users.
2111         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
2112         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
2113         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
2114         dl-procinfo.c.
2116         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
2118         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
2119         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
2120         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
2121         (_setjmp): Likewise.
2122         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
2123         * sysdeps/i386/bsd-setjmp.S: Real implementation.
2124         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
2125         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
2126         version.
2128 2001-01-16  Andreas Jaeger  <aj@suse.de>
2130         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
2131         misapplied last patch.
2133 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
2135         * stdlib/random.c (__initstate): Clean up a cast.
2136         (__setstate): Likewise.
2138         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
2139         syscall handling.  The generic Linux version should work.
2141 2001-01-15  Andreas Jaeger  <aj@suse.de>
2143         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
2145         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
2147 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
2149         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
2150         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
2151         New functions.
2152         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
2153         If number is 0, list all.
2154         (services_keys): Likewise.  Lookup aliases as well.
2155         (databases): New table.
2156         (build_doc): Prepare argp doc text with list of supported databases.
2157         (main): Change to table driven processing.
2159 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
2161         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
2162         functions.
2164 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
2166         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
2167         encode value which does not fit in the 32bit type.
2169 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
2171         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
2172         Change type of CTX to (struct sigcontext *).
2173         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
2174         (GET_FRAME): Likewise.
2175         (GET_STACK): Likewise.
2176         (SIGCONTEXT): Likewise. Add 2nd arg _code.
2177         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
2179 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
2181         * manual/texinfo.tex: Update from upstream version.
2183 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
2185         * inet/ether_ntoh.c (lookup_function): Change arguments to match
2186         _nss_*_getntohost_r prototype.
2187         (ether_ntohost): Pass errno pointer to NSS function.
2189 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2191         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
2192         (MAP_LOCKED): New definition.
2193         (MAP_NORESERVE): New definition.
2195 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
2197         * assert/assert.h: Use static_cast instead of C-style cast for C++.
2198         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
2200 2001-01-12  Ben Collins  <bcollins@debian.org>
2202         * sysdeps/generic/segfault.c (install_handler): Use access, not
2203         __access.
2205 2001-01-12  Andreas Jaeger  <aj@suse.de>
2207         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
2208         * posix/wordexp.c (do_parse_glob): Likewise.
2209         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2210         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
2211         * elf/dl-open.c (_dl_open): Likewise.
2212         * elf/dl-close.c (_dl_close): Likewise.
2213         * elf/dl-load.c (_dl_map_object): Likewise.
2214         * iconv/iconv_prog.c (process_fd): Likewise.
2215         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
2217         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
2218         of a zero-length array.
2220 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
2222         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
2223         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
2224         * stdlib/cxa_on_exit.c: Remove.
2225         * stdlib/Makefile: Revert last patch.
2226         * stdlib/Versions: Likewise.
2227         * include/stdlib.h: Likewise.
2228         * stdlib/exit.h: Revert last patch.
2229         (struct exit_function): Add second argument to cxa fn.
2230         * stdlib/exit.c: Revert last patch.
2231         (exit): Add hidden second argument.
2233 2001-01-11  H.J. Lu  <hjl@gnu.org>
2235         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
2236         * elf/dl-open.c (_dl_open): Here.
2237         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
2238         Make it static.
2239         (_dl_static_init): Initialize the variables every time when possible.
2240         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
2241         Undefine it first.
2243 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
2245         * stdlib/Makefile (routines): Add cxa_on_exit.
2246         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
2247         * stdlib/cxa_on_exit.c: New file.
2248         * include/stdlib.h: Add prototype for __cxa_on_exit.
2249         * stdlib/exit.c: Handle ef_cxa2.
2250         * stdlib/exit.h (enum): Add ef_cxa2.
2251         (struct exit_function): Add cxa2.
2253         * Versions.def [ld]: Add GLIBC_2.2.1.
2255 2001-01-10  H.J. Lu  <hjl@gnu.org>
2257         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
2258         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
2259         dl-static.
2260         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
2261         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
2262         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
2263         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
2264         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
2266 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
2268         * libio/stdio.h: Remove definition of off_t.
2270 2001-01-11  Andreas Jaeger  <aj@suse.de>
2272         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
2273         <mkuhn@acm.org>.
2275 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
2277         * sunrpc/Makefile (distribute): Add errqueue.h.
2279 2001-01-10  H.J. Lu  <hjl@gnu.org>
2281         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
2282         r9, r10 and r11 for language specific registers.
2284 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
2286         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
2287         UDP socket.
2288         (clntudp_call): Handle MSG_ERRQUEUE.
2289         * sysdeps/generic/errqueue.h: New file.
2290         * sysdeps/unix/sysv/linux/errqueue.h: New file.
2292 2001-01-10  H.J. Lu  <hjl@gnu.org>
2294         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
2296 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
2298         * CONFORMANCE: Update.
2300 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
2302         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
2303         Minimal cleanups.  Add assert to ensure memory handling is correct.
2305         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
2306         Reported by Ben Collins <bcollins@debian.org>.
2308         * time/strftime.c (my_strftime): Mark previous GNU extensions
2309         which are now in C99 as such.
2311 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
2313         * elf/rtld.c (process_envvars): Place output files for profiling
2314         in SUID binaries in /var/profile.
2316         * elf/dl-load.c (_dl_map_object): Don't look in cache for
2317         preloading in SUID binaries.
2319         * elf/dl-profile.c (_dl_start_profile): Open the output file with
2320         O_NOFOLLOW if possible.
2322         * include/stdlib.h: Add __posix_openpt declaration.
2323         * stdlib/stdlib.h: Add posix_openpt declaration.
2324         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
2325         * sysdeps/generic/getpt.c: Define posix_openpt.
2326         * sysdeps/unix/bsd/getpt.c: Likewise.
2327         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
2329         * time/Makefile (tests): Add tst-mktime.
2330         * time/tst-mktime.c: New file.
2332         * posix/tst-dir.c (main): One more mkdir() test.
2334         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
2335         Remove getpagesize syscall.  We assume that the pagesize is always
2336         determined from the auxiliary vector.
2338         * intl/dcigettext.c: Fix a few warnings.
2339         Patch by Bruno Haible <haible@ilog.fr>.
2341 2001-01-08  Andreas Jaeger  <aj@suse.de>
2343         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
2344         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2346 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
2348         * sysdeps/generic/segfault.c (install_handler): Check output file
2349         name with access().
2351         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
2352         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
2354         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
2356         * malloc/memusage.c (me): Use access() to determine whether we
2357         should write the output file or not.
2359         * libio/bits/stdio.h (printf): Define macro to map printf call to
2360         fprintf which gcc can optimize.
2361         * stdio-common/printf.c: Undefine printf.
2363 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
2365         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
2366         patch.  We must use unsigned int for l member of union.
2368         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
2369         _dl_aux_init for shared libraries.
2371         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
2372         * sysdeps/gnu/glob64.c: ...here.  New file.
2374 2001-01-07  Ben Collins  <bcollins@debian.org>
2376         * manual/examples/longopt.c: Make the "struct option" a little
2377         more like it should be, adding usage of required_argument,
2378         noargument and such, and also setting the options string right.
2380         * manual/sysinfo.texi (Load Average): New section, documents
2381         getloadavg().
2383 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
2385         * version.h (VERSION): Bump to 2.2.1.
2387         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
2388         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
2389         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
2390         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
2391         * Makefile (distribute): Add include/libc-internal.h.
2392         * libio/Makefile (distribute): Avoid overwriting.
2394         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
2395         buffer and table handling.
2397 2001-01-05  H.J. Lu  <hjl@gnu.org>
2399         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
2400         vector checking to ...
2401         (_dl_aux_init): Here. New function. Defined only if
2402         HAVE_AUX_VECTOR is defined.
2404         * sysdeps/generic/libc-start.c (__libc_start_main): Call
2405         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
2407         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
2408         _dl_aux_init.
2410         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
2411         (HAVE_AUX_VECTOR): Defined.
2412         (_dl_aux_init): Declared.
2414 2001-01-05  Ben Collins  <bcollins@debian.org>
2416         * manual/string.texi (Finding Tokens in a String): Document XPG
2417         basename() and dirname(), as well as GNU basename().
2419 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
2421         * Makeconfig (preprocess-version): Replace -traditional with
2422         -x assembler-with-cpp.
2424 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
2426         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
2427         for GCC 2.97 or later.
2429 2001-01-05  Ben Collins  <bcollins@debian.org>
2431         * manual/stdio.texi (getline): Clarify the return value in the
2432         case of EOF being reached before a newline.
2434 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
2436         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
2437         FALSE otherwise.
2438         (pmap_set, pmap_unset): Check __get_myaddress return value.
2440 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
2442         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
2443         (struct ether_addr): Declare ether_addr_octet member as
2444         `u_int8_t'.  Add __attribute__ ((__packed__)).
2446 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
2448         * sysdeps/mach/hurd/readdir64.c: New file.
2449         * sysdeps/mach/hurd/readdir64_r.c: New file.
2451 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
2453         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
2454         `struct statfs' and `struct statvfs' being identical.
2455         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
2457 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
2459         * sysdeps/mach/hurd/fstatfs64.c: New file.
2460         * sysdeps/mach/hurd/fstatvfs64.c: New file.
2461         * sysdeps/mach/hurd/statfs64.c: New file.
2462         * sysdeps/mach/hurd/statvfs64.c: New file.
2463         * sysdeps/mach/hurd/statfsconv.c: New file.
2464         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
2466 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
2468         * iconv/skeleton.c: Reset outbuf for next round of the loop.
2469         Reported by Owen Taylor <otaylor@redhat.com>.
2470         * iconv/Makefile (tests): Add tst-iconv3.
2471         * iconv/tst-iconv3.c: New file.
2473         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
2474         * iconvdata/ibm933.c: Likewise.
2475         * iconvdata/ibm935.c: Likewise.
2476         * iconvdata/ibm937.c: Likewise.
2477         * iconvdata/ibm939.c: Likewise.
2478         * iconvdata/ibm930.h: Adjust single byte table for optimization.
2479         * iconvdata/ibm933.h: Likewise.
2480         * iconvdata/ibm935.h: Likewise.
2481         * iconvdata/ibm939.h: Likewise.
2483         * iconvdata/testdata/IBM930: Add misssing SI.
2484         * iconvdata/testdata/IBM933: Likewise.
2485         * iconvdata/testdata/IBM935: Likewise.
2486         * iconvdata/testdata/IBM937: Likewise.
2487         * iconvdata/testdata/IBM939: Likewise.
2489 2001-01-06  Andreas Jaeger  <aj@suse.de>
2491         * configure.in: Check for old add-ons that shouldn't be used with
2492         current glibc anymore.
2494 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
2496         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
2497         instead of -1 on failure.  Don't forget to copy file name into
2498         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
2499         of the directory.
2501 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
2503         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
2504         copy st_atime member.
2506 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
2508         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
2509         for searches from the root directory.
2510         Reported by loris <loris@iol.it> [PR libc/1991].
2511         * io/Makefile (tests): Add bug-ftw1.
2512         * io/bug-ftw1.c: New file.
2514         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
2515         if it is not available.  Instead use it only if it is available.
2516         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
2518         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
2519         overflowing output buffer.
2520         (internal_ucs4_loop_unaligned): Likewise.
2521         (ucs4_internal_loop): Likewise.
2522         (ucs4_internal_loop_unaligned): Likewise.
2523         (internal_ucs4le_loop): Likewise.
2524         (internal_ucs4le_loop_unaligned): Likewise.
2525         (ucs4le_internal_loop): Likewise.
2526         (ucs4le_internal_loop_unaligned): Likewise.
2527         Reported by Owen Taylor <otaylor@redhat.com>.
2528         * iconv/Makefile (tests): Add tst-iconv2.
2529         * iconv/tst-iconv2.c: New file.
2531 2001-01-04  H.J. Lu  <hjl@gnu.org>
2533         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
2534         (_dl_clktck): Declared.
2535         (non_dynamic_init): Take 3 arguments.
2536         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
2538 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
2540         Finish implementation of plural form handling.
2541         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
2542         'domainname'.  Remove 'plindex' field. Add 'domain' and
2543         'translation_length' fields.
2544         (transcmp): Don't compare 'plindex' fields.
2545         (plural_lookup): New function.
2546         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
2547         plural_eval before the translation and its catalog file have been
2548         found. Remove plindex from cache key.  Add 'translation_length' and
2549         'domain' to cache result.
2550         (_nl_find_msg): Remove index argument, return length of translation
2551         to the caller instead.  Weaken comparison of string lengths, to account
2552         for plural entries.  Call iconv() on the entire result string, not
2553         only on the portion needed so far.
2554         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
2555         argument.
2556         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
2558 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
2560         * intl/plural.y (yylex): Minimal improvement in number scanner.
2562 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
2564         * intl/plural.y: Include config.h. Needed to define 'inline' away for
2565         C compilers that don't support it.
2566         (yylex): Don't use gcc specific case range syntax.
2567         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
2568         compilers.
2570 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
2572         * intl/finddomain.c: Remove unneeded includes.
2574 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
2576         * intl/localealias.c (memcpy): Return first argument, just like the
2577         real memcpy function does.
2578         * intl/bindtextdom.c (memcpy): Likewise.
2579         * intl/finddomain.c (memcpy): Likewise.
2580         * intl/l10nflist.c (memcpy): Likewise.
2581         * intl/textdomain.c (memcpy): Likewise.
2582         From Paul Eggert <eggert@twinsun.com>.
2584 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
2586         * resolv/resolv.h (struct __res_state): Add nsinit field.
2587         * resolv/res_send.c (res_nsend): Use it instead of nscount.
2588         * resolv/res_init.c (__res_vinit): Initialize it.
2589         (res_nclose): Clear it instead of nscount.
2591 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
2593         * malloc/mtrace.pl: Fix matching of addresses.
2594         Patch by Aharon Robbins <arnold@skeeve.com>.
2596         * Versions.def (ld): Add GLIBC_2.2.
2598         * catgets/gencat.c: Copyright 2001.
2599         * csu/version.c: Likewise.
2600         * debug/catchsegv.sh: Likewise.
2601         * debug/xtrace.sh: Likewise.
2602         * elf/ldconfig.c: Likewise.
2603         * elf/sprof.c: Likewise.
2604         * iconv/iconv_prog.c: Likewise.
2605         * locale/locale.c: Likewise.
2606         * locale/localedef.c: Likewise.
2607         * malloc/memusage.sh: Likewise.
2608         * malloc/mtrace.pl: Likewise.
2609         * nscd/nscd.c: Likewise.
2610         * posix/getconf.c: Likewise.
2612 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
2614         * include/stdio.h: Only provide __getwc_unlocked prototype if
2615         USE_IN_LIBIO is defined.
2617 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2619         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
2620         handling.
2622 2001-01-03  Andreas Schwab  <schwab@suse.de>
2624         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
2625         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
2627         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
2628         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
2629         strtoull alias.
2630         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
2631         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
2632         wcstoull alias.
2634         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
2635         directory.
2636         * sysdeps/generic/strtol_l.c: Likewise.
2637         * sysdeps/generic/strtoul_l.c: Likewise.
2638         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
2640         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
2641         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
2642         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
2643         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
2645 2001-01-04  Andreas Jaeger  <aj@suse.de>
2647         * nss/nsswitch.c: Include files for missing prototypes, remove
2648         buggy declaration of prototypes.
2650 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2652         * resolv/Versions: Fix bracing.
2653         * sysdeps/powerpc/soft-fp/Versions: Likewise.
2654         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
2656 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2658         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
2660 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
2662         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
2663         Suggested by Minko Markov <mmarkov@home.com>.
2665 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2667         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
2668         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
2669         the failing symbol.
2670         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
2672 2001-01-02  Ben Collins  <bcollins@debian.org>
2674         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
2675         if TZ is not set and TZDEFAULT is not present.
2677 2001-01-01  Ben Collins  <bcollins@debian.org>
2679         * string/strings.h: Make sure we declare our functions even if
2680         string.h is already included, based on whether or not __USE_BSD is
2681         defined.
2683 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
2685         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
2686         other dlopen() and dlsym().
2687         Based on a patch by Ben Collins <bcollins@debian.org>.
2689 2001-01-02  Andreas Jaeger  <aj@suse.de>
2691         * dlfcn/errmsg1.c (main): Call dlerror initially.
2692         Reported by Ben Collins <bcollins@debian.org>.
2694 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
2696         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
2697         value is ignored if the selected locale is the C locale.
2698         * intl/tst-gettext.c: Set locale for above change.
2699         * intl/tst-translit.c: Likewise.
2701 2001-01-02  Andreas Jaeger  <aj@suse.de>
2703         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
2704         (_IO_switch_to_wget_mode): Likewise.
2705         (_IO_sputbackwc): Likewise.
2706         (_IO_sungetwc): Use wint_t for result.
2708         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
2710         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
2711         signedness.
2713         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
2714         to (int) to avoid warnings.
2715         * stdio-common/printf_fp.c (putc): Likewise.
2716         * stdio-common/printf_size.c (putc): Likewise.
2718         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
2719         constant unsigned.
2721 2001-01-01  Andreas Jaeger  <aj@suse.de>
2723         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
2725 2000-12-31  Andreas Jaeger  <aj@suse.de>
2727         * include/libc-internal.h: Add prototype for __libc_freeres.
2729         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
2730         for prototypes, remove redundant prototypes.
2731         * gmon/gmon.c: Likewise.
2732         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
2733         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
2734         * malloc/mtrace.c: Likewise.
2736         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
2737         prototypes.
2738         * elf/soinit.c: Likewise.
2739         * sysdeps/generic/prof-freq.c: Likewise.
2740         * sysdeps/mach/hurd/profil.c: Likewise.
2741         * debug/noophooks.c: Likewise.
2742         * debug/pcprofile.c: Likewise.
2743         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2744         * sysdeps/generic/get_clockfreq.c: Likewise.
2745         * malloc/set-freeres.c: Likewise.
2747         * locale/localeinfo.h: Add internal prototypes.
2749         * elf/rtld.c (dl_main): Fix prototype.
2751         * iconvdata/tst-table-to.c (main): Use return instead of exit to
2752         avoid warning.
2754         * nis/rpcsvc/yp_prot.h: Remove __P.
2755         * nis/rpcsvc/ypupd.h: Likewise.
2756         * nis/rpcsvc/yp.h: Likewise.
2758         * sunrpc/rpc_main.c: Add noreturn attributes.
2759         * sunrpc/rpc_scan.h: Likewise.
2761         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
2763         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
2765         * sunrpc/proto.h: Add noreturn attributes to error and crash.
2767         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
2769         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
2771         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
2773         * include/rpc/rpc_msg.h: Add prototypes for some functions.
2774         * include/rpc/auth.h: Likewise.
2775         * include/rpc/auth_des.h: Likewise.
2776         * include/rpc/clnt.h: Likewise.
2777         * include/rpc/rpc.h: Likewise.
2778         * include/rpc/svc.h: Likewise.
2779         * include/rpc/svc_auth.h: Likewise.
2781         * include/rpc/des_crypt.h: New file.
2783         * malloc/memusagestat.c (main): Use return instead of exit to
2784         avoid warning.
2785         * io/pwd.c (main): Likewise.
2786         * iconvdata/tst-table-from.c (main): Likewise.
2787         * ctype/test_ctype.c (main): Likewise.
2788         * setjmp/tst-setjmp.c (main): Likewise.
2789         * signal/tst-signal.c (main): Likewise.
2790         * stdlib/tst-strtol.c (main): Likewise.
2791         * stdlib/tst-strtod.c (main): Likewise.
2792         * stdlib/tst-strtoll.c (main): Likewise.
2793         * stdlib/tst-xpg-basename.c (main): Likewise.
2794         * dirent/tst-seekdir.c (main): Likewise.
2795         * grp/testgrp.c (main): Likewise.
2796         * inet/test_ifindex.c (main): Likewise.
2797         * io/test-utime.c (main): Likewise.
2798         * posix/test-vfork.c (main): Likewise.
2799         * posix/testfnm.c (main): Likewise.
2800         * stdio-common/temptest.c (main): Likewise.
2801         * stdio-common/test_rdwr.c (main): Likewise.
2802         * stdio-common/tst-fileno.c (main): Likewise.
2803         * stdio-common/tst-sscanf.c (main): Likewise.
2804         * stdio-common/tstscanf.c (main): Likewise.
2805         * string/bug-strncat1.c (main): Likewise.
2806         * string/bug-strpbrk1.c (main): Likewise.
2807         * string/bug-strspn1.c (main): Likewise.
2808         * string/test-ffs.c (main): Likewise.
2809         * string/tst-inlcall.c (main): Likewise.
2810         * string/tst-svc.c (main): Likewise.
2811         * timezone/test-tz.c (main): Likewise.
2812         * wctype/test_wcfuncs.c (main): Likewise.
2813         * wctype/test_wctype.c (main): Likewise.
2815         * stdlib/tst-random.c: Add attribute noreturn to fail.
2817 2000-12-28  Wolfram Gloger  <wg@malloc.de>
2819         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
2820         destination overlap.  Assume dest is always below source if
2821         overlapping.
2823 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
2825         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
2826         object was not yet initialized.
2828 2000-12-28  H.J. Lu  <hjl@gnu.org>
2830         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
2831         is always consistent even if its dependency is failed.
2833         * elf/dl-open.c (_dl_open): Increment the open count before
2834         calling _dl_close () in case of failure.
2836         * elf/neededtest4.c: New file.
2837         * elf/neededobj5.c: New file.
2838         * elf/neededobj6.c: New file.
2840         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
2841         (tests): Add neededtest4.
2842         (modules-names): Add neededobj5 and neededobj6.
2843         ($(objpfx)neededobj6.so): New target.
2844         ($(objpfx)neededtest4): New target.
2845         ($(objpfx)neededtest4.out): New target.
2847 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
2849         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
2850         * stdlib/monetary.h: Add strfmon format attributes.
2852 2000-12-28  Roland McGrath  <roland@frob.com>
2854         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
2855         __mempcpy does it for us.
2857 2000-12-28  Andreas Jaeger  <aj@suse.de>
2859         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
2861         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
2862         __new_setrlimit.
2864         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
2865         __old_getrlimit64.
2867         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
2868         __new_getrlimit.
2870         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
2871         __chown_is_lchown and __real_chown.
2873         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
2874         _dl_reloc_bad_type.
2876         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
2877         up GCC's warning about "deprecated use of label at end of compound
2878         statement."
2879         * sunrpc/rpc_cout.c (emit_inline): Likewise.
2881         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
2882         prototypes.
2883         Remove struct bb and __bb_head since those are declared by
2884         sys/gmon.h.
2886 2000-12-22  Ben Collins  <bcollins@debian.org>
2888         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
2890         * manual/argp.texi: Document argp_domain as part of struct argp.
2892 2000-12-28  Andreas Jaeger  <aj@suse.de>
2894         * catgets/Makefile (generated): Add sample.SJIS.cat.
2896         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
2898         * elf/dl-minimal.c: Add prototypes.
2900         * include/locale.h: Add internal prototypes.
2901         * include/sys/gmon.h: Likewise.
2903         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
2905 2000-12-27  Ben Collins  <bcollins@debian.org>
2907         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
2908         when reallocating the error strings.
2909         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
2911 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
2913         * dlfcn/Makefile (tests): Add errmsg1.
2914         (modules-names): Add errmsg1mod.
2915         Add rules to run errmsg1.
2916         * dlfcn/errmsg1.c: New file.
2917         * dlfcn/errmsg1mod.c: New file.
2919         * dlfcn/dlerror.c (dlerror): Always create output string which
2920         includes object file name.
2922         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
2923         if we would go through it only once.
2924         Patch by Rick Gorton <rick.gorton@api-networks.com>.
2926         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
2927         Patch by Richard Henderson <rth@redhat.com>.
2929 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
2931         * malloc/malloc.c (memmove): Add prototypes.
2932         (MALLOC_MEMMOVE): Define.
2933         (chunk_realloc): Use it instead of MALLOC_COPY if source and
2934         destination might overlap.
2936 2000-12-27  Andreas Jaeger  <aj@suse.de>
2938         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
2939         function.
2940         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2941         * locale/programs/locale.c (show_locale_vars): Likewise.
2942         (show_info): Likewise.
2943         * locale/programs/ld-collate.c (collate_output): Likewise.
2944         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2945         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2946         * stdlib/rpmatch.c (rpmatch): Likewise.
2948         * setjmp/tst-setjmp.c: Make local functions static.
2949         * setjmp/jmpbug.c: Likewise.
2950         * signal/tst-signal.c: Likewise.
2951         * stdio-common/tfformat.c: Likewise.
2952         * string/tst-svc.c: Likewise.
2953         * time/clocktest.c: Likewise.
2954         * time/tst-getdate.c: Likewise.
2955         * dirent/list.c: Likewise.
2956         * dirent/opendir-tst1.c: Likewise.
2957         * posix/runtests.c: Likewise.
2958         * posix/tst-getaddrinfo.c: Likewise.
2959         * posix/tst-chmod.c: Likewise.
2960         * posix/wordexp-test.c: Likewise.
2961         * misc/tst-efgcvt.c: Likewise.
2962         * timezone/tst-timezone.c: Likewise.
2963         * rt/tst-clock.c: Likewise.
2964         * rt/tst-shm.c: Likewise.
2965         * rt/tst-aio2.c: Likewise.
2966         * rt/tst-aio3.c: Likewise.
2967         * rt/tst-aio4.c: Likewise.
2968         * rt/tst-aio5.c: Likewise.
2970         * dlfcn/failtest.c: Add prototype for foo.
2972         * dlfcn/glrefmain.c: Add prototype for do_test.
2974         * dlfcn/tst-dladdr.c: Add prototype for do_test.
2976         * string/test-ffs.c (main): Add prototype for nested function.
2978         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
2980         * nss/XXX-lookup.c: Add prototype to shut up GCC.
2982         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
2983         setetherent prototype.
2984         Add internal interfaces.
2986         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
2987         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
2989         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
2991         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
2993         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
2994         prototypes, remove struct etherent since it's declared in ether.h.
2995         Fix ntohost declaration.
2997         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
2999         * include/getopt.h: Add internal interfaces.
3000         * include/termios.h: Likewise.
3001         * include/resolv.h: Likewise.
3002         * include/netdb.h: Likewise.
3003         * include/grp.h: Likewise.
3004         * include/pwd.h: Likewise.
3005         * include/shadow.h: Likewise.
3006         * include/rpc/netdb.h: Likewise.
3007         * include/setjmp.h: Likewise.
3009         * include/stdio.h: Add prototypes for compatibility functions.
3010         * include/grp.h: Likewise.
3011         * include/pwd.h: Likewise.
3012         * include/shadow.h: Likewise.
3014         * include/fenv.h: Define internal interfaces.
3016 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
3018         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
3019         argument case separately.
3020         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
3022 2000-12-27  Andreas Jaeger  <aj@suse.de>
3024         * include/sys/wait.h: Add some prototypes.
3025         * Rules (dummy.c): Create also prototype to shut up GCC.
3027 2000-12-27  Andreas Jaeger  <aj@suse.de>
3029         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
3030         it's not needed at the moment.
3031         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
3032         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
3034 2000-12-26  Andreas Jaeger  <aj@suse.de>
3036         * libio/getc_u.c: Include stdio.h via system path to get internal
3037         prototypes.
3038         * libio/getwc_u.c: Likewise.
3040         * stdlib/strfmon.c: Fix prototype of __printf_fp.
3042         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
3043         __printf_fp prototypes to ...
3044         * include/printf.h: ...here.
3046         * include/stdio.h: Add some internal prototypes to shut up GCC.
3047         * include/stdlib.h: Likewise.
3049         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
3050         declaration.
3052         * include/signal.h: Add prototypes for internal sigpause
3053         interfaces.
3055 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
3057         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
3058         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
3060         * string/Makefile (tests): Add tst-bswap.
3061         * string/tst-bswap.c: New file.
3063 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
3065         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
3067 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
3069         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
3070         Patch by Ed Connell <Ed.Connell@sas.com>.
3072 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
3074         * locale/iso-639.def: Correct one entry.  Add two missing entries.
3076         * locale/iso-4217.def: Change entry for Eritrea.
3077         Reported by Daniel Yacob <yacob@geez.org>.
3079 2000-12-23  Ben Collins  <bcollins@debian.org>
3081         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
3082         description.
3084         * manual/stdio.texi (Dynamic Output): Document the return value of
3085         asprintf.  Also make the asprintf/snprintf examples a little
3086         better (check for some error returns).
3088 2000-12-22  Andreas Jaeger  <aj@suse.de>
3090         * include/stdio.h: Add __ftrylockfile prototype.
3092 2000-12-21  H.J. Lu  <hjl@gnu.org>
3094         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
3095         Make sign_exponent element signed.
3097         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
3098         Fix a typo.
3100         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
3102 2000-12-21  Andreas Jaeger  <aj@suse.de>
3104         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
3105         * inet/ether_hton.c: Likewise
3106         * inet/ether_ntoh.c: Likewise.
3108         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
3109         declaration to match prototype.
3111         * include/netinet/ether.h (struct etherent): Declare here so that
3112         all implementations use the same struct.
3114         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
3115         prototypes.
3116         (struct ether): Removed.
3117         Use struct etherent instead of ether everywhere.
3119         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
3121         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
3123         * sunrpc/publickey.c: Include auth_des.h for prototypes.
3125 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
3127         * math/test-misc.c: Add more tests for nextafter functions.
3129         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
3130         normal correctly.  Correct test for sign.
3131         Based on a patch by HJ Lu.
3133 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
3135         * Makeconfig (preprocess-version): Add -traditional to gcc call.
3136         Cleanup sed calls.
3138 2000-12-19  Andreas Jaeger  <aj@suse.de>
3140         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
3142         * nis/nis_intern.h: Add prototype for __do_niscall3.
3144         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
3145         match prototype.
3147         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
3149         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
3151         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
3153 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
3155         * math/test-misc.c: Add more tests for nextafter.
3156         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
3157         * sysdeps/ieee754/ldbl-96/math_ldbl.h
3158         (ieee_long_double_shape_type): Make sign_exponent element signed.
3160         * manual/message.texi: Add Estonian to plural overview list.
3161         Correct rule for Slavic languages.
3162         Patch by Stanislav Brabec <utx@penguin.cz>.
3164         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
3166 2000-12-18  Andreas Jaeger  <aj@suse.de>
3168         * test-skeleton.c: Use temp_name_list instead of name_list to
3169         avoid collision with name_list from inet/netgroup.h.
3171         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
3173         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
3174         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
3175         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
3176         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
3178         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
3179         declaration to match prototype.
3180         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
3181         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
3182         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
3183         Likewise.
3184         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
3185         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
3186         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
3187         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
3188         (_nss_nis_getservbyport_r): Likewise.
3189         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
3190         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
3191         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
3192         (_nss_nis_setnetent): Likewise
3193         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3194         (_nss_nis_endnetgrent): Likewise.
3195         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
3196         Likewise.
3197         (_nss_nisplus_setnetgrent): Likewise.
3198         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
3199         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
3200         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
3201         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
3202         Likewise.
3203         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
3204         Likewise.
3205         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
3206         Likewise.
3207         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
3208         Likewise.
3209         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
3210         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
3211         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
3212         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
3213         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
3214         (_nss_dns_getnetbyaddr_r): Likewise.
3216 2000-12-17  Andreas Jaeger  <aj@suse.de>
3218         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
3219         parameter.
3221         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
3222         unused attribute to shut up gcc warnings.
3224         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
3225         * sysdeps/generic/k_tanl.c: Likewise.
3226         * sysdeps/generic/k_cosl.c: Likewise.
3227         * sysdeps/generic/e_j0l.c: Likewise.
3228         * sysdeps/generic/e_j1l.c: Likewise.
3229         * sysdeps/generic/e_jnl.c: Likewise.
3230         * sysdeps/generic/e_lgammal_r.c: Likewise.
3232         * elf/vismain.c: Move prototypes for functions in vismod*.c to
3233         vismod.h.
3234         * elf/vismod.h: New file.
3235         * elf/Makefile (distribute): Add vismod.h.
3236         * elf/vismod1.c: Include vismod.h.
3237         * elf/vismod2.c: Likewise.
3238         * elf/vismod3.c: Likewise.
3240         * elf/constload3.c: Add prototype declarations to shut up gcc.
3241         * elf/failobj.c: Likewise.
3242         * elf/nodelmod3.c: Likewise.
3243         * elf/filtmod1.c: Likewise.
3244         * elf/filtmod2.c: Likewise.
3245         * elf/reldepmod1.c: Likewise.
3246         * elf/reldepmod2.c: Likewise.
3247         * elf/reldepmod3.c: Likewise.
3248         * elf/reldepmod4.c: Likewise.
3249         * elf/unload2dep.c: Likewise.
3250         * elf/unload2mod.c: Likewise.
3251         * elf/ltglobmod1.c: Likewise.
3252         * elf/pathoptobj.c: Likewise.
3253         * elf/neededobj1.c: Likewise.
3254         * elf/neededobj2.c: Likewise.
3255         * elf/neededobj3.c: Likewise.
3256         * elf/neededobj4.c: Likewise.
3257         * elf/nextmod1.c: Likewise.
3258         * elf/nextmod2.c: Likewise.
3260         * locale/programs/ld-collate.c (collate_finish): Don't use labels
3261         at end of compound statement.
3262         * locale/programs/locale.c (show_info): Likewise.
3263         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
3265 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
3267         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
3268         with a pointer not returned by obstack_ functions.
3270 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
3272         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
3273         version.
3274         (struct stat64): Likewise.
3275         Reported by Michael Keezer <mkeezer@redhat.com>.
3277         * timezone/asia: Update from tzdata2000h.
3278         * timezone/australasia: Likewise.
3279         * timezone/backward: Likewise.
3280         * timezone/europe: Likewise.
3281         * timezone/northamerica: Likewise.
3282         * timezone/southamerica: Likewise.
3283         * timezone/zone.tab: Likewise.
3285 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
3287         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
3288         and dir.stream is NULL, only free dir.content.
3289         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
3290         * io/ftwtest-sh: Test with --early-exit.
3292 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
3294         * misc/efgcvt.c (FCVT_MAXDIG): Define.
3295         (FCVT_BUFPTR): New variable.
3296         (fcvt): If fcvt_r returns -1 on the static short buffer,
3297         try to malloc a sufficiently large one and retry.
3298         (free_mem): New function.
3299         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
3300         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
3302 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
3304         * misc/dirname.c (dirname): Fix search for second to last slash.
3306 2000-12-13  Andreas Jaeger  <aj@suse.de>
3308         * misc/tst-dirname.c (main): Fix typo in test to really use
3309         the examples from Unix98.
3310         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3312 2000-12-09  H.J. Lu  <hjl@gnu.org>
3314         * sysdeps/ia64/fpu/s_fabs.S: New file.
3315         * sysdeps/ia64/fpu/s_fabsf.S: New file.
3316         * sysdeps/ia64/fpu/s_fabsl.S: New file.
3318 2000-12-15  Andreas Jaeger  <aj@suse.de>
3320         * stdio-common/scanf9.c (main): Reformat and change to avoid
3321         warnings.
3323         * stdio-common/tstdiomisc.c: Make local functions static.
3324         * stdio-common/tst-printf.c: Likewise.
3326         * elf/constload2.c: Add prototype declarations to shut up gcc.
3327         * elf/dep1.c: Likewise.
3328         * elf/dep2.c: Likewise.
3329         * elf/dep3.c: Likewise.
3330         * elf/dep4.c: Likewise.
3331         * elf/ltglobmod2.c: Likewise.
3333         * libio/fmemopen.c: Make local functions static.
3335         * elf/Makefile (distribute): Added testobj.h.
3337         * elf/testobj.h: New file.
3339         * elf/testobj1.c: Include testobj.h and move prototype
3340         declarations to testobj.h.
3341         * elf/testobj2.c: Likewise.
3342         * elf/testobj3.c: Likewise.
3343         * elf/testobj4.c: Likewise.
3344         * elf/testobj5.c: Likewise.
3345         * elf/testobj6.c: Likewise.
3346         * elf/testobj1_1.c: Likewise.
3347         * elf/preloadtest.c: Likewise.
3349 2000-12-15  Ben Collins  <bcollins@debian.org>
3351         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
3352         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
3354 2000-12-14  H.J. Lu  <hjl@gnu.org>
3356         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
3357         field in a float is 8 bits, not 11 bits.
3359 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
3361         * math/test-misc.c (main): Adjust m for IEEE quad long double.
3363 2000-12-13  Andreas Jaeger  <aj@suse.de>
3365         * manual/message.texi (Using gettextized software): Fix typo.
3367         * manual/charset.texi (Converting a Character): Fix mbstouwcs
3368         program to compile.
3369         Patch by Martin Buchholz <martin@xemacs.org>.
3371         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
3372         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3374 2000-12-11  Andreas Jaeger  <aj@suse.de>
3376         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
3377         kernel_sigset_t and use it.
3378         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
3380 2000-12-10  Richard Henderson  <rth@redhat.com>
3382         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
3383         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
3384         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
3386 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
3388         * sysdeps/alpha/htonl.S: Fix a typo.
3390 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
3392         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
3394 2000-12-10  Andreas Jaeger  <aj@suse.de>
3396         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
3397         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
3398         Drepper <drepper@redhat.com>.
3400 2000-12-09  Andreas Jaeger  <aj@suse.de>
3402         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
3404         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
3405         generic version.
3406         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
3408         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
3409         string.
3411         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
3412         format string.
3414         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
3415         * nscd/connections.c (handle_request): Likewise.
3416         * nscd/pwdcache.c (addpwbyname): Likewise.
3417         * nscd/grpcache.c (addgrbyname): Likewise.
3419         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
3421 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
3423         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
3425         * Makeconfig (default_cflags): Make -O2 the default for stable
3426         releases.
3428 2000-12-08  H.J. Lu  <hjl@gnu.org>
3430         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
3431         * sysdeps/ia64/fpu/s_isinf.S: This.
3432         Add a .pred.rel.mutex note to avoid false report.
3434         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
3435         * sysdeps/ia64/fpu/s_isnan.S: This.
3437         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
3438         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
3439         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
3440         * sysdeps/ia64/fpu/s_isinff.S: New file.
3441         * sysdeps/ia64/fpu/s_isinfl.S: New file.
3442         * sysdeps/ia64/fpu/s_isnanf.S: New file.
3443         * sysdeps/ia64/fpu/s_isnanl.S: New file.
3444         * sysdeps/ia64/fpu/s_finite.S: New file.
3445         * sysdeps/ia64/fpu/s_finitef.S: New file.
3446         * sysdeps/ia64/fpu/s_finitel.S: New file.
3447         * sysdeps/ia64/fpu/s_signbit.S: New file.
3448         * sysdeps/ia64/fpu/s_signbitf.S: New file.
3449         * sysdeps/ia64/fpu/s_signbitl.S: New file.
3450         * sysdeps/ia64/fpu/s_copysign.S: New file.
3451         * sysdeps/ia64/fpu/s_copysignf.S: New file.
3452         * sysdeps/ia64/fpu/s_copysignl.S: New file.
3454 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
3456         * math/libm-test.inc (main): Fix typos in messages.
3458         * string/stratcliff.c: Add test for rawmemchr.
3460 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
3462         * elf/dl-open.c (_dl_open): If objname points right after errstring,
3463         allocate it together with errstring using alloca.
3464         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
3465         to "", because it might point to local stack.
3467 2000-12-05  H.J. Lu  <hjl@gnu.org>
3469         * nss/Makefile (routines): Add getnssent and getnssent_r.
3470         * nss/nsswitch.h (__nss_setent): New internal NSS function.
3471         (__nss_endent): Likewise.
3472         (__nss_getent_r): Likewise.
3473         (__nss_getent): Likewise.
3474         * nss/getnssent_r.c: New file.
3475         * nss/getnssent.c: New file.
3476         * nss/getXXent.c (H_ERRNO_VAR): Updated.
3477         (GETFUNC_NAME): Updated to call __nss_getent ().
3478         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
3479         (STAYOPEN_TMPVAR): Updated.
3480         (STAYOPEN_VAR): Updated.
3481         (SETFUNC_NAME): Updated to call __nss_setent ().
3482         (ENDFUNC_NAME): Updated to call __nss_endent ().
3483         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
3485 2000-12-08  Andreas Jaeger  <aj@suse.de>
3487         * nscd/dbg_log.h (dbg_log): Correct attribute.
3489 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
3491         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
3492         cp + len.  Compute where from dirname.
3493         Reported by <jreiser@BitWagon.com>.
3495 2000-12-08  Richard Henderson  <rth@twiddle.net>
3497         * sysdeps/alpha/_mcount.S: Fix typo.
3498         * sysdeps/alpha/strncpy.S: Likewise.
3500         * sysdeps/alpha/alphaev6/Implies: New file.
3501         * sysdeps/alpha/alphaev67/Implies: New file.
3502         * sysdeps/alpha/alphaev67/ffs.S: New file.
3503         * sysdeps/alpha/alphaev67/ffsll.S: New file.
3504         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
3505         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
3506         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
3507         * sysdeps/alpha/rawmemchr.S: New file.
3508         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
3509         * sysdeps/alpha/strcpy.S: Likewise.
3511         From GMP 3.1.1:
3512         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
3514         From rick.gorton@alpha-processor.com:
3515         * sysdeps/alpha/alphaev6/memchr.S: New file.
3516         * sysdeps/alpha/alphaev6/memcpy.S: New file.
3517         * sysdeps/alpha/alphaev6/memset.S: New file.
3518         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
3519         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
3520         * sysdeps/alpha/alphaev67/strcat.S: New file.
3521         * sysdeps/alpha/alphaev67/strchr.S: New file.
3522         * sysdeps/alpha/alphaev67/strlen.S: New file.
3523         * sysdeps/alpha/alphaev67/strncat.S: New file.
3524         * sysdeps/alpha/htonl.S: Use a shorter sequence.
3526 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
3528         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
3529         Reported by <pspencer@fields.utoronto.ca>.
3531 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
3533         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
3534         Pointed out by Hans Boehm.
3536 2000-12-07  H.J. Lu  <hjl@gnu.org>
3538         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
3540 2000-12-07  Andreas Jaeger  <aj@suse.de>
3542         * misc/error.c: Add format attributes for __error and __error_at_line.
3544         * nscd/dbg_log.h: Add format attribute.
3546 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
3548         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
3549         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3551 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
3553         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
3555 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
3557         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
3558         (sysdep_routines): Add uitrunc.
3559         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
3560         Patches by Michael Keezer <mkeezer@redhat.com>.
3562 2000-12-06  Roland McGrath  <roland@frob.com>
3564         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
3565         argument data, since it will be used to copy out too (for INOUT).
3566         Reported by Marcus Brinkmann <marcus@gnu.org>.
3568         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
3569         (__ioctl): Use uintptr_t instead of unsigned long int.
3571 2000-12-06  Jim Wilson  <wilson@redhat.com>
3573         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
3575 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
3577         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
3578         x.5 rounding correctly.
3580 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
3582         * stdio-common/perror.c (perror): Conditionalize code dealing with
3583         wide-oriented streams on USE_IN_LIBIO.
3585 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
3587         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
3588         as internal_function.
3590 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
3592         * sysdeps/alpha/elf/start.S (__data_start): Define.
3594 2000-12-05  H.J. Lu  <hjl@gnu.org>
3596         * nss/getXXent_r.c (setup): Change the return type to int.
3598 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
3600         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
3601         (sysdep_routines): Add restf and savef.
3602         * sysdeps/unix/sysv/aix/restf.c: New file.
3603         * sysdeps/unix/sysv/aix/savef.c: New file.
3604         Patches by Michael Keezer <mkeezer@redhat.com>.
3606         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
3607         if O_DIRECTORY is not defined.
3608         Patch by Michael Keezer <mkeezer@redhat.com>.
3610         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
3611         Patch by Michael Keezer <mkeezer@redhat.com>.
3613         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
3614         than 4 bytes in escape sequence.
3615         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3617 2000-12-05  Andreas Jaeger  <aj@suse.de>
3619         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
3620         set mips2.
3622         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
3624         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
3626         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
3627         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3629         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
3630         internal_function.
3631         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
3632         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
3634         * sysdeps/generic/dl-cache.c: Remove declaration of
3635         _dl_sysdep_read_whole_file.
3637         * elf/dl-load.c (_dl_map_object): Remove declaration of
3638         _dl_load_cache_lookup.
3640         * sysdeps/generic/ldsodefs.h: Add declarations of
3641         _dl_load_cache_lookup, _dl_unload_cache,
3642         _dl_sysdep_read_whole_file, _dl_sysdep_start and
3643         _dl_sysdep_start_cleanup.
3645         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
3646         now.
3648         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
3649         * sysdeps/generic/dl-environ.c: Likewise.
3651         * stdio-common/printf_fp.c: Include <gmp.h> instead of
3652         <stdlib/gmp.h>.
3653         * math/atest-exp.c: Likewise.
3654         * math/atest-exp2.c: Likewise.
3655         * math/atest-sincos.c: Likewise.
3656         * stdio-common/_itoa.c: Likewise.
3657         * stdio-common/_itowa.c: Likewise.
3659         * include/gmp.h: New file with internal prototypes.
3661         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
3662         here to...
3663         * include/setjmp.h: ...here.
3665         * locale/Makefile (routines): Remove codeset_name since it's not
3666         needed anywhere.
3668         * locale/codeset_name.c: Removed.
3670 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
3672         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
3674 2000-12-05  Andreas Jaeger  <aj@suse.de>
3676         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
3678 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3680         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
3681         available.
3683 2000-12-05  Andreas Jaeger  <aj@suse.de>
3685         * nss/test-netdb.c: Mark local functions as static to avoid
3686         warnings.
3687         (main): Use return to silence warning.
3689         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
3691         * stdio-common/test-popen.c: Mark local functions as static to
3692         avoid warnings.
3693         (main): Use return to silence warning.
3695         * stdlib/testsort.c (compare): Mark as static to avoid warning.
3697         * assert/test-assert.c: Mark local functions as static to avoid
3698         warnings.
3699         * assert/test-assert-perr.c: Likewise.
3701         * math/libm-test.inc (main): Use return to silence warnings.
3703 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
3705         * math/fenv.h: Fix typo in comment.
3707         * math/test-misc.c (main): Add a few more over and underflow tests
3708         for scalb.
3710         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
3711         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3712         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3713         * math/w_scalb.c: Don't use matherr except in SVID mode.
3714         * math/w_scalbf.c: Likewise.
3715         * math/w_scalbl.c: Likewise.
3716         * math/test-misc.c: Add test for NaN and scalbl.
3717         Reported by Fred J. Tydeman <tydeman@tybor.com>.
3719 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
3721         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
3722         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
3723         * include/libc-symbols.h (strong_alias): Define special version
3724         for HAVE_ASM_GLOBAL_DOT_NAME.
3725         (weak_alias): Likewise.
3726         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
3727         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
3728         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
3729         getutxline, pututxline, and utmpxname.
3730         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
3731         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
3732         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
3733         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
3734         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
3735         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
3736         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
3737         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
3738         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
3739         Patches by Michael Keezer <mkeezer@redhat.com>.
3741 2000-12-04  H.J. Lu  <hjl@gnu.org>
3743         * configure.in: Change --with-oldest-abi=ABI to
3744         --enable-oldest-abi=ABI.
3746 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
3748         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
3749         fwprintf instead of fprintf.
3751 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
3753         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
3754         DECIMAL_DIG definitions.
3755         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
3756         * sysdeps/generic/bits/mathdef.h: Likewise
3757         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
3758         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
3759         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
3760         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
3761         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
3762         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
3764 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
3766         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
3768         * math/atest-exp.c: Mark local functions as static to avoid warnings.
3769         * math/atest-exp2.c: Likewise.
3770         * math/atest-sincos.c: Likewise.
3772         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
3773         Reported by Fred J. Tydeman <tydeman@tybor.com>.
3775         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
3776         the handling of denormalized numbers.
3778         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
3779         numbers on x86.
3780         * sysdeps/i386/fpu/fpclassifyl.c: New file.
3782         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
3783         pseudo denormal representation of LDBL_MIN.
3785         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
3786         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
3788         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
3789         * iconvdata/jis0208.c: Likewise.
3790         * iconvdata/jis0212.c: Likewise.
3791         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3793         * math/test-misc.c (main): More tests for frexp and some for
3794         fpclassify and isnormal.
3796         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
3797         test for subnormal.
3798         Reported by Fred J. Tydeman <tydeman@tybor.com>.
3800         * math/test-misc.c (main): Add tests for frexp.
3801         Reported by Fred J. Tydeman <tydeman@tybor.com>.
3802         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
3804 2000-12-02  H.J. Lu  <hjl@gnu.org>
3806         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
3807         '\0' to wcschr.
3809 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
3811         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
3812         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3813         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3815         * sysdeps/generic/glob.c: Adjust types of several variables to
3816         avoid warnings.
3818 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
3820         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
3822 2000-11-30  Roland McGrath  <roland@frob.com>
3824         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
3825         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
3826         allow multiple instances using the same function name in one file.
3828 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
3830         * configure.in: Correct test for pserver CVS access.
3832 2000-11-28  H.J. Lu  <hjl@gnu.org>
3834         * libio/libio.h: Remove extra "#if ... #endif".
3836 2000-11-29  H.J. Lu  <hjl@gnu.org>
3838         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
3840 2000-12-01  H.J. Lu  <hjl@gnu.org>
3842         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
3843         * nss/getXXent_r.c: Likewise.
3844         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3846 2000-11-30  H.J. Lu  <hjl@gnu.org>
3848         * scripts/abi-versions.awk (oldest_abi): New variable.
3849         Handle the oldest ABI supported.
3851         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
3852         for scripts/abi-versions.awk.
3854         * configure.in: Add --with-oldest-abi=ABI.
3855         * configure: Rebuild.
3857         * config.make.in (oldest-abi): New.
3859         * config.h.in (GLIBC_OLDEST_ABI): New.
3861         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
3863 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
3865         * locale/setlocale.c (setname): Free for all categories, not just
3866         LC_ALL.
3867         (setlocale): Store a copy of string passed by user, not the string
3868         itself.
3870 2000-11-30  Roland McGrath  <roland@frob.com>
3872         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
3873         rather than _hurd_fd_subinit, so it happens after it's safe to use
3874         libc facilities like malloc.
3876 2000-11-28  Andreas Jaeger  <aj@suse.de>
3878         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
3879         declaration, adjust declaration of __syscall_getdents to match
3880         kernel.
3882 2000-11-29  H.J. Lu  <hjl@gnu.org>
3884         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
3886 2000-11-29  Andreas Jaeger  <aj@suse.de>
3888         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
3890 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
3892         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
3893         * dlfcn/defaultmod2.c: Likewise.
3894         * dlfcn/dlopen.c: Likewise.
3895         * dlfcn/dlopenold.c: Likewise.
3896         * dlfcn/failtestmod.c: Likewise.
3897         * dlfcn/glreflib1.c: Likewise.
3898         * dlfcn/glreflib2.c: Likewise.
3899         * dlfcn/eval.c: Likewise.  Add attributes.
3901         * ctype/ctype-extn.c: Define isblank and not __isblank.
3903         * time/strftime.c: Add const where necessary to avoid warnings.
3904         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
3906 2000-11-22  Paul Eggert  <eggert@twinsun.com>
3908         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
3909         size of (size_t) -1; it's not portable.
3911 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
3913         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
3914         crappy i486 FPU.
3915         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
3917 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
3919         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
3921         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
3922         _mcount is required by profiled binaries.
3924         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
3925         * sysdeps/ia64/machine-gmon.h: ...here.
3927 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
3929         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
3930         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
3931         and ibm1129.h.
3932         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
3933         IBM1129.
3934         * iconvdata/ibm922.c: New file.
3935         * iconvdata/ibm922.h: New file.
3936         * iconvdata/ibm1124.c: New file.
3937         * iconvdata/ibm1124.h: New file.
3938         * iconvdata/ibm1129.c: New file.
3939         * iconvdata/ibm1129.h: New file.
3940         * iconvdata/testdata/IBM922: New file.
3941         * iconvdata/testdata/IBM922..UTF8: New file.
3942         * iconvdata/testdata/IBM1124: New file.
3943         * iconvdata/testdata/IBM1124..UTF8: New file.
3944         * iconvdata/testdata/IBM1129: New file.
3945         * iconvdata/testdata/IBM1129..UTF8: New file.
3947 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
3949         * catgets/gencat.c (normalize_line): Take extra parameter with escape
3950         character.  Change callers.
3951         (open_conversion): Determine mapping of 0x5c as wchar_t value.
3952         * catgets/Makefile: Add rules to build and run test-gencat.
3953         * catgets/sample.SJIS: New file.
3954         * catgets/test-gencat.c: New file.
3955         * catgets/test-gencat.sh: New file.
3956         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3958 2000-11-28  Andreas Jaeger  <aj@suse.de>
3960         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
3961         Linux version.
3963 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
3965         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
3967 2000-11-28  Andreas Jaeger  <aj@suse.de>
3969         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
3970         __flexarr.
3971         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
3972         Likewise.
3974 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
3976         * misc/getusershell.c: Make strings in okshells array const.
3977         * misc/regexp.c: Add const to cast to avoid warnings.
3978         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
3979         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
3980         __setresuid.
3981         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
3982         setresgid.
3983         * misc/error.c: Add prototypes for __error and __error_at_line.
3984         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
3985         statement to avoid warning.
3986         * test-skeleton.c: Mark timeout_handler with noreturn.
3987         * iconv/skeleton.c (get16u): Add const to cast.
3988         (get32u): Likewise.
3989         * iconvdata/gb18030.c: Likewise.
3990         * iconvdata/iso-2022-cn-ext.c: Likewise.
3991         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
3992         * iconvdata/big5.c: Likewise.
3993         * iconvdata/big5hkscs.c: Likewise.
3994         * iconvdata/iso_6937.c: Likewise.
3995         * iconvdata/iso_6937-2.c: Likewise.
3996         * iconvdata/t.61.c: Likewise.
3997         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
3998         * iconvdata/unicode.c: Likewise.
3999         * iconvdata/utf-16.c: Likewise.
4000         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
4001         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
4002         with little code shuffling.
4004         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
4005         the problems introduced when the user selects -O3.
4007         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
4008         * misc/sys/cdefs.h: Define __flexarr.
4009         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
4011         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
4012         * iconv/skeleton.c: Likewise.
4013         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
4014         * iconv/loop.c (get16): Add const to cast.
4015         (get32): Likewise.
4017 2000-11-27  Andreas Jaeger  <aj@suse.de>
4019         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
4020         to avoid warning.
4021         * login/programs/utmpdump.c (print_entry): Likewise.
4023 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4025         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
4026         in a single asm as they may be used to access other stored
4027         registers.
4028         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
4030 2000-11-27  Andreas Jaeger  <aj@suse.de>
4032         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
4033         * rt/tst-aio64.c: Likewise.
4035 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
4037         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
4038         for gencat run.
4039         (libc.cat): Likewise.
4040         * catgets/gencat.c: Implement handling of message catalogs encoded
4041         with stateful character sets.
4042         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4044 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
4046         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
4048         * inet/getnameinfo.c: Adjust casts to avoid warnings.
4049         * inet/rcmd.c: Likewise.
4050         * inet/ruserpass.c: Likewise.
4051         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
4052         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4053         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
4054         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
4055         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
4056         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
4057         * include/aliases.h: Add prototypes for internal __getalias* functions.
4058         * include/netdb.h: Add prototypes for __old_gethostent_r,
4059         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
4060         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
4061         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
4062         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
4063         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
4064         __old_getrpcbynumber_r, __old_getrpcent_r.
4066         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
4067         __getrpcent_r prototypes.
4069 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
4071         * string/strcoll.c: Add casts to avoid warnings.
4072         * string/strnlen.c: Likewise.
4073         * string/strxfrm.c: Likewise.
4074         * sysdeps/generic/_strerror.c: Likewise.
4075         * sysdeps/generic/memrchr.c: Likewise.
4076         * sysdeps/generic/strcasestr.c: Likewise.
4077         * sysdeps/generic/strstr.c: Likewise.
4079         * locale/weight.h (findidx): Add const to cast to avoid warning.
4081         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
4082         * elf/loadtest.c: Likewise.
4083         * elf/multiload.c: Likewise.
4084         * elf/next.c: Likewise.
4085         * elf/nodelete.c: Likewise.
4086         * elf/noload.c: Likewise.
4087         * elf/order.c: Likewise.
4088         * elf/origtest.c: Likewise.
4089         * elf/preloadtest.c: Likewise.
4090         * elf/restest1.c: Likewise.
4092         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
4093         parameter of asm must be in %ecx.
4095         * string/tester.c: Mark test functions as static to avoid warnings.
4097         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
4098         preserve value over different gconv-modules files.
4100 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
4102         * locale/findlocale.c: Add casts to avoid warnings.
4103         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
4104         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
4105         to avoid warnings.
4106         * misc/tsearch.c (const_node): New type.
4107         (trecurse): Correct casts to avoid warnings.
4108         (__twalk): Likewise.
4109         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
4110         LONG_BIT.
4112         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
4114         * test-skeleton.c: Mark local functions as static to avoid warnings.
4116 2000-11-23  H.J. Lu  <hjl@gnu.org>
4118         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
4119         support the background job.
4120         Fix a typo.
4122 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
4124         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
4125         has same names but lower cost.
4127 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
4129         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
4130         which never occur during bootstrap.
4131         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4133 2000-11-23  Andreas Jaeger  <aj@suse.de>
4135         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
4137         * nss/Versions: Remove _nss_files_getipnodebyname_r.
4139         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
4141 2000-11-18  Martin Buchholz  <martin@xemacs.org>
4143         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
4144         (called++) return;'
4146 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
4148         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
4150         * csu/abi-note.S: Correct comment for operating system number.
4152 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
4154         * Versions.def: Add GLIBC_2.2.1 for glibc.
4156 2000-11-22  Andreas Schwab  <schwab@suse.de>
4158         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
4159         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
4161 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
4163         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
4164         absolute time for pthread_cond_timedwait call.
4165         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
4167         * rt/Makefile (tests): Add tst-aio6.
4168         * rt/tst-aio6.c: New file.
4170 2000-11-23  Andreas Jaeger  <aj@suse.de>
4172         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
4174 2000-11-22  Andreas Jaeger  <aj@suse.de>
4176         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
4178 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4180         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
4182 2000-11-21  Andreas Schwab  <schwab@suse.de>
4184         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
4185         * sysdeps/arm/setjmp.S: Likewise.
4186         * sysdeps/arm/fpu/setjmp.S: Likewise.
4187         * sysdeps/i386/setjmp.S: Likewise.
4188         * sysdeps/i386/elf/setjmp.S: Likewise.
4189         * sysdeps/s390/setjmp.S: Likewise.
4190         * sysdeps/s390/elf/setjmp.S: Likewise.
4191         * sysdeps/sh/sh3/setjmp.S: Likewise.
4192         * sysdeps/sh/sh4/setjmp.S: Likewise.
4193         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
4194         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4195         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
4196         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
4198 2000-11-21  Andreas Jaeger  <aj@suse.de>
4200         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
4201         NORETURN, fix parameter list.
4203         * string/bug-strncat1.c (main): Fix typo.
4204         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
4206 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
4208         * configure.in: Add --enable-all-warnings.
4209         * config.make.in (all-warnings): New variable.
4210         * Makeconfig (+gccwarn): Define with many more warnings if
4211         all-warnings is yes.
4213 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
4215         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
4216         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
4217         * malloc/tst-valloc.c (main): Cast valloc return value to long.
4218         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
4219         * math/test-fpucw.c (main): Use %lx in format string, cast
4220         control words to long.
4221         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
4222         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
4223         large that it is unsigned warning.
4225         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
4226         it to long on sparc64.
4228 2000-11-20  Andreas Jaeger  <aj@suse.de>
4230         * nscd/nscd.h (termination_handler): Add noreturn attribute.
4231         (receiv_print_stats): Likewise.
4233         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
4235 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
4237         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
4239         * csu/gmon-start.c: Always have prototype for __gmon_start.
4240         * csu/version.c: Add prototypes for __libc_print_version and
4241         __libc_main.
4242         * iconv/gconv.c: Include gconv_int.h and gconv.h.
4243         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
4244         and __to_name.
4245         * iconv/gconv_builtin.h: Add ASCII module definitions.
4246         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
4247         (add_module): Add cast to avoid warning.  Rework construction of
4248         strings for new module.
4249         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
4250         (derivation_compare): Likewise.
4251         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
4252         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
4253         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
4254         (struct gconv_alias): Remove const from fromname and toname.
4255         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
4256         for loop functions.
4257         (internal_ucs4_loop): Use correct const-ness.
4258         (ucs4_internal_loop): Likewise.
4259         (internal_ucs4le_loop): Likewise.
4260         (ucs4le_internal_loop_single): Likewise.
4261         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
4262         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
4263         assignments appropriately.
4264         (struct known_trans): Remove const from fname.
4265         (trans_compare): Make s1 and s2 const.
4266         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
4267         avoid warning.
4268         * iconv/skeleton.c: Remove cast in calls of loop functions.
4269         * iconvdata/gconv-modules: Remove US-ASCII definitions.
4270         * iconvdata/iso646.c: Remove US_ASCII support.
4271         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
4272         * include/unistd.h: Add __libc_check_standard_fds prototype.
4273         * string/bits/string2.h (__mempcpy_args): Add const to casts.
4274         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
4275         _fini.
4276         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
4277         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
4278         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
4279         warning.
4280         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
4281         __libc_init_first and _dl_start.
4282         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
4283         (DCIGETTEXT): Make domaindata variable const.
4284         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
4285         to avoid warning.
4287 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
4289         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
4291         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
4292         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
4293         __unused? members.
4295         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
4296         value defined in /usr/include/asm-mips/fcntl.h.
4298 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
4300         * stdio-common/Makefile (tests): Add test-vfprintf.
4301         (test-vfprintf-ENV): New variable.
4302         * stdio-common/test-vfprintf.c: New file.
4304         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
4306         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
4307         (tst-mbrtowc-ENV): New variable.
4308         (tst-wcrtomb-ENV): New variable.
4309         * wcsmbs/tst-mbrtowc.c: New file.
4310         * wcsmbs/tst-wcrtomb.c: New file.
4312 2000-11-16  Andreas Jaeger  <aj@suse.de>
4314         * manual/install.texi (Tools for Compilation): Update
4315         documentation for GCC 2.95.2.
4317 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
4319         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
4320         if IPv4 and IPv6 requests timed out.
4322 2000-11-18  Akim Demaille  <akim@epita.fr>
4324         * malloc/obstack.h: Formatting changes.
4325         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
4326         prevents type checking.
4327         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
4328         cast the value to (void *): assigning a `foo *' to a `void *'
4329         variable is valid.
4330         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
4332 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
4334         * scripts/config.guess: Update from upstream maintainer.
4335         * scripts/config.sub: Likewise.
4337 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
4339         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
4340         * libio/freopen64.c (freopen64): Likewise.
4341         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4343         * libio/Makefile: Add rules to build and run test-freopen.
4344         * libio/test-freopen.c: New file.
4345         * libio/test-freopen.sh: New file.
4347 2000-11-15  H.J. Lu  <hjl@gnu.org>
4349         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
4350         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
4351         (DL_DT_FINI_ADDRESS): Likewise.
4353         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
4354         return type to ElfW(Addr).
4355         (_dl_function_address): New prototype.
4356         (DL_FUNCTION_ADDRESS): Defined.
4357         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
4358         (DL_DT_FINI_ADDRESS): Likewise.
4360         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
4362         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
4363         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
4365         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
4366         (_dl_function_address): This.
4368         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
4369         function pointer for DT_FINI.
4370         * elf/dl-close.c (_dl_close): Likewise.
4372         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
4373         function pointer for DT_INIT.
4375 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
4377         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
4378         end of wexpbuf buffer.
4380 2000-11-16  Andreas Jaeger  <aj@suse.de>
4382         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
4383         definition of F_GETLK, F_SETLK, F_SETLKW.
4385 2000-11-16  Andreas Jaeger  <aj@suse.de>
4387         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
4388         it's not defined.
4390 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
4392         * dlfcn/default.c (main): Add test for dladdr of main returning
4393         argv[0] in dli_fname field.
4395 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
4397         * Makeconfig (run-program-prefix): Move test-static test into the
4398         variable.
4400         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
4401         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
4402         schedule instructions.
4403         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
4404         schedule instructions, fix a bug in copying auxiliary data.
4406 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
4408         * manual/startup.texi (Program Arguments): Fix type of main's envp
4409         parameter.
4410         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
4412         * iconvdata/gconv-modules: Add CP950 alias.
4414 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
4416         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
4417         syscall-list.h goal.
4418         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
4420 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
4422         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
4424         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
4425         output of program.
4427         * intl/tst-gettext2.c: Set C locale if setting other locale
4428         failed.  Use gettext() not _().
4430         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
4431         successfully loaded a new locale.
4433 2000-11-13  Andreas Jaeger  <aj@suse.de>
4435         * configure.in: Require gcc 2.95 or newer.
4437 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
4439         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
4440         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
4442 2000-11-11  Jim Meyering  <meyering@lucent.com>
4444         * string/strndup.c (strndup): Cast return value to `char *'.
4446 2000-11-15  Jim Meyering  <meyering@ascend.com>
4448         * sysdeps/generic/memchr.c: Remove some useless parentheses.
4449         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
4450         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
4451         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
4452         Also #undef __memchr.
4453         Use `weak_alias' only if it's defined.
4455 2000-11-10  H.J. Lu  <hjl@gnu.org>
4457         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
4459 2000-11-15  Andreas Jaeger  <aj@suse.de>
4461         * elf/chroot_canon.c: Include <stdint.h>.
4463         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
4464         (print_entry): Likewise.
4465         (add_to_cache): Likewise.
4467         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
4469         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
4470         (path_hwcap): Likewise.
4471         (search_dir): Likewise.
4473         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
4475         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
4477         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
4478         (_dl_platform_string): New.
4479         (_DL_HWCAP_PLATFORM): New.
4480         (_dl_string_platform): New.
4481         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4483         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4484         (_dl_string_platform): New.
4485         (_DL_HWCAP_PLATFORM): New.
4486         (_dl_platform_string): New.
4488         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
4489         recognition.
4490         (_DL_HWCAP_COUNT): New.
4491         (_dl_string_platform): New.
4492         (_DL_HWCAP_PLATFORM): New.
4493         (_dl_platform_string): New.
4495 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
4497         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
4499 2000-11-14  Andreas Jaeger  <aj@suse.de>
4501         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
4503 2000-11-13  Roland McGrath  <roland@frob.com>
4505         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
4507 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
4509         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
4510         underrun and make sure the result is null terminated even if there
4511         is no trailing newline.
4513 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
4515         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4517 2000-11-10  H.J. Lu  <hjl@gnu.org>
4519         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
4521 2000-11-10  Andreas Jaeger  <aj@suse.de>
4523         * elf/ldconfig.c (create_links): Fix alloca calculation.
4524         Patch by Ben Collins <bcollins@debian.org>.
4526 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
4528         * inet/getnameinfo.c (getnameinfo): Use correct destination
4529         parameter for if_indextoname.
4530         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
4532 2000-11-09  H.J. Lu  <hjl@gnu.org>
4534         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
4535         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
4536         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
4537         xdr_keystatus.
4539         * time/Versions (GLIBC_2.1): Move getitimer to...
4540         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
4542 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
4544         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
4545         "make install", to work around a binary incompatibility between
4546         glibc 2.1 and glibc 2.2 gconv modules.
4548 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
4550         * intl/locale.alias: Add thai.
4551         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
4553 2000-11-07  Akim Demaille  <akim@epita.fr>
4555         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
4556         argument `data' for consistency with the prototypes.
4557         Qualify it `const'.
4558         (obstack_copy, obstack_copy0): Rename the second argument as
4559         `address' for consistency.  Qualify it `const'.
4560         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
4561         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
4562         `const' their input argument (`data' or `address').
4563         Adjust the corresponding macros to include `const' in casts.
4565 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4567         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
4568         target family.
4570 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4572         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
4573         socket creation.
4575 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4577         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
4578         ai_protocol by internal table if service was not given.
4580 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4582         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
4583         numerical port was specified with protocol without socktype.
4585 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4587         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
4589 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4591         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
4593 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4595         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
4596         sin6_scope_id field.
4598 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4600         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
4602 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4604         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
4606 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4608         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
4609         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
4611 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
4613         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
4614         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
4616 2000-11-09  H.J. Lu  <hjl@gnu.org>
4618         * io/Versions (GLIBC_2.1.1): Remove lockf64.
4621 See ChangeLog.11 for earlier changes.