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