Update.
[glibc.git] / ChangeLog
blobb00bf556bcec2c1f53a1bf022d4bf76d6e8a628c
1 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
3         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4         FNM_EXTMATCH.
6         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
7         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
9         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
10         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
11         avoid running binaries with libc versions without FNM_EXTMATCH support.
13         * include/wchar.h: Add prototype for __wcscat.
14         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
16         * posix/fnmatch.h (FNM_EXTMATCH): Define.
17         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
18         (posixly_correct): Move global variable here.
19         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
20         (fnmatch): Pretty printing.
21         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
22         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
23         * posix/tst-fnmatch.input: Add tests for extended matching.
25         * posix/testfnm.c: Add test for patterns with multiple ** before /.
26         * posix/fnmatch_loop.c: Fix problem with the test above.
28 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
30         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
31         reference to usqrt.
33         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
35 2001-03-12  Andreas Jaeger  <aj@suse.de>
37         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38         Use EM_X86_64 instead of EM_X8664.
40 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
42         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
44         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
45         conditions.
47         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
48         conditions.
50         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
51         correctly.
52         (__cos): Likewise.
54         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
55         correctly.
56         (__ieee754_acos): Likewise.
58 2001-03-12  Andreas Jaeger  <aj@suse.de>
60         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
61         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
63         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
64         redefinition.
66 2001-03-11  Roland McGrath  <roland@frob.com>
68         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
70 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
72         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
73         LITTLE_ENDI.
75         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
76         parameter list.
78         Last-bit accurate math library implementation by IBM Haifa.
79         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
80         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
81         Anna Reitman <reitman@il.ibm.com>.
82         * math/Makefile (dbl-only-routines): New variable.
83         (libm-routines): Add $(dbl-only-routines).
84         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
85         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
86         implementation.
87         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
88         implementation.
89         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
90         implementation.
91         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
92         __kernel_cos.
93         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
94         implementation.
95         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
96         remainder implementation.
97         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
98         implementation.
99         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
100         implementation.
101         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
102         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
103         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
104         implementation.
105         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
106         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
107         implementation.
108         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
109         and __kernel_cos.
110         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
111         implementation.
112         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
113         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
114         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
115         * sysdeps/ieee754/dbl-64/atnat.h: New file.
116         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
117         * sysdeps/ieee754/dbl-64/branred.c: New file.
118         * sysdeps/ieee754/dbl-64/branred.h: New file.
119         * sysdeps/ieee754/dbl-64/dla.h: New file.
120         * sysdeps/ieee754/dbl-64/doasin.c: New file.
121         * sysdeps/ieee754/dbl-64/doasin.h: New file.
122         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
123         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
124         * sysdeps/ieee754/dbl-64/endian.h: New file.
125         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
126         * sysdeps/ieee754/dbl-64/mpa.c: New file.
127         * sysdeps/ieee754/dbl-64/mpa.h: New file.
128         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
129         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
130         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
131         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
132         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
133         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
134         * sysdeps/ieee754/dbl-64/mplog.c: New file.
135         * sysdeps/ieee754/dbl-64/mplog.h: New file.
136         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
137         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
138         * sysdeps/ieee754/dbl-64/mptan.c: New file.
139         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
140         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
141         * sysdeps/ieee754/dbl-64/root.tbl: New file.
142         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
143         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
144         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
145         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
146         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
147         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
148         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
149         * sysdeps/ieee754/dbl-64/uexp.h: New file.
150         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
151         * sysdeps/ieee754/dbl-64/ulog.h: New file.
152         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
153         * sysdeps/ieee754/dbl-64/upow.h: New file.
154         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
155         * sysdeps/ieee754/dbl-64/urem.h: New file.
156         * sysdeps/ieee754/dbl-64/uroot.h: New file.
157         * sysdeps/ieee754/dbl-64/usncs.h: New file.
158         * sysdeps/ieee754/dbl-64/utan.h: New file.
159         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
160         * sysdeps/i386/fpu/branred.c: New file.
161         * sysdeps/i386/fpu/doasin.c: New file.
162         * sysdeps/i386/fpu/dosincos.c: New file.
163         * sysdeps/i386/fpu/halfulp.c: New file.
164         * sysdeps/i386/fpu/mpa.c: New file.
165         * sysdeps/i386/fpu/mpatan.c: New file.
166         * sysdeps/i386/fpu/mpatan2.c: New file.
167         * sysdeps/i386/fpu/mpexp.c: New file.
168         * sysdeps/i386/fpu/mplog.c: New file.
169         * sysdeps/i386/fpu/mpsqrt.c: New file.
170         * sysdeps/i386/fpu/mptan.c: New file.
171         * sysdeps/i386/fpu/sincos32.c: New file.
172         * sysdeps/i386/fpu/slowexp.c: New file.
173         * sysdeps/i386/fpu/slowpow.c: New file.
174         * sysdeps/ia64/fpu/branred.c: New file.
175         * sysdeps/ia64/fpu/doasin.c: New file.
176         * sysdeps/ia64/fpu/dosincos.c: New file.
177         * sysdeps/ia64/fpu/halfulp.c: New file.
178         * sysdeps/ia64/fpu/mpa.c: New file.
179         * sysdeps/ia64/fpu/mpatan.c: New file.
180         * sysdeps/ia64/fpu/mpatan2.c: New file.
181         * sysdeps/ia64/fpu/mpexp.c: New file.
182         * sysdeps/ia64/fpu/mplog.c: New file.
183         * sysdeps/ia64/fpu/mpsqrt.c: New file.
184         * sysdeps/ia64/fpu/mptan.c: New file.
185         * sysdeps/ia64/fpu/sincos32.c: New file.
186         * sysdeps/ia64/fpu/slowexp.c: New file.
187         * sysdeps/ia64/fpu/slowpow.c: New file.
188         * sysdeps/m68k/fpu/branred.c: New file.
189         * sysdeps/m68k/fpu/doasin.c: New file.
190         * sysdeps/m68k/fpu/dosincos.c: New file.
191         * sysdeps/m68k/fpu/halfulp.c: New file.
192         * sysdeps/m68k/fpu/mpa.c: New file.
193         * sysdeps/m68k/fpu/mpatan.c: New file.
194         * sysdeps/m68k/fpu/mpatan2.c: New file.
195         * sysdeps/m68k/fpu/mpexp.c: New file.
196         * sysdeps/m68k/fpu/mplog.c: New file.
197         * sysdeps/m68k/fpu/mpsqrt.c: New file.
198         * sysdeps/m68k/fpu/mptan.c: New file.
199         * sysdeps/m68k/fpu/sincos32.c: New file.
200         * sysdeps/m68k/fpu/slowexp.c: New file.
201         * sysdeps/m68k/fpu/slowpow.c: New file.
203         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
204         codepages.
206 2001-03-11  Andreas Jaeger  <aj@suse.de>
208         * elf/elf.h (EM_*): Synch with official list.
210 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
212         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
214 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
216         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
217         variables addr & len.
219 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
221         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
222         punctuation in asm constraint.
224 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
226         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
227         <time.h> to get definition of `struct timespec'.
229 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
231         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
232         LD_WARN=1, not if LD_WARN is unset.
234 2001-03-07  Andreas Schwab  <schwab@suse.de>
236         * elf/ldconfig.h: Moved to ...
237         * sysdeps/generic/ldconfig.h: ... here.
238         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
239         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
240         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
241         * elf/readlib.c (interpreters, known_libs): Use
242         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
243         instead of hard coding old names.
245 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
247         * catgets/Makefile (generated): Add test-gencat.h.
248         (sample.SJIS.cat): Also generate header.
249         * catgets/sample.SJIS: Add new set and message, both with symbolic
250         names.
251         * catgets/test-gencat.sh: Also compare generated header with what
252         we expect.
254 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
256         * catgets/gencat.c (read_input_file): Preserve properly symbolic
257         names.
259 2001-03-06  Andreas Jaeger  <aj@suse.de>
261         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
262         needed.
263         (elf_machine_pltrel_p): Likewise.
264         * sysdeps/powerpc/dl-machine.h: Likewise.
265         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
267 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
269         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
270         dl-procinfo.h.
272 2001-03-05  Philip Blundell  <philb@gnu.org>
274         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
275         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
276         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
277         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
278         dl-procinfo.
280 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
282         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
283         is not available.
284         * dlfcn/tstcxaatexit.c (main): Likewise.
286 2001-03-10  Andreas Jaeger  <aj@suse.de>
288         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
290 2001-03-09  Andreas Jaeger  <aj@suse.de>
292         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
293         both new and old EM_S390 values.
294         (EM_S390_OLD): New constant.
296         * elf/elf.h (EM_S390): Use official value.
298 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
300         * conform/data/sys/socket.h-data: Allow SO* symbols.
302 2001-03-07  Andreas Schwab  <schwab@suse.de>
304         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
305         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
307 2001-03-07  Andreas Jaeger  <aj@suse.de>
309         * resolv/Makefile (routines): Only build gai_sigqueue when threads
310         are available.
312 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
314         * elf/ldconfig.c (_dl_sysdep_message): Remove.
315         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
316         ldsodefs.h.
317         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
319         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
320         _dl_error_printf instead of _dl_sysdep_error.
321         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
322         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
323         Use _dl_printf instead of _dl_sysdep_message.
324         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
325         Likewise.
327 2001-03-06  Ben Collins  <bcollins@debian.org>
329         * manual/arith.texi (Integers): Fix documentation of fast and
330         least integer typedefs.
332 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
334         * resolv/Depend: New file.
335         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
336         when libpthread is built.
338 2001-03-06  Andreas Jaeger  <aj@suse.de>
340         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
342         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
343         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
345 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
347         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
349 2001-03-05  Andreas Jaeger  <aj@suse.de>
351         * stdlib/msort.c (qsort): Don't use alloca in a function call.
353 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
355         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
356         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
357         always return zero.
358         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
359         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
360         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
361         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
362         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
363         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
364         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
366 2001-03-04  Andreas Jaeger  <aj@suse.de>
368         * stdlib/longlong.h: Don't use multi-line strings.
369         * iconvdata/tst-loading.c: Likewise.
371         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
372         string.
374 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
376         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
378         * rt/lio_listio.c: Add a few asserts.
380         * elf/global.c: New file.
381         * elf/globalmod1.c: New file.
382         * elf/Makefile: Add rules to build and run global.
384         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
385         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
386         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
387         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
388         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
390         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
391         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
393         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
395         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
396         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
398         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
400         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
402 2001-03-04  Andreas Jaeger  <aj@suse.de>
404         * resolv/tst-aton.c: Add testcase for IP with four periods.
406         * resolv/inet_addr.c: Don't recognize an IP with four periods.
407         Patch by Andre' Breiler <A.Breiler@gmx.net>.
409 2001-02-27  Philip Blundell  <pb@futuretv.com>
411         * elf/elf.h: Add new ARM definitions from latest (B-01)
412         specification.  Correct naming of EF_ARM_ALIGN8 et al.
414 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
416         * stdio-common/tst-printf.sh: Remove bashisms.
417         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
419 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
421         * Versions.def: Add libanl definition.
422         * shlib-versions: Add entry for libanl.
423         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
424         (routines): Add gai_sigqueue.
425         (extra-libs): Add libanl.
426         (libanl-routines): New variable.
427         Add rules to build libanl and ga_test.
428         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
429         [libanl]: New library.
430         * resolv/netdb.h: Add definitions for libanl.
431         * resolv/getaddrinfo_a.c: New file.
432         * resolv/gai_cancel.c: New file.
433         * resolv/gai_error.c: New file.
434         * resolv/gai_misc.c: New file.
435         * resolv/gai_misc.h: New file.
436         * resolv/gai_notify.c: New file.
437         * resolv/gai_suspend.c: New file.
438         * resolv/ga_test.c: New file.
439         * sysdeps/generic/gai_sigqueue.c: New file.
440         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
441         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
442         and provide only that definition.
443         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
444         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
445         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
446         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
447         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
448         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
450         * rt/aio_misc.c: Fix typos in comments.
451         * rt/lio_listio.c: Pretty printing.  Little optimization in request
452         list handling.
454         * elf/rtld.c: Remove commented out code.
456         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
457         Update for real 2.4 kernels.
459 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
461         * elf/dl-load.c: Pretty printing.
463         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
464         twice.
466 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
468         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
469         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
471         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
473         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
474         machines.
476         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
478 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
480         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
481         _dl_debug_mask.
483         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
484         _dl_debug_printf.
485         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
486         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
487         _dl_debug_printf_c, and _dl_printf.
488         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
489         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
490         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
491         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
492         * elf/dl-close.c: Replace use of old output functions with the new
493         ones.
494         * elf/dl-deps.c: Likewise.
495         * elf/dl-error.c: Likewise.
496         * elf/dl-fini.c: Likewise.
497         * elf/dl-init.c: Likewise.
498         * elf/dl-load.c: Likewise.
499         * elf/dl-lookup.c: Likewise.
500         * elf/dl-minimal.c: Likewise.
501         * elf/dl-open.c: Likewise.
502         * elf/dl-profile.c: Likewise.
503         * elf/dl-reloc.c: Likewise.
504         * elf/dl-version.c: Likewise.
505         * elf/do-lookup.h: Likewise.
506         * elf/rtld.c: Likewise.
507         * sysdeps/generic/dl-cache.c: Likewise.
508         * sysdeps/generic/dl-sysdep.c: Likewise.
509         * sysdeps/generic/libc-start.c: Likewise.
510         * sysdeps/i386/dl-machine.h: Likewise.
511         * sysdeps/arm/dl-machine.h: Likewise.
512         * sysdeps/hppa/dl-machine.h: Likewise.
513         * sysdeps/m68k/dl-machine.h: Likewise.
514         * sysdeps/powerpc/dl-machine.h: Likewise.
515         * sysdeps/s390/dl-machine.h: Likewise.
516         * sysdeps/sh/dl-machine.h: Likewise.
517         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
518         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
519         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
521         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
523         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
524         supported by assembler.
526         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
527         declaractions.
529         * elf/rtld.c: Little optimizations in handling _dl_lazy.
531         * elf/cache.c (save_cache): Portability changes.
532         * elf/dl-profile.c (_dl_start_profile): Likewise.
534         * elf/sln.c: Cleanups.  Remove arbitrary limits.
536         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
537         * elf/dl-deps.c: Likewise.
538         * elf/dl-fini.c: Likewise.
539         * elf/dl-init.c: Likewise.
540         * elf/dl-load.c: Likewise.
541         * elf/dl-lookup.c: Likewise.
542         * elf/dl-open.c: Likewise.
543         * elf/dl-reloc.c: Likewise.
544         * elf/dl-support.c: Likewise.
545         * elf/dl-version.c: Likewise.
546         * elf/do-lookup.h: Likewise.
547         * elf/rtld.c: Likewise.
548         * sysdeps/generic/dl-cache.c: Likewise.
549         * sysdeps/generic/ldsodefs.h: Likewise.
550         * sysdeps/generic/libc-start.c: Likewise.
551         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
552         Export _dl_debug_mask.
553         * Versions.def: Define GLIBC_2.2.3 for ld.
555 2001-02-26  Greg McGary  <greg@mcgary.org>
557         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
559 2001-02-26  Paul Eggert  <eggert@twinsun.com>
561         Modify mkstemp.c and tempname.c so that they can be used by
562         GNU applications on non-glibc platforms.
564         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
566         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
567         Include <stddef.h>, <stdint.h>, <string.h> only if
568         STDC_HEADERS || _LIBC.
569         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
570         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
571         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
572         (__set_errno): Define this macro if <errno.h> doesn't.
573         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
574         Define these macros if <stdio.h> doesn't.
575         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
576         Define these macros if <sys/stat.h> doesn't.
577         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
578         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
579         lxstat64, __xstat64): Define if not _LIBC.
580         (struct_stat64): New macro.
581         (direxists, __gen_tempname): Use it, to avoid a
582         portability problem with Solaris 8.
583         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
584         (__gen_tempname): Invoke gettimeofday only if
585         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
586         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
587         octal values like 0600.
589 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
591         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
592         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
594         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
595         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
597         * posix/wordexp-test.c (testit): Remove warnings.
599         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
600         (tests): Add tstatexit and tstcxaatexit.
601         (module-names): Add modatexit and modcxaatexit.
602         Add rules to build and run tstatexit and tstcxaatexit.
603         * dlfcn/modatexit.c: New file.
604         * dlfcn/modcxaatexit.c: New file.
605         * dlfcn/tstatexit.c: New file.
606         * dlfcn/tstcxaatexit.c: New file.
608         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
609         .hidden is available.
610         * io/stat.c: If .hidden is available use it to avoid exporting
611         functions.
612         * io/fstat.c: Likewise.
613         * io/lstat.c: Likewise.
614         * io/stat64.c: Likewise.
615         * io/fstat64.c: Likewise.
616         * io/lstat64.c: Likewise.
617         * sysdeps/generic/mknod.c: Likewise.
619         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
620         * sysdeps/generic/bb_init_func.c: Likewise.
621         * sysdeps/generic/libc-start.c: Likewise.
623         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
624         (atexit): Implement using __cxa_atexit.
625         Use .hidden if availble to avoid exporting atexit.
626         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
627         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
628         * stdlib/Makefile (routines): Add old_atexit.
629         (static-only-routines): Add atexit.
630         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
631         * stdlib/old_atexit.c: New file.
633         * intl/Makefile: Remove bogus endif.
635 2001-02-26  Andreas Jaeger  <aj@suse.de>
637         * iconvdata/Makefile (tests): Fix typo in last patch.
639         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
640         available.
641         Reported by Achim Gottinger <achim@gentoo.org>.
643 2001-02-25  Andreas Jaeger  <aj@suse.de>
645         * intl/Makefile (plural.c): Reorder rules so that they work if
646         BISON doesn't exist.
648 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
650         * intl/locale.alias: Don't use nb_NO but define aliases for it.
652 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
654         * sysdeps/i386/strtok.S: Continue to return NULL after the first
655         time this happened.
657 2001-02-23  Andreas Jaeger  <aj@suse.de>
659         * string/tester.c (test_strtok_r): Add testcase.
660         (test_strtok_r): Always initialize cp for proper checking.
662         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
663         returning NULL correctly.
664         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
665         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
667 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
669         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
670         including <stddef.h>.
671         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
672         * include/libc-symbols.h (weak_alias): Don't use .weak if
673         HAVE_ASM_GLOBAL_DOT_NAME is defined.
674         Patches by Michael Keezer <mkeezer@redhat.com>.
676         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
677         Patch by Michael Keezer <mkeezer@redhat.com>.
679         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
680         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
681         (sysdep_routines): Remove restf.S and savef.S.
682         * sysdeps/unix/sysv/aix/restf.S. Removed.
683         * sysdeps/unix/sysv/aix/savef.S. Removed.
684         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
685         alternative names used on some platforms.
686         * sysdeps/powerpc/fprsave.S: Likewise.
687         * sysdeps/powerpc/gprrest0.S: Likewise.
688         * sysdeps/powerpc/gprrest1.S: Likewise.
689         * sysdeps/powerpc/gprsave0.S: Likewise.
690         * sysdeps/powerpc/gprsave1.S: Likewise.
691         Patch by Michael Keezer <mkeezer@redhat.com>.
693 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
695         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
697 2001-02-22  Andreas Jaeger  <aj@suse.de>
699         * string/tst-strtok.c (main): Fix error messages.
701 2001-02-22  Andreas Jaeger  <aj@suse.de>
703         * math/Makefile: Remove omit-long-double-fcts.
705 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
707         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
708         avoid problems on MIPS I.
709         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
711         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
712         noreorder".
714 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
716         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
718         * sysdeps/generic/ftime.c: Include <time.h>.
720         * configure.in: Don't check for libgd if user passed --without-gd.
721         Patch by Achim Gottinger <achim@gentoo.org>.
723         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
724         first time this happened.
725         * string/Makefile (tests): Add tst-strtok.
727 2001-02-21  Andreas Jaeger  <aj@suse.de>
729         * string/tst-strtok.c: New testcase, reported by
730         Andrew Church <achurch@achurch.org>.
732 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
734         * libio/iofwide.c: Remove fwide alias.
736 2001-02-20  Andreas Jaeger  <aj@suse.de>
738         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
739         is available.
740         Reported by Achim Gottinger <achim@gentoo.org>.
742 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
744         * iconv/tst-iconv1.c (main): Remove debugging code.
746         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
747         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
749         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
750         parameters.
751         * sysdeps/generic/e_scalbf.c: Likewise.
752         * sysdeps/generic/e_scalbl.c: Likewise.
754         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
755         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
756         in libc.
757         (routines): Replace libm_error with libc_libm_error.
758         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
759         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
761 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
763         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
764         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
766 2001-02-17  H.J. Lu  <hjl@gnu.org>
768         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
769         scratch registers across the system call.
771 2001-02-19  Andreas Jaeger  <aj@suse.de>
773         * malloc/Makefile (tests): Run mtrace only when perl is available.
774         Reported by Achim Gottinger <achim@gentoo.org>.
776 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
778         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
779         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
781         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
782         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
783         * math/libm-test.inc (j1_test): Mark constants as long double.
784         (jn_test): Likewise.
785         (y1_test): Likewise.
786         (yn_test): Likewise.
788         * libio/iogetline.c: Move return until after last statement.
790         * localedata/show-ucs-data.c: Don't show < > for better readability.
792         * sysdeps/ia64/fpu/Dist: New file.
793         * sysdeps/ia64/fpu/Makefile: New file.
794         * sysdeps/ia64/fpu/Versions: New file.
795         * sysdeps/ia64/fpu/e_acos.S: New file.
796         * sysdeps/ia64/fpu/e_acosf.S: New file.
797         * sysdeps/ia64/fpu/e_acosl.S: New file.
798         * sysdeps/ia64/fpu/e_asin.S: New file.
799         * sysdeps/ia64/fpu/e_asinf.S: New file.
800         * sysdeps/ia64/fpu/e_asinl.S: New file.
801         * sysdeps/ia64/fpu/e_atan2.S: New file.
802         * sysdeps/ia64/fpu/e_atan2f.S: New file.
803         * sysdeps/ia64/fpu/e_atan2l.c: New file.
804         * sysdeps/ia64/fpu/e_cosh.S: New file.
805         * sysdeps/ia64/fpu/e_coshf.S: New file.
806         * sysdeps/ia64/fpu/e_coshl.S: New file.
807         * sysdeps/ia64/fpu/e_exp.S: New file.
808         * sysdeps/ia64/fpu/e_expf.S: New file.
809         * sysdeps/ia64/fpu/e_expl.c: New file.
810         * sysdeps/ia64/fpu/e_fmod.S: New file.
811         * sysdeps/ia64/fpu/e_fmodf.S: New file.
812         * sysdeps/ia64/fpu/e_fmodl.S: New file.
813         * sysdeps/ia64/fpu/e_hypot.S: New file.
814         * sysdeps/ia64/fpu/e_hypotf.S: New file.
815         * sysdeps/ia64/fpu/e_hypotl.S: New file.
816         * sysdeps/ia64/fpu/e_log.S: New file.
817         * sysdeps/ia64/fpu/e_log10.c: New file.
818         * sysdeps/ia64/fpu/e_log10f.c: New file.
819         * sysdeps/ia64/fpu/e_log10l.c: New file.
820         * sysdeps/ia64/fpu/e_logf.S: New file.
821         * sysdeps/ia64/fpu/e_logl.c: New file.
822         * sysdeps/ia64/fpu/e_pow.S: New file.
823         * sysdeps/ia64/fpu/e_powf.S: New file.
824         * sysdeps/ia64/fpu/e_powl.S: New file.
825         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
826         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
827         * sysdeps/ia64/fpu/e_remainder.S: New file.
828         * sysdeps/ia64/fpu/e_remainderf.S: New file.
829         * sysdeps/ia64/fpu/e_remainderl.S: New file.
830         * sysdeps/ia64/fpu/e_scalb.S: New file.
831         * sysdeps/ia64/fpu/e_scalbf.S: New file.
832         * sysdeps/ia64/fpu/e_scalbl.S: New file.
833         * sysdeps/ia64/fpu/e_sinh.S: New file.
834         * sysdeps/ia64/fpu/e_sinhf.S: New file.
835         * sysdeps/ia64/fpu/e_sinhl.S: New file.
836         * sysdeps/ia64/fpu/e_sqrt.S: New file.
837         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
838         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
839         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
840         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
841         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
842         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
843         * sysdeps/ia64/fpu/libm_error.c: New file.
844         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
845         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
846         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
847         * sysdeps/ia64/fpu/libm_reduce.S: New file.
848         * sysdeps/ia64/fpu/libm_support.h: New file.
849         * sysdeps/ia64/fpu/libm_tan.S: New file.
850         * sysdeps/ia64/fpu/s_atan.S: New file.
851         * sysdeps/ia64/fpu/s_atanf.S: New file.
852         * sysdeps/ia64/fpu/s_atanl.S: New file.
853         * sysdeps/ia64/fpu/s_cbrt.S: New file.
854         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
855         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
856         * sysdeps/ia64/fpu/s_ceil.S: New file.
857         * sysdeps/ia64/fpu/s_ceilf.S: New file.
858         * sysdeps/ia64/fpu/s_ceill.S: New file.
859         * sysdeps/ia64/fpu/s_cos.S: New file.
860         * sysdeps/ia64/fpu/s_cosf.S: New file.
861         * sysdeps/ia64/fpu/s_cosl.S: New file.
862         * sysdeps/ia64/fpu/s_expm1.S: New file.
863         * sysdeps/ia64/fpu/s_expm1f.S: New file.
864         * sysdeps/ia64/fpu/s_expm1l.S: New file.
865         * sysdeps/ia64/fpu/s_floor.S: New file.
866         * sysdeps/ia64/fpu/s_floorf.S: New file.
867         * sysdeps/ia64/fpu/s_floorl.S: New file.
868         * sysdeps/ia64/fpu/s_frexp.c: New file.
869         * sysdeps/ia64/fpu/s_frexpf.c: New file.
870         * sysdeps/ia64/fpu/s_frexpl.c: New file.
871         * sysdeps/ia64/fpu/s_ilogb.S: New file.
872         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
873         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
874         * sysdeps/ia64/fpu/s_ldexp.S: New file.
875         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
876         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
877         * sysdeps/ia64/fpu/s_log1p.S: New file.
878         * sysdeps/ia64/fpu/s_log1pf.S: New file.
879         * sysdeps/ia64/fpu/s_log1pl.S: New file.
880         * sysdeps/ia64/fpu/s_logb.S: New file.
881         * sysdeps/ia64/fpu/s_logbf.S: New file.
882         * sysdeps/ia64/fpu/s_logbl.S: New file.
883         * sysdeps/ia64/fpu/s_matherrf.c: New file.
884         * sysdeps/ia64/fpu/s_matherrl.c: New file.
885         * sysdeps/ia64/fpu/s_modf.S: New file.
886         * sysdeps/ia64/fpu/s_modff.S: New file.
887         * sysdeps/ia64/fpu/s_modfl.S: New file.
888         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
889         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
890         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
891         * sysdeps/ia64/fpu/s_rint.S: New file.
892         * sysdeps/ia64/fpu/s_rintf.S: New file.
893         * sysdeps/ia64/fpu/s_rintl.S: New file.
894         * sysdeps/ia64/fpu/s_round.S: New file.
895         * sysdeps/ia64/fpu/s_roundf.S: New file.
896         * sysdeps/ia64/fpu/s_roundl.S: New file.
897         * sysdeps/ia64/fpu/s_scalbn.S: New file.
898         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
899         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
900         * sysdeps/ia64/fpu/s_significand.S: New file.
901         * sysdeps/ia64/fpu/s_significandf.S: New file.
902         * sysdeps/ia64/fpu/s_significandl.S: New file.
903         * sysdeps/ia64/fpu/s_sin.c: New file.
904         * sysdeps/ia64/fpu/s_sincos.c: New file.
905         * sysdeps/ia64/fpu/s_sincosf.c: New file.
906         * sysdeps/ia64/fpu/s_sincosl.c: New file.
907         * sysdeps/ia64/fpu/s_sinf.c: New file.
908         * sysdeps/ia64/fpu/s_sinl.c: New file.
909         * sysdeps/ia64/fpu/s_tan.S: New file.
910         * sysdeps/ia64/fpu/s_tanf.S: New file.
911         * sysdeps/ia64/fpu/s_tanl.S: New file.
912         * sysdeps/ia64/fpu/s_trunc.S: New file.
913         * sysdeps/ia64/fpu/s_truncf.S: New file.
914         * sysdeps/ia64/fpu/s_truncl.S: New file.
915         * sysdeps/ia64/fpu/w_acos.c: New file.
916         * sysdeps/ia64/fpu/w_acosf.c: New file.
917         * sysdeps/ia64/fpu/w_acosl.c: New file.
918         * sysdeps/ia64/fpu/w_asin.c: New file.
919         * sysdeps/ia64/fpu/w_asinf.c: New file.
920         * sysdeps/ia64/fpu/w_asinl.c: New file.
921         * sysdeps/ia64/fpu/w_atan2.c: New file.
922         * sysdeps/ia64/fpu/w_atan2f.c: New file.
923         * sysdeps/ia64/fpu/w_atan2l.c: New file.
924         * sysdeps/ia64/fpu/w_cosh.c: New file.
925         * sysdeps/ia64/fpu/w_coshf.c: New file.
926         * sysdeps/ia64/fpu/w_coshl.c: New file.
927         * sysdeps/ia64/fpu/w_exp.c: New file.
928         * sysdeps/ia64/fpu/w_expf.c: New file.
929         * sysdeps/ia64/fpu/w_fmod.c: New file.
930         * sysdeps/ia64/fpu/w_fmodf.c: New file.
931         * sysdeps/ia64/fpu/w_fmodl.c: New file.
932         * sysdeps/ia64/fpu/w_hypot.c: New file.
933         * sysdeps/ia64/fpu/w_hypotf.c: New file.
934         * sysdeps/ia64/fpu/w_hypotl.c: New file.
935         * sysdeps/ia64/fpu/w_log.c: New file.
936         * sysdeps/ia64/fpu/w_log10.c: New file.
937         * sysdeps/ia64/fpu/w_log10f.c: New file.
938         * sysdeps/ia64/fpu/w_log10l.c: New file.
939         * sysdeps/ia64/fpu/w_logf.c: New file.
940         * sysdeps/ia64/fpu/w_logl.c: New file.
941         * sysdeps/ia64/fpu/w_pow.c: New file.
942         * sysdeps/ia64/fpu/w_powf.c: New file.
943         * sysdeps/ia64/fpu/w_powl.c: New file.
944         * sysdeps/ia64/fpu/w_remainder.c: New file.
945         * sysdeps/ia64/fpu/w_remainderf.c: New file.
946         * sysdeps/ia64/fpu/w_remainderl.c: New file.
947         * sysdeps/ia64/fpu/w_scalb.c: New file.
948         * sysdeps/ia64/fpu/w_scalbf.c: New file.
949         * sysdeps/ia64/fpu/w_scalbl.c: New file.
950         * sysdeps/ia64/fpu/w_sqrt.c: New file.
951         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
952         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
953         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
954         implementation.
955         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
956         Change FP_ILOGBNAN for new implementation.
957         * Verions.def: Add 2.2.3 versions.
959 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
961         * math/libm-test.inc (scalb_test): Require invalid exception being
962         raised for invalid parameters.
963         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
964         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
965         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
967 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
969         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
970         value to long int.
971         (__get_avphys_pages): Likewise.
973 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
975         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
976         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
977         * sysdeps/i386/fpu/e_powf.S: Likewise.
978         * sysdeps/i386/fpu/e_powl.S: Likewise.
980         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
982 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
984         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
986         * sysdeps/generic/s_exp2l.c: Renamed to...
987         * sysdeps/generic/e_exp2l.c: ...this.   New file.
988         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
989         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
990         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
991         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
992         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
993         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
994         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
995         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
996         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
997         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
998         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
999         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
1000         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
1001         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
1002         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
1003         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
1005 2001-02-17  Andreas Jaeger  <aj@suse.de>
1007         * configure.in: Allow gcc 3.
1009 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
1011         * math/w_acos.c: Move to ...
1012         * sysdeps/generic/w_acos.c: ...here.  New file.
1013         * math/w_acosf.c: Move to ...
1014         * sysdeps/generic/w_acosf.c: ...here.  New file.
1015         * math/w_acosh.c: Move to ...
1016         * sysdeps/generic/w_acosh.c: ...here.  New file.
1017         * math/w_acoshf.c: Move to ...
1018         * sysdeps/generic/w_acoshf.c: ...here.  New file.
1019         * math/w_acoshl.c: Move to ...
1020         * sysdeps/generic/w_acoshl.c: ...here.  New file.
1021         * math/w_acosl.c: Move to ...
1022         * sysdeps/generic/w_acosl.c: ...here.  New file.
1023         * math/w_asin.c: Move to ...
1024         * sysdeps/generic/w_asin.c: ...here.  New file.
1025         * math/w_asinf.c: Move to ...
1026         * sysdeps/generic/w_asinf.c: ...here.  New file.
1027         * math/w_asinl.c: Move to ...
1028         * sysdeps/generic/w_asinl.c: ...here.  New file.
1029         * math/w_atan2.c: Move to ...
1030         * sysdeps/generic/w_atan2.c: ...here.  New file.
1031         * math/w_atan2f.c: Move to ...
1032         * sysdeps/generic/w_atan2f.c: ...here.  New file.
1033         * math/w_atan2l.c: Move to ...
1034         * sysdeps/generic/w_atan2l.c: ...here.  New file.
1035         * math/w_atanh.c: Move to ...
1036         * sysdeps/generic/w_atanh.c: ...here.  New file.
1037         * math/w_atanhf.c: Move to ...
1038         * sysdeps/generic/w_atanhf.c: ...here.  New file.
1039         * math/w_atanhl.c: Move to ...
1040         * sysdeps/generic/w_atanhl.c: ...here.  New file.
1041         * math/w_cosh.c: Move to ...
1042         * sysdeps/generic/w_cosh.c: ...here.  New file.
1043         * math/w_coshf.c: Move to ...
1044         * sysdeps/generic/w_coshf.c: ...here.  New file.
1045         * math/w_coshl.c: Move to ...
1046         * sysdeps/generic/w_coshl.c: ...here.  New file.
1047         * math/w_drem.c: Move to ...
1048         * sysdeps/generic/w_drem.c: ...here.  New file.
1049         * math/w_dremf.c: Move to ...
1050         * sysdeps/generic/w_dremf.c: ...here.  New file.
1051         * math/w_dreml.c: Move to ...
1052         * sysdeps/generic/w_dreml.c: ...here.  New file.
1053         * math/w_exp10.c: Move to ...
1054         * sysdeps/generic/w_exp10.c: ...here.  New file.
1055         * math/w_exp10f.c: Move to ...
1056         * sysdeps/generic/w_exp10f.c: ...here.  New file.
1057         * math/w_exp10l.c: Move to ...
1058         * sysdeps/generic/w_exp10l.c: ...here.  New file.
1059         * math/w_exp2.c: Move to ...
1060         * sysdeps/generic/w_exp2.c: ...here.  New file.
1061         * math/w_exp2f.c: Move to ...
1062         * sysdeps/generic/w_exp2f.c: ...here.  New file.
1063         * math/w_exp2l.c: Move to ...
1064         * sysdeps/generic/w_exp2l.c: ...here.  New file.
1065         * math/w_fmod.c: Move to ...
1066         * sysdeps/generic/w_fmod.c: ...here.  New file.
1067         * math/w_fmodf.c: Move to ...
1068         * sysdeps/generic/w_fmodf.c: ...here.  New file.
1069         * math/w_fmodl.c: Move to ...
1070         * sysdeps/generic/w_fmodl.c: ...here.  New file.
1071         * math/w_hypot.c: Move to ...
1072         * sysdeps/generic/w_hypot.c: ...here.  New file.
1073         * math/w_hypotf.c: Move to ...
1074         * sysdeps/generic/w_hypotf.c: ...here.  New file.
1075         * math/w_hypotl.c: Move to ...
1076         * sysdeps/generic/w_hypotl.c: ...here.  New file.
1077         * math/w_j0.c: Move to ...
1078         * sysdeps/generic/w_j0.c: ...here.  New file.
1079         * math/w_j0f.c: Move to ...
1080         * sysdeps/generic/w_j0f.c: ...here.  New file.
1081         * math/w_j0l.c: Move to ...
1082         * sysdeps/generic/w_j0l.c: ...here.  New file.
1083         * math/w_j1.c: Move to ...
1084         * sysdeps/generic/w_j1.c: ...here.  New file.
1085         * math/w_j1f.c: Move to ...
1086         * sysdeps/generic/w_j1f.c: ...here.  New file.
1087         * math/w_j1l.c: Move to ...
1088         * sysdeps/generic/w_j1l.c: ...here.  New file.
1089         * math/w_jn.c: Move to ...
1090         * sysdeps/generic/w_jn.c: ...here.  New file.
1091         * math/w_jnf.c: Move to ...
1092         * sysdeps/generic/w_jnf.c: ...here.  New file.
1093         * math/w_jnl.c: Move to ...
1094         * sysdeps/generic/w_jnl.c: ...here.  New file.
1095         * math/w_lgamma.c: Move to ...
1096         * sysdeps/generic/w_lgamma.c: ...here.  New file.
1097         * math/w_lgammaf.c: Move to ...
1098         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
1099         * math/w_lgammaf_r.c: Move to ...
1100         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
1101         * math/w_lgammal.c: Move to ...
1102         * sysdeps/generic/w_lgammal.c: ...here.  New file.
1103         * math/w_lgammal_r.c: Move to ...
1104         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
1105         * math/w_lgamma_r.c: Move to ...
1106         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
1107         * math/w_log10.c: Move to ...
1108         * sysdeps/generic/w_log10.c: ...here.  New file.
1109         * math/w_log10f.c: Move to ...
1110         * sysdeps/generic/w_log10f.c: ...here.  New file.
1111         * math/w_log10l.c: Move to ...
1112         * sysdeps/generic/w_log10l.c: ...here.  New file.
1113         * math/w_log.c: Move to ...
1114         * sysdeps/generic/w_log.c: ...here.  New file.
1115         * math/w_logf.c: Move to ...
1116         * sysdeps/generic/w_logf.c: ...here.  New file.
1117         * math/w_logl.c: Move to ...
1118         * sysdeps/generic/w_logl.c: ...here.  New file.
1119         * math/w_pow.c: Move to ...
1120         * sysdeps/generic/w_pow.c: ...here.  New file.
1121         * math/w_powf.c: Move to ...
1122         * sysdeps/generic/w_powf.c: ...here.  New file.
1123         * math/w_powl.c: Move to ...
1124         * sysdeps/generic/w_powl.c: ...here.  New file.
1125         * math/w_remainder.c: Move to ...
1126         * sysdeps/generic/w_remainder.c: ...here.  New file.
1127         * math/w_remainderf.c: Move to ...
1128         * sysdeps/generic/w_remainderf.c: ...here.  New file.
1129         * math/w_remainderl.c: Move to ...
1130         * sysdeps/generic/w_remainderl.c: ...here.  New file.
1131         * math/w_scalb.c: Move to ...
1132         * sysdeps/generic/w_scalb.c: ...here.  New file.
1133         * math/w_scalbf.c: Move to ...
1134         * sysdeps/generic/w_scalbf.c: ...here.  New file.
1135         * math/w_scalbl.c: Move to ...
1136         * sysdeps/generic/w_scalbl.c: ...here.  New file.
1137         * math/w_sinh.c: Move to ...
1138         * sysdeps/generic/w_sinh.c: ...here.  New file.
1139         * math/w_sinhf.c: Move to ...
1140         * sysdeps/generic/w_sinhf.c: ...here.  New file.
1141         * math/w_sinhl.c: Move to ...
1142         * sysdeps/generic/w_sinhl.c: ...here.  New file.
1143         * math/w_sqrtl.c: Move to ...
1144         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
1145         * math/w_tgamma.c: Move to ...
1146         * sysdeps/generic/w_tgamma.c: ...here.  New file.
1147         * math/w_tgammaf.c: Move to ...
1148         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
1149         * math/w_tgammal.c: Move to ...
1150         * sysdeps/generic/w_tgammal.c: ...here.  New file.
1152         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
1153         formats for postal_fmt.
1155 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
1157         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
1158         __ftruncate64 alias.
1159         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
1160         Likewise.
1162 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
1164         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
1165         do "loadrs".  Writing to bspstore already takes care of
1166         invalidating the "clean" partition.
1168 2001-02-16  Andreas Schwab  <schwab@suse.de>
1170         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
1171         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
1173 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
1175         * posix/regex.c (init_syntax_once): Add prototype.
1176         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
1177         (re_search_2): Avoid warning.
1178         (count_mbs_length): Add prototype.
1179         * posix/tst-regex3.c: New file.
1180         * posix/Makefile (tests): Add bug-regex3.
1182 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
1184         * stdio-common/Makefile (tests): Add tst-gets.
1185         * stdio-common/tst-gets.c: New file.
1186         * stdio-common/tst-gets.input: New file.
1188         * elf/elf.h (DT_CHECKSUM): Define.
1190         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
1191         default symbol.
1192         * sysdeps/generic/strtoull.c: Likewise.
1194 2001-02-14  Wolfram Gloger  <wg@malloc.de>
1196         * malloc/malloc.c (new_heap): When allocating large chunk aligned
1197         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
1198         between the heaps.
1200 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
1202         * math/libm-test.inc (j0_test): Check whether sincos is available.
1203         (j1_test): Likewise.
1204         (jn_test): Likewise.
1205         (y0_test): Likewise.
1206         (y1_test): Likewise.
1207         (yn_test): Likewise.
1209         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
1210         fake filesystem routines to handle this.
1212         * time/sys/time.h: Make settimeofday and adjtime available if
1213         _BSD_SOURCE.
1215         * time/sys/time.h: Make timer* macros available for BSD.
1217         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
1218         Patch by Yong Li <rigel863@yahoo.com>.
1220         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
1221         name.
1223         * posix/Makefile (tests): Add tst-gnuglob.
1224         * posix/tst-gnuglob.c: New file.
1226 2001-02-13  H.J. Lu  <hjl@gnu.org>
1228         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
1230 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
1232         * locale/programs/ld-paper.c (paper_output): Pretty printing.
1234         * iconvdata/Makefile (modules): Add GBBIG5.
1235         (distribute): Add gbbig5.c.
1236         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
1238         * iconvdata/gbbig5.c: New file.
1239         Contributed by Yong Li <rigel863@yahoo.com>.
1241 2001-02-13  Philip Blundell  <pb@futuretv.com>
1243         * manual/crypt.texi: Remove outdated references to crypt add-on.
1245         * manual/creature.texi: Improve wording slightly.
1247 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
1249         * io/ftw.c: Always use readdir64.
1250         * io/ftw64.c: Likewise.
1251         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1252         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1253         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
1254         callback to dirent.  Still allow compiling outside glibc.
1255         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
1256         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
1258         * malloc/mtrace.c: Use fopen64.
1259         * posix/spawni.c: Use __open64.
1260         * sysdeps/unix/opendir.c: Likewise.
1261         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
1263         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
1264         name a weak alias.
1265         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
1266         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
1267         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
1268         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
1270         * resolv/res_data.c: Add cast to avoid warning.
1272         * include/unistd.h: Declare __ftruncate64.
1274         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
1276         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
1277         instead of __lseek.
1279 2001-02-13  Andreas Jaeger  <aj@suse.de>
1281         * login/getutent_r.c: Include <stdlib.h> for NULL.
1282         * login/getutid_r.c: Likewise.
1284 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
1286         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
1287         * sysdeps/dbl-64/e_j1.c: Likewise.
1288         * sysdeps/dbl-64/e_jn.c: Likewise.
1289         * sysdeps/flt-32/e_j0f.c: Likewise.
1290         * sysdeps/flt-32/e_j1f.c: Likewise.
1291         * sysdeps/ldbl-96/e_j0l.c: Likewise.
1293 2000-12-02  H.J. Lu  <hjl@gnu.org>
1295         * resolv/res_libc.c (res_init): Don't make it default.
1297 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
1299         * manual/debug.texi: Improved the wording.
1300         Patch by Philip Blundell <pb@futuretv.com>.
1302 2001-02-12  Andreas Jaeger  <aj@suse.de>
1304         * posix/Makefile (tests): Don't run bug-regex2 when
1305         cross-compiling.
1307         * libio/Makefile (tests): Don't run test-freopen when
1308         cross-compiling.
1310         * manual/stdio.texi (Streams and I18N): Fix typos.
1312 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
1314         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
1316         * math/libm-test.inc (j0_test): Make expected results long double
1317         constants.
1318         (y0_test): Likewise.
1320         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
1321         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1323 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
1325         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
1326         which was exported from libc.
1327         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
1329 2001-02-12  Andreas Jaeger  <aj@suse.de>
1331         * manual/arith.texi (Parsing of Integers): Fix some wordings.
1333 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
1335         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
1336         and get_avphys_page to long int.
1337         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
1338         * include/sys/sysinfo.h: Likewise.
1339         * sysdeps/generic/sys/sysinfo.h: Likewise.
1340         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
1342         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
1343         cannot return as many values as the user asked for.
1345 2001-02-11  Andreas Jaeger  <aj@suse.de>
1347         * manual/resource.texi (Memory Resources): Fix typo.
1349         * libio/Makefile ($(objpfx)test-freopen.out): Pass
1350         run-program-prefix.
1352         * libio/test-freopen.sh: Use run_program_prefix.
1354 2001-02-10  Andreas Jaeger  <aj@suse.de>
1356         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
1357         cross-compiling.
1358         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
1360         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
1361         only builds.
1363         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
1365         * posix/Makefile: Fix typo, it's build-static-nss.
1367         * iconv/Makefile (extra-objs): New.
1369 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
1371         * sysdeps/unix/stime.c: Include <time.h>.
1373         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
1375 2001-02-10  Andreas Jaeger  <aj@suse.de>
1377         * manual/string.texi (Search Functions): Fix typo.
1379 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
1381         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
1382         (timeval_to_clock_t): Add clk_tck argument and use that instead of
1383         CLK_TCK.
1384         (__times): Use __getclktck to get the number of clock ticks per
1385         second and use its return value instead of CLK_TCK.
1387 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
1389         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
1391 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
1393         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
1395 2001-02-10  Andreas Jaeger  <aj@suse.de>
1397         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
1398         warning.
1400 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
1402         * posix/Makefile: Add rules to build and run bug-regex2.
1403         * posix/bug-regex2.c: New file.
1405 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
1407         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
1408         (regex_compile): Likewise.
1409         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
1410         (re_match_2_internal): Use just is_binary instead of two variables.
1411         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
1413 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
1415         * version.h (VERSION): Bump to 2.2.2.
1417         * iconv/Makefile (distribute): Add iconv_charmap.c and
1418         dummy-repertoire.c.
1419         * elf/Makefile (distribute): Add firstobj.c.
1420         * Makefile (distribute): Add include/pthread.h.
1422         * configure.in: Require makeinfo version 4.
1424         * libio/tst_wscanf.c (main): Add cast to avoid warning.
1425         * libio/tst_swscanf.c (main): Likewise..
1427 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
1429         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
1430         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
1431         __NO_MATH_INLINES.
1432         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
1433         if not RTLD_BOOTSTRAP.
1434         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1435         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1437 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
1439         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
1440         lr_ungetc to push back last read character.
1441         * locale/programs/linereader.h (lr_ungetc): Don't push back is
1442         character is EOF.
1443         (lr_ignore_rest): Don't warn about garbage if it is really the end
1444         of the file.
1446         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
1447         definition.
1449 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
1451         * Makerules (build-shlib): Work around different order of
1452         processing of -B option in different gcc versions.
1454         * posix/regex.c: Fix alignment problem.
1455         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1457         * sysdeps/alpha/strrchr.S: Little optimization.
1458         Patch by Richard Henderson <rth@redhat.com>.
1460         * sysdeps/alpha/alphaev67/strrchr.S: New file.
1461         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
1463 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1465         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
1466         in the assembler end directive.
1468 2001-02-08  Andreas Jaeger  <aj@suse.de>
1470         * manual/stdio.texi (Closing Streams): Fix typos.
1472 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
1474         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
1475         Patch by Richard Henderson <rth@redhat.com>.
1476         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
1478         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
1479         pointer in FILE structure before calling _IO_init.
1480         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
1481         strfmon_l if necessary.
1482         Reported by Jury Gerold <gjury@grips.com>.
1484         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
1485         Patch by Pekka.Pietikainen@cern.ch.
1487         * posix/regex.c: Correct several problems with 64-bit architectures
1488         introduced in the MBS changes.
1489         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1491 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
1493         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
1494         not defined.
1495         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
1497 2001-02-07  Andreas Jaeger  <aj@suse.de>
1499         * manual/install.texi (Tools for Compilation): Fix typo.
1500         Reported by Pavel Machek <pavel@bug.ucw.cz>.
1502 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
1504         * stdlib/strtod.c: Never stop prematurely reading digits before the
1505         decimal point is found.  Compute exponent limit for negative exponents
1506         correctly.  For numbers ending in all zeros eat the zeros even before
1507         the decimal point if the exponent is negative [PR libc/2072].
1508         * stdlib/Makefile (tests): Add bug-strtod.
1509         * stdlib/bug-strtod.c: New file.
1511 2001-02-07  Andreas Jaeger  <aj@suse.de>
1513         * posix/bug-regex1.c: Include <wchar.h> for fwide.
1515 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
1517         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
1518         Store index.
1519         (compile_range): Handle index being passed, not pointer.
1520         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1522         * posix/regex.c: Fix a cast in the code for bracket handling which
1523         caused 8-bit uncleanliness.
1524         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
1526         * posix/Makefile (tests): Add bug-regex1.
1527         * posix/bug-regex1.c: New file.
1528         Contributed by Jim Meyering <jim@meyering.net>.
1530         * posix/regex.c: Many cleanups for incorrect format strings.
1532 2001-02-06  Andreas Jaeger  <aj@suse.de>
1534         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
1536 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
1538         * locale/programs/locale.c (write_locales): Use scandir to read
1539         directory so that the entries are sorted.
1541 2001-02-06  Andreas Jaeger  <aj@suse.de>
1543         * include/pthread.h: New file.
1545         * wctype/wctype.h: Move internal interfaces from here to...
1546         * include/wctype.h: ...here.
1548         * wcsmbs/wchar.h: Move __wcslen from here to...
1549         * include/wchar.h: ...here.
1551         * posix/sys/wait.h: Move __wait from here to...
1552         * include/sys/wait.h: ...here.
1554         * string/string.h: Move __ffs and __strerror_r from here to...
1555         * include/string.h: ...here.
1557         * stdlib/stdlib.h: Move __on_exit from here to...
1558         * include/stdlib.h: ...here.
1560         * libio/stdio.h: Move __vsnprintf from here to...
1561         * include/stdio.h: ...here.
1563 2001-02-06  Andreas Schwab  <schwab@suse.de>
1565         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
1566         headers.
1568         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
1569         of $(inst_datadir).
1571 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
1573         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
1575 2001-02-06  Andreas Jaeger  <aj@suse.de>
1577         * elf/firstobj.c: Add prototype.
1579         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
1580         (truncate_wchar): Likewise.
1582 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
1584         * locale/programs/locale.c: Implement --verbose option for -a
1585         which prints detailed information about the locales.
1587 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
1589         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
1590         variable to uint32_t.
1591         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
1593 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
1595         * locale/C-translit.h.in: Add transliterations for CJK units of
1596         measurement.
1598 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
1600         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
1601         string.  Include <inttypes.h> instead of <stdint.h>.
1603         * localedata/Makefile (tests): Add bug-iconv-trans.
1604         Define bug-iconv-trans-ENV.
1605         * localedata/bug-iconv-trans.c: New file.
1607 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
1609         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
1610         pointer, to avoid accumulating output from incomplete (unsuccessful)
1611         transliteration attempts.
1613 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
1615         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
1616         string.  Include <inttypes.h> instead of <stdint.h>.
1618         * configure.in: Add check for bison.
1619         * config.make.in: Define BISON variable.
1620         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
1621         Rename YFLAGS to BISONFLAGS.
1623 2001-02-05  Andreas Jaeger  <aj@suse.de>
1625         * io/test-lfs.c (do_test): Test lseek64 return value, call
1626         test_ftello.
1627         (test_ftello): New function to test ftello64 and fseeko64.
1629         * signal/signal.h: Move __sigaction from here to...
1630         * include/signal.h: ...here.
1632         * io/fcntl.h: Move __fcntl and __open to...
1633         * include/fcntl.h: ...here.
1635 2001-02-04  Philip Blundell  <philb@gnu.org>
1637         * configure.in: Distinguish ARM from Thumb.
1639 2001-02-04  Philip Blundell  <philb@gnu.org>
1641         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
1642         PC24 relocs with negative value.
1644 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
1646         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
1647         files in locale/programs.  Add CFLAGS definition to allow compiling
1648         localedef files.
1649         * iconv/dummy-repertoire.c: New file.
1650         * iconv/iconv_charmap.c: New file.
1651         * iconv/iconv_prog.h: New file.
1652         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
1653         (main): If parameter for -f and -t contain slashes try first to resolve
1654         the strings as filenames of charmap files.  Use them for conversion
1655         in this case.
1656         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
1657         iconv getting charmap names as parameters.
1658         * locale/programs/linereader.c (lr_token): Take extra parameters
1659         verbose and pass it to get_string.
1660         (get_string): Take extra parameters verbose.
1661         * locale/programs/charmap.c (parse_charmap): Take extra parameters
1662         verbose and be_quiet.  Change all callers of lr_token and
1663         parse_charmap.
1664         * locale/programs/charmap.h: Likewise.
1665         * locale/programs/ld-address.c: Likewise.
1666         * locale/programs/ld-collate.c: Likewise.
1667         * locale/programs/ld-ctype.c: Likewise.
1668         * locale/programs/ld-identification.c: Likewise.
1669         * locale/programs/ld-measurement.c: Likewise.
1670         * locale/programs/ld-messages.c: Likewise.
1671         * locale/programs/ld-monetary.c: Likewise.
1672         * locale/programs/ld-name.c: Likewise.
1673         * locale/programs/ld-numeric.c: Likewise.
1674         * locale/programs/ld-paper.c: Likewise.
1675         * locale/programs/ld-telephone.c: Likewise.
1676         * locale/programs/ld-time.c: Likewise.
1677         * locale/programs/linereader.c: Likewise.
1678         * locale/programs/linereader.h: Likewise.
1679         * locale/programs/localedef.c: Likewise.
1680         * locale/programs/locfile.c: Likewise.
1681         * locale/programs/locfile.h: Likewise.
1682         * locale/programs/repertoire.c: Likewise.
1684 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
1686         * iconv/iconv_prog.c (main): If output file name is "-" write to
1687         stdout.
1688         (main): If -f or -t argument is missing use charset of the current
1689         locale.
1691 2001-02-03  Andreas Jaeger  <aj@suse.de>
1693         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
1694         boundary for SSE/SSE-2 alignment.
1696         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
1697         annexc.
1699 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
1701         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
1702         Remove comma at end of enum.
1704         * elf/dl-init.c: Add a few __builtin_expect.
1706         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
1708 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
1710         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
1711         errno is ECONNREFUSED.
1713         * posix/Makefile: Define MBS_SUPPORT for regex.c.
1714         * posix/regex.c: Implement multibyte character handling.
1715         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
1717         * string/tst-svc.input: Add two more test cases.
1718         * string/tst-svc.expect: Modify to reflect new test cases.
1720 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
1722         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
1723         tp->name tests with tp->name[0] tests.
1725 2001-01-29  Ben Collins  <bcollins@debian.org>
1727         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
1728         Fix check for name == NULL.
1730 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
1732         * elf/Makefile: Add rules to build and run initfirst test.
1733         * elf/initfirst.c: New file.
1734         * elf/firstobj.c: New file.
1736         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
1737         * configure.in: Test for -z initfirst linker option.
1738         * config.make.in: Add have-z-initfirst.
1739         * elf/dl-init.c (_dl_init): Split out actual initialization code in
1740         new function call_init.  If _dl_initfirst is non-NULL initialize first.
1741         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
1742         remember object in _dl_initfirst.
1743         * elf/soinit.c: Remove special support for calling
1744         __pthread_initialize_minimal.
1746         * conform/conformtest.pl: Add missing $prepend in type test.
1748 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
1750         * elf/elf.h (SHT_CHECKSUM): New definition.
1752         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
1753         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1754         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
1756 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
1758         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
1759         to get definition of `struct timeval'.
1761 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
1763         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
1764         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
1766 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
1768         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
1769         seen, not flags.
1771         * nis/nis_findserv.c: Include <time.h>.
1773 2001-01-30  Yong Li  <yong.li@asu.edu>
1775         * iconv/iconv_prog.c (main): Correct error handling method name.
1777 2001-01-29  Ben Collins  <bcollins@debian.org>
1779         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
1780         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
1781         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1782         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
1784 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
1786         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
1787         Patch by Marko Myllynen <myllynen@lut.fi>.
1789         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
1790         (int instead of char).
1791         (__strpbrk_c3): Likewise.
1792         Reported by GOTO Masanori <gotom@debian.or.jp>.
1794         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
1795         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
1796         * include/sys/socket.h: Add SA_LEN here for internal use.
1797         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1799 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
1801         * malloc/Makefile: Don't build memusagestat if cross-compiling.
1803         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
1805         * math/libm-test.inc (rint_test): Add a few more tests for round
1806         to even rounding.
1808 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
1810         * conform/data/pthread.h-data: Correct return type of pthread_exit.
1812         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
1814         * conform/data/stdlib.h-data: Add _Exit.
1816         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
1817         if not already happened.
1818         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
1819         Don't include <limits.h> and <bits/sockaddr.h>.
1821         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
1823         * conform/data/spawn.h-data: Allow all of <sched.h>.
1825         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
1826         unused variable.
1828         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
1829         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
1831         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
1833         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
1834         * libio/stdio.h: Define va_list correctly.
1836         * conform/data/pthread.h-data: Make priority protocol related
1837         functions optional.  Fix typos.
1839         * posix/sched.h: Define sched_priority as __sched_priority.
1840         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
1841         to __sched_priority.
1842         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
1844 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
1846         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
1847         of <sys/time.h>.
1849         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
1850         * sysdeps/unix/time.c: Likewise.
1852         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
1853         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
1854         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
1855         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
1856         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1857         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
1858         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
1859         * time/time.h: Likewise.
1861         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
1862         * conform/data/complex.h-data: New file.
1863         * conform/data/tgmath.h-data: New file.
1865         * conform/data/wchar.h-data: Add missing functions.
1867         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
1869         * conform/data/termios.h-data: Add missing const in tcsetattr()
1870         prototype.
1872         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
1873         Don't define pid_t here.
1875         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
1877         * conform/data/sys/time.h-data: Allow sys/select.h.
1878         * conform/data/sys/un.h-data: Fix typo.
1879         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
1880         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
1881         <sys/time.h>.
1882         * sysdeps/unix/clock_nanosleep.c: Likewise.
1883         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
1884         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
1885         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
1886         * sysdeps/unix/clock_settime.c: Likewise.
1888         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
1889         * login/getutent.c: Likewise.
1890         * login/getutid.c: Likewise.
1891         * login/getutline.c: Likewise.
1893         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
1895         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
1896         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
1897         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
1898         f_fsid field after change in struct statvfs.
1899         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
1900         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
1901         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
1903         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
1904         optional-macro.
1906         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
1907         recvfrom, send, and socketpair prototypes.  Add allow lines.
1908         * socket/sys/socket.h: Include <sys/uio.h>.
1909         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
1910         Fix type of second parameter of listen.
1911         Don't declare isfdtype unless __USE_MISC.
1912         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
1913         * sysdeps/mach/hurd/listen.c: Likewise.
1914         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
1915         ss_family and __ss_family.
1916         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
1917         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1918         (struct msghdr): Change type of msg_iovlen to int and type of
1919         msg_controllen to socklen_t.
1920         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
1921         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
1922         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
1923         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
1924         (rresvport_af): Likewise.
1926         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
1927         * conform/conformtest.pl: Implement handling of symbol.
1929         * signal/signal.h: Fix handling of __need_* symbols.
1930         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
1931         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
1932         * include/sys/select.h: Use fd_set not __fd_set.
1933         * sysdeps/generic/bits/select.h: Likewise.
1934         * sysdeps/i386/bits/select.h: Likewise.
1935         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
1936         __FDELT, __FDMASK, and __fd_set here.
1937         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
1938         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
1939         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1940         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1941         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
1942         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1943         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1944         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1945         * time/sys/time.h: Define struct timeval before including <time.h>
1946         and <sys/select.h>.
1948         * conform/data/sys/time.h-data: fd_set is a typedef.
1949         * conform/data/sys/select.h-data: New file.
1950         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
1951         * conform/conformtest.pl (@headers): Add sys/select.h.
1952         (type, optional-type): Unless testing a typedef instantiate object.
1953         Implement optional-function.
1955         * math/test-misc.c: Include <float.h>.
1957 2001-01-27  Andreas Jaeger  <aj@suse.de>
1959         * misc/efgcvt_r.c: Include <float.h>.
1961 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
1963         * conform/data/stdlib.h-data: Account for XPG6 changes.
1964         * stdlib/stdlib.h (__random): Change return value type to long.
1965         (posix_memalign): Cleanup parameter names.
1966         (setenv, unsetenv): Make available for __USE_XOPEN2K.
1967         Change return type of unsetenv to int.
1968         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
1969         * include/stdlib.h: Change return type of unsetenv to int.
1970         Change return type of random to long int.
1971         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
1972         Return -1 and set errno if parameter is invalid.
1973         * stdlib/random.c (__random): Change return value type to long.
1975         * conform/data/stdio.h-data: Account for changes in XPG6.
1977         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
1978         prototype.
1980         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
1981         * conform/data/signal.h-data: Fix sigev_notify_function entry.
1982         Fix typo (SIGVALRM -> SIGVTALRM).
1983         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
1984         with real type.
1985         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
1986         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1987         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1988         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1989         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
1991         * conform/conformtest.pl: Implement optional-element.  Define
1992         $mustprepend{"sched.h"}.
1993         * conform/data/sched.h-data: Make sporadic scheduler definitions
1994         optional.
1996         * pwd/pwd.h: Don't define getpwent_r for XPG.
1998         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
1999         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
2000         * sysdeps/mach/hurd/poll.c: Likewise.
2001         * sysdeps/unix/bsd/poll.c: Likewise.
2002         * sysdeps/unix/sysv/linux/poll.c: Likewise.
2003         * sysdeps/unix/sysv/aix/poll.c: Likewise.
2004         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
2005         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
2006         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
2007         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
2008         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
2009         * conform/data/poll.h-data: Fix typo in poll prototype.
2011         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
2012         only if __USE_MISC.
2013         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
2015         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
2017         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
2019         * conform/conformtest.pl: Implement optional-type.
2021         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
2022         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
2023         defining uint32_t here.  Define IPPORT_RESERVED.
2024         (struct hostent): Type of h_length element is int.
2025         (getnameinfo): Type of flags parameter is unsigned int.
2026         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
2027         * conform/data/netdb.h-data: Add many missing definitions.
2029         * conform/conformtest.pl: Implement optional-macro.
2030         * conform/data/math.h-data: Update for XPG6.
2032         * math/math.h (HUGE): Define as FLT_MAX value but don't use
2033         FLT_MAX.  Don't include <float.h>.
2034         (MAXFLOAT): Likewise.
2036         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
2038         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
2040         * conform/data/limits.h-data: Mark constants as optional wherever
2041         appropriate.
2043         * posix/bits/posix2_lim.h: Set correct values for
2044         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
2045         EQUIV_CLASS_MAX.
2047         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
2048         Required by POSIX.
2050         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
2052         * conform/data/netinet/in.h-data: Add reserved prefixes.
2054         * conform/data/arpa/inet.h-data: Fix a few typos.
2056 2001-01-26  Andreas Jaeger  <aj@suse.de>
2058         * sysdeps/generic/strtol.c: Include <locale.h>
2059         * stdlib/strtod.c: Likewise
2060         * stdlib/strfmon.c: Likewise.
2061         * string/strcoll.c: Likewise.
2062         * string/strxfrm.c: Likewise.
2063         * wctype/wcfuncs_l.c: Likewise.
2064         * wctype/wctype_l.c: Likewise.
2065         * wctype/wctrans_l.c: Likewise.
2067         * include/bits/locale.h: New file.
2069 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
2071         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
2072         and NOSTR.
2074         * locale/Makefile (headers): Add bits/locale.h.
2075         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
2076         and use __LC_ constants instead of LC_.
2077         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
2078         using __LC_ constants.
2079         * locale/bits/locale.h: New file.
2080         * locale/loadlocale.c: Include <locale.h>.
2081         * locale/nl_langinfo.h: Likewise.
2083         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
2085         * io/sys/stat.h: Define S_IFSOCK for XPG6.
2087         * conform/data/fcntl.h-data: posix_madvise is not expected here.
2089         * conform/conformtest.pl: Fix handling of macro-str.
2091         * conform/data/inttypes.h-data: Add missing definition and all of
2092         stdint.h-data.
2094         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
2096 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
2098         * conform/conformtest.pl (@headers): Add stdint.h.
2099         * conform/data/stdint.h-data: New file.
2101         * conform/conformtest.pl: Recognize options --headers and
2102         --dialect.  Add dialect-specific CFLAGS.
2104         * conform/conformtest.pl: Implement handling of recursive
2105         allow-header.
2107         * conform/data/locale.h-data: Add new struct lconv members.
2109         * posix/wordexp.h: Correct definition of wordexp_t.
2110         * posix/wordexp.c: Moved to ...
2111         * sysdeps/generic/wordexp.c: ...here.  New file.
2112         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
2113         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
2114         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
2115         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
2116         wordexp.
2117         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
2118         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
2120         * math/tgmath.h: Pretty printing.
2122         * math/Makefile (tests): Add test-tgmath.
2123         (CFLAGS-test-tgmath.c): New variable.
2124         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
2126         * conform/conformtest.pl: Handle allow-header in secondary headers
2127         correctly.
2129         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
2130         #ifdef.
2132         * conform/data/netinet/in.h-data: Use correct comment character.
2133         * conform/data/sys/stat.h-data: Likewise.
2135 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
2137         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
2138         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
2139         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
2140         __builtin_classify_type, add ##f suffixes where appropriate.
2141         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
2142         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
2143         __builtin_classify_type.
2144         (fma): Fix spelling of first argument.
2146 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
2148         * conform/data/unistd.h-data: Mark functions removed in XPG6
2149         correctly.
2151         * posix/unistd.h: Don't make functions removed in XPG6 available if
2152         __USE_XOPEN2K.
2154         * conform/conformtest.pl: Implement optional-constant.
2155         * conform/data/unistd.h-data: Use optional-constant wherever
2156         appropriate.
2158         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
2159         constants and add _SC_STREAMS.
2160         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2162         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
2163         make old name weak alias.
2164         * sysdeps/generic/statvfs64.c: Likewise.
2165         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
2166         make old name weak alias.
2167         * sysdeps/generic/fstatvfs64.c: Likewise.
2168         * include/sys/statvfs.h: New file.
2170         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
2171         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
2172         _PC_REC_XFER_ALIGN.
2173         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
2174         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
2175         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
2176         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2178         * conform/conformtest.pl: Run Unix tests for XPG6.
2179         Implement handling of known namespace violations.
2180         Improve printing of results.
2182         * posix/unistd.h (usleep): Correct return type.
2183         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
2184         * sysdeps/unix/bsd/usleep.c: Correct return type.
2185         * sysdeps/mach/usleep.c: Correct return type.
2186         * sysdeps/generic/usleep.c: Correct return type.
2188         * posix/unistd.h (sync): Correct return type.
2189         * sysdeps/generic/sync.c: Likewise.
2190         * sysdeps/mach/hurd/sync.c: Likewise.
2192         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
2194         * posix/unistd.h: Make seteuid and setegid available for XPG6.
2196         * wcsmbs/wchar.h: Get FILE definition for XPG5.
2198         * conform/data/ctype.h-data: Use correct comment form.
2199         * conform/data/errno.h-data: Likewise.
2200         * conform/data/math.h-data: Likewise.
2201         * conform/data/mqueue.h-data: Likewise.
2202         * conform/data/netdb.h-data: Likewise.
2203         * conform/data/pthread.h-data: Likewise.
2205 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
2207         * conform/data/wordexp.h-data: Fix typo.
2209         * conform/conformtest.pl: Handle allow-header correctly.
2211         * conform/data/time.h-data: Use correct comment form.
2213         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
2215         * configure.in: Comment out binutils version test.
2217         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
2218         separators.
2219         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
2221         * stdlib/tst-strtod.c (locale_test): New function.
2222         (main): Call locale_test.
2223         * stdlib/Makefile (tst-strtod-ENV): New variable.
2225 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
2227         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
2228         declaration of value such that we actually return the value of the
2229         environment variable.
2231 2001-01-24  Andreas Jaeger  <aj@suse.de>
2233         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
2234         prototype.
2235         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2237         * include/sys/sysctl.h: New file.
2239 2001-01-23  Andreas Jaeger  <aj@suse.de>
2241         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
2242         isomac.
2244         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
2245         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
2246         closes PR libc/2039.
2248         * manual/install.texi (Tools for Compilation): Change required
2249         binutils version.
2251 2001-01-22  Andreas Jaeger  <aj@suse.de>
2253         * configure.in: Add test for new enough binutils version, move
2254         compiler/binutils test up.
2256         * Versions.def: Add version GLIBC_2.2.2.
2258 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
2260         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
2261         available.
2262         * iconvdata/testdata/IBM932: New file.
2263         * iconvdata/testdata/IBM932..UTF8: New file.
2264         * iconvdata/testdata/IBM943: New file.
2265         * iconvdata/testdata/IBM943..UTF8: New file.
2266         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
2268 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2270         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
2272 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
2274         * malloc/malloc.c: Remove a few unnecessary initializers of global
2275         variables.
2277 2000-12-09  H.J. Lu  <hjl@gnu.org>
2279         * nss/Makefile (routines): Add digits_dots.
2280         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
2281         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
2282         into a function.
2283         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
2284         function.
2285         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
2286         (TYPE_VAR_P): Likewise.
2287         (FLAGS_VAR): Likewise.
2288         (AF_VAR_P): Likewise.
2289         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
2290         instead of including digits_dots.c.
2291         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
2292         (TYPE_VAR_P): Likewise.
2293         (FLAGS_VAR): Likewise.
2294         (AF_VAR_P): Likewise.
2295         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
2296         instead of including digits_dots.c.
2298 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
2300         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
2302 2001-01-21  Andreas Jaeger  <aj@suse.de>
2304         * elf/constload2.c: Add prototype for init.
2306 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
2308         * stdlib/stdlib.h (drand48_data): Make available only for
2309         __USE_MISC.  Rename elements to protect namespace.  Change type
2310         and position of a and init element.
2311         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
2312         differently.  Adjust for drand48_data change.  Don't compute a here,
2313         it comes from drand48_data.
2314         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
2315         differently.  Adjust for drand48_data change.  Compute a here.
2316         * stdlib/srand48_r.c: Likewise.
2317         * stdlib/drand48.c: Adjust for drand48_data change.
2318         * stdlib/lrand48.c: Likewise.
2319         * stdlib/mrand48.c: Likewise.
2320         * stdlib/seek48.c: Likewise.
2321         * stdlib/drand48_r.c: Likewise.
2322         * stdlib/lrand48_r.c: Likewise.
2323         * stdlib/mrand48_r.c: Likewise.
2324         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
2325         differently.
2326         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
2327         * stdlib/jrand48_r.c: Likewise.
2329         * po/sv.po: Update from translation team.
2331 2001-01-21  Andreas Jaeger  <aj@suse.de>
2333         * stdio-common/vfprintf.c (vfprintf): Add casts.
2335 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
2337         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
2338         the ASCII test.
2339         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
2341         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
2342         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
2343         * iconvdata/ibm932.c: New file.
2344         * iconvdata/ibm932.h: New file.
2345         * iconvdata/ibm943.c: New file.
2346         * iconvdata/ibm943.h: New file.
2347         Patches by Masahide Washizawa <washi@jp.ibm.com>.
2349         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
2350         preventing optimization from being done.  Set the correct type bit
2351         in seen.  Don't define and use _dl_base_addr unless
2352         NEED_DL_BASE_ADDR is defined.
2354         * io/ftw.c (ftw_dir): Add slash after directory name if there
2355         wasn't any.  Reported by loris <loris@iol.it>.
2356         * io/Makefile (tests): Add bug-ftw2.
2357         * io/bug-ftw2.c: New file.
2359 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
2361         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
2362         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
2363         * stdlib/tst-rand48.c: New file.
2364         * stdlib/Makefile (tests): Add tst-rand48.
2366         * locale/newlocale.c (__newlocale): Fix test for setting all
2367         categories.
2369 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
2371         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
2372         but change looking up the initial directory port in a similar way
2373         as done by _hurd_change_directory_port_from_name.
2374         * hurd/fchroot.c (fchroot): Likewise.
2376 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
2378         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
2379         defined don't look whether the AT_*ID values were set.
2380         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
2381         (_dl_show_auxv): Rewrite to avoid switch statement.
2382         * sysdeps/unix/sysv/linux/kernel-features.h: Define
2383         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
2384         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
2385         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
2387         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
2388         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2389         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2391         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
2392         strtoul.
2393         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
2394         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
2395         anything.
2396         * dlfcn/eval.c (__strtol_internal): Define here.
2397         (eval): Use __strtol_internal instead of strtol.
2399         * elf/elf.h: Add a few more EF_MIPS_* constants.
2401 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
2403         * manual/Makefile (chapters): Add debug.
2404         * manual/debug.texi: New file.
2405         * manual/examples/execinfo.c: New file.
2406         Patch by suckfish@ihug.co.nz.
2408 2001-01-17  Andreas Schwab  <schwab@suse.de>
2410         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
2411         invalid asm.
2413 2001-01-17  Andreas Jaeger  <aj@suse.de>
2415         * nscd/connections.c (nscd_run): Use proper format specifier.
2417 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
2419         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
2420         x86_platforms data into new file after prepending _dl_.  Change
2421         users.
2422         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
2423         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
2424         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
2425         dl-procinfo.c.
2427         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
2429         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
2430         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
2431         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
2432         (_setjmp): Likewise.
2433         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
2434         * sysdeps/i386/bsd-setjmp.S: Real implementation.
2435         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
2436         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
2437         version.
2439 2001-01-16  Andreas Jaeger  <aj@suse.de>
2441         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
2442         misapplied last patch.
2444 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
2446         * stdlib/random.c (__initstate): Clean up a cast.
2447         (__setstate): Likewise.
2449         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
2450         syscall handling.  The generic Linux version should work.
2452 2001-01-15  Andreas Jaeger  <aj@suse.de>
2454         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
2456         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
2458 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
2460         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
2461         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
2462         New functions.
2463         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
2464         If number is 0, list all.
2465         (services_keys): Likewise.  Lookup aliases as well.
2466         (databases): New table.
2467         (build_doc): Prepare argp doc text with list of supported databases.
2468         (main): Change to table driven processing.
2470 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
2472         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
2473         functions.
2475 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
2477         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
2478         encode value which does not fit in the 32bit type.
2480 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
2482         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
2483         Change type of CTX to (struct sigcontext *).
2484         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
2485         (GET_FRAME): Likewise.
2486         (GET_STACK): Likewise.
2487         (SIGCONTEXT): Likewise. Add 2nd arg _code.
2488         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
2490 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
2492         * manual/texinfo.tex: Update from upstream version.
2494 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
2496         * inet/ether_ntoh.c (lookup_function): Change arguments to match
2497         _nss_*_getntohost_r prototype.
2498         (ether_ntohost): Pass errno pointer to NSS function.
2500 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2502         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
2503         (MAP_LOCKED): New definition.
2504         (MAP_NORESERVE): New definition.
2506 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
2508         * assert/assert.h: Use static_cast instead of C-style cast for C++.
2509         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
2511 2001-01-12  Ben Collins  <bcollins@debian.org>
2513         * sysdeps/generic/segfault.c (install_handler): Use access, not
2514         __access.
2516 2001-01-12  Andreas Jaeger  <aj@suse.de>
2518         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
2519         * posix/wordexp.c (do_parse_glob): Likewise.
2520         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2521         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
2522         * elf/dl-open.c (_dl_open): Likewise.
2523         * elf/dl-close.c (_dl_close): Likewise.
2524         * elf/dl-load.c (_dl_map_object): Likewise.
2525         * iconv/iconv_prog.c (process_fd): Likewise.
2526         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
2528         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
2529         of a zero-length array.
2531 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
2533         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
2534         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
2535         * stdlib/cxa_on_exit.c: Remove.
2536         * stdlib/Makefile: Revert last patch.
2537         * stdlib/Versions: Likewise.
2538         * include/stdlib.h: Likewise.
2539         * stdlib/exit.h: Revert last patch.
2540         (struct exit_function): Add second argument to cxa fn.
2541         * stdlib/exit.c: Revert last patch.
2542         (exit): Add hidden second argument.
2544 2001-01-11  H.J. Lu  <hjl@gnu.org>
2546         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
2547         * elf/dl-open.c (_dl_open): Here.
2548         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
2549         Make it static.
2550         (_dl_static_init): Initialize the variables every time when possible.
2551         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
2552         Undefine it first.
2554 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
2556         * stdlib/Makefile (routines): Add cxa_on_exit.
2557         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
2558         * stdlib/cxa_on_exit.c: New file.
2559         * include/stdlib.h: Add prototype for __cxa_on_exit.
2560         * stdlib/exit.c: Handle ef_cxa2.
2561         * stdlib/exit.h (enum): Add ef_cxa2.
2562         (struct exit_function): Add cxa2.
2564         * Versions.def [ld]: Add GLIBC_2.2.1.
2566 2001-01-10  H.J. Lu  <hjl@gnu.org>
2568         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
2569         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
2570         dl-static.
2571         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
2572         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
2573         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
2574         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
2575         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
2577 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
2579         * libio/stdio.h: Remove definition of off_t.
2581 2001-01-11  Andreas Jaeger  <aj@suse.de>
2583         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
2584         <mkuhn@acm.org>.
2586 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
2588         * sunrpc/Makefile (distribute): Add errqueue.h.
2590 2001-01-10  H.J. Lu  <hjl@gnu.org>
2592         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
2593         r9, r10 and r11 for language specific registers.
2595 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
2597         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
2598         UDP socket.
2599         (clntudp_call): Handle MSG_ERRQUEUE.
2600         * sysdeps/generic/errqueue.h: New file.
2601         * sysdeps/unix/sysv/linux/errqueue.h: New file.
2603 2001-01-10  H.J. Lu  <hjl@gnu.org>
2605         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
2607 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
2609         * CONFORMANCE: Update.
2611 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
2613         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
2614         Minimal cleanups.  Add assert to ensure memory handling is correct.
2616         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
2617         Reported by Ben Collins <bcollins@debian.org>.
2619         * time/strftime.c (my_strftime): Mark previous GNU extensions
2620         which are now in C99 as such.
2622 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
2624         * elf/rtld.c (process_envvars): Place output files for profiling
2625         in SUID binaries in /var/profile.
2627         * elf/dl-load.c (_dl_map_object): Don't look in cache for
2628         preloading in SUID binaries.
2630         * elf/dl-profile.c (_dl_start_profile): Open the output file with
2631         O_NOFOLLOW if possible.
2633         * include/stdlib.h: Add __posix_openpt declaration.
2634         * stdlib/stdlib.h: Add posix_openpt declaration.
2635         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
2636         * sysdeps/generic/getpt.c: Define posix_openpt.
2637         * sysdeps/unix/bsd/getpt.c: Likewise.
2638         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
2640         * time/Makefile (tests): Add tst-mktime.
2641         * time/tst-mktime.c: New file.
2643         * posix/tst-dir.c (main): One more mkdir() test.
2645         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
2646         Remove getpagesize syscall.  We assume that the pagesize is always
2647         determined from the auxiliary vector.
2649         * intl/dcigettext.c: Fix a few warnings.
2650         Patch by Bruno Haible <haible@ilog.fr>.
2652 2001-01-08  Andreas Jaeger  <aj@suse.de>
2654         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
2655         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2657 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
2659         * sysdeps/generic/segfault.c (install_handler): Check output file
2660         name with access().
2662         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
2663         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
2665         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
2667         * malloc/memusage.c (me): Use access() to determine whether we
2668         should write the output file or not.
2670         * libio/bits/stdio.h (printf): Define macro to map printf call to
2671         fprintf which gcc can optimize.
2672         * stdio-common/printf.c: Undefine printf.
2674 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
2676         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
2677         patch.  We must use unsigned int for l member of union.
2679         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
2680         _dl_aux_init for shared libraries.
2682         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
2683         * sysdeps/gnu/glob64.c: ...here.  New file.
2685 2001-01-07  Ben Collins  <bcollins@debian.org>
2687         * manual/examples/longopt.c: Make the "struct option" a little
2688         more like it should be, adding usage of required_argument,
2689         noargument and such, and also setting the options string right.
2691         * manual/sysinfo.texi (Load Average): New section, documents
2692         getloadavg().
2694 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
2696         * version.h (VERSION): Bump to 2.2.1.
2698         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
2699         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
2700         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
2701         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
2702         * Makefile (distribute): Add include/libc-internal.h.
2703         * libio/Makefile (distribute): Avoid overwriting.
2705         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
2706         buffer and table handling.
2708 2001-01-05  H.J. Lu  <hjl@gnu.org>
2710         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
2711         vector checking to ...
2712         (_dl_aux_init): Here. New function. Defined only if
2713         HAVE_AUX_VECTOR is defined.
2715         * sysdeps/generic/libc-start.c (__libc_start_main): Call
2716         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
2718         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
2719         _dl_aux_init.
2721         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
2722         (HAVE_AUX_VECTOR): Defined.
2723         (_dl_aux_init): Declared.
2725 2001-01-05  Ben Collins  <bcollins@debian.org>
2727         * manual/string.texi (Finding Tokens in a String): Document XPG
2728         basename() and dirname(), as well as GNU basename().
2730 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
2732         * Makeconfig (preprocess-version): Replace -traditional with
2733         -x assembler-with-cpp.
2735 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
2737         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
2738         for GCC 2.97 or later.
2740 2001-01-05  Ben Collins  <bcollins@debian.org>
2742         * manual/stdio.texi (getline): Clarify the return value in the
2743         case of EOF being reached before a newline.
2745 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
2747         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
2748         FALSE otherwise.
2749         (pmap_set, pmap_unset): Check __get_myaddress return value.
2751 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
2753         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
2754         (struct ether_addr): Declare ether_addr_octet member as
2755         `u_int8_t'.  Add __attribute__ ((__packed__)).
2757 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
2759         * sysdeps/mach/hurd/readdir64.c: New file.
2760         * sysdeps/mach/hurd/readdir64_r.c: New file.
2762 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
2764         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
2765         `struct statfs' and `struct statvfs' being identical.
2766         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
2768 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
2770         * sysdeps/mach/hurd/fstatfs64.c: New file.
2771         * sysdeps/mach/hurd/fstatvfs64.c: New file.
2772         * sysdeps/mach/hurd/statfs64.c: New file.
2773         * sysdeps/mach/hurd/statvfs64.c: New file.
2774         * sysdeps/mach/hurd/statfsconv.c: New file.
2775         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
2777 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
2779         * iconv/skeleton.c: Reset outbuf for next round of the loop.
2780         Reported by Owen Taylor <otaylor@redhat.com>.
2781         * iconv/Makefile (tests): Add tst-iconv3.
2782         * iconv/tst-iconv3.c: New file.
2784         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
2785         * iconvdata/ibm933.c: Likewise.
2786         * iconvdata/ibm935.c: Likewise.
2787         * iconvdata/ibm937.c: Likewise.
2788         * iconvdata/ibm939.c: Likewise.
2789         * iconvdata/ibm930.h: Adjust single byte table for optimization.
2790         * iconvdata/ibm933.h: Likewise.
2791         * iconvdata/ibm935.h: Likewise.
2792         * iconvdata/ibm939.h: Likewise.
2794         * iconvdata/testdata/IBM930: Add misssing SI.
2795         * iconvdata/testdata/IBM933: Likewise.
2796         * iconvdata/testdata/IBM935: Likewise.
2797         * iconvdata/testdata/IBM937: Likewise.
2798         * iconvdata/testdata/IBM939: Likewise.
2800 2001-01-06  Andreas Jaeger  <aj@suse.de>
2802         * configure.in: Check for old add-ons that shouldn't be used with
2803         current glibc anymore.
2805 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
2807         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
2808         instead of -1 on failure.  Don't forget to copy file name into
2809         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
2810         of the directory.
2812 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
2814         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
2815         copy st_atime member.
2817 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
2819         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
2820         for searches from the root directory.
2821         Reported by loris <loris@iol.it> [PR libc/1991].
2822         * io/Makefile (tests): Add bug-ftw1.
2823         * io/bug-ftw1.c: New file.
2825         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
2826         if it is not available.  Instead use it only if it is available.
2827         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
2829         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
2830         overflowing output buffer.
2831         (internal_ucs4_loop_unaligned): Likewise.
2832         (ucs4_internal_loop): Likewise.
2833         (ucs4_internal_loop_unaligned): Likewise.
2834         (internal_ucs4le_loop): Likewise.
2835         (internal_ucs4le_loop_unaligned): Likewise.
2836         (ucs4le_internal_loop): Likewise.
2837         (ucs4le_internal_loop_unaligned): Likewise.
2838         Reported by Owen Taylor <otaylor@redhat.com>.
2839         * iconv/Makefile (tests): Add tst-iconv2.
2840         * iconv/tst-iconv2.c: New file.
2842 2001-01-04  H.J. Lu  <hjl@gnu.org>
2844         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
2845         (_dl_clktck): Declared.
2846         (non_dynamic_init): Take 3 arguments.
2847         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
2849 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
2851         Finish implementation of plural form handling.
2852         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
2853         'domainname'.  Remove 'plindex' field. Add 'domain' and
2854         'translation_length' fields.
2855         (transcmp): Don't compare 'plindex' fields.
2856         (plural_lookup): New function.
2857         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
2858         plural_eval before the translation and its catalog file have been
2859         found. Remove plindex from cache key.  Add 'translation_length' and
2860         'domain' to cache result.
2861         (_nl_find_msg): Remove index argument, return length of translation
2862         to the caller instead.  Weaken comparison of string lengths, to account
2863         for plural entries.  Call iconv() on the entire result string, not
2864         only on the portion needed so far.
2865         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
2866         argument.
2867         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
2869 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
2871         * intl/plural.y (yylex): Minimal improvement in number scanner.
2873 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
2875         * intl/plural.y: Include config.h. Needed to define 'inline' away for
2876         C compilers that don't support it.
2877         (yylex): Don't use gcc specific case range syntax.
2878         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
2879         compilers.
2881 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
2883         * intl/finddomain.c: Remove unneeded includes.
2885 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
2887         * intl/localealias.c (memcpy): Return first argument, just like the
2888         real memcpy function does.
2889         * intl/bindtextdom.c (memcpy): Likewise.
2890         * intl/finddomain.c (memcpy): Likewise.
2891         * intl/l10nflist.c (memcpy): Likewise.
2892         * intl/textdomain.c (memcpy): Likewise.
2893         From Paul Eggert <eggert@twinsun.com>.
2895 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
2897         * resolv/resolv.h (struct __res_state): Add nsinit field.
2898         * resolv/res_send.c (res_nsend): Use it instead of nscount.
2899         * resolv/res_init.c (__res_vinit): Initialize it.
2900         (res_nclose): Clear it instead of nscount.
2902 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
2904         * malloc/mtrace.pl: Fix matching of addresses.
2905         Patch by Aharon Robbins <arnold@skeeve.com>.
2907         * Versions.def (ld): Add GLIBC_2.2.
2909         * catgets/gencat.c: Copyright 2001.
2910         * csu/version.c: Likewise.
2911         * debug/catchsegv.sh: Likewise.
2912         * debug/xtrace.sh: Likewise.
2913         * elf/ldconfig.c: Likewise.
2914         * elf/sprof.c: Likewise.
2915         * iconv/iconv_prog.c: Likewise.
2916         * locale/locale.c: Likewise.
2917         * locale/localedef.c: Likewise.
2918         * malloc/memusage.sh: Likewise.
2919         * malloc/mtrace.pl: Likewise.
2920         * nscd/nscd.c: Likewise.
2921         * posix/getconf.c: Likewise.
2923 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
2925         * include/stdio.h: Only provide __getwc_unlocked prototype if
2926         USE_IN_LIBIO is defined.
2928 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2930         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
2931         handling.
2933 2001-01-03  Andreas Schwab  <schwab@suse.de>
2935         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
2936         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
2938         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
2939         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
2940         strtoull alias.
2941         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
2942         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
2943         wcstoull alias.
2945         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
2946         directory.
2947         * sysdeps/generic/strtol_l.c: Likewise.
2948         * sysdeps/generic/strtoul_l.c: Likewise.
2949         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
2951         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
2952         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
2953         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
2954         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
2956 2001-01-04  Andreas Jaeger  <aj@suse.de>
2958         * nss/nsswitch.c: Include files for missing prototypes, remove
2959         buggy declaration of prototypes.
2961 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2963         * resolv/Versions: Fix bracing.
2964         * sysdeps/powerpc/soft-fp/Versions: Likewise.
2965         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
2967 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2969         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
2971 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
2973         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
2974         Suggested by Minko Markov <mmarkov@home.com>.
2976 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2978         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
2979         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
2980         the failing symbol.
2981         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
2983 2001-01-02  Ben Collins  <bcollins@debian.org>
2985         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
2986         if TZ is not set and TZDEFAULT is not present.
2988 2001-01-01  Ben Collins  <bcollins@debian.org>
2990         * string/strings.h: Make sure we declare our functions even if
2991         string.h is already included, based on whether or not __USE_BSD is
2992         defined.
2994 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
2996         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
2997         other dlopen() and dlsym().
2998         Based on a patch by Ben Collins <bcollins@debian.org>.
3000 2001-01-02  Andreas Jaeger  <aj@suse.de>
3002         * dlfcn/errmsg1.c (main): Call dlerror initially.
3003         Reported by Ben Collins <bcollins@debian.org>.
3005 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
3007         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
3008         value is ignored if the selected locale is the C locale.
3009         * intl/tst-gettext.c: Set locale for above change.
3010         * intl/tst-translit.c: Likewise.
3012 2001-01-02  Andreas Jaeger  <aj@suse.de>
3014         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
3015         (_IO_switch_to_wget_mode): Likewise.
3016         (_IO_sputbackwc): Likewise.
3017         (_IO_sungetwc): Use wint_t for result.
3019         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
3021         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
3022         signedness.
3024         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
3025         to (int) to avoid warnings.
3026         * stdio-common/printf_fp.c (putc): Likewise.
3027         * stdio-common/printf_size.c (putc): Likewise.
3029         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
3030         constant unsigned.
3032 2001-01-01  Andreas Jaeger  <aj@suse.de>
3034         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
3036 2000-12-31  Andreas Jaeger  <aj@suse.de>
3038         * include/libc-internal.h: Add prototype for __libc_freeres.
3040         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
3041         for prototypes, remove redundant prototypes.
3042         * gmon/gmon.c: Likewise.
3043         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
3044         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
3045         * malloc/mtrace.c: Likewise.
3047         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
3048         prototypes.
3049         * elf/soinit.c: Likewise.
3050         * sysdeps/generic/prof-freq.c: Likewise.
3051         * sysdeps/mach/hurd/profil.c: Likewise.
3052         * debug/noophooks.c: Likewise.
3053         * debug/pcprofile.c: Likewise.
3054         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
3055         * sysdeps/generic/get_clockfreq.c: Likewise.
3056         * malloc/set-freeres.c: Likewise.
3058         * locale/localeinfo.h: Add internal prototypes.
3060         * elf/rtld.c (dl_main): Fix prototype.
3062         * iconvdata/tst-table-to.c (main): Use return instead of exit to
3063         avoid warning.
3065         * nis/rpcsvc/yp_prot.h: Remove __P.
3066         * nis/rpcsvc/ypupd.h: Likewise.
3067         * nis/rpcsvc/yp.h: Likewise.
3069         * sunrpc/rpc_main.c: Add noreturn attributes.
3070         * sunrpc/rpc_scan.h: Likewise.
3072         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
3074         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
3076         * sunrpc/proto.h: Add noreturn attributes to error and crash.
3078         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
3080         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
3082         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
3084         * include/rpc/rpc_msg.h: Add prototypes for some functions.
3085         * include/rpc/auth.h: Likewise.
3086         * include/rpc/auth_des.h: Likewise.
3087         * include/rpc/clnt.h: Likewise.
3088         * include/rpc/rpc.h: Likewise.
3089         * include/rpc/svc.h: Likewise.
3090         * include/rpc/svc_auth.h: Likewise.
3092         * include/rpc/des_crypt.h: New file.
3094         * malloc/memusagestat.c (main): Use return instead of exit to
3095         avoid warning.
3096         * io/pwd.c (main): Likewise.
3097         * iconvdata/tst-table-from.c (main): Likewise.
3098         * ctype/test_ctype.c (main): Likewise.
3099         * setjmp/tst-setjmp.c (main): Likewise.
3100         * signal/tst-signal.c (main): Likewise.
3101         * stdlib/tst-strtol.c (main): Likewise.
3102         * stdlib/tst-strtod.c (main): Likewise.
3103         * stdlib/tst-strtoll.c (main): Likewise.
3104         * stdlib/tst-xpg-basename.c (main): Likewise.
3105         * dirent/tst-seekdir.c (main): Likewise.
3106         * grp/testgrp.c (main): Likewise.
3107         * inet/test_ifindex.c (main): Likewise.
3108         * io/test-utime.c (main): Likewise.
3109         * posix/test-vfork.c (main): Likewise.
3110         * posix/testfnm.c (main): Likewise.
3111         * stdio-common/temptest.c (main): Likewise.
3112         * stdio-common/test_rdwr.c (main): Likewise.
3113         * stdio-common/tst-fileno.c (main): Likewise.
3114         * stdio-common/tst-sscanf.c (main): Likewise.
3115         * stdio-common/tstscanf.c (main): Likewise.
3116         * string/bug-strncat1.c (main): Likewise.
3117         * string/bug-strpbrk1.c (main): Likewise.
3118         * string/bug-strspn1.c (main): Likewise.
3119         * string/test-ffs.c (main): Likewise.
3120         * string/tst-inlcall.c (main): Likewise.
3121         * string/tst-svc.c (main): Likewise.
3122         * timezone/test-tz.c (main): Likewise.
3123         * wctype/test_wcfuncs.c (main): Likewise.
3124         * wctype/test_wctype.c (main): Likewise.
3126         * stdlib/tst-random.c: Add attribute noreturn to fail.
3128 2000-12-28  Wolfram Gloger  <wg@malloc.de>
3130         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
3131         destination overlap.  Assume dest is always below source if
3132         overlapping.
3134 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
3136         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
3137         object was not yet initialized.
3139 2000-12-28  H.J. Lu  <hjl@gnu.org>
3141         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
3142         is always consistent even if its dependency is failed.
3144         * elf/dl-open.c (_dl_open): Increment the open count before
3145         calling _dl_close () in case of failure.
3147         * elf/neededtest4.c: New file.
3148         * elf/neededobj5.c: New file.
3149         * elf/neededobj6.c: New file.
3151         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
3152         (tests): Add neededtest4.
3153         (modules-names): Add neededobj5 and neededobj6.
3154         ($(objpfx)neededobj6.so): New target.
3155         ($(objpfx)neededtest4): New target.
3156         ($(objpfx)neededtest4.out): New target.
3158 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
3160         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
3161         * stdlib/monetary.h: Add strfmon format attributes.
3163 2000-12-28  Roland McGrath  <roland@frob.com>
3165         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
3166         __mempcpy does it for us.
3168 2000-12-28  Andreas Jaeger  <aj@suse.de>
3170         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
3172         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
3173         __new_setrlimit.
3175         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
3176         __old_getrlimit64.
3178         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
3179         __new_getrlimit.
3181         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
3182         __chown_is_lchown and __real_chown.
3184         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
3185         _dl_reloc_bad_type.
3187         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
3188         up GCC's warning about "deprecated use of label at end of compound
3189         statement."
3190         * sunrpc/rpc_cout.c (emit_inline): Likewise.
3192         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
3193         prototypes.
3194         Remove struct bb and __bb_head since those are declared by
3195         sys/gmon.h.
3197 2000-12-22  Ben Collins  <bcollins@debian.org>
3199         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
3201         * manual/argp.texi: Document argp_domain as part of struct argp.
3203 2000-12-28  Andreas Jaeger  <aj@suse.de>
3205         * catgets/Makefile (generated): Add sample.SJIS.cat.
3207         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
3209         * elf/dl-minimal.c: Add prototypes.
3211         * include/locale.h: Add internal prototypes.
3212         * include/sys/gmon.h: Likewise.
3214         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
3216 2000-12-27  Ben Collins  <bcollins@debian.org>
3218         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
3219         when reallocating the error strings.
3220         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
3222 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
3224         * dlfcn/Makefile (tests): Add errmsg1.
3225         (modules-names): Add errmsg1mod.
3226         Add rules to run errmsg1.
3227         * dlfcn/errmsg1.c: New file.
3228         * dlfcn/errmsg1mod.c: New file.
3230         * dlfcn/dlerror.c (dlerror): Always create output string which
3231         includes object file name.
3233         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
3234         if we would go through it only once.
3235         Patch by Rick Gorton <rick.gorton@api-networks.com>.
3237         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
3238         Patch by Richard Henderson <rth@redhat.com>.
3240 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
3242         * malloc/malloc.c (memmove): Add prototypes.
3243         (MALLOC_MEMMOVE): Define.
3244         (chunk_realloc): Use it instead of MALLOC_COPY if source and
3245         destination might overlap.
3247 2000-12-27  Andreas Jaeger  <aj@suse.de>
3249         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
3250         function.
3251         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3252         * locale/programs/locale.c (show_locale_vars): Likewise.
3253         (show_info): Likewise.
3254         * locale/programs/ld-collate.c (collate_output): Likewise.
3255         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
3256         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3257         * stdlib/rpmatch.c (rpmatch): Likewise.
3259         * setjmp/tst-setjmp.c: Make local functions static.
3260         * setjmp/jmpbug.c: Likewise.
3261         * signal/tst-signal.c: Likewise.
3262         * stdio-common/tfformat.c: Likewise.
3263         * string/tst-svc.c: Likewise.
3264         * time/clocktest.c: Likewise.
3265         * time/tst-getdate.c: Likewise.
3266         * dirent/list.c: Likewise.
3267         * dirent/opendir-tst1.c: Likewise.
3268         * posix/runtests.c: Likewise.
3269         * posix/tst-getaddrinfo.c: Likewise.
3270         * posix/tst-chmod.c: Likewise.
3271         * posix/wordexp-test.c: Likewise.
3272         * misc/tst-efgcvt.c: Likewise.
3273         * timezone/tst-timezone.c: Likewise.
3274         * rt/tst-clock.c: Likewise.
3275         * rt/tst-shm.c: Likewise.
3276         * rt/tst-aio2.c: Likewise.
3277         * rt/tst-aio3.c: Likewise.
3278         * rt/tst-aio4.c: Likewise.
3279         * rt/tst-aio5.c: Likewise.
3281         * dlfcn/failtest.c: Add prototype for foo.
3283         * dlfcn/glrefmain.c: Add prototype for do_test.
3285         * dlfcn/tst-dladdr.c: Add prototype for do_test.
3287         * string/test-ffs.c (main): Add prototype for nested function.
3289         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
3291         * nss/XXX-lookup.c: Add prototype to shut up GCC.
3293         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
3294         setetherent prototype.
3295         Add internal interfaces.
3297         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
3298         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
3300         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
3302         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
3304         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
3305         prototypes, remove struct etherent since it's declared in ether.h.
3306         Fix ntohost declaration.
3308         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
3310         * include/getopt.h: Add internal interfaces.
3311         * include/termios.h: Likewise.
3312         * include/resolv.h: Likewise.
3313         * include/netdb.h: Likewise.
3314         * include/grp.h: Likewise.
3315         * include/pwd.h: Likewise.
3316         * include/shadow.h: Likewise.
3317         * include/rpc/netdb.h: Likewise.
3318         * include/setjmp.h: Likewise.
3320         * include/stdio.h: Add prototypes for compatibility functions.
3321         * include/grp.h: Likewise.
3322         * include/pwd.h: Likewise.
3323         * include/shadow.h: Likewise.
3325         * include/fenv.h: Define internal interfaces.
3327 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
3329         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
3330         argument case separately.
3331         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
3333 2000-12-27  Andreas Jaeger  <aj@suse.de>
3335         * include/sys/wait.h: Add some prototypes.
3336         * Rules (dummy.c): Create also prototype to shut up GCC.
3338 2000-12-27  Andreas Jaeger  <aj@suse.de>
3340         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
3341         it's not needed at the moment.
3342         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
3343         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
3345 2000-12-26  Andreas Jaeger  <aj@suse.de>
3347         * libio/getc_u.c: Include stdio.h via system path to get internal
3348         prototypes.
3349         * libio/getwc_u.c: Likewise.
3351         * stdlib/strfmon.c: Fix prototype of __printf_fp.
3353         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
3354         __printf_fp prototypes to ...
3355         * include/printf.h: ...here.
3357         * include/stdio.h: Add some internal prototypes to shut up GCC.
3358         * include/stdlib.h: Likewise.
3360         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
3361         declaration.
3363         * include/signal.h: Add prototypes for internal sigpause
3364         interfaces.
3366 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
3368         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
3369         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
3371         * string/Makefile (tests): Add tst-bswap.
3372         * string/tst-bswap.c: New file.
3374 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
3376         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
3378 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
3380         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
3381         Patch by Ed Connell <Ed.Connell@sas.com>.
3383 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
3385         * locale/iso-639.def: Correct one entry.  Add two missing entries.
3387         * locale/iso-4217.def: Change entry for Eritrea.
3388         Reported by Daniel Yacob <yacob@geez.org>.
3390 2000-12-23  Ben Collins  <bcollins@debian.org>
3392         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
3393         description.
3395         * manual/stdio.texi (Dynamic Output): Document the return value of
3396         asprintf.  Also make the asprintf/snprintf examples a little
3397         better (check for some error returns).
3399 2000-12-22  Andreas Jaeger  <aj@suse.de>
3401         * include/stdio.h: Add __ftrylockfile prototype.
3403 2000-12-21  H.J. Lu  <hjl@gnu.org>
3405         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
3406         Make sign_exponent element signed.
3408         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
3409         Fix a typo.
3411         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
3413 2000-12-21  Andreas Jaeger  <aj@suse.de>
3415         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
3416         * inet/ether_hton.c: Likewise
3417         * inet/ether_ntoh.c: Likewise.
3419         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
3420         declaration to match prototype.
3422         * include/netinet/ether.h (struct etherent): Declare here so that
3423         all implementations use the same struct.
3425         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
3426         prototypes.
3427         (struct ether): Removed.
3428         Use struct etherent instead of ether everywhere.
3430         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
3432         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
3434         * sunrpc/publickey.c: Include auth_des.h for prototypes.
3436 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
3438         * math/test-misc.c: Add more tests for nextafter functions.
3440         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
3441         normal correctly.  Correct test for sign.
3442         Based on a patch by HJ Lu.
3444 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
3446         * Makeconfig (preprocess-version): Add -traditional to gcc call.
3447         Cleanup sed calls.
3449 2000-12-19  Andreas Jaeger  <aj@suse.de>
3451         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
3453         * nis/nis_intern.h: Add prototype for __do_niscall3.
3455         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
3456         match prototype.
3458         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
3460         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
3462         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
3464 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
3466         * math/test-misc.c: Add more tests for nextafter.
3467         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
3468         * sysdeps/ieee754/ldbl-96/math_ldbl.h
3469         (ieee_long_double_shape_type): Make sign_exponent element signed.
3471         * manual/message.texi: Add Estonian to plural overview list.
3472         Correct rule for Slavic languages.
3473         Patch by Stanislav Brabec <utx@penguin.cz>.
3475         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
3477 2000-12-18  Andreas Jaeger  <aj@suse.de>
3479         * test-skeleton.c: Use temp_name_list instead of name_list to
3480         avoid collision with name_list from inet/netgroup.h.
3482         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
3484         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
3485         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
3486         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
3487         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
3489         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
3490         declaration to match prototype.
3491         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
3492         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
3493         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
3494         Likewise.
3495         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
3496         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
3497         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
3498         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
3499         (_nss_nis_getservbyport_r): Likewise.
3500         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
3501         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
3502         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
3503         (_nss_nis_setnetent): Likewise
3504         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3505         (_nss_nis_endnetgrent): Likewise.
3506         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
3507         Likewise.
3508         (_nss_nisplus_setnetgrent): Likewise.
3509         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
3510         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
3511         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
3512         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
3513         Likewise.
3514         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
3515         Likewise.
3516         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
3517         Likewise.
3518         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
3519         Likewise.
3520         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
3521         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
3522         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
3523         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
3524         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
3525         (_nss_dns_getnetbyaddr_r): Likewise.
3527 2000-12-17  Andreas Jaeger  <aj@suse.de>
3529         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
3530         parameter.
3532         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
3533         unused attribute to shut up gcc warnings.
3535         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
3536         * sysdeps/generic/k_tanl.c: Likewise.
3537         * sysdeps/generic/k_cosl.c: Likewise.
3538         * sysdeps/generic/e_j0l.c: Likewise.
3539         * sysdeps/generic/e_j1l.c: Likewise.
3540         * sysdeps/generic/e_jnl.c: Likewise.
3541         * sysdeps/generic/e_lgammal_r.c: Likewise.
3543         * elf/vismain.c: Move prototypes for functions in vismod*.c to
3544         vismod.h.
3545         * elf/vismod.h: New file.
3546         * elf/Makefile (distribute): Add vismod.h.
3547         * elf/vismod1.c: Include vismod.h.
3548         * elf/vismod2.c: Likewise.
3549         * elf/vismod3.c: Likewise.
3551         * elf/constload3.c: Add prototype declarations to shut up gcc.
3552         * elf/failobj.c: Likewise.
3553         * elf/nodelmod3.c: Likewise.
3554         * elf/filtmod1.c: Likewise.
3555         * elf/filtmod2.c: Likewise.
3556         * elf/reldepmod1.c: Likewise.
3557         * elf/reldepmod2.c: Likewise.
3558         * elf/reldepmod3.c: Likewise.
3559         * elf/reldepmod4.c: Likewise.
3560         * elf/unload2dep.c: Likewise.
3561         * elf/unload2mod.c: Likewise.
3562         * elf/ltglobmod1.c: Likewise.
3563         * elf/pathoptobj.c: Likewise.
3564         * elf/neededobj1.c: Likewise.
3565         * elf/neededobj2.c: Likewise.
3566         * elf/neededobj3.c: Likewise.
3567         * elf/neededobj4.c: Likewise.
3568         * elf/nextmod1.c: Likewise.
3569         * elf/nextmod2.c: Likewise.
3571         * locale/programs/ld-collate.c (collate_finish): Don't use labels
3572         at end of compound statement.
3573         * locale/programs/locale.c (show_info): Likewise.
3574         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
3576 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
3578         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
3579         with a pointer not returned by obstack_ functions.
3581 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
3583         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
3584         version.
3585         (struct stat64): Likewise.
3586         Reported by Michael Keezer <mkeezer@redhat.com>.
3588         * timezone/asia: Update from tzdata2000h.
3589         * timezone/australasia: Likewise.
3590         * timezone/backward: Likewise.
3591         * timezone/europe: Likewise.
3592         * timezone/northamerica: Likewise.
3593         * timezone/southamerica: Likewise.
3594         * timezone/zone.tab: Likewise.
3596 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
3598         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
3599         and dir.stream is NULL, only free dir.content.
3600         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
3601         * io/ftwtest-sh: Test with --early-exit.
3603 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
3605         * misc/efgcvt.c (FCVT_MAXDIG): Define.
3606         (FCVT_BUFPTR): New variable.
3607         (fcvt): If fcvt_r returns -1 on the static short buffer,
3608         try to malloc a sufficiently large one and retry.
3609         (free_mem): New function.
3610         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
3611         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
3613 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
3615         * misc/dirname.c (dirname): Fix search for second to last slash.
3617 2000-12-13  Andreas Jaeger  <aj@suse.de>
3619         * misc/tst-dirname.c (main): Fix typo in test to really use
3620         the examples from Unix98.
3621         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3623 2000-12-09  H.J. Lu  <hjl@gnu.org>
3625         * sysdeps/ia64/fpu/s_fabs.S: New file.
3626         * sysdeps/ia64/fpu/s_fabsf.S: New file.
3627         * sysdeps/ia64/fpu/s_fabsl.S: New file.
3629 2000-12-15  Andreas Jaeger  <aj@suse.de>
3631         * stdio-common/scanf9.c (main): Reformat and change to avoid
3632         warnings.
3634         * stdio-common/tstdiomisc.c: Make local functions static.
3635         * stdio-common/tst-printf.c: Likewise.
3637         * elf/constload2.c: Add prototype declarations to shut up gcc.
3638         * elf/dep1.c: Likewise.
3639         * elf/dep2.c: Likewise.
3640         * elf/dep3.c: Likewise.
3641         * elf/dep4.c: Likewise.
3642         * elf/ltglobmod2.c: Likewise.
3644         * libio/fmemopen.c: Make local functions static.
3646         * elf/Makefile (distribute): Added testobj.h.
3648         * elf/testobj.h: New file.
3650         * elf/testobj1.c: Include testobj.h and move prototype
3651         declarations to testobj.h.
3652         * elf/testobj2.c: Likewise.
3653         * elf/testobj3.c: Likewise.
3654         * elf/testobj4.c: Likewise.
3655         * elf/testobj5.c: Likewise.
3656         * elf/testobj6.c: Likewise.
3657         * elf/testobj1_1.c: Likewise.
3658         * elf/preloadtest.c: Likewise.
3660 2000-12-15  Ben Collins  <bcollins@debian.org>
3662         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
3663         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
3665 2000-12-14  H.J. Lu  <hjl@gnu.org>
3667         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
3668         field in a float is 8 bits, not 11 bits.
3670 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
3672         * math/test-misc.c (main): Adjust m for IEEE quad long double.
3674 2000-12-13  Andreas Jaeger  <aj@suse.de>
3676         * manual/message.texi (Using gettextized software): Fix typo.
3678         * manual/charset.texi (Converting a Character): Fix mbstouwcs
3679         program to compile.
3680         Patch by Martin Buchholz <martin@xemacs.org>.
3682         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
3683         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3685 2000-12-11  Andreas Jaeger  <aj@suse.de>
3687         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
3688         kernel_sigset_t and use it.
3689         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
3691 2000-12-10  Richard Henderson  <rth@redhat.com>
3693         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
3694         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
3695         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
3697 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
3699         * sysdeps/alpha/htonl.S: Fix a typo.
3701 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
3703         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
3705 2000-12-10  Andreas Jaeger  <aj@suse.de>
3707         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
3708         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
3709         Drepper <drepper@redhat.com>.
3711 2000-12-09  Andreas Jaeger  <aj@suse.de>
3713         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
3715         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
3716         generic version.
3717         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
3719         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
3720         string.
3722         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
3723         format string.
3725         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
3726         * nscd/connections.c (handle_request): Likewise.
3727         * nscd/pwdcache.c (addpwbyname): Likewise.
3728         * nscd/grpcache.c (addgrbyname): Likewise.
3730         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
3732 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
3734         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
3736         * Makeconfig (default_cflags): Make -O2 the default for stable
3737         releases.
3739 2000-12-08  H.J. Lu  <hjl@gnu.org>
3741         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
3742         * sysdeps/ia64/fpu/s_isinf.S: This.
3743         Add a .pred.rel.mutex note to avoid false report.
3745         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
3746         * sysdeps/ia64/fpu/s_isnan.S: This.
3748         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
3749         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
3750         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
3751         * sysdeps/ia64/fpu/s_isinff.S: New file.
3752         * sysdeps/ia64/fpu/s_isinfl.S: New file.
3753         * sysdeps/ia64/fpu/s_isnanf.S: New file.
3754         * sysdeps/ia64/fpu/s_isnanl.S: New file.
3755         * sysdeps/ia64/fpu/s_finite.S: New file.
3756         * sysdeps/ia64/fpu/s_finitef.S: New file.
3757         * sysdeps/ia64/fpu/s_finitel.S: New file.
3758         * sysdeps/ia64/fpu/s_signbit.S: New file.
3759         * sysdeps/ia64/fpu/s_signbitf.S: New file.
3760         * sysdeps/ia64/fpu/s_signbitl.S: New file.
3761         * sysdeps/ia64/fpu/s_copysign.S: New file.
3762         * sysdeps/ia64/fpu/s_copysignf.S: New file.
3763         * sysdeps/ia64/fpu/s_copysignl.S: New file.
3765 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
3767         * math/libm-test.inc (main): Fix typos in messages.
3769         * string/stratcliff.c: Add test for rawmemchr.
3771 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
3773         * elf/dl-open.c (_dl_open): If objname points right after errstring,
3774         allocate it together with errstring using alloca.
3775         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
3776         to "", because it might point to local stack.
3778 2000-12-05  H.J. Lu  <hjl@gnu.org>
3780         * nss/Makefile (routines): Add getnssent and getnssent_r.
3781         * nss/nsswitch.h (__nss_setent): New internal NSS function.
3782         (__nss_endent): Likewise.
3783         (__nss_getent_r): Likewise.
3784         (__nss_getent): Likewise.
3785         * nss/getnssent_r.c: New file.
3786         * nss/getnssent.c: New file.
3787         * nss/getXXent.c (H_ERRNO_VAR): Updated.
3788         (GETFUNC_NAME): Updated to call __nss_getent ().
3789         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
3790         (STAYOPEN_TMPVAR): Updated.
3791         (STAYOPEN_VAR): Updated.
3792         (SETFUNC_NAME): Updated to call __nss_setent ().
3793         (ENDFUNC_NAME): Updated to call __nss_endent ().
3794         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
3796 2000-12-08  Andreas Jaeger  <aj@suse.de>
3798         * nscd/dbg_log.h (dbg_log): Correct attribute.
3800 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
3802         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
3803         cp + len.  Compute where from dirname.
3804         Reported by <jreiser@BitWagon.com>.
3806 2000-12-08  Richard Henderson  <rth@twiddle.net>
3808         * sysdeps/alpha/_mcount.S: Fix typo.
3809         * sysdeps/alpha/strncpy.S: Likewise.
3811         * sysdeps/alpha/alphaev6/Implies: New file.
3812         * sysdeps/alpha/alphaev67/Implies: New file.
3813         * sysdeps/alpha/alphaev67/ffs.S: New file.
3814         * sysdeps/alpha/alphaev67/ffsll.S: New file.
3815         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
3816         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
3817         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
3818         * sysdeps/alpha/rawmemchr.S: New file.
3819         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
3820         * sysdeps/alpha/strcpy.S: Likewise.
3822         From GMP 3.1.1:
3823         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
3825         From rick.gorton@alpha-processor.com:
3826         * sysdeps/alpha/alphaev6/memchr.S: New file.
3827         * sysdeps/alpha/alphaev6/memcpy.S: New file.
3828         * sysdeps/alpha/alphaev6/memset.S: New file.
3829         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
3830         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
3831         * sysdeps/alpha/alphaev67/strcat.S: New file.
3832         * sysdeps/alpha/alphaev67/strchr.S: New file.
3833         * sysdeps/alpha/alphaev67/strlen.S: New file.
3834         * sysdeps/alpha/alphaev67/strncat.S: New file.
3835         * sysdeps/alpha/htonl.S: Use a shorter sequence.
3837 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
3839         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
3840         Reported by <pspencer@fields.utoronto.ca>.
3842 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
3844         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
3845         Pointed out by Hans Boehm.
3847 2000-12-07  H.J. Lu  <hjl@gnu.org>
3849         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
3851 2000-12-07  Andreas Jaeger  <aj@suse.de>
3853         * misc/error.c: Add format attributes for __error and __error_at_line.
3855         * nscd/dbg_log.h: Add format attribute.
3857 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
3859         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
3860         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3862 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
3864         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
3866 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
3868         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
3869         (sysdep_routines): Add uitrunc.
3870         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
3871         Patches by Michael Keezer <mkeezer@redhat.com>.
3873 2000-12-06  Roland McGrath  <roland@frob.com>
3875         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
3876         argument data, since it will be used to copy out too (for INOUT).
3877         Reported by Marcus Brinkmann <marcus@gnu.org>.
3879         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
3880         (__ioctl): Use uintptr_t instead of unsigned long int.
3882 2000-12-06  Jim Wilson  <wilson@redhat.com>
3884         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
3886 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
3888         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
3889         x.5 rounding correctly.
3891 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
3893         * stdio-common/perror.c (perror): Conditionalize code dealing with
3894         wide-oriented streams on USE_IN_LIBIO.
3896 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
3898         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
3899         as internal_function.
3901 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
3903         * sysdeps/alpha/elf/start.S (__data_start): Define.
3905 2000-12-05  H.J. Lu  <hjl@gnu.org>
3907         * nss/getXXent_r.c (setup): Change the return type to int.
3909 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
3911         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
3912         (sysdep_routines): Add restf and savef.
3913         * sysdeps/unix/sysv/aix/restf.c: New file.
3914         * sysdeps/unix/sysv/aix/savef.c: New file.
3915         Patches by Michael Keezer <mkeezer@redhat.com>.
3917         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
3918         if O_DIRECTORY is not defined.
3919         Patch by Michael Keezer <mkeezer@redhat.com>.
3921         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
3922         Patch by Michael Keezer <mkeezer@redhat.com>.
3924         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
3925         than 4 bytes in escape sequence.
3926         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3928 2000-12-05  Andreas Jaeger  <aj@suse.de>
3930         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
3931         set mips2.
3933         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
3935         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
3937         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
3938         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3940         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
3941         internal_function.
3942         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
3943         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
3945         * sysdeps/generic/dl-cache.c: Remove declaration of
3946         _dl_sysdep_read_whole_file.
3948         * elf/dl-load.c (_dl_map_object): Remove declaration of
3949         _dl_load_cache_lookup.
3951         * sysdeps/generic/ldsodefs.h: Add declarations of
3952         _dl_load_cache_lookup, _dl_unload_cache,
3953         _dl_sysdep_read_whole_file, _dl_sysdep_start and
3954         _dl_sysdep_start_cleanup.
3956         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
3957         now.
3959         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
3960         * sysdeps/generic/dl-environ.c: Likewise.
3962         * stdio-common/printf_fp.c: Include <gmp.h> instead of
3963         <stdlib/gmp.h>.
3964         * math/atest-exp.c: Likewise.
3965         * math/atest-exp2.c: Likewise.
3966         * math/atest-sincos.c: Likewise.
3967         * stdio-common/_itoa.c: Likewise.
3968         * stdio-common/_itowa.c: Likewise.
3970         * include/gmp.h: New file with internal prototypes.
3972         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
3973         here to...
3974         * include/setjmp.h: ...here.
3976         * locale/Makefile (routines): Remove codeset_name since it's not
3977         needed anywhere.
3979         * locale/codeset_name.c: Removed.
3981 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
3983         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
3985 2000-12-05  Andreas Jaeger  <aj@suse.de>
3987         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
3989 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3991         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
3992         available.
3994 2000-12-05  Andreas Jaeger  <aj@suse.de>
3996         * nss/test-netdb.c: Mark local functions as static to avoid
3997         warnings.
3998         (main): Use return to silence warning.
4000         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
4002         * stdio-common/test-popen.c: Mark local functions as static to
4003         avoid warnings.
4004         (main): Use return to silence warning.
4006         * stdlib/testsort.c (compare): Mark as static to avoid warning.
4008         * assert/test-assert.c: Mark local functions as static to avoid
4009         warnings.
4010         * assert/test-assert-perr.c: Likewise.
4012         * math/libm-test.inc (main): Use return to silence warnings.
4014 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
4016         * math/fenv.h: Fix typo in comment.
4018         * math/test-misc.c (main): Add a few more over and underflow tests
4019         for scalb.
4021         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
4022         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4023         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4024         * math/w_scalb.c: Don't use matherr except in SVID mode.
4025         * math/w_scalbf.c: Likewise.
4026         * math/w_scalbl.c: Likewise.
4027         * math/test-misc.c: Add test for NaN and scalbl.
4028         Reported by Fred J. Tydeman <tydeman@tybor.com>.
4030 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
4032         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
4033         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
4034         * include/libc-symbols.h (strong_alias): Define special version
4035         for HAVE_ASM_GLOBAL_DOT_NAME.
4036         (weak_alias): Likewise.
4037         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
4038         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
4039         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
4040         getutxline, pututxline, and utmpxname.
4041         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
4042         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
4043         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
4044         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
4045         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
4046         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
4047         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
4048         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
4049         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
4050         Patches by Michael Keezer <mkeezer@redhat.com>.
4052 2000-12-04  H.J. Lu  <hjl@gnu.org>
4054         * configure.in: Change --with-oldest-abi=ABI to
4055         --enable-oldest-abi=ABI.
4057 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
4059         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
4060         fwprintf instead of fprintf.
4062 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
4064         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
4065         DECIMAL_DIG definitions.
4066         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
4067         * sysdeps/generic/bits/mathdef.h: Likewise
4068         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
4069         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
4070         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
4071         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
4072         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
4073         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
4075 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
4077         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
4079         * math/atest-exp.c: Mark local functions as static to avoid warnings.
4080         * math/atest-exp2.c: Likewise.
4081         * math/atest-sincos.c: Likewise.
4083         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
4084         Reported by Fred J. Tydeman <tydeman@tybor.com>.
4086         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
4087         the handling of denormalized numbers.
4089         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
4090         numbers on x86.
4091         * sysdeps/i386/fpu/fpclassifyl.c: New file.
4093         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
4094         pseudo denormal representation of LDBL_MIN.
4096         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
4097         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
4099         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
4100         * iconvdata/jis0208.c: Likewise.
4101         * iconvdata/jis0212.c: Likewise.
4102         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4104         * math/test-misc.c (main): More tests for frexp and some for
4105         fpclassify and isnormal.
4107         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
4108         test for subnormal.
4109         Reported by Fred J. Tydeman <tydeman@tybor.com>.
4111         * math/test-misc.c (main): Add tests for frexp.
4112         Reported by Fred J. Tydeman <tydeman@tybor.com>.
4113         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
4115 2000-12-02  H.J. Lu  <hjl@gnu.org>
4117         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
4118         '\0' to wcschr.
4120 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
4122         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
4123         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4124         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4126         * sysdeps/generic/glob.c: Adjust types of several variables to
4127         avoid warnings.
4129 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
4131         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
4133 2000-11-30  Roland McGrath  <roland@frob.com>
4135         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
4136         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
4137         allow multiple instances using the same function name in one file.
4139 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
4141         * configure.in: Correct test for pserver CVS access.
4143 2000-11-28  H.J. Lu  <hjl@gnu.org>
4145         * libio/libio.h: Remove extra "#if ... #endif".
4147 2000-11-29  H.J. Lu  <hjl@gnu.org>
4149         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
4151 2000-12-01  H.J. Lu  <hjl@gnu.org>
4153         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
4154         * nss/getXXent_r.c: Likewise.
4155         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4157 2000-11-30  H.J. Lu  <hjl@gnu.org>
4159         * scripts/abi-versions.awk (oldest_abi): New variable.
4160         Handle the oldest ABI supported.
4162         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
4163         for scripts/abi-versions.awk.
4165         * configure.in: Add --with-oldest-abi=ABI.
4166         * configure: Rebuild.
4168         * config.make.in (oldest-abi): New.
4170         * config.h.in (GLIBC_OLDEST_ABI): New.
4172         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
4174 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
4176         * locale/setlocale.c (setname): Free for all categories, not just
4177         LC_ALL.
4178         (setlocale): Store a copy of string passed by user, not the string
4179         itself.
4181 2000-11-30  Roland McGrath  <roland@frob.com>
4183         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
4184         rather than _hurd_fd_subinit, so it happens after it's safe to use
4185         libc facilities like malloc.
4187 2000-11-28  Andreas Jaeger  <aj@suse.de>
4189         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
4190         declaration, adjust declaration of __syscall_getdents to match
4191         kernel.
4193 2000-11-29  H.J. Lu  <hjl@gnu.org>
4195         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
4197 2000-11-29  Andreas Jaeger  <aj@suse.de>
4199         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
4201 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
4203         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
4204         * dlfcn/defaultmod2.c: Likewise.
4205         * dlfcn/dlopen.c: Likewise.
4206         * dlfcn/dlopenold.c: Likewise.
4207         * dlfcn/failtestmod.c: Likewise.
4208         * dlfcn/glreflib1.c: Likewise.
4209         * dlfcn/glreflib2.c: Likewise.
4210         * dlfcn/eval.c: Likewise.  Add attributes.
4212         * ctype/ctype-extn.c: Define isblank and not __isblank.
4214         * time/strftime.c: Add const where necessary to avoid warnings.
4215         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
4217 2000-11-22  Paul Eggert  <eggert@twinsun.com>
4219         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
4220         size of (size_t) -1; it's not portable.
4222 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
4224         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
4225         crappy i486 FPU.
4226         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
4228 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
4230         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
4232         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
4233         _mcount is required by profiled binaries.
4235         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
4236         * sysdeps/ia64/machine-gmon.h: ...here.
4238 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
4240         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
4241         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
4242         and ibm1129.h.
4243         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
4244         IBM1129.
4245         * iconvdata/ibm922.c: New file.
4246         * iconvdata/ibm922.h: New file.
4247         * iconvdata/ibm1124.c: New file.
4248         * iconvdata/ibm1124.h: New file.
4249         * iconvdata/ibm1129.c: New file.
4250         * iconvdata/ibm1129.h: New file.
4251         * iconvdata/testdata/IBM922: New file.
4252         * iconvdata/testdata/IBM922..UTF8: New file.
4253         * iconvdata/testdata/IBM1124: New file.
4254         * iconvdata/testdata/IBM1124..UTF8: New file.
4255         * iconvdata/testdata/IBM1129: New file.
4256         * iconvdata/testdata/IBM1129..UTF8: New file.
4258 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
4260         * catgets/gencat.c (normalize_line): Take extra parameter with escape
4261         character.  Change callers.
4262         (open_conversion): Determine mapping of 0x5c as wchar_t value.
4263         * catgets/Makefile: Add rules to build and run test-gencat.
4264         * catgets/sample.SJIS: New file.
4265         * catgets/test-gencat.c: New file.
4266         * catgets/test-gencat.sh: New file.
4267         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4269 2000-11-28  Andreas Jaeger  <aj@suse.de>
4271         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
4272         Linux version.
4274 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
4276         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
4278 2000-11-28  Andreas Jaeger  <aj@suse.de>
4280         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
4281         __flexarr.
4282         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
4283         Likewise.
4285 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
4287         * misc/getusershell.c: Make strings in okshells array const.
4288         * misc/regexp.c: Add const to cast to avoid warnings.
4289         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
4290         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
4291         __setresuid.
4292         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
4293         setresgid.
4294         * misc/error.c: Add prototypes for __error and __error_at_line.
4295         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
4296         statement to avoid warning.
4297         * test-skeleton.c: Mark timeout_handler with noreturn.
4298         * iconv/skeleton.c (get16u): Add const to cast.
4299         (get32u): Likewise.
4300         * iconvdata/gb18030.c: Likewise.
4301         * iconvdata/iso-2022-cn-ext.c: Likewise.
4302         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
4303         * iconvdata/big5.c: Likewise.
4304         * iconvdata/big5hkscs.c: Likewise.
4305         * iconvdata/iso_6937.c: Likewise.
4306         * iconvdata/iso_6937-2.c: Likewise.
4307         * iconvdata/t.61.c: Likewise.
4308         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
4309         * iconvdata/unicode.c: Likewise.
4310         * iconvdata/utf-16.c: Likewise.
4311         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
4312         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
4313         with little code shuffling.
4315         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
4316         the problems introduced when the user selects -O3.
4318         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
4319         * misc/sys/cdefs.h: Define __flexarr.
4320         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
4322         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
4323         * iconv/skeleton.c: Likewise.
4324         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
4325         * iconv/loop.c (get16): Add const to cast.
4326         (get32): Likewise.
4328 2000-11-27  Andreas Jaeger  <aj@suse.de>
4330         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
4331         to avoid warning.
4332         * login/programs/utmpdump.c (print_entry): Likewise.
4334 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4336         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
4337         in a single asm as they may be used to access other stored
4338         registers.
4339         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
4341 2000-11-27  Andreas Jaeger  <aj@suse.de>
4343         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
4344         * rt/tst-aio64.c: Likewise.
4346 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
4348         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
4349         for gencat run.
4350         (libc.cat): Likewise.
4351         * catgets/gencat.c: Implement handling of message catalogs encoded
4352         with stateful character sets.
4353         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4355 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
4357         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
4359         * inet/getnameinfo.c: Adjust casts to avoid warnings.
4360         * inet/rcmd.c: Likewise.
4361         * inet/ruserpass.c: Likewise.
4362         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
4363         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4364         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
4365         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
4366         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
4367         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
4368         * include/aliases.h: Add prototypes for internal __getalias* functions.
4369         * include/netdb.h: Add prototypes for __old_gethostent_r,
4370         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
4371         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
4372         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
4373         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
4374         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
4375         __old_getrpcbynumber_r, __old_getrpcent_r.
4377         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
4378         __getrpcent_r prototypes.
4380 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
4382         * string/strcoll.c: Add casts to avoid warnings.
4383         * string/strnlen.c: Likewise.
4384         * string/strxfrm.c: Likewise.
4385         * sysdeps/generic/_strerror.c: Likewise.
4386         * sysdeps/generic/memrchr.c: Likewise.
4387         * sysdeps/generic/strcasestr.c: Likewise.
4388         * sysdeps/generic/strstr.c: Likewise.
4390         * locale/weight.h (findidx): Add const to cast to avoid warning.
4392         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
4393         * elf/loadtest.c: Likewise.
4394         * elf/multiload.c: Likewise.
4395         * elf/next.c: Likewise.
4396         * elf/nodelete.c: Likewise.
4397         * elf/noload.c: Likewise.
4398         * elf/order.c: Likewise.
4399         * elf/origtest.c: Likewise.
4400         * elf/preloadtest.c: Likewise.
4401         * elf/restest1.c: Likewise.
4403         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
4404         parameter of asm must be in %ecx.
4406         * string/tester.c: Mark test functions as static to avoid warnings.
4408         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
4409         preserve value over different gconv-modules files.
4411 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
4413         * locale/findlocale.c: Add casts to avoid warnings.
4414         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
4415         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
4416         to avoid warnings.
4417         * misc/tsearch.c (const_node): New type.
4418         (trecurse): Correct casts to avoid warnings.
4419         (__twalk): Likewise.
4420         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
4421         LONG_BIT.
4423         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
4425         * test-skeleton.c: Mark local functions as static to avoid warnings.
4427 2000-11-23  H.J. Lu  <hjl@gnu.org>
4429         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
4430         support the background job.
4431         Fix a typo.
4433 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
4435         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
4436         has same names but lower cost.
4438 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
4440         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
4441         which never occur during bootstrap.
4442         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4444 2000-11-23  Andreas Jaeger  <aj@suse.de>
4446         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
4448         * nss/Versions: Remove _nss_files_getipnodebyname_r.
4450         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
4452 2000-11-18  Martin Buchholz  <martin@xemacs.org>
4454         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
4455         (called++) return;'
4457 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
4459         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
4461         * csu/abi-note.S: Correct comment for operating system number.
4463 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
4465         * Versions.def: Add GLIBC_2.2.1 for glibc.
4467 2000-11-22  Andreas Schwab  <schwab@suse.de>
4469         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
4470         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
4472 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
4474         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
4475         absolute time for pthread_cond_timedwait call.
4476         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
4478         * rt/Makefile (tests): Add tst-aio6.
4479         * rt/tst-aio6.c: New file.
4481 2000-11-23  Andreas Jaeger  <aj@suse.de>
4483         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
4485 2000-11-22  Andreas Jaeger  <aj@suse.de>
4487         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
4489 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4491         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
4493 2000-11-21  Andreas Schwab  <schwab@suse.de>
4495         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
4496         * sysdeps/arm/setjmp.S: Likewise.
4497         * sysdeps/arm/fpu/setjmp.S: Likewise.
4498         * sysdeps/i386/setjmp.S: Likewise.
4499         * sysdeps/i386/elf/setjmp.S: Likewise.
4500         * sysdeps/s390/setjmp.S: Likewise.
4501         * sysdeps/s390/elf/setjmp.S: Likewise.
4502         * sysdeps/sh/sh3/setjmp.S: Likewise.
4503         * sysdeps/sh/sh4/setjmp.S: Likewise.
4504         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
4505         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4506         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
4507         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
4509 2000-11-21  Andreas Jaeger  <aj@suse.de>
4511         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
4512         NORETURN, fix parameter list.
4514         * string/bug-strncat1.c (main): Fix typo.
4515         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
4517 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
4519         * configure.in: Add --enable-all-warnings.
4520         * config.make.in (all-warnings): New variable.
4521         * Makeconfig (+gccwarn): Define with many more warnings if
4522         all-warnings is yes.
4524 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
4526         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
4527         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
4528         * malloc/tst-valloc.c (main): Cast valloc return value to long.
4529         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
4530         * math/test-fpucw.c (main): Use %lx in format string, cast
4531         control words to long.
4532         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
4533         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
4534         large that it is unsigned warning.
4536         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
4537         it to long on sparc64.
4539 2000-11-20  Andreas Jaeger  <aj@suse.de>
4541         * nscd/nscd.h (termination_handler): Add noreturn attribute.
4542         (receiv_print_stats): Likewise.
4544         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
4546 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
4548         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
4550         * csu/gmon-start.c: Always have prototype for __gmon_start.
4551         * csu/version.c: Add prototypes for __libc_print_version and
4552         __libc_main.
4553         * iconv/gconv.c: Include gconv_int.h and gconv.h.
4554         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
4555         and __to_name.
4556         * iconv/gconv_builtin.h: Add ASCII module definitions.
4557         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
4558         (add_module): Add cast to avoid warning.  Rework construction of
4559         strings for new module.
4560         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
4561         (derivation_compare): Likewise.
4562         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
4563         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
4564         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
4565         (struct gconv_alias): Remove const from fromname and toname.
4566         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
4567         for loop functions.
4568         (internal_ucs4_loop): Use correct const-ness.
4569         (ucs4_internal_loop): Likewise.
4570         (internal_ucs4le_loop): Likewise.
4571         (ucs4le_internal_loop_single): Likewise.
4572         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
4573         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
4574         assignments appropriately.
4575         (struct known_trans): Remove const from fname.
4576         (trans_compare): Make s1 and s2 const.
4577         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
4578         avoid warning.
4579         * iconv/skeleton.c: Remove cast in calls of loop functions.
4580         * iconvdata/gconv-modules: Remove US-ASCII definitions.
4581         * iconvdata/iso646.c: Remove US_ASCII support.
4582         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
4583         * include/unistd.h: Add __libc_check_standard_fds prototype.
4584         * string/bits/string2.h (__mempcpy_args): Add const to casts.
4585         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
4586         _fini.
4587         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
4588         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
4589         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
4590         warning.
4591         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
4592         __libc_init_first and _dl_start.
4593         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
4594         (DCIGETTEXT): Make domaindata variable const.
4595         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
4596         to avoid warning.
4598 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
4600         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
4602         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
4603         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
4604         __unused? members.
4606         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
4607         value defined in /usr/include/asm-mips/fcntl.h.
4609 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
4611         * stdio-common/Makefile (tests): Add test-vfprintf.
4612         (test-vfprintf-ENV): New variable.
4613         * stdio-common/test-vfprintf.c: New file.
4615         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
4617         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
4618         (tst-mbrtowc-ENV): New variable.
4619         (tst-wcrtomb-ENV): New variable.
4620         * wcsmbs/tst-mbrtowc.c: New file.
4621         * wcsmbs/tst-wcrtomb.c: New file.
4623 2000-11-16  Andreas Jaeger  <aj@suse.de>
4625         * manual/install.texi (Tools for Compilation): Update
4626         documentation for GCC 2.95.2.
4628 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
4630         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
4631         if IPv4 and IPv6 requests timed out.
4633 2000-11-18  Akim Demaille  <akim@epita.fr>
4635         * malloc/obstack.h: Formatting changes.
4636         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
4637         prevents type checking.
4638         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
4639         cast the value to (void *): assigning a `foo *' to a `void *'
4640         variable is valid.
4641         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
4643 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
4645         * scripts/config.guess: Update from upstream maintainer.
4646         * scripts/config.sub: Likewise.
4648 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
4650         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
4651         * libio/freopen64.c (freopen64): Likewise.
4652         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4654         * libio/Makefile: Add rules to build and run test-freopen.
4655         * libio/test-freopen.c: New file.
4656         * libio/test-freopen.sh: New file.
4658 2000-11-15  H.J. Lu  <hjl@gnu.org>
4660         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
4661         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
4662         (DL_DT_FINI_ADDRESS): Likewise.
4664         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
4665         return type to ElfW(Addr).
4666         (_dl_function_address): New prototype.
4667         (DL_FUNCTION_ADDRESS): Defined.
4668         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
4669         (DL_DT_FINI_ADDRESS): Likewise.
4671         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
4673         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
4674         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
4676         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
4677         (_dl_function_address): This.
4679         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
4680         function pointer for DT_FINI.
4681         * elf/dl-close.c (_dl_close): Likewise.
4683         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
4684         function pointer for DT_INIT.
4686 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
4688         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
4689         end of wexpbuf buffer.
4691 2000-11-16  Andreas Jaeger  <aj@suse.de>
4693         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
4694         definition of F_GETLK, F_SETLK, F_SETLKW.
4696 2000-11-16  Andreas Jaeger  <aj@suse.de>
4698         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
4699         it's not defined.
4701 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
4703         * dlfcn/default.c (main): Add test for dladdr of main returning
4704         argv[0] in dli_fname field.
4706 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
4708         * Makeconfig (run-program-prefix): Move test-static test into the
4709         variable.
4711         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
4712         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
4713         schedule instructions.
4714         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
4715         schedule instructions, fix a bug in copying auxiliary data.
4717 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
4719         * manual/startup.texi (Program Arguments): Fix type of main's envp
4720         parameter.
4721         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
4723         * iconvdata/gconv-modules: Add CP950 alias.
4725 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
4727         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
4728         syscall-list.h goal.
4729         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
4731 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
4733         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
4735         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
4736         output of program.
4738         * intl/tst-gettext2.c: Set C locale if setting other locale
4739         failed.  Use gettext() not _().
4741         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
4742         successfully loaded a new locale.
4744 2000-11-13  Andreas Jaeger  <aj@suse.de>
4746         * configure.in: Require gcc 2.95 or newer.
4748 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
4750         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
4751         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
4753 2000-11-11  Jim Meyering  <meyering@lucent.com>
4755         * string/strndup.c (strndup): Cast return value to `char *'.
4757 2000-11-15  Jim Meyering  <meyering@ascend.com>
4759         * sysdeps/generic/memchr.c: Remove some useless parentheses.
4760         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
4761         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
4762         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
4763         Also #undef __memchr.
4764         Use `weak_alias' only if it's defined.
4766 2000-11-10  H.J. Lu  <hjl@gnu.org>
4768         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
4770 2000-11-15  Andreas Jaeger  <aj@suse.de>
4772         * elf/chroot_canon.c: Include <stdint.h>.
4774         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
4775         (print_entry): Likewise.
4776         (add_to_cache): Likewise.
4778         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
4780         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
4781         (path_hwcap): Likewise.
4782         (search_dir): Likewise.
4784         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
4786         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
4788         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
4789         (_dl_platform_string): New.
4790         (_DL_HWCAP_PLATFORM): New.
4791         (_dl_string_platform): New.
4792         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4794         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4795         (_dl_string_platform): New.
4796         (_DL_HWCAP_PLATFORM): New.
4797         (_dl_platform_string): New.
4799         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
4800         recognition.
4801         (_DL_HWCAP_COUNT): New.
4802         (_dl_string_platform): New.
4803         (_DL_HWCAP_PLATFORM): New.
4804         (_dl_platform_string): New.
4806 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
4808         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
4810 2000-11-14  Andreas Jaeger  <aj@suse.de>
4812         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
4814 2000-11-13  Roland McGrath  <roland@frob.com>
4816         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
4818 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
4820         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
4821         underrun and make sure the result is null terminated even if there
4822         is no trailing newline.
4824 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
4826         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4828 2000-11-10  H.J. Lu  <hjl@gnu.org>
4830         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
4832 2000-11-10  Andreas Jaeger  <aj@suse.de>
4834         * elf/ldconfig.c (create_links): Fix alloca calculation.
4835         Patch by Ben Collins <bcollins@debian.org>.
4837 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
4839         * inet/getnameinfo.c (getnameinfo): Use correct destination
4840         parameter for if_indextoname.
4841         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
4843 2000-11-09  H.J. Lu  <hjl@gnu.org>
4845         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
4846         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
4847         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
4848         xdr_keystatus.
4850         * time/Versions (GLIBC_2.1): Move getitimer to...
4851         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
4853 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
4855         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
4856         "make install", to work around a binary incompatibility between
4857         glibc 2.1 and glibc 2.2 gconv modules.
4859 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
4861         * intl/locale.alias: Add thai.
4862         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
4864 2000-11-07  Akim Demaille  <akim@epita.fr>
4866         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
4867         argument `data' for consistency with the prototypes.
4868         Qualify it `const'.
4869         (obstack_copy, obstack_copy0): Rename the second argument as
4870         `address' for consistency.  Qualify it `const'.
4871         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
4872         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
4873         `const' their input argument (`data' or `address').
4874         Adjust the corresponding macros to include `const' in casts.
4876 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4878         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
4879         target family.
4881 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4883         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
4884         socket creation.
4886 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4888         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
4889         ai_protocol by internal table if service was not given.
4891 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4893         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
4894         numerical port was specified with protocol without socktype.
4896 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4898         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
4900 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4902         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
4904 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4906         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
4907         sin6_scope_id field.
4909 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4911         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
4913 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4915         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
4917 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
4919         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
4920         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
4922 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
4924         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
4925         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
4927 2000-11-09  H.J. Lu  <hjl@gnu.org>
4929         * io/Versions (GLIBC_2.1.1): Remove lockf64.
4932 See ChangeLog.11 for earlier changes.