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