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