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