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