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