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