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