1 2001-02-27 Ulrich Drepper <drepper@redhat.com>
3 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
6 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
8 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
9 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
10 _dl_debug_printf_c, and _dl_printf.
11 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
12 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
13 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
14 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
15 * elf/dl-close.c: Replace use of old output functions with the new
17 * elf/dl-deps.c: Likewise.
18 * elf/dl-error.c: Likewise.
19 * elf/dl-fini.c: Likewise.
20 * elf/dl-init.c: Likewise.
21 * elf/dl-load.c: Likewise.
22 * elf/dl-lookup.c: Likewise.
23 * elf/dl-minimal.c: Likewise.
24 * elf/dl-open.c: Likewise.
25 * elf/dl-profile.c: Likewise.
26 * elf/dl-reloc.c: Likewise.
27 * elf/dl-version.c: Likewise.
28 * elf/do-lookup.h: Likewise.
29 * elf/rtld.c: Likewise.
30 * sysdeps/generic/dl-cache.c: Likewise.
31 * sysdeps/generic/dl-sysdep.c: Likewise.
32 * sysdeps/generic/libc-start.c: Likewise.
33 * sysdeps/i386/dl-machine.h: Likewise.
34 * sysdeps/arm/dl-machine.h: Likewise.
35 * sysdeps/hppa/dl-machine.h: Likewise.
36 * sysdeps/m68k/dl-machine.h: Likewise.
37 * sysdeps/powerpc/dl-machine.h: Likewise.
38 * sysdeps/s390/dl-machine.h: Likewise.
39 * sysdeps/sh/dl-machine.h: Likewise.
40 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
41 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
42 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
44 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
46 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
47 supported by assembler.
49 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
52 * elf/rtld.c: Little optimizations in handling _dl_lazy.
54 * elf/cache.c (save_cache): Portability changes.
55 * elf/dl-profile.c (_dl_start_profile): Likewise.
57 * elf/sln.c: Cleanups. Remove arbitrary limits.
59 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
60 * elf/dl-deps.c: Likewise.
61 * elf/dl-fini.c: Likewise.
62 * elf/dl-init.c: Likewise.
63 * elf/dl-load.c: Likewise.
64 * elf/dl-lookup.c: Likewise.
65 * elf/dl-open.c: Likewise.
66 * elf/dl-reloc.c: Likewise.
67 * elf/dl-support.c: Likewise.
68 * elf/dl-version.c: Likewise.
69 * elf/do-lookup.h: Likewise.
70 * elf/rtld.c: Likewise.
71 * sysdeps/generic/dl-cache.c: Likewise.
72 * sysdeps/generic/ldsodefs.h: Likewise.
73 * sysdeps/generic/libc-start.c: Likewise.
74 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
75 Export _dl_debug_mask.
76 * Versions.def: Define GLIBC_2.2.3 for ld.
78 2001-02-26 Greg McGary <greg@mcgary.org>
80 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
82 2001-02-26 Paul Eggert <eggert@twinsun.com>
84 Modify mkstemp.c and tempname.c so that they can be used by
85 GNU applications on non-glibc platforms.
87 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
89 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
90 Include <stddef.h>, <stdint.h>, <string.h> only if
91 STDC_HEADERS || _LIBC.
92 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
93 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
94 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
95 (__set_errno): Define this macro if <errno.h> doesn't.
96 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
97 Define these macros if <stdio.h> doesn't.
98 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
99 Define these macros if <sys/stat.h> doesn't.
100 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
101 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
102 lxstat64, __xstat64): Define if not _LIBC.
103 (struct_stat64): New macro.
104 (direxists, __gen_tempname): Use it, to avoid a
105 portability problem with Solaris 8.
106 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
107 (__gen_tempname): Invoke gettimeofday only if
108 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
109 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
110 octal values like 0600.
112 2001-02-26 Ulrich Drepper <drepper@redhat.com>
114 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
115 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
117 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
118 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
120 * posix/wordexp-test.c (testit): Remove warnings.
122 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
123 (tests): Add tstatexit and tstcxaatexit.
124 (module-names): Add modatexit and modcxaatexit.
125 Add rules to build and run tstatexit and tstcxaatexit.
126 * dlfcn/modatexit.c: New file.
127 * dlfcn/modcxaatexit.c: New file.
128 * dlfcn/tstatexit.c: New file.
129 * dlfcn/tstcxaatexit.c: New file.
131 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
132 .hidden is available.
133 * io/stat.c: If .hidden is available use it to avoid exporting
135 * io/fstat.c: Likewise.
136 * io/lstat.c: Likewise.
137 * io/stat64.c: Likewise.
138 * io/fstat64.c: Likewise.
139 * io/lstat64.c: Likewise.
140 * sysdeps/generic/mknod.c: Likewise.
142 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
143 * sysdeps/generic/bb_init_func.c: Likewise.
144 * sysdeps/generic/libc-start.c: Likewise.
146 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
147 (atexit): Implement using __cxa_atexit.
148 Use .hidden if availble to avoid exporting atexit.
149 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
150 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
151 * stdlib/Makefile (routines): Add old_atexit.
152 (static-only-routines): Add atexit.
153 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
154 * stdlib/old_atexit.c: New file.
156 * intl/Makefile: Remove bogus endif.
158 2001-02-26 Andreas Jaeger <aj@suse.de>
160 * iconvdata/Makefile (tests): Fix typo in last patch.
162 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
164 Reported by Achim Gottinger <achim@gentoo.org>.
166 2001-02-25 Andreas Jaeger <aj@suse.de>
168 * intl/Makefile (plural.c): Reorder rules so that they work if
171 2001-02-25 Ulrich Drepper <drepper@redhat.com>
173 * intl/locale.alias: Don't use nb_NO but define aliases for it.
175 2001-02-23 Ulrich Drepper <drepper@redhat.com>
177 * sysdeps/i386/strtok.S: Continue to return NULL after the first
180 2001-02-23 Andreas Jaeger <aj@suse.de>
182 * string/tester.c (test_strtok_r): Add testcase.
183 (test_strtok_r): Always initialize cp for proper checking.
185 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
186 returning NULL correctly.
187 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
188 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
190 2001-02-23 Ulrich Drepper <drepper@redhat.com>
192 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
193 including <stddef.h>.
194 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
195 * include/libc-symbols.h (weak_alias): Don't use .weak if
196 HAVE_ASM_GLOBAL_DOT_NAME is defined.
197 Patches by Michael Keezer <mkeezer@redhat.com>.
199 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
200 Patch by Michael Keezer <mkeezer@redhat.com>.
202 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
203 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
204 (sysdep_routines): Remove restf.S and savef.S.
205 * sysdeps/unix/sysv/aix/restf.S. Removed.
206 * sysdeps/unix/sysv/aix/savef.S. Removed.
207 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
208 alternative names used on some platforms.
209 * sysdeps/powerpc/fprsave.S: Likewise.
210 * sysdeps/powerpc/gprrest0.S: Likewise.
211 * sysdeps/powerpc/gprrest1.S: Likewise.
212 * sysdeps/powerpc/gprsave0.S: Likewise.
213 * sysdeps/powerpc/gprsave1.S: Likewise.
214 Patch by Michael Keezer <mkeezer@redhat.com>.
216 2001-02-22 Ulrich Drepper <drepper@redhat.com>
218 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
220 2001-02-22 Andreas Jaeger <aj@suse.de>
222 * string/tst-strtok.c (main): Fix error messages.
224 2001-02-22 Andreas Jaeger <aj@suse.de>
226 * math/Makefile: Remove omit-long-double-fcts.
228 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
230 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
231 avoid problems on MIPS I.
232 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
234 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
237 2001-02-21 Ulrich Drepper <drepper@redhat.com>
239 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
241 * sysdeps/generic/ftime.c: Include <time.h>.
243 * configure.in: Don't check for libgd if user passed --without-gd.
244 Patch by Achim Gottinger <achim@gentoo.org>.
246 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
247 first time this happened.
248 * string/Makefile (tests): Add tst-strtok.
250 2001-02-21 Andreas Jaeger <aj@suse.de>
252 * string/tst-strtok.c: New testcase, reported by
253 Andrew Church <achurch@achurch.org>.
255 2001-02-20 Ulrich Drepper <drepper@redhat.com>
257 * libio/iofwide.c: Remove fwide alias.
259 2001-02-20 Andreas Jaeger <aj@suse.de>
261 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
263 Reported by Achim Gottinger <achim@gentoo.org>.
265 2001-02-19 Ulrich Drepper <drepper@redhat.com>
267 * iconv/tst-iconv1.c (main): Remove debugging code.
269 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
270 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
272 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
274 * sysdeps/generic/e_scalbf.c: Likewise.
275 * sysdeps/generic/e_scalbl.c: Likewise.
277 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
278 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
280 (routines): Replace libm_error with libc_libm_error.
281 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
282 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
284 2001-02-18 Mark Kettenis <kettenis@gnu.org>
286 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
287 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
289 2001-02-17 H.J. Lu <hjl@gnu.org>
291 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
292 scratch registers across the system call.
294 2001-02-19 Andreas Jaeger <aj@suse.de>
296 * malloc/Makefile (tests): Run mtrace only when perl is available.
297 Reported by Achim Gottinger <achim@gentoo.org>.
299 2001-02-19 Ulrich Drepper <drepper@redhat.com>
301 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
302 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
304 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
305 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
306 * math/libm-test.inc (j1_test): Mark constants as long double.
311 * libio/iogetline.c: Move return until after last statement.
313 * localedata/show-ucs-data.c: Don't show < > for better readability.
315 * sysdeps/ia64/fpu/Dist: New file.
316 * sysdeps/ia64/fpu/Makefile: New file.
317 * sysdeps/ia64/fpu/Versions: New file.
318 * sysdeps/ia64/fpu/e_acos.S: New file.
319 * sysdeps/ia64/fpu/e_acosf.S: New file.
320 * sysdeps/ia64/fpu/e_acosl.S: New file.
321 * sysdeps/ia64/fpu/e_asin.S: New file.
322 * sysdeps/ia64/fpu/e_asinf.S: New file.
323 * sysdeps/ia64/fpu/e_asinl.S: New file.
324 * sysdeps/ia64/fpu/e_atan2.S: New file.
325 * sysdeps/ia64/fpu/e_atan2f.S: New file.
326 * sysdeps/ia64/fpu/e_atan2l.c: New file.
327 * sysdeps/ia64/fpu/e_cosh.S: New file.
328 * sysdeps/ia64/fpu/e_coshf.S: New file.
329 * sysdeps/ia64/fpu/e_coshl.S: New file.
330 * sysdeps/ia64/fpu/e_exp.S: New file.
331 * sysdeps/ia64/fpu/e_expf.S: New file.
332 * sysdeps/ia64/fpu/e_expl.c: New file.
333 * sysdeps/ia64/fpu/e_fmod.S: New file.
334 * sysdeps/ia64/fpu/e_fmodf.S: New file.
335 * sysdeps/ia64/fpu/e_fmodl.S: New file.
336 * sysdeps/ia64/fpu/e_hypot.S: New file.
337 * sysdeps/ia64/fpu/e_hypotf.S: New file.
338 * sysdeps/ia64/fpu/e_hypotl.S: New file.
339 * sysdeps/ia64/fpu/e_log.S: New file.
340 * sysdeps/ia64/fpu/e_log10.c: New file.
341 * sysdeps/ia64/fpu/e_log10f.c: New file.
342 * sysdeps/ia64/fpu/e_log10l.c: New file.
343 * sysdeps/ia64/fpu/e_logf.S: New file.
344 * sysdeps/ia64/fpu/e_logl.c: New file.
345 * sysdeps/ia64/fpu/e_pow.S: New file.
346 * sysdeps/ia64/fpu/e_powf.S: New file.
347 * sysdeps/ia64/fpu/e_powl.S: New file.
348 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
349 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
350 * sysdeps/ia64/fpu/e_remainder.S: New file.
351 * sysdeps/ia64/fpu/e_remainderf.S: New file.
352 * sysdeps/ia64/fpu/e_remainderl.S: New file.
353 * sysdeps/ia64/fpu/e_scalb.S: New file.
354 * sysdeps/ia64/fpu/e_scalbf.S: New file.
355 * sysdeps/ia64/fpu/e_scalbl.S: New file.
356 * sysdeps/ia64/fpu/e_sinh.S: New file.
357 * sysdeps/ia64/fpu/e_sinhf.S: New file.
358 * sysdeps/ia64/fpu/e_sinhl.S: New file.
359 * sysdeps/ia64/fpu/e_sqrt.S: New file.
360 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
361 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
362 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
363 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
364 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
365 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
366 * sysdeps/ia64/fpu/libm_error.c: New file.
367 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
368 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
369 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
370 * sysdeps/ia64/fpu/libm_reduce.S: New file.
371 * sysdeps/ia64/fpu/libm_support.h: New file.
372 * sysdeps/ia64/fpu/libm_tan.S: New file.
373 * sysdeps/ia64/fpu/s_atan.S: New file.
374 * sysdeps/ia64/fpu/s_atanf.S: New file.
375 * sysdeps/ia64/fpu/s_atanl.S: New file.
376 * sysdeps/ia64/fpu/s_cbrt.S: New file.
377 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
378 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
379 * sysdeps/ia64/fpu/s_ceil.S: New file.
380 * sysdeps/ia64/fpu/s_ceilf.S: New file.
381 * sysdeps/ia64/fpu/s_ceill.S: New file.
382 * sysdeps/ia64/fpu/s_cos.S: New file.
383 * sysdeps/ia64/fpu/s_cosf.S: New file.
384 * sysdeps/ia64/fpu/s_cosl.S: New file.
385 * sysdeps/ia64/fpu/s_expm1.S: New file.
386 * sysdeps/ia64/fpu/s_expm1f.S: New file.
387 * sysdeps/ia64/fpu/s_expm1l.S: New file.
388 * sysdeps/ia64/fpu/s_floor.S: New file.
389 * sysdeps/ia64/fpu/s_floorf.S: New file.
390 * sysdeps/ia64/fpu/s_floorl.S: New file.
391 * sysdeps/ia64/fpu/s_frexp.c: New file.
392 * sysdeps/ia64/fpu/s_frexpf.c: New file.
393 * sysdeps/ia64/fpu/s_frexpl.c: New file.
394 * sysdeps/ia64/fpu/s_ilogb.S: New file.
395 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
396 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
397 * sysdeps/ia64/fpu/s_ldexp.S: New file.
398 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
399 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
400 * sysdeps/ia64/fpu/s_log1p.S: New file.
401 * sysdeps/ia64/fpu/s_log1pf.S: New file.
402 * sysdeps/ia64/fpu/s_log1pl.S: New file.
403 * sysdeps/ia64/fpu/s_logb.S: New file.
404 * sysdeps/ia64/fpu/s_logbf.S: New file.
405 * sysdeps/ia64/fpu/s_logbl.S: New file.
406 * sysdeps/ia64/fpu/s_matherrf.c: New file.
407 * sysdeps/ia64/fpu/s_matherrl.c: New file.
408 * sysdeps/ia64/fpu/s_modf.S: New file.
409 * sysdeps/ia64/fpu/s_modff.S: New file.
410 * sysdeps/ia64/fpu/s_modfl.S: New file.
411 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
412 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
413 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
414 * sysdeps/ia64/fpu/s_rint.S: New file.
415 * sysdeps/ia64/fpu/s_rintf.S: New file.
416 * sysdeps/ia64/fpu/s_rintl.S: New file.
417 * sysdeps/ia64/fpu/s_round.S: New file.
418 * sysdeps/ia64/fpu/s_roundf.S: New file.
419 * sysdeps/ia64/fpu/s_roundl.S: New file.
420 * sysdeps/ia64/fpu/s_scalbn.S: New file.
421 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
422 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
423 * sysdeps/ia64/fpu/s_significand.S: New file.
424 * sysdeps/ia64/fpu/s_significandf.S: New file.
425 * sysdeps/ia64/fpu/s_significandl.S: New file.
426 * sysdeps/ia64/fpu/s_sin.c: New file.
427 * sysdeps/ia64/fpu/s_sincos.c: New file.
428 * sysdeps/ia64/fpu/s_sincosf.c: New file.
429 * sysdeps/ia64/fpu/s_sincosl.c: New file.
430 * sysdeps/ia64/fpu/s_sinf.c: New file.
431 * sysdeps/ia64/fpu/s_sinl.c: New file.
432 * sysdeps/ia64/fpu/s_tan.S: New file.
433 * sysdeps/ia64/fpu/s_tanf.S: New file.
434 * sysdeps/ia64/fpu/s_tanl.S: New file.
435 * sysdeps/ia64/fpu/s_trunc.S: New file.
436 * sysdeps/ia64/fpu/s_truncf.S: New file.
437 * sysdeps/ia64/fpu/s_truncl.S: New file.
438 * sysdeps/ia64/fpu/w_acos.c: New file.
439 * sysdeps/ia64/fpu/w_acosf.c: New file.
440 * sysdeps/ia64/fpu/w_acosl.c: New file.
441 * sysdeps/ia64/fpu/w_asin.c: New file.
442 * sysdeps/ia64/fpu/w_asinf.c: New file.
443 * sysdeps/ia64/fpu/w_asinl.c: New file.
444 * sysdeps/ia64/fpu/w_atan2.c: New file.
445 * sysdeps/ia64/fpu/w_atan2f.c: New file.
446 * sysdeps/ia64/fpu/w_atan2l.c: New file.
447 * sysdeps/ia64/fpu/w_cosh.c: New file.
448 * sysdeps/ia64/fpu/w_coshf.c: New file.
449 * sysdeps/ia64/fpu/w_coshl.c: New file.
450 * sysdeps/ia64/fpu/w_exp.c: New file.
451 * sysdeps/ia64/fpu/w_expf.c: New file.
452 * sysdeps/ia64/fpu/w_fmod.c: New file.
453 * sysdeps/ia64/fpu/w_fmodf.c: New file.
454 * sysdeps/ia64/fpu/w_fmodl.c: New file.
455 * sysdeps/ia64/fpu/w_hypot.c: New file.
456 * sysdeps/ia64/fpu/w_hypotf.c: New file.
457 * sysdeps/ia64/fpu/w_hypotl.c: New file.
458 * sysdeps/ia64/fpu/w_log.c: New file.
459 * sysdeps/ia64/fpu/w_log10.c: New file.
460 * sysdeps/ia64/fpu/w_log10f.c: New file.
461 * sysdeps/ia64/fpu/w_log10l.c: New file.
462 * sysdeps/ia64/fpu/w_logf.c: New file.
463 * sysdeps/ia64/fpu/w_logl.c: New file.
464 * sysdeps/ia64/fpu/w_pow.c: New file.
465 * sysdeps/ia64/fpu/w_powf.c: New file.
466 * sysdeps/ia64/fpu/w_powl.c: New file.
467 * sysdeps/ia64/fpu/w_remainder.c: New file.
468 * sysdeps/ia64/fpu/w_remainderf.c: New file.
469 * sysdeps/ia64/fpu/w_remainderl.c: New file.
470 * sysdeps/ia64/fpu/w_scalb.c: New file.
471 * sysdeps/ia64/fpu/w_scalbf.c: New file.
472 * sysdeps/ia64/fpu/w_scalbl.c: New file.
473 * sysdeps/ia64/fpu/w_sqrt.c: New file.
474 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
475 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
476 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
478 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
479 Change FP_ILOGBNAN for new implementation.
480 * Verions.def: Add 2.2.3 versions.
482 2001-02-18 Ulrich Drepper <drepper@redhat.com>
484 * math/libm-test.inc (scalb_test): Require invalid exception being
485 raised for invalid parameters.
486 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
487 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
488 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
490 2001-02-18 Mark Kettenis <kettenis@gnu.org>
492 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
494 (__get_avphys_pages): Likewise.
496 2001-02-18 Ulrich Drepper <drepper@redhat.com>
498 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
499 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
500 * sysdeps/i386/fpu/e_powf.S: Likewise.
501 * sysdeps/i386/fpu/e_powl.S: Likewise.
503 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
505 2001-02-17 Ulrich Drepper <drepper@redhat.com>
507 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
509 * sysdeps/generic/s_exp2l.c: Renamed to...
510 * sysdeps/generic/e_exp2l.c: ...this. New file.
511 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
512 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
513 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
514 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
515 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
516 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
517 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
518 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
519 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
520 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
521 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
522 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
523 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
524 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
525 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
526 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
528 2001-02-17 Andreas Jaeger <aj@suse.de>
530 * configure.in: Allow gcc 3.
532 2001-02-16 Ulrich Drepper <drepper@redhat.com>
534 * math/w_acos.c: Move to ...
535 * sysdeps/generic/w_acos.c: ...here. New file.
536 * math/w_acosf.c: Move to ...
537 * sysdeps/generic/w_acosf.c: ...here. New file.
538 * math/w_acosh.c: Move to ...
539 * sysdeps/generic/w_acosh.c: ...here. New file.
540 * math/w_acoshf.c: Move to ...
541 * sysdeps/generic/w_acoshf.c: ...here. New file.
542 * math/w_acoshl.c: Move to ...
543 * sysdeps/generic/w_acoshl.c: ...here. New file.
544 * math/w_acosl.c: Move to ...
545 * sysdeps/generic/w_acosl.c: ...here. New file.
546 * math/w_asin.c: Move to ...
547 * sysdeps/generic/w_asin.c: ...here. New file.
548 * math/w_asinf.c: Move to ...
549 * sysdeps/generic/w_asinf.c: ...here. New file.
550 * math/w_asinl.c: Move to ...
551 * sysdeps/generic/w_asinl.c: ...here. New file.
552 * math/w_atan2.c: Move to ...
553 * sysdeps/generic/w_atan2.c: ...here. New file.
554 * math/w_atan2f.c: Move to ...
555 * sysdeps/generic/w_atan2f.c: ...here. New file.
556 * math/w_atan2l.c: Move to ...
557 * sysdeps/generic/w_atan2l.c: ...here. New file.
558 * math/w_atanh.c: Move to ...
559 * sysdeps/generic/w_atanh.c: ...here. New file.
560 * math/w_atanhf.c: Move to ...
561 * sysdeps/generic/w_atanhf.c: ...here. New file.
562 * math/w_atanhl.c: Move to ...
563 * sysdeps/generic/w_atanhl.c: ...here. New file.
564 * math/w_cosh.c: Move to ...
565 * sysdeps/generic/w_cosh.c: ...here. New file.
566 * math/w_coshf.c: Move to ...
567 * sysdeps/generic/w_coshf.c: ...here. New file.
568 * math/w_coshl.c: Move to ...
569 * sysdeps/generic/w_coshl.c: ...here. New file.
570 * math/w_drem.c: Move to ...
571 * sysdeps/generic/w_drem.c: ...here. New file.
572 * math/w_dremf.c: Move to ...
573 * sysdeps/generic/w_dremf.c: ...here. New file.
574 * math/w_dreml.c: Move to ...
575 * sysdeps/generic/w_dreml.c: ...here. New file.
576 * math/w_exp10.c: Move to ...
577 * sysdeps/generic/w_exp10.c: ...here. New file.
578 * math/w_exp10f.c: Move to ...
579 * sysdeps/generic/w_exp10f.c: ...here. New file.
580 * math/w_exp10l.c: Move to ...
581 * sysdeps/generic/w_exp10l.c: ...here. New file.
582 * math/w_exp2.c: Move to ...
583 * sysdeps/generic/w_exp2.c: ...here. New file.
584 * math/w_exp2f.c: Move to ...
585 * sysdeps/generic/w_exp2f.c: ...here. New file.
586 * math/w_exp2l.c: Move to ...
587 * sysdeps/generic/w_exp2l.c: ...here. New file.
588 * math/w_fmod.c: Move to ...
589 * sysdeps/generic/w_fmod.c: ...here. New file.
590 * math/w_fmodf.c: Move to ...
591 * sysdeps/generic/w_fmodf.c: ...here. New file.
592 * math/w_fmodl.c: Move to ...
593 * sysdeps/generic/w_fmodl.c: ...here. New file.
594 * math/w_hypot.c: Move to ...
595 * sysdeps/generic/w_hypot.c: ...here. New file.
596 * math/w_hypotf.c: Move to ...
597 * sysdeps/generic/w_hypotf.c: ...here. New file.
598 * math/w_hypotl.c: Move to ...
599 * sysdeps/generic/w_hypotl.c: ...here. New file.
600 * math/w_j0.c: Move to ...
601 * sysdeps/generic/w_j0.c: ...here. New file.
602 * math/w_j0f.c: Move to ...
603 * sysdeps/generic/w_j0f.c: ...here. New file.
604 * math/w_j0l.c: Move to ...
605 * sysdeps/generic/w_j0l.c: ...here. New file.
606 * math/w_j1.c: Move to ...
607 * sysdeps/generic/w_j1.c: ...here. New file.
608 * math/w_j1f.c: Move to ...
609 * sysdeps/generic/w_j1f.c: ...here. New file.
610 * math/w_j1l.c: Move to ...
611 * sysdeps/generic/w_j1l.c: ...here. New file.
612 * math/w_jn.c: Move to ...
613 * sysdeps/generic/w_jn.c: ...here. New file.
614 * math/w_jnf.c: Move to ...
615 * sysdeps/generic/w_jnf.c: ...here. New file.
616 * math/w_jnl.c: Move to ...
617 * sysdeps/generic/w_jnl.c: ...here. New file.
618 * math/w_lgamma.c: Move to ...
619 * sysdeps/generic/w_lgamma.c: ...here. New file.
620 * math/w_lgammaf.c: Move to ...
621 * sysdeps/generic/w_lgammaf.c: ...here. New file.
622 * math/w_lgammaf_r.c: Move to ...
623 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
624 * math/w_lgammal.c: Move to ...
625 * sysdeps/generic/w_lgammal.c: ...here. New file.
626 * math/w_lgammal_r.c: Move to ...
627 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
628 * math/w_lgamma_r.c: Move to ...
629 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
630 * math/w_log10.c: Move to ...
631 * sysdeps/generic/w_log10.c: ...here. New file.
632 * math/w_log10f.c: Move to ...
633 * sysdeps/generic/w_log10f.c: ...here. New file.
634 * math/w_log10l.c: Move to ...
635 * sysdeps/generic/w_log10l.c: ...here. New file.
636 * math/w_log.c: Move to ...
637 * sysdeps/generic/w_log.c: ...here. New file.
638 * math/w_logf.c: Move to ...
639 * sysdeps/generic/w_logf.c: ...here. New file.
640 * math/w_logl.c: Move to ...
641 * sysdeps/generic/w_logl.c: ...here. New file.
642 * math/w_pow.c: Move to ...
643 * sysdeps/generic/w_pow.c: ...here. New file.
644 * math/w_powf.c: Move to ...
645 * sysdeps/generic/w_powf.c: ...here. New file.
646 * math/w_powl.c: Move to ...
647 * sysdeps/generic/w_powl.c: ...here. New file.
648 * math/w_remainder.c: Move to ...
649 * sysdeps/generic/w_remainder.c: ...here. New file.
650 * math/w_remainderf.c: Move to ...
651 * sysdeps/generic/w_remainderf.c: ...here. New file.
652 * math/w_remainderl.c: Move to ...
653 * sysdeps/generic/w_remainderl.c: ...here. New file.
654 * math/w_scalb.c: Move to ...
655 * sysdeps/generic/w_scalb.c: ...here. New file.
656 * math/w_scalbf.c: Move to ...
657 * sysdeps/generic/w_scalbf.c: ...here. New file.
658 * math/w_scalbl.c: Move to ...
659 * sysdeps/generic/w_scalbl.c: ...here. New file.
660 * math/w_sinh.c: Move to ...
661 * sysdeps/generic/w_sinh.c: ...here. New file.
662 * math/w_sinhf.c: Move to ...
663 * sysdeps/generic/w_sinhf.c: ...here. New file.
664 * math/w_sinhl.c: Move to ...
665 * sysdeps/generic/w_sinhl.c: ...here. New file.
666 * math/w_sqrtl.c: Move to ...
667 * sysdeps/generic/w_sqrtl.c: ...here. New file.
668 * math/w_tgamma.c: Move to ...
669 * sysdeps/generic/w_tgamma.c: ...here. New file.
670 * math/w_tgammaf.c: Move to ...
671 * sysdeps/generic/w_tgammaf.c: ...here. New file.
672 * math/w_tgammal.c: Move to ...
673 * sysdeps/generic/w_tgammal.c: ...here. New file.
675 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
676 formats for postal_fmt.
678 2001-02-16 Jakub Jelinek <jakub@redhat.com>
680 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
682 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
685 2001-02-15 David Mosberger <davidm@hpl.hp.com>
687 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
688 do "loadrs". Writing to bspstore already takes care of
689 invalidating the "clean" partition.
691 2001-02-16 Andreas Schwab <schwab@suse.de>
693 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
694 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
696 2001-02-15 Jakub Jelinek <jakub@redhat.com>
698 * posix/regex.c (init_syntax_once): Add prototype.
699 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
700 (re_search_2): Avoid warning.
701 (count_mbs_length): Add prototype.
702 * posix/tst-regex3.c: New file.
703 * posix/Makefile (tests): Add bug-regex3.
705 2001-02-15 Ulrich Drepper <drepper@redhat.com>
707 * stdio-common/Makefile (tests): Add tst-gets.
708 * stdio-common/tst-gets.c: New file.
709 * stdio-common/tst-gets.input: New file.
711 * elf/elf.h (DT_CHECKSUM): Define.
713 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
715 * sysdeps/generic/strtoull.c: Likewise.
717 2001-02-14 Wolfram Gloger <wg@malloc.de>
719 * malloc/malloc.c (new_heap): When allocating large chunk aligned
720 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
723 2001-02-14 Ulrich Drepper <drepper@redhat.com>
725 * math/libm-test.inc (j0_test): Check whether sincos is available.
732 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
733 fake filesystem routines to handle this.
735 * time/sys/time.h: Make settimeofday and adjtime available if
738 * time/sys/time.h: Make timer* macros available for BSD.
740 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
741 Patch by Yong Li <rigel863@yahoo.com>.
743 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
746 * posix/Makefile (tests): Add tst-gnuglob.
747 * posix/tst-gnuglob.c: New file.
749 2001-02-13 H.J. Lu <hjl@gnu.org>
751 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
753 2001-02-13 Ulrich Drepper <drepper@redhat.com>
755 * locale/programs/ld-paper.c (paper_output): Pretty printing.
757 * iconvdata/Makefile (modules): Add GBBIG5.
758 (distribute): Add gbbig5.c.
759 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
761 * iconvdata/gbbig5.c: New file.
762 Contributed by Yong Li <rigel863@yahoo.com>.
764 2001-02-13 Philip Blundell <pb@futuretv.com>
766 * manual/crypt.texi: Remove outdated references to crypt add-on.
768 * manual/creature.texi: Improve wording slightly.
770 2001-02-13 Ulrich Drepper <drepper@redhat.com>
772 * io/ftw.c: Always use readdir64.
773 * io/ftw64.c: Likewise.
774 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
775 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
776 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
777 callback to dirent. Still allow compiling outside glibc.
778 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
779 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
781 * malloc/mtrace.c: Use fopen64.
782 * posix/spawni.c: Use __open64.
783 * sysdeps/unix/opendir.c: Likewise.
784 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
786 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
788 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
789 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
790 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
791 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
793 * resolv/res_data.c: Add cast to avoid warning.
795 * include/unistd.h: Declare __ftruncate64.
797 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
799 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
802 2001-02-13 Andreas Jaeger <aj@suse.de>
804 * login/getutent_r.c: Include <stdlib.h> for NULL.
805 * login/getutid_r.c: Likewise.
807 2001-02-12 Ulrich Drepper <drepper@redhat.com>
809 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
810 * sysdeps/dbl-64/e_j1.c: Likewise.
811 * sysdeps/dbl-64/e_jn.c: Likewise.
812 * sysdeps/flt-32/e_j0f.c: Likewise.
813 * sysdeps/flt-32/e_j1f.c: Likewise.
814 * sysdeps/ldbl-96/e_j0l.c: Likewise.
816 2000-12-02 H.J. Lu <hjl@gnu.org>
818 * resolv/res_libc.c (res_init): Don't make it default.
820 2001-02-12 Ulrich Drepper <drepper@redhat.com>
822 * manual/debug.texi: Improved the wording.
823 Patch by Philip Blundell <pb@futuretv.com>.
825 2001-02-12 Andreas Jaeger <aj@suse.de>
827 * posix/Makefile (tests): Don't run bug-regex2 when
830 * libio/Makefile (tests): Don't run test-freopen when
833 * manual/stdio.texi (Streams and I18N): Fix typos.
835 2001-02-12 Ulrich Drepper <drepper@redhat.com>
837 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
839 * math/libm-test.inc (j0_test): Make expected results long double
843 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
844 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
846 2001-02-11 Jakub Jelinek <jakub@redhat.com>
848 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
849 which was exported from libc.
850 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
852 2001-02-12 Andreas Jaeger <aj@suse.de>
854 * manual/arith.texi (Parsing of Integers): Fix some wordings.
856 2001-02-11 Ulrich Drepper <drepper@redhat.com>
858 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
859 and get_avphys_page to long int.
860 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
861 * include/sys/sysinfo.h: Likewise.
862 * sysdeps/generic/sys/sysinfo.h: Likewise.
863 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
865 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
866 cannot return as many values as the user asked for.
868 2001-02-11 Andreas Jaeger <aj@suse.de>
870 * manual/resource.texi (Memory Resources): Fix typo.
872 * libio/Makefile ($(objpfx)test-freopen.out): Pass
875 * libio/test-freopen.sh: Use run_program_prefix.
877 2001-02-10 Andreas Jaeger <aj@suse.de>
879 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
881 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
883 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
886 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
888 * posix/Makefile: Fix typo, it's build-static-nss.
890 * iconv/Makefile (extra-objs): New.
892 2001-02-10 Mark Kettenis <kettenis@gnu.org>
894 * sysdeps/unix/stime.c: Include <time.h>.
896 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
898 2001-02-10 Andreas Jaeger <aj@suse.de>
900 * manual/string.texi (Search Functions): Fix typo.
902 2001-02-10 Mark Kettenis <kettenis@gnu.org>
904 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
905 (timeval_to_clock_t): Add clk_tck argument and use that instead of
907 (__times): Use __getclktck to get the number of clock ticks per
908 second and use its return value instead of CLK_TCK.
910 2001-02-10 Mark Kettenis <kettenis@gnu.org>
912 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
914 2001-02-10 Mark Kettenis <kettenis@gnu.org>
916 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
918 2001-02-10 Andreas Jaeger <aj@suse.de>
920 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
923 2001-02-09 Ulrich Drepper <drepper@redhat.com>
925 * posix/Makefile: Add rules to build and run bug-regex2.
926 * posix/bug-regex2.c: New file.
928 2001-02-10 Jakub Jelinek <jakub@redhat.com>
930 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
931 (regex_compile): Likewise.
932 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
933 (re_match_2_internal): Use just is_binary instead of two variables.
934 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
936 2001-02-09 Ulrich Drepper <drepper@redhat.com>
938 * version.h (VERSION): Bump to 2.2.2.
940 * iconv/Makefile (distribute): Add iconv_charmap.c and
942 * elf/Makefile (distribute): Add firstobj.c.
943 * Makefile (distribute): Add include/pthread.h.
945 * configure.in: Require makeinfo version 4.
947 * libio/tst_wscanf.c (main): Add cast to avoid warning.
948 * libio/tst_swscanf.c (main): Likewise..
950 2001-02-09 Jakub Jelinek <jakub@redhat.com>
952 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
953 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
955 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
956 if not RTLD_BOOTSTRAP.
957 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
958 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
960 2001-02-09 Ulrich Drepper <drepper@redhat.com>
962 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
963 lr_ungetc to push back last read character.
964 * locale/programs/linereader.h (lr_ungetc): Don't push back is
966 (lr_ignore_rest): Don't warn about garbage if it is really the end
969 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
972 2001-02-08 Ulrich Drepper <drepper@redhat.com>
974 * Makerules (build-shlib): Work around different order of
975 processing of -B option in different gcc versions.
977 * posix/regex.c: Fix alignment problem.
978 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
980 * sysdeps/alpha/strrchr.S: Little optimization.
981 Patch by Richard Henderson <rth@redhat.com>.
983 * sysdeps/alpha/alphaev67/strrchr.S: New file.
984 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
986 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
988 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
989 in the assembler end directive.
991 2001-02-08 Andreas Jaeger <aj@suse.de>
993 * manual/stdio.texi (Closing Streams): Fix typos.
995 2001-02-07 Ulrich Drepper <drepper@redhat.com>
997 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
998 Patch by Richard Henderson <rth@redhat.com>.
999 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
1001 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
1002 pointer in FILE structure before calling _IO_init.
1003 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
1004 strfmon_l if necessary.
1005 Reported by Jury Gerold <gjury@grips.com>.
1007 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
1008 Patch by Pekka.Pietikainen@cern.ch.
1010 * posix/regex.c: Correct several problems with 64-bit architectures
1011 introduced in the MBS changes.
1012 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1014 2001-02-07 Jakub Jelinek <jakub@redhat.com>
1016 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
1018 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
1020 2001-02-07 Andreas Jaeger <aj@suse.de>
1022 * manual/install.texi (Tools for Compilation): Fix typo.
1023 Reported by Pavel Machek <pavel@bug.ucw.cz>.
1025 2001-02-07 Ulrich Drepper <drepper@redhat.com>
1027 * stdlib/strtod.c: Never stop prematurely reading digits before the
1028 decimal point is found. Compute exponent limit for negative exponents
1029 correctly. For numbers ending in all zeros eat the zeros even before
1030 the decimal point if the exponent is negative [PR libc/2072].
1031 * stdlib/Makefile (tests): Add bug-strtod.
1032 * stdlib/bug-strtod.c: New file.
1034 2001-02-07 Andreas Jaeger <aj@suse.de>
1036 * posix/bug-regex1.c: Include <wchar.h> for fwide.
1038 2001-02-06 Ulrich Drepper <drepper@redhat.com>
1040 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
1042 (compile_range): Handle index being passed, not pointer.
1043 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1045 * posix/regex.c: Fix a cast in the code for bracket handling which
1046 caused 8-bit uncleanliness.
1047 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
1049 * posix/Makefile (tests): Add bug-regex1.
1050 * posix/bug-regex1.c: New file.
1051 Contributed by Jim Meyering <jim@meyering.net>.
1053 * posix/regex.c: Many cleanups for incorrect format strings.
1055 2001-02-06 Andreas Jaeger <aj@suse.de>
1057 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
1059 2001-02-06 Ulrich Drepper <drepper@redhat.com>
1061 * locale/programs/locale.c (write_locales): Use scandir to read
1062 directory so that the entries are sorted.
1064 2001-02-06 Andreas Jaeger <aj@suse.de>
1066 * include/pthread.h: New file.
1068 * wctype/wctype.h: Move internal interfaces from here to...
1069 * include/wctype.h: ...here.
1071 * wcsmbs/wchar.h: Move __wcslen from here to...
1072 * include/wchar.h: ...here.
1074 * posix/sys/wait.h: Move __wait from here to...
1075 * include/sys/wait.h: ...here.
1077 * string/string.h: Move __ffs and __strerror_r from here to...
1078 * include/string.h: ...here.
1080 * stdlib/stdlib.h: Move __on_exit from here to...
1081 * include/stdlib.h: ...here.
1083 * libio/stdio.h: Move __vsnprintf from here to...
1084 * include/stdio.h: ...here.
1086 2001-02-06 Andreas Schwab <schwab@suse.de>
1088 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
1091 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
1094 2001-02-06 Ulrich Drepper <drepper@redhat.com>
1096 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
1098 2001-02-06 Andreas Jaeger <aj@suse.de>
1100 * elf/firstobj.c: Add prototype.
1102 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
1103 (truncate_wchar): Likewise.
1105 2001-02-06 Ulrich Drepper <drepper@redhat.com>
1107 * locale/programs/locale.c: Implement --verbose option for -a
1108 which prints detailed information about the locales.
1110 2001-02-05 Ulrich Drepper <drepper@redhat.com>
1112 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
1113 variable to uint32_t.
1114 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
1116 2001-02-04 Bruno Haible <haible@clisp.cons.org>
1118 * locale/C-translit.h.in: Add transliterations for CJK units of
1121 2001-02-05 Ulrich Drepper <drepper@redhat.com>
1123 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
1124 string. Include <inttypes.h> instead of <stdint.h>.
1126 * localedata/Makefile (tests): Add bug-iconv-trans.
1127 Define bug-iconv-trans-ENV.
1128 * localedata/bug-iconv-trans.c: New file.
1130 2001-02-04 Bruno Haible <haible@clisp.cons.org>
1132 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
1133 pointer, to avoid accumulating output from incomplete (unsuccessful)
1134 transliteration attempts.
1136 2001-02-05 Ulrich Drepper <drepper@redhat.com>
1138 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
1139 string. Include <inttypes.h> instead of <stdint.h>.
1141 * configure.in: Add check for bison.
1142 * config.make.in: Define BISON variable.
1143 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
1144 Rename YFLAGS to BISONFLAGS.
1146 2001-02-05 Andreas Jaeger <aj@suse.de>
1148 * io/test-lfs.c (do_test): Test lseek64 return value, call
1150 (test_ftello): New function to test ftello64 and fseeko64.
1152 * signal/signal.h: Move __sigaction from here to...
1153 * include/signal.h: ...here.
1155 * io/fcntl.h: Move __fcntl and __open to...
1156 * include/fcntl.h: ...here.
1158 2001-02-04 Philip Blundell <philb@gnu.org>
1160 * configure.in: Distinguish ARM from Thumb.
1162 2001-02-04 Philip Blundell <philb@gnu.org>
1164 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
1165 PC24 relocs with negative value.
1167 2001-02-04 Ulrich Drepper <drepper@redhat.com>
1169 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
1170 files in locale/programs. Add CFLAGS definition to allow compiling
1172 * iconv/dummy-repertoire.c: New file.
1173 * iconv/iconv_charmap.c: New file.
1174 * iconv/iconv_prog.h: New file.
1175 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
1176 (main): If parameter for -f and -t contain slashes try first to resolve
1177 the strings as filenames of charmap files. Use them for conversion
1179 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
1180 iconv getting charmap names as parameters.
1181 * locale/programs/linereader.c (lr_token): Take extra parameters
1182 verbose and pass it to get_string.
1183 (get_string): Take extra parameters verbose.
1184 * locale/programs/charmap.c (parse_charmap): Take extra parameters
1185 verbose and be_quiet. Change all callers of lr_token and
1187 * locale/programs/charmap.h: Likewise.
1188 * locale/programs/ld-address.c: Likewise.
1189 * locale/programs/ld-collate.c: Likewise.
1190 * locale/programs/ld-ctype.c: Likewise.
1191 * locale/programs/ld-identification.c: Likewise.
1192 * locale/programs/ld-measurement.c: Likewise.
1193 * locale/programs/ld-messages.c: Likewise.
1194 * locale/programs/ld-monetary.c: Likewise.
1195 * locale/programs/ld-name.c: Likewise.
1196 * locale/programs/ld-numeric.c: Likewise.
1197 * locale/programs/ld-paper.c: Likewise.
1198 * locale/programs/ld-telephone.c: Likewise.
1199 * locale/programs/ld-time.c: Likewise.
1200 * locale/programs/linereader.c: Likewise.
1201 * locale/programs/linereader.h: Likewise.
1202 * locale/programs/localedef.c: Likewise.
1203 * locale/programs/locfile.c: Likewise.
1204 * locale/programs/locfile.h: Likewise.
1205 * locale/programs/repertoire.c: Likewise.
1207 2001-02-03 Ulrich Drepper <drepper@redhat.com>
1209 * iconv/iconv_prog.c (main): If output file name is "-" write to
1211 (main): If -f or -t argument is missing use charset of the current
1214 2001-02-03 Andreas Jaeger <aj@suse.de>
1216 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
1217 boundary for SSE/SSE-2 alignment.
1219 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
1222 2001-02-03 Ulrich Drepper <drepper@redhat.com>
1224 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
1225 Remove comma at end of enum.
1227 * elf/dl-init.c: Add a few __builtin_expect.
1229 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
1231 2001-02-02 Ulrich Drepper <drepper@redhat.com>
1233 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
1234 errno is ECONNREFUSED.
1236 * posix/Makefile: Define MBS_SUPPORT for regex.c.
1237 * posix/regex.c: Implement multibyte character handling.
1238 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
1240 * string/tst-svc.input: Add two more test cases.
1241 * string/tst-svc.expect: Modify to reflect new test cases.
1243 2001-02-01 Jakub Jelinek <jakub@redhat.com>
1245 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
1246 tp->name tests with tp->name[0] tests.
1248 2001-01-29 Ben Collins <bcollins@debian.org>
1250 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
1251 Fix check for name == NULL.
1253 2001-02-01 Ulrich Drepper <drepper@redhat.com>
1255 * elf/Makefile: Add rules to build and run initfirst test.
1256 * elf/initfirst.c: New file.
1257 * elf/firstobj.c: New file.
1259 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
1260 * configure.in: Test for -z initfirst linker option.
1261 * config.make.in: Add have-z-initfirst.
1262 * elf/dl-init.c (_dl_init): Split out actual initialization code in
1263 new function call_init. If _dl_initfirst is non-NULL initialize first.
1264 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
1265 remember object in _dl_initfirst.
1266 * elf/soinit.c: Remove special support for calling
1267 __pthread_initialize_minimal.
1269 * conform/conformtest.pl: Add missing $prepend in type test.
1271 2001-01-31 Ulrich Drepper <drepper@redhat.com>
1273 * elf/elf.h (SHT_CHECKSUM): New definition.
1275 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
1276 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1277 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
1279 2001-01-31 Mark Kettenis <kettenis@gnu.org>
1281 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
1282 to get definition of `struct timeval'.
1284 2001-01-31 Ulrich Drepper <drepper@redhat.com>
1286 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
1287 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
1289 2001-01-30 Ulrich Drepper <drepper@redhat.com>
1291 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
1294 * nis/nis_findserv.c: Include <time.h>.
1296 2001-01-30 Yong Li <yong.li@asu.edu>
1298 * iconv/iconv_prog.c (main): Correct error handling method name.
1300 2001-01-29 Ben Collins <bcollins@debian.org>
1302 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
1303 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
1304 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1305 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
1307 2001-01-30 Ulrich Drepper <drepper@redhat.com>
1309 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
1310 Patch by Marko Myllynen <myllynen@lut.fi>.
1312 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
1313 (int instead of char).
1314 (__strpbrk_c3): Likewise.
1315 Reported by GOTO Masanori <gotom@debian.or.jp>.
1317 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
1318 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
1319 * include/sys/socket.h: Add SA_LEN here for internal use.
1320 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1322 2001-01-29 Ulrich Drepper <drepper@redhat.com>
1324 * malloc/Makefile: Don't build memusagestat if cross-compiling.
1326 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
1328 * math/libm-test.inc (rint_test): Add a few more tests for round
1331 2001-01-28 Ulrich Drepper <drepper@redhat.com>
1333 * conform/data/pthread.h-data: Correct return type of pthread_exit.
1335 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
1337 * conform/data/stdlib.h-data: Add _Exit.
1339 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
1340 if not already happened.
1341 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
1342 Don't include <limits.h> and <bits/sockaddr.h>.
1344 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
1346 * conform/data/spawn.h-data: Allow all of <sched.h>.
1348 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
1351 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
1352 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
1354 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
1356 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
1357 * libio/stdio.h: Define va_list correctly.
1359 * conform/data/pthread.h-data: Make priority protocol related
1360 functions optional. Fix typos.
1362 * posix/sched.h: Define sched_priority as __sched_priority.
1363 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
1364 to __sched_priority.
1365 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
1367 2001-01-27 Ulrich Drepper <drepper@redhat.com>
1369 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
1372 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
1373 * sysdeps/unix/time.c: Likewise.
1375 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
1376 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
1377 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
1378 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
1379 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1380 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
1381 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
1382 * time/time.h: Likewise.
1384 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
1385 * conform/data/complex.h-data: New file.
1386 * conform/data/tgmath.h-data: New file.
1388 * conform/data/wchar.h-data: Add missing functions.
1390 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
1392 * conform/data/termios.h-data: Add missing const in tcsetattr()
1395 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
1396 Don't define pid_t here.
1398 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
1400 * conform/data/sys/time.h-data: Allow sys/select.h.
1401 * conform/data/sys/un.h-data: Fix typo.
1402 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
1403 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
1405 * sysdeps/unix/clock_nanosleep.c: Likewise.
1406 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
1407 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
1408 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
1409 * sysdeps/unix/clock_settime.c: Likewise.
1411 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
1412 * login/getutent.c: Likewise.
1413 * login/getutid.c: Likewise.
1414 * login/getutline.c: Likewise.
1416 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
1418 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
1419 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
1420 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
1421 f_fsid field after change in struct statvfs.
1422 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
1423 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
1424 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
1426 * conform/data/sys/stat.h-data: Remove isfdtype. Use
1429 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
1430 recvfrom, send, and socketpair prototypes. Add allow lines.
1431 * socket/sys/socket.h: Include <sys/uio.h>.
1432 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
1433 Fix type of second parameter of listen.
1434 Don't declare isfdtype unless __USE_MISC.
1435 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
1436 * sysdeps/mach/hurd/listen.c: Likewise.
1437 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
1438 ss_family and __ss_family.
1439 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
1440 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1441 (struct msghdr): Change type of msg_iovlen to int and type of
1442 msg_controllen to socklen_t.
1443 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
1444 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
1445 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
1446 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
1447 (rresvport_af): Likewise.
1449 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
1450 * conform/conformtest.pl: Implement handling of symbol.
1452 * signal/signal.h: Fix handling of __need_* symbols.
1453 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
1454 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
1455 * include/sys/select.h: Use fd_set not __fd_set.
1456 * sysdeps/generic/bits/select.h: Likewise.
1457 * sysdeps/i386/bits/select.h: Likewise.
1458 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
1459 __FDELT, __FDMASK, and __fd_set here.
1460 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
1461 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
1462 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1463 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1464 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
1465 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1466 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1467 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1468 * time/sys/time.h: Define struct timeval before including <time.h>
1471 * conform/data/sys/time.h-data: fd_set is a typedef.
1472 * conform/data/sys/select.h-data: New file.
1473 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
1474 * conform/conformtest.pl (@headers): Add sys/select.h.
1475 (type, optional-type): Unless testing a typedef instantiate object.
1476 Implement optional-function.
1478 * math/test-misc.c: Include <float.h>.
1480 2001-01-27 Andreas Jaeger <aj@suse.de>
1482 * misc/efgcvt_r.c: Include <float.h>.
1484 2001-01-26 Ulrich Drepper <drepper@redhat.com>
1486 * conform/data/stdlib.h-data: Account for XPG6 changes.
1487 * stdlib/stdlib.h (__random): Change return value type to long.
1488 (posix_memalign): Cleanup parameter names.
1489 (setenv, unsetenv): Make available for __USE_XOPEN2K.
1490 Change return type of unsetenv to int.
1491 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
1492 * include/stdlib.h: Change return type of unsetenv to int.
1493 Change return type of random to long int.
1494 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
1495 Return -1 and set errno if parameter is invalid.
1496 * stdlib/random.c (__random): Change return value type to long.
1498 * conform/data/stdio.h-data: Account for changes in XPG6.
1500 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
1503 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
1504 * conform/data/signal.h-data: Fix sigev_notify_function entry.
1505 Fix typo (SIGVALRM -> SIGVTALRM).
1506 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
1508 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
1509 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1510 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1511 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1512 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
1514 * conform/conformtest.pl: Implement optional-element. Define
1515 $mustprepend{"sched.h"}.
1516 * conform/data/sched.h-data: Make sporadic scheduler definitions
1519 * pwd/pwd.h: Don't define getpwent_r for XPG.
1521 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
1522 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
1523 * sysdeps/mach/hurd/poll.c: Likewise.
1524 * sysdeps/unix/bsd/poll.c: Likewise.
1525 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1526 * sysdeps/unix/sysv/aix/poll.c: Likewise.
1527 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
1528 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
1529 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
1530 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
1531 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
1532 * conform/data/poll.h-data: Fix typo in poll prototype.
1534 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
1536 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
1538 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
1540 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
1542 * conform/conformtest.pl: Implement optional-type.
1544 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
1545 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
1546 defining uint32_t here. Define IPPORT_RESERVED.
1547 (struct hostent): Type of h_length element is int.
1548 (getnameinfo): Type of flags parameter is unsigned int.
1549 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
1550 * conform/data/netdb.h-data: Add many missing definitions.
1552 * conform/conformtest.pl: Implement optional-macro.
1553 * conform/data/math.h-data: Update for XPG6.
1555 * math/math.h (HUGE): Define as FLT_MAX value but don't use
1556 FLT_MAX. Don't include <float.h>.
1557 (MAXFLOAT): Likewise.
1559 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
1561 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
1563 * conform/data/limits.h-data: Mark constants as optional wherever
1566 * posix/bits/posix2_lim.h: Set correct values for
1567 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
1570 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
1573 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
1575 * conform/data/netinet/in.h-data: Add reserved prefixes.
1577 * conform/data/arpa/inet.h-data: Fix a few typos.
1579 2001-01-26 Andreas Jaeger <aj@suse.de>
1581 * sysdeps/generic/strtol.c: Include <locale.h>
1582 * stdlib/strtod.c: Likewise
1583 * stdlib/strfmon.c: Likewise.
1584 * string/strcoll.c: Likewise.
1585 * string/strxfrm.c: Likewise.
1586 * wctype/wcfuncs_l.c: Likewise.
1587 * wctype/wctype_l.c: Likewise.
1588 * wctype/wctrans_l.c: Likewise.
1590 * include/bits/locale.h: New file.
1592 2001-01-26 Ulrich Drepper <drepper@redhat.com>
1594 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
1597 * locale/Makefile (headers): Add bits/locale.h.
1598 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
1599 and use __LC_ constants instead of LC_.
1600 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
1601 using __LC_ constants.
1602 * locale/bits/locale.h: New file.
1603 * locale/loadlocale.c: Include <locale.h>.
1604 * locale/nl_langinfo.h: Likewise.
1606 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
1608 * io/sys/stat.h: Define S_IFSOCK for XPG6.
1610 * conform/data/fcntl.h-data: posix_madvise is not expected here.
1612 * conform/conformtest.pl: Fix handling of macro-str.
1614 * conform/data/inttypes.h-data: Add missing definition and all of
1617 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
1619 2001-01-25 Ulrich Drepper <drepper@redhat.com>
1621 * conform/conformtest.pl (@headers): Add stdint.h.
1622 * conform/data/stdint.h-data: New file.
1624 * conform/conformtest.pl: Recognize options --headers and
1625 --dialect. Add dialect-specific CFLAGS.
1627 * conform/conformtest.pl: Implement handling of recursive
1630 * conform/data/locale.h-data: Add new struct lconv members.
1632 * posix/wordexp.h: Correct definition of wordexp_t.
1633 * posix/wordexp.c: Moved to ...
1634 * sysdeps/generic/wordexp.c: ...here. New file.
1635 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
1636 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
1637 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
1638 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
1640 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
1641 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
1643 * math/tgmath.h: Pretty printing.
1645 * math/Makefile (tests): Add test-tgmath.
1646 (CFLAGS-test-tgmath.c): New variable.
1647 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
1649 * conform/conformtest.pl: Handle allow-header in secondary headers
1652 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
1655 * conform/data/netinet/in.h-data: Use correct comment character.
1656 * conform/data/sys/stat.h-data: Likewise.
1658 2001-01-25 Jakub Jelinek <jakub@redhat.com>
1660 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
1661 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
1662 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
1663 __builtin_classify_type, add ##f suffixes where appropriate.
1664 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
1665 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
1666 __builtin_classify_type.
1667 (fma): Fix spelling of first argument.
1669 2001-01-25 Ulrich Drepper <drepper@redhat.com>
1671 * conform/data/unistd.h-data: Mark functions removed in XPG6
1674 * posix/unistd.h: Don't make functions removed in XPG6 available if
1677 * conform/conformtest.pl: Implement optional-constant.
1678 * conform/data/unistd.h-data: Use optional-constant wherever
1681 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
1682 constants and add _SC_STREAMS.
1683 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1685 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
1686 make old name weak alias.
1687 * sysdeps/generic/statvfs64.c: Likewise.
1688 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
1689 make old name weak alias.
1690 * sysdeps/generic/fstatvfs64.c: Likewise.
1691 * include/sys/statvfs.h: New file.
1693 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
1694 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
1696 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
1697 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
1698 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
1699 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1701 * conform/conformtest.pl: Run Unix tests for XPG6.
1702 Implement handling of known namespace violations.
1703 Improve printing of results.
1705 * posix/unistd.h (usleep): Correct return type.
1706 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
1707 * sysdeps/unix/bsd/usleep.c: Correct return type.
1708 * sysdeps/mach/usleep.c: Correct return type.
1709 * sysdeps/generic/usleep.c: Correct return type.
1711 * posix/unistd.h (sync): Correct return type.
1712 * sysdeps/generic/sync.c: Likewise.
1713 * sysdeps/mach/hurd/sync.c: Likewise.
1715 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
1717 * posix/unistd.h: Make seteuid and setegid available for XPG6.
1719 * wcsmbs/wchar.h: Get FILE definition for XPG5.
1721 * conform/data/ctype.h-data: Use correct comment form.
1722 * conform/data/errno.h-data: Likewise.
1723 * conform/data/math.h-data: Likewise.
1724 * conform/data/mqueue.h-data: Likewise.
1725 * conform/data/netdb.h-data: Likewise.
1726 * conform/data/pthread.h-data: Likewise.
1728 2001-01-24 Ulrich Drepper <drepper@redhat.com>
1730 * conform/data/wordexp.h-data: Fix typo.
1732 * conform/conformtest.pl: Handle allow-header correctly.
1734 * conform/data/time.h-data: Use correct comment form.
1736 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
1738 * configure.in: Comment out binutils version test.
1740 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
1742 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
1744 * stdlib/tst-strtod.c (locale_test): New function.
1745 (main): Call locale_test.
1746 * stdlib/Makefile (tst-strtod-ENV): New variable.
1748 2001-01-24 Mark Kettenis <kettenis@gnu.org>
1750 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
1751 declaration of value such that we actually return the value of the
1752 environment variable.
1754 2001-01-24 Andreas Jaeger <aj@suse.de>
1756 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
1758 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1760 * include/sys/sysctl.h: New file.
1762 2001-01-23 Andreas Jaeger <aj@suse.de>
1764 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
1767 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
1768 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
1769 closes PR libc/2039.
1771 * manual/install.texi (Tools for Compilation): Change required
1774 2001-01-22 Andreas Jaeger <aj@suse.de>
1776 * configure.in: Add test for new enough binutils version, move
1777 compiler/binutils test up.
1779 * Versions.def: Add version GLIBC_2.2.2.
1781 2001-01-21 Ulrich Drepper <drepper@redhat.com>
1783 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
1785 * iconvdata/testdata/IBM932: New file.
1786 * iconvdata/testdata/IBM932..UTF8: New file.
1787 * iconvdata/testdata/IBM943: New file.
1788 * iconvdata/testdata/IBM943..UTF8: New file.
1789 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
1791 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1793 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
1795 2001-01-21 Ulrich Drepper <drepper@redhat.com>
1797 * malloc/malloc.c: Remove a few unnecessary initializers of global
1800 2000-12-09 H.J. Lu <hjl@gnu.org>
1802 * nss/Makefile (routines): Add digits_dots.
1803 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
1804 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
1806 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
1808 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
1809 (TYPE_VAR_P): Likewise.
1810 (FLAGS_VAR): Likewise.
1811 (AF_VAR_P): Likewise.
1812 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
1813 instead of including digits_dots.c.
1814 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
1815 (TYPE_VAR_P): Likewise.
1816 (FLAGS_VAR): Likewise.
1817 (AF_VAR_P): Likewise.
1818 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
1819 instead of including digits_dots.c.
1821 2001-01-21 Ulrich Drepper <drepper@redhat.com>
1823 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
1825 2001-01-21 Andreas Jaeger <aj@suse.de>
1827 * elf/constload2.c: Add prototype for init.
1829 2001-01-21 Ulrich Drepper <drepper@redhat.com>
1831 * stdlib/stdlib.h (drand48_data): Make available only for
1832 __USE_MISC. Rename elements to protect namespace. Change type
1833 and position of a and init element.
1834 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
1835 differently. Adjust for drand48_data change. Don't compute a here,
1836 it comes from drand48_data.
1837 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
1838 differently. Adjust for drand48_data change. Compute a here.
1839 * stdlib/srand48_r.c: Likewise.
1840 * stdlib/drand48.c: Adjust for drand48_data change.
1841 * stdlib/lrand48.c: Likewise.
1842 * stdlib/mrand48.c: Likewise.
1843 * stdlib/seek48.c: Likewise.
1844 * stdlib/drand48_r.c: Likewise.
1845 * stdlib/lrand48_r.c: Likewise.
1846 * stdlib/mrand48_r.c: Likewise.
1847 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
1849 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
1850 * stdlib/jrand48_r.c: Likewise.
1852 * po/sv.po: Update from translation team.
1854 2001-01-21 Andreas Jaeger <aj@suse.de>
1856 * stdio-common/vfprintf.c (vfprintf): Add casts.
1858 2001-01-20 Ulrich Drepper <drepper@redhat.com>
1860 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
1862 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
1864 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
1865 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
1866 * iconvdata/ibm932.c: New file.
1867 * iconvdata/ibm932.h: New file.
1868 * iconvdata/ibm943.c: New file.
1869 * iconvdata/ibm943.h: New file.
1870 Patches by Masahide Washizawa <washi@jp.ibm.com>.
1872 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
1873 preventing optimization from being done. Set the correct type bit
1874 in seen. Don't define and use _dl_base_addr unless
1875 NEED_DL_BASE_ADDR is defined.
1877 * io/ftw.c (ftw_dir): Add slash after directory name if there
1878 wasn't any. Reported by loris <loris@iol.it>.
1879 * io/Makefile (tests): Add bug-ftw2.
1880 * io/bug-ftw2.c: New file.
1882 2001-01-19 Ulrich Drepper <drepper@redhat.com>
1884 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
1885 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
1886 * stdlib/tst-rand48.c: New file.
1887 * stdlib/Makefile (tests): Add tst-rand48.
1889 * locale/newlocale.c (__newlocale): Fix test for setting all
1892 2001-01-19 Mark Kettenis <kettenis@gnu.org>
1894 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
1895 but change looking up the initial directory port in a similar way
1896 as done by _hurd_change_directory_port_from_name.
1897 * hurd/fchroot.c (fchroot): Likewise.
1899 2001-01-18 Ulrich Drepper <drepper@redhat.com>
1901 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
1902 defined don't look whether the AT_*ID values were set.
1903 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
1904 (_dl_show_auxv): Rewrite to avoid switch statement.
1905 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1906 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
1907 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
1908 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
1910 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
1911 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1912 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1914 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
1916 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
1917 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
1919 * dlfcn/eval.c (__strtol_internal): Define here.
1920 (eval): Use __strtol_internal instead of strtol.
1922 * elf/elf.h: Add a few more EF_MIPS_* constants.
1924 2001-01-17 Ulrich Drepper <drepper@redhat.com>
1926 * manual/Makefile (chapters): Add debug.
1927 * manual/debug.texi: New file.
1928 * manual/examples/execinfo.c: New file.
1929 Patch by suckfish@ihug.co.nz.
1931 2001-01-17 Andreas Schwab <schwab@suse.de>
1933 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
1936 2001-01-17 Andreas Jaeger <aj@suse.de>
1938 * nscd/connections.c (nscd_run): Use proper format specifier.
1940 2001-01-16 Ulrich Drepper <drepper@redhat.com>
1942 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
1943 x86_platforms data into new file after prepending _dl_. Change
1945 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
1946 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
1947 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
1950 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
1952 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
1953 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
1954 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
1955 (_setjmp): Likewise.
1956 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
1957 * sysdeps/i386/bsd-setjmp.S: Real implementation.
1958 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
1959 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
1962 2001-01-16 Andreas Jaeger <aj@suse.de>
1964 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
1965 misapplied last patch.
1967 2001-01-15 Ulrich Drepper <drepper@redhat.com>
1969 * stdlib/random.c (__initstate): Clean up a cast.
1970 (__setstate): Likewise.
1972 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
1973 syscall handling. The generic Linux version should work.
1975 2001-01-15 Andreas Jaeger <aj@suse.de>
1977 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
1979 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
1981 2001-01-14 Jakub Jelinek <jakub@redhat.com>
1983 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
1984 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
1986 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
1987 If number is 0, list all.
1988 (services_keys): Likewise. Lookup aliases as well.
1989 (databases): New table.
1990 (build_doc): Prepare argp doc text with list of supported databases.
1991 (main): Change to table driven processing.
1993 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
1995 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
1998 2001-01-03 Jakub Jelinek <jakub@redhat.com>
2000 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
2001 encode value which does not fit in the 32bit type.
2003 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
2005 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
2006 Change type of CTX to (struct sigcontext *).
2007 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
2008 (GET_FRAME): Likewise.
2009 (GET_STACK): Likewise.
2010 (SIGCONTEXT): Likewise. Add 2nd arg _code.
2011 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
2013 2001-01-13 Ulrich Drepper <drepper@redhat.com>
2015 * manual/texinfo.tex: Update from upstream version.
2017 2001-01-13 Jakub Jelinek <jakub@redhat.com>
2019 * inet/ether_ntoh.c (lookup_function): Change arguments to match
2020 _nss_*_getntohost_r prototype.
2021 (ether_ntohost): Pass errno pointer to NSS function.
2023 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2025 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
2026 (MAP_LOCKED): New definition.
2027 (MAP_NORESERVE): New definition.
2029 2001-01-12 Ulrich Drepper <drepper@redhat.com>
2031 * assert/assert.h: Use static_cast instead of C-style cast for C++.
2032 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
2034 2001-01-12 Ben Collins <bcollins@debian.org>
2036 * sysdeps/generic/segfault.c (install_handler): Use access, not
2039 2001-01-12 Andreas Jaeger <aj@suse.de>
2041 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
2042 * posix/wordexp.c (do_parse_glob): Likewise.
2043 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2044 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
2045 * elf/dl-open.c (_dl_open): Likewise.
2046 * elf/dl-close.c (_dl_close): Likewise.
2047 * elf/dl-load.c (_dl_map_object): Likewise.
2048 * iconv/iconv_prog.c (process_fd): Likewise.
2049 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
2051 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
2052 of a zero-length array.
2054 2001-01-11 Jakub Jelinek <jakub@redhat.com>
2056 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
2057 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
2058 * stdlib/cxa_on_exit.c: Remove.
2059 * stdlib/Makefile: Revert last patch.
2060 * stdlib/Versions: Likewise.
2061 * include/stdlib.h: Likewise.
2062 * stdlib/exit.h: Revert last patch.
2063 (struct exit_function): Add second argument to cxa fn.
2064 * stdlib/exit.c: Revert last patch.
2065 (exit): Add hidden second argument.
2067 2001-01-11 H.J. Lu <hjl@gnu.org>
2069 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
2070 * elf/dl-open.c (_dl_open): Here.
2071 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
2073 (_dl_static_init): Initialize the variables every time when possible.
2074 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
2077 2001-01-11 Ulrich Drepper <drepper@redhat.com>
2079 * stdlib/Makefile (routines): Add cxa_on_exit.
2080 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
2081 * stdlib/cxa_on_exit.c: New file.
2082 * include/stdlib.h: Add prototype for __cxa_on_exit.
2083 * stdlib/exit.c: Handle ef_cxa2.
2084 * stdlib/exit.h (enum): Add ef_cxa2.
2085 (struct exit_function): Add cxa2.
2087 * Versions.def [ld]: Add GLIBC_2.2.1.
2089 2001-01-10 H.J. Lu <hjl@gnu.org>
2091 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
2092 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
2094 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
2095 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
2096 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
2097 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
2098 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
2100 2001-01-11 Ulrich Drepper <drepper@redhat.com>
2102 * libio/stdio.h: Remove definition of off_t.
2104 2001-01-11 Andreas Jaeger <aj@suse.de>
2106 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
2109 2001-01-10 Ulrich Drepper <drepper@redhat.com>
2111 * sunrpc/Makefile (distribute): Add errqueue.h.
2113 2001-01-10 H.J. Lu <hjl@gnu.org>
2115 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
2116 r9, r10 and r11 for language specific registers.
2118 2001-01-10 Jakub Jelinek <jakub@redhat.com>
2120 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
2122 (clntudp_call): Handle MSG_ERRQUEUE.
2123 * sysdeps/generic/errqueue.h: New file.
2124 * sysdeps/unix/sysv/linux/errqueue.h: New file.
2126 2001-01-10 H.J. Lu <hjl@gnu.org>
2128 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
2130 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
2132 * CONFORMANCE: Update.
2134 2001-01-09 Ulrich Drepper <drepper@redhat.com>
2136 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
2137 Minimal cleanups. Add assert to ensure memory handling is correct.
2139 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
2140 Reported by Ben Collins <bcollins@debian.org>.
2142 * time/strftime.c (my_strftime): Mark previous GNU extensions
2143 which are now in C99 as such.
2145 2001-01-08 Ulrich Drepper <drepper@redhat.com>
2147 * elf/rtld.c (process_envvars): Place output files for profiling
2148 in SUID binaries in /var/profile.
2150 * elf/dl-load.c (_dl_map_object): Don't look in cache for
2151 preloading in SUID binaries.
2153 * elf/dl-profile.c (_dl_start_profile): Open the output file with
2154 O_NOFOLLOW if possible.
2156 * include/stdlib.h: Add __posix_openpt declaration.
2157 * stdlib/stdlib.h: Add posix_openpt declaration.
2158 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
2159 * sysdeps/generic/getpt.c: Define posix_openpt.
2160 * sysdeps/unix/bsd/getpt.c: Likewise.
2161 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
2163 * time/Makefile (tests): Add tst-mktime.
2164 * time/tst-mktime.c: New file.
2166 * posix/tst-dir.c (main): One more mkdir() test.
2168 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
2169 Remove getpagesize syscall. We assume that the pagesize is always
2170 determined from the auxiliary vector.
2172 * intl/dcigettext.c: Fix a few warnings.
2173 Patch by Bruno Haible <haible@ilog.fr>.
2175 2001-01-08 Andreas Jaeger <aj@suse.de>
2177 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
2178 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2180 2001-01-08 Ulrich Drepper <drepper@redhat.com>
2182 * sysdeps/generic/segfault.c (install_handler): Check output file
2185 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
2186 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
2188 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
2190 * malloc/memusage.c (me): Use access() to determine whether we
2191 should write the output file or not.
2193 * libio/bits/stdio.h (printf): Define macro to map printf call to
2194 fprintf which gcc can optimize.
2195 * stdio-common/printf.c: Undefine printf.
2197 2001-01-07 Ulrich Drepper <drepper@redhat.com>
2199 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
2200 patch. We must use unsigned int for l member of union.
2202 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
2203 _dl_aux_init for shared libraries.
2205 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
2206 * sysdeps/gnu/glob64.c: ...here. New file.
2208 2001-01-07 Ben Collins <bcollins@debian.org>
2210 * manual/examples/longopt.c: Make the "struct option" a little
2211 more like it should be, adding usage of required_argument,
2212 noargument and such, and also setting the options string right.
2214 * manual/sysinfo.texi (Load Average): New section, documents
2217 2001-01-06 Ulrich Drepper <drepper@redhat.com>
2219 * version.h (VERSION): Bump to 2.2.1.
2221 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
2222 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
2223 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
2224 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
2225 * Makefile (distribute): Add include/libc-internal.h.
2226 * libio/Makefile (distribute): Avoid overwriting.
2228 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
2229 buffer and table handling.
2231 2001-01-05 H.J. Lu <hjl@gnu.org>
2233 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
2234 vector checking to ...
2235 (_dl_aux_init): Here. New function. Defined only if
2236 HAVE_AUX_VECTOR is defined.
2238 * sysdeps/generic/libc-start.c (__libc_start_main): Call
2239 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
2241 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
2244 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
2245 (HAVE_AUX_VECTOR): Defined.
2246 (_dl_aux_init): Declared.
2248 2001-01-05 Ben Collins <bcollins@debian.org>
2250 * manual/string.texi (Finding Tokens in a String): Document XPG
2251 basename() and dirname(), as well as GNU basename().
2253 2001-01-05 Jakub Jelinek <jakub@redhat.com>
2255 * Makeconfig (preprocess-version): Replace -traditional with
2256 -x assembler-with-cpp.
2258 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
2260 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
2261 for GCC 2.97 or later.
2263 2001-01-05 Ben Collins <bcollins@debian.org>
2265 * manual/stdio.texi (getline): Clarify the return value in the
2266 case of EOF being reached before a newline.
2268 2001-01-04 Jakub Jelinek <jakub@redhat.com>
2270 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
2272 (pmap_set, pmap_unset): Check __get_myaddress return value.
2274 2001-01-05 Mark Kettenis <kettenis@gnu.org>
2276 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
2277 (struct ether_addr): Declare ether_addr_octet member as
2278 `u_int8_t'. Add __attribute__ ((__packed__)).
2280 2001-01-06 Mark Kettenis <kettenis@gnu.org>
2282 * sysdeps/mach/hurd/readdir64.c: New file.
2283 * sysdeps/mach/hurd/readdir64_r.c: New file.
2285 2001-01-07 Mark Kettenis <kettenis@gnu.org>
2287 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
2288 `struct statfs' and `struct statvfs' being identical.
2289 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
2291 2001-01-06 Mark Kettenis <kettenis@gnu.org>
2293 * sysdeps/mach/hurd/fstatfs64.c: New file.
2294 * sysdeps/mach/hurd/fstatvfs64.c: New file.
2295 * sysdeps/mach/hurd/statfs64.c: New file.
2296 * sysdeps/mach/hurd/statvfs64.c: New file.
2297 * sysdeps/mach/hurd/statfsconv.c: New file.
2298 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
2300 2001-01-06 Ulrich Drepper <drepper@redhat.com>
2302 * iconv/skeleton.c: Reset outbuf for next round of the loop.
2303 Reported by Owen Taylor <otaylor@redhat.com>.
2304 * iconv/Makefile (tests): Add tst-iconv3.
2305 * iconv/tst-iconv3.c: New file.
2307 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
2308 * iconvdata/ibm933.c: Likewise.
2309 * iconvdata/ibm935.c: Likewise.
2310 * iconvdata/ibm937.c: Likewise.
2311 * iconvdata/ibm939.c: Likewise.
2312 * iconvdata/ibm930.h: Adjust single byte table for optimization.
2313 * iconvdata/ibm933.h: Likewise.
2314 * iconvdata/ibm935.h: Likewise.
2315 * iconvdata/ibm939.h: Likewise.
2317 * iconvdata/testdata/IBM930: Add misssing SI.
2318 * iconvdata/testdata/IBM933: Likewise.
2319 * iconvdata/testdata/IBM935: Likewise.
2320 * iconvdata/testdata/IBM937: Likewise.
2321 * iconvdata/testdata/IBM939: Likewise.
2323 2001-01-06 Andreas Jaeger <aj@suse.de>
2325 * configure.in: Check for old add-ons that shouldn't be used with
2326 current glibc anymore.
2328 2001-01-06 Mark Kettenis <kettenis@gnu.org>
2330 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
2331 instead of -1 on failure. Don't forget to copy file name into
2332 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
2335 2001-01-06 Mark Kettenis <kettenis@gnu.org>
2337 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
2338 copy st_atime member.
2340 2001-01-05 Ulrich Drepper <drepper@redhat.com>
2342 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
2343 for searches from the root directory.
2344 Reported by loris <loris@iol.it> [PR libc/1991].
2345 * io/Makefile (tests): Add bug-ftw1.
2346 * io/bug-ftw1.c: New file.
2348 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
2349 if it is not available. Instead use it only if it is available.
2350 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
2352 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
2353 overflowing output buffer.
2354 (internal_ucs4_loop_unaligned): Likewise.
2355 (ucs4_internal_loop): Likewise.
2356 (ucs4_internal_loop_unaligned): Likewise.
2357 (internal_ucs4le_loop): Likewise.
2358 (internal_ucs4le_loop_unaligned): Likewise.
2359 (ucs4le_internal_loop): Likewise.
2360 (ucs4le_internal_loop_unaligned): Likewise.
2361 Reported by Owen Taylor <otaylor@redhat.com>.
2362 * iconv/Makefile (tests): Add tst-iconv2.
2363 * iconv/tst-iconv2.c: New file.
2365 2001-01-04 H.J. Lu <hjl@gnu.org>
2367 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
2368 (_dl_clktck): Declared.
2369 (non_dynamic_init): Take 3 arguments.
2370 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
2372 2001-01-01 Bruno Haible <haible@clisp.cons.org>
2374 Finish implementation of plural form handling.
2375 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
2376 'domainname'. Remove 'plindex' field. Add 'domain' and
2377 'translation_length' fields.
2378 (transcmp): Don't compare 'plindex' fields.
2379 (plural_lookup): New function.
2380 (DCIGETTEXT): Change cache handing in the plural case. Don't call
2381 plural_eval before the translation and its catalog file have been
2382 found. Remove plindex from cache key. Add 'translation_length' and
2383 'domain' to cache result.
2384 (_nl_find_msg): Remove index argument, return length of translation
2385 to the caller instead. Weaken comparison of string lengths, to account
2386 for plural entries. Call iconv() on the entire result string, not
2387 only on the portion needed so far.
2388 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
2390 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
2392 2001-01-04 Ulrich Drepper <drepper@redhat.com>
2394 * intl/plural.y (yylex): Minimal improvement in number scanner.
2396 2000-07-31 Bruno Haible <haible@clisp.cons.org>
2398 * intl/plural.y: Include config.h. Needed to define 'inline' away for
2399 C compilers that don't support it.
2400 (yylex): Don't use gcc specific case range syntax.
2401 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
2404 2000-10-12 Bruno Haible <haible@clisp.cons.org>
2406 * intl/finddomain.c: Remove unneeded includes.
2408 2000-10-12 Bruno Haible <haible@clisp.cons.org>
2410 * intl/localealias.c (memcpy): Return first argument, just like the
2411 real memcpy function does.
2412 * intl/bindtextdom.c (memcpy): Likewise.
2413 * intl/finddomain.c (memcpy): Likewise.
2414 * intl/l10nflist.c (memcpy): Likewise.
2415 * intl/textdomain.c (memcpy): Likewise.
2416 From Paul Eggert <eggert@twinsun.com>.
2418 2001-01-03 Jakub Jelinek <jakub@redhat.com>
2420 * resolv/resolv.h (struct __res_state): Add nsinit field.
2421 * resolv/res_send.c (res_nsend): Use it instead of nscount.
2422 * resolv/res_init.c (__res_vinit): Initialize it.
2423 (res_nclose): Clear it instead of nscount.
2425 2001-01-04 Ulrich Drepper <drepper@redhat.com>
2427 * malloc/mtrace.pl: Fix matching of addresses.
2428 Patch by Aharon Robbins <arnold@skeeve.com>.
2430 * Versions.def (ld): Add GLIBC_2.2.
2432 * catgets/gencat.c: Copyright 2001.
2433 * csu/version.c: Likewise.
2434 * debug/catchsegv.sh: Likewise.
2435 * debug/xtrace.sh: Likewise.
2436 * elf/ldconfig.c: Likewise.
2437 * elf/sprof.c: Likewise.
2438 * iconv/iconv_prog.c: Likewise.
2439 * locale/locale.c: Likewise.
2440 * locale/localedef.c: Likewise.
2441 * malloc/memusage.sh: Likewise.
2442 * malloc/mtrace.pl: Likewise.
2443 * nscd/nscd.c: Likewise.
2444 * posix/getconf.c: Likewise.
2446 2001-01-04 Mark Kettenis <kettenis@gnu.org>
2448 * include/stdio.h: Only provide __getwc_unlocked prototype if
2449 USE_IN_LIBIO is defined.
2451 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2453 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
2456 2001-01-03 Andreas Schwab <schwab@suse.de>
2458 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
2459 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
2461 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
2462 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
2464 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
2465 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
2468 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
2470 * sysdeps/generic/strtol_l.c: Likewise.
2471 * sysdeps/generic/strtoul_l.c: Likewise.
2472 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
2474 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
2475 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
2476 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
2477 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
2479 2001-01-04 Andreas Jaeger <aj@suse.de>
2481 * nss/nsswitch.c: Include files for missing prototypes, remove
2482 buggy declaration of prototypes.
2484 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2486 * resolv/Versions: Fix bracing.
2487 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2488 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
2490 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2492 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
2494 2001-01-02 Ulrich Drepper <drepper@redhat.com>
2496 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
2497 Suggested by Minko Markov <mmarkov@home.com>.
2499 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2501 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
2502 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
2504 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
2506 2001-01-02 Ben Collins <bcollins@debian.org>
2508 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
2509 if TZ is not set and TZDEFAULT is not present.
2511 2001-01-01 Ben Collins <bcollins@debian.org>
2513 * string/strings.h: Make sure we declare our functions even if
2514 string.h is already included, based on whether or not __USE_BSD is
2517 2001-01-02 Ulrich Drepper <drepper@redhat.com>
2519 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
2520 other dlopen() and dlsym().
2521 Based on a patch by Ben Collins <bcollins@debian.org>.
2523 2001-01-02 Andreas Jaeger <aj@suse.de>
2525 * dlfcn/errmsg1.c (main): Call dlerror initially.
2526 Reported by Ben Collins <bcollins@debian.org>.
2528 2001-01-02 Ulrich Drepper <drepper@redhat.com>
2530 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
2531 value is ignored if the selected locale is the C locale.
2532 * intl/tst-gettext.c: Set locale for above change.
2533 * intl/tst-translit.c: Likewise.
2535 2001-01-02 Andreas Jaeger <aj@suse.de>
2537 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
2538 (_IO_switch_to_wget_mode): Likewise.
2539 (_IO_sputbackwc): Likewise.
2540 (_IO_sungetwc): Use wint_t for result.
2542 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
2544 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
2547 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
2548 to (int) to avoid warnings.
2549 * stdio-common/printf_fp.c (putc): Likewise.
2550 * stdio-common/printf_size.c (putc): Likewise.
2552 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
2555 2001-01-01 Andreas Jaeger <aj@suse.de>
2557 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
2559 2000-12-31 Andreas Jaeger <aj@suse.de>
2561 * include/libc-internal.h: Add prototype for __libc_freeres.
2563 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
2564 for prototypes, remove redundant prototypes.
2565 * gmon/gmon.c: Likewise.
2566 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
2567 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
2568 * malloc/mtrace.c: Likewise.
2570 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
2572 * elf/soinit.c: Likewise.
2573 * sysdeps/generic/prof-freq.c: Likewise.
2574 * sysdeps/mach/hurd/profil.c: Likewise.
2575 * debug/noophooks.c: Likewise.
2576 * debug/pcprofile.c: Likewise.
2577 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2578 * sysdeps/generic/get_clockfreq.c: Likewise.
2579 * malloc/set-freeres.c: Likewise.
2581 * locale/localeinfo.h: Add internal prototypes.
2583 * elf/rtld.c (dl_main): Fix prototype.
2585 * iconvdata/tst-table-to.c (main): Use return instead of exit to
2588 * nis/rpcsvc/yp_prot.h: Remove __P.
2589 * nis/rpcsvc/ypupd.h: Likewise.
2590 * nis/rpcsvc/yp.h: Likewise.
2592 * sunrpc/rpc_main.c: Add noreturn attributes.
2593 * sunrpc/rpc_scan.h: Likewise.
2595 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
2597 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
2599 * sunrpc/proto.h: Add noreturn attributes to error and crash.
2601 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
2603 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
2605 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
2607 * include/rpc/rpc_msg.h: Add prototypes for some functions.
2608 * include/rpc/auth.h: Likewise.
2609 * include/rpc/auth_des.h: Likewise.
2610 * include/rpc/clnt.h: Likewise.
2611 * include/rpc/rpc.h: Likewise.
2612 * include/rpc/svc.h: Likewise.
2613 * include/rpc/svc_auth.h: Likewise.
2615 * include/rpc/des_crypt.h: New file.
2617 * malloc/memusagestat.c (main): Use return instead of exit to
2619 * io/pwd.c (main): Likewise.
2620 * iconvdata/tst-table-from.c (main): Likewise.
2621 * ctype/test_ctype.c (main): Likewise.
2622 * setjmp/tst-setjmp.c (main): Likewise.
2623 * signal/tst-signal.c (main): Likewise.
2624 * stdlib/tst-strtol.c (main): Likewise.
2625 * stdlib/tst-strtod.c (main): Likewise.
2626 * stdlib/tst-strtoll.c (main): Likewise.
2627 * stdlib/tst-xpg-basename.c (main): Likewise.
2628 * dirent/tst-seekdir.c (main): Likewise.
2629 * grp/testgrp.c (main): Likewise.
2630 * inet/test_ifindex.c (main): Likewise.
2631 * io/test-utime.c (main): Likewise.
2632 * posix/test-vfork.c (main): Likewise.
2633 * posix/testfnm.c (main): Likewise.
2634 * stdio-common/temptest.c (main): Likewise.
2635 * stdio-common/test_rdwr.c (main): Likewise.
2636 * stdio-common/tst-fileno.c (main): Likewise.
2637 * stdio-common/tst-sscanf.c (main): Likewise.
2638 * stdio-common/tstscanf.c (main): Likewise.
2639 * string/bug-strncat1.c (main): Likewise.
2640 * string/bug-strpbrk1.c (main): Likewise.
2641 * string/bug-strspn1.c (main): Likewise.
2642 * string/test-ffs.c (main): Likewise.
2643 * string/tst-inlcall.c (main): Likewise.
2644 * string/tst-svc.c (main): Likewise.
2645 * timezone/test-tz.c (main): Likewise.
2646 * wctype/test_wcfuncs.c (main): Likewise.
2647 * wctype/test_wctype.c (main): Likewise.
2649 * stdlib/tst-random.c: Add attribute noreturn to fail.
2651 2000-12-28 Wolfram Gloger <wg@malloc.de>
2653 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
2654 destination overlap. Assume dest is always below source if
2657 2000-12-30 Ulrich Drepper <drepper@redhat.com>
2659 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
2660 object was not yet initialized.
2662 2000-12-28 H.J. Lu <hjl@gnu.org>
2664 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
2665 is always consistent even if its dependency is failed.
2667 * elf/dl-open.c (_dl_open): Increment the open count before
2668 calling _dl_close () in case of failure.
2670 * elf/neededtest4.c: New file.
2671 * elf/neededobj5.c: New file.
2672 * elf/neededobj6.c: New file.
2674 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
2675 (tests): Add neededtest4.
2676 (modules-names): Add neededobj5 and neededobj6.
2677 ($(objpfx)neededobj6.so): New target.
2678 ($(objpfx)neededtest4): New target.
2679 ($(objpfx)neededtest4.out): New target.
2681 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
2683 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
2684 * stdlib/monetary.h: Add strfmon format attributes.
2686 2000-12-28 Roland McGrath <roland@frob.com>
2688 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
2689 __mempcpy does it for us.
2691 2000-12-28 Andreas Jaeger <aj@suse.de>
2693 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
2695 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
2698 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
2701 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
2704 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
2705 __chown_is_lchown and __real_chown.
2707 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
2710 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
2711 up GCC's warning about "deprecated use of label at end of compound
2713 * sunrpc/rpc_cout.c (emit_inline): Likewise.
2715 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
2717 Remove struct bb and __bb_head since those are declared by
2720 2000-12-22 Ben Collins <bcollins@debian.org>
2722 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
2724 * manual/argp.texi: Document argp_domain as part of struct argp.
2726 2000-12-28 Andreas Jaeger <aj@suse.de>
2728 * catgets/Makefile (generated): Add sample.SJIS.cat.
2730 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
2732 * elf/dl-minimal.c: Add prototypes.
2734 * include/locale.h: Add internal prototypes.
2735 * include/sys/gmon.h: Likewise.
2737 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
2739 2000-12-27 Ben Collins <bcollins@debian.org>
2741 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
2742 when reallocating the error strings.
2743 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
2745 2000-12-27 Ulrich Drepper <drepper@redhat.com>
2747 * dlfcn/Makefile (tests): Add errmsg1.
2748 (modules-names): Add errmsg1mod.
2749 Add rules to run errmsg1.
2750 * dlfcn/errmsg1.c: New file.
2751 * dlfcn/errmsg1mod.c: New file.
2753 * dlfcn/dlerror.c (dlerror): Always create output string which
2754 includes object file name.
2756 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
2757 if we would go through it only once.
2758 Patch by Rick Gorton <rick.gorton@api-networks.com>.
2760 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
2761 Patch by Richard Henderson <rth@redhat.com>.
2763 2000-12-27 Jakub Jelinek <jakub@redhat.com>
2765 * malloc/malloc.c (memmove): Add prototypes.
2766 (MALLOC_MEMMOVE): Define.
2767 (chunk_realloc): Use it instead of MALLOC_COPY if source and
2768 destination might overlap.
2770 2000-12-27 Andreas Jaeger <aj@suse.de>
2772 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
2774 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2775 * locale/programs/locale.c (show_locale_vars): Likewise.
2776 (show_info): Likewise.
2777 * locale/programs/ld-collate.c (collate_output): Likewise.
2778 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2779 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2780 * stdlib/rpmatch.c (rpmatch): Likewise.
2782 * setjmp/tst-setjmp.c: Make local functions static.
2783 * setjmp/jmpbug.c: Likewise.
2784 * signal/tst-signal.c: Likewise.
2785 * stdio-common/tfformat.c: Likewise.
2786 * string/tst-svc.c: Likewise.
2787 * time/clocktest.c: Likewise.
2788 * time/tst-getdate.c: Likewise.
2789 * dirent/list.c: Likewise.
2790 * dirent/opendir-tst1.c: Likewise.
2791 * posix/runtests.c: Likewise.
2792 * posix/tst-getaddrinfo.c: Likewise.
2793 * posix/tst-chmod.c: Likewise.
2794 * posix/wordexp-test.c: Likewise.
2795 * misc/tst-efgcvt.c: Likewise.
2796 * timezone/tst-timezone.c: Likewise.
2797 * rt/tst-clock.c: Likewise.
2798 * rt/tst-shm.c: Likewise.
2799 * rt/tst-aio2.c: Likewise.
2800 * rt/tst-aio3.c: Likewise.
2801 * rt/tst-aio4.c: Likewise.
2802 * rt/tst-aio5.c: Likewise.
2804 * dlfcn/failtest.c: Add prototype for foo.
2806 * dlfcn/glrefmain.c: Add prototype for do_test.
2808 * dlfcn/tst-dladdr.c: Add prototype for do_test.
2810 * string/test-ffs.c (main): Add prototype for nested function.
2812 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
2814 * nss/XXX-lookup.c: Add prototype to shut up GCC.
2816 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
2817 setetherent prototype.
2818 Add internal interfaces.
2820 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
2821 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
2823 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
2825 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
2827 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
2828 prototypes, remove struct etherent since it's declared in ether.h.
2829 Fix ntohost declaration.
2831 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
2833 * include/getopt.h: Add internal interfaces.
2834 * include/termios.h: Likewise.
2835 * include/resolv.h: Likewise.
2836 * include/netdb.h: Likewise.
2837 * include/grp.h: Likewise.
2838 * include/pwd.h: Likewise.
2839 * include/shadow.h: Likewise.
2840 * include/rpc/netdb.h: Likewise.
2841 * include/setjmp.h: Likewise.
2843 * include/stdio.h: Add prototypes for compatibility functions.
2844 * include/grp.h: Likewise.
2845 * include/pwd.h: Likewise.
2846 * include/shadow.h: Likewise.
2848 * include/fenv.h: Define internal interfaces.
2850 2000-12-27 Ulrich Drepper <drepper@redhat.com>
2852 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
2853 argument case separately.
2854 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
2856 2000-12-27 Andreas Jaeger <aj@suse.de>
2858 * include/sys/wait.h: Add some prototypes.
2859 * Rules (dummy.c): Create also prototype to shut up GCC.
2861 2000-12-27 Andreas Jaeger <aj@suse.de>
2863 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
2864 it's not needed at the moment.
2865 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
2866 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
2868 2000-12-26 Andreas Jaeger <aj@suse.de>
2870 * libio/getc_u.c: Include stdio.h via system path to get internal
2872 * libio/getwc_u.c: Likewise.
2874 * stdlib/strfmon.c: Fix prototype of __printf_fp.
2876 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
2877 __printf_fp prototypes to ...
2878 * include/printf.h: ...here.
2880 * include/stdio.h: Add some internal prototypes to shut up GCC.
2881 * include/stdlib.h: Likewise.
2883 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
2886 * include/signal.h: Add prototypes for internal sigpause
2889 2000-12-26 Ulrich Drepper <drepper@redhat.com>
2891 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
2892 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
2894 * string/Makefile (tests): Add tst-bswap.
2895 * string/tst-bswap.c: New file.
2897 2000-12-11 Bruno Haible <haible@clisp.cons.org>
2899 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
2901 2000-12-26 Ulrich Drepper <drepper@redhat.com>
2903 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
2904 Patch by Ed Connell <Ed.Connell@sas.com>.
2906 2000-12-24 Ulrich Drepper <drepper@redhat.com>
2908 * locale/iso-639.def: Correct one entry. Add two missing entries.
2910 * locale/iso-4217.def: Change entry for Eritrea.
2911 Reported by Daniel Yacob <yacob@geez.org>.
2913 2000-12-23 Ben Collins <bcollins@debian.org>
2915 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
2918 * manual/stdio.texi (Dynamic Output): Document the return value of
2919 asprintf. Also make the asprintf/snprintf examples a little
2920 better (check for some error returns).
2922 2000-12-22 Andreas Jaeger <aj@suse.de>
2924 * include/stdio.h: Add __ftrylockfile prototype.
2926 2000-12-21 H.J. Lu <hjl@gnu.org>
2928 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
2929 Make sign_exponent element signed.
2931 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
2934 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
2936 2000-12-21 Andreas Jaeger <aj@suse.de>
2938 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
2939 * inet/ether_hton.c: Likewise
2940 * inet/ether_ntoh.c: Likewise.
2942 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
2943 declaration to match prototype.
2945 * include/netinet/ether.h (struct etherent): Declare here so that
2946 all implementations use the same struct.
2948 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
2950 (struct ether): Removed.
2951 Use struct etherent instead of ether everywhere.
2953 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
2955 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
2957 * sunrpc/publickey.c: Include auth_des.h for prototypes.
2959 2000-12-20 Ulrich Drepper <drepper@redhat.com>
2961 * math/test-misc.c: Add more tests for nextafter functions.
2963 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
2964 normal correctly. Correct test for sign.
2965 Based on a patch by HJ Lu.
2967 2000-12-19 Ulrich Drepper <drepper@redhat.com>
2969 * Makeconfig (preprocess-version): Add -traditional to gcc call.
2972 2000-12-19 Andreas Jaeger <aj@suse.de>
2974 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
2976 * nis/nis_intern.h: Add prototype for __do_niscall3.
2978 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
2981 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
2983 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
2985 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
2987 2000-12-18 Ulrich Drepper <drepper@redhat.com>
2989 * math/test-misc.c: Add more tests for nextafter.
2990 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
2991 * sysdeps/ieee754/ldbl-96/math_ldbl.h
2992 (ieee_long_double_shape_type): Make sign_exponent element signed.
2994 * manual/message.texi: Add Estonian to plural overview list.
2995 Correct rule for Slavic languages.
2996 Patch by Stanislav Brabec <utx@penguin.cz>.
2998 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
3000 2000-12-18 Andreas Jaeger <aj@suse.de>
3002 * test-skeleton.c: Use temp_name_list instead of name_list to
3003 avoid collision with name_list from inet/netgroup.h.
3005 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
3007 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
3008 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
3009 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
3010 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
3012 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
3013 declaration to match prototype.
3014 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
3015 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
3016 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
3018 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
3019 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
3020 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
3021 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
3022 (_nss_nis_getservbyport_r): Likewise.
3023 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
3024 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
3025 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
3026 (_nss_nis_setnetent): Likewise
3027 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3028 (_nss_nis_endnetgrent): Likewise.
3029 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
3031 (_nss_nisplus_setnetgrent): Likewise.
3032 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
3033 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
3034 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
3035 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
3037 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
3039 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
3041 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
3043 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
3044 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
3045 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
3046 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
3047 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
3048 (_nss_dns_getnetbyaddr_r): Likewise.
3050 2000-12-17 Andreas Jaeger <aj@suse.de>
3052 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
3055 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
3056 unused attribute to shut up gcc warnings.
3058 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
3059 * sysdeps/generic/k_tanl.c: Likewise.
3060 * sysdeps/generic/k_cosl.c: Likewise.
3061 * sysdeps/generic/e_j0l.c: Likewise.
3062 * sysdeps/generic/e_j1l.c: Likewise.
3063 * sysdeps/generic/e_jnl.c: Likewise.
3064 * sysdeps/generic/e_lgammal_r.c: Likewise.
3066 * elf/vismain.c: Move prototypes for functions in vismod*.c to
3068 * elf/vismod.h: New file.
3069 * elf/Makefile (distribute): Add vismod.h.
3070 * elf/vismod1.c: Include vismod.h.
3071 * elf/vismod2.c: Likewise.
3072 * elf/vismod3.c: Likewise.
3074 * elf/constload3.c: Add prototype declarations to shut up gcc.
3075 * elf/failobj.c: Likewise.
3076 * elf/nodelmod3.c: Likewise.
3077 * elf/filtmod1.c: Likewise.
3078 * elf/filtmod2.c: Likewise.
3079 * elf/reldepmod1.c: Likewise.
3080 * elf/reldepmod2.c: Likewise.
3081 * elf/reldepmod3.c: Likewise.
3082 * elf/reldepmod4.c: Likewise.
3083 * elf/unload2dep.c: Likewise.
3084 * elf/unload2mod.c: Likewise.
3085 * elf/ltglobmod1.c: Likewise.
3086 * elf/pathoptobj.c: Likewise.
3087 * elf/neededobj1.c: Likewise.
3088 * elf/neededobj2.c: Likewise.
3089 * elf/neededobj3.c: Likewise.
3090 * elf/neededobj4.c: Likewise.
3091 * elf/nextmod1.c: Likewise.
3092 * elf/nextmod2.c: Likewise.
3094 * locale/programs/ld-collate.c (collate_finish): Don't use labels
3095 at end of compound statement.
3096 * locale/programs/locale.c (show_info): Likewise.
3097 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
3099 2000-12-16 Jakub Jelinek <jakub@redhat.com>
3101 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
3102 with a pointer not returned by obstack_ functions.
3104 2000-12-16 Ulrich Drepper <drepper@redhat.com>
3106 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
3108 (struct stat64): Likewise.
3109 Reported by Michael Keezer <mkeezer@redhat.com>.
3111 * timezone/asia: Update from tzdata2000h.
3112 * timezone/australasia: Likewise.
3113 * timezone/backward: Likewise.
3114 * timezone/europe: Likewise.
3115 * timezone/northamerica: Likewise.
3116 * timezone/southamerica: Likewise.
3117 * timezone/zone.tab: Likewise.
3119 2000-12-14 Jakub Jelinek <jakub@redhat.com>
3121 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
3122 and dir.stream is NULL, only free dir.content.
3123 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
3124 * io/ftwtest-sh: Test with --early-exit.
3126 2000-12-13 Jakub Jelinek <jakub@redhat.com>
3128 * misc/efgcvt.c (FCVT_MAXDIG): Define.
3129 (FCVT_BUFPTR): New variable.
3130 (fcvt): If fcvt_r returns -1 on the static short buffer,
3131 try to malloc a sufficiently large one and retry.
3132 (free_mem): New function.
3133 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
3134 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
3136 2000-12-15 Ulrich Drepper <drepper@redhat.com>
3138 * misc/dirname.c (dirname): Fix search for second to last slash.
3140 2000-12-13 Andreas Jaeger <aj@suse.de>
3142 * misc/tst-dirname.c (main): Fix typo in test to really use
3143 the examples from Unix98.
3144 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3146 2000-12-09 H.J. Lu <hjl@gnu.org>
3148 * sysdeps/ia64/fpu/s_fabs.S: New file.
3149 * sysdeps/ia64/fpu/s_fabsf.S: New file.
3150 * sysdeps/ia64/fpu/s_fabsl.S: New file.
3152 2000-12-15 Andreas Jaeger <aj@suse.de>
3154 * stdio-common/scanf9.c (main): Reformat and change to avoid
3157 * stdio-common/tstdiomisc.c: Make local functions static.
3158 * stdio-common/tst-printf.c: Likewise.
3160 * elf/constload2.c: Add prototype declarations to shut up gcc.
3161 * elf/dep1.c: Likewise.
3162 * elf/dep2.c: Likewise.
3163 * elf/dep3.c: Likewise.
3164 * elf/dep4.c: Likewise.
3165 * elf/ltglobmod2.c: Likewise.
3167 * libio/fmemopen.c: Make local functions static.
3169 * elf/Makefile (distribute): Added testobj.h.
3171 * elf/testobj.h: New file.
3173 * elf/testobj1.c: Include testobj.h and move prototype
3174 declarations to testobj.h.
3175 * elf/testobj2.c: Likewise.
3176 * elf/testobj3.c: Likewise.
3177 * elf/testobj4.c: Likewise.
3178 * elf/testobj5.c: Likewise.
3179 * elf/testobj6.c: Likewise.
3180 * elf/testobj1_1.c: Likewise.
3181 * elf/preloadtest.c: Likewise.
3183 2000-12-15 Ben Collins <bcollins@debian.org>
3185 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
3186 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
3188 2000-12-14 H.J. Lu <hjl@gnu.org>
3190 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
3191 field in a float is 8 bits, not 11 bits.
3193 2000-12-13 Jakub Jelinek <jakub@redhat.com>
3195 * math/test-misc.c (main): Adjust m for IEEE quad long double.
3197 2000-12-13 Andreas Jaeger <aj@suse.de>
3199 * manual/message.texi (Using gettextized software): Fix typo.
3201 * manual/charset.texi (Converting a Character): Fix mbstouwcs
3203 Patch by Martin Buchholz <martin@xemacs.org>.
3205 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
3206 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3208 2000-12-11 Andreas Jaeger <aj@suse.de>
3210 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
3211 kernel_sigset_t and use it.
3212 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
3214 2000-12-10 Richard Henderson <rth@redhat.com>
3216 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
3217 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
3218 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
3220 2000-12-10 Jakub Jelinek <jakub@redhat.com>
3222 * sysdeps/alpha/htonl.S: Fix a typo.
3224 2000-12-10 Jakub Jelinek <jakub@redhat.com>
3226 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
3228 2000-12-10 Andreas Jaeger <aj@suse.de>
3230 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
3231 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
3232 Drepper <drepper@redhat.com>.
3234 2000-12-09 Andreas Jaeger <aj@suse.de>
3236 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
3238 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
3240 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
3242 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
3245 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
3248 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
3249 * nscd/connections.c (handle_request): Likewise.
3250 * nscd/pwdcache.c (addpwbyname): Likewise.
3251 * nscd/grpcache.c (addgrbyname): Likewise.
3253 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
3255 2000-12-09 Ulrich Drepper <drepper@redhat.com>
3257 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
3259 * Makeconfig (default_cflags): Make -O2 the default for stable
3262 2000-12-08 H.J. Lu <hjl@gnu.org>
3264 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
3265 * sysdeps/ia64/fpu/s_isinf.S: This.
3266 Add a .pred.rel.mutex note to avoid false report.
3268 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
3269 * sysdeps/ia64/fpu/s_isnan.S: This.
3271 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
3272 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
3273 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
3274 * sysdeps/ia64/fpu/s_isinff.S: New file.
3275 * sysdeps/ia64/fpu/s_isinfl.S: New file.
3276 * sysdeps/ia64/fpu/s_isnanf.S: New file.
3277 * sysdeps/ia64/fpu/s_isnanl.S: New file.
3278 * sysdeps/ia64/fpu/s_finite.S: New file.
3279 * sysdeps/ia64/fpu/s_finitef.S: New file.
3280 * sysdeps/ia64/fpu/s_finitel.S: New file.
3281 * sysdeps/ia64/fpu/s_signbit.S: New file.
3282 * sysdeps/ia64/fpu/s_signbitf.S: New file.
3283 * sysdeps/ia64/fpu/s_signbitl.S: New file.
3284 * sysdeps/ia64/fpu/s_copysign.S: New file.
3285 * sysdeps/ia64/fpu/s_copysignf.S: New file.
3286 * sysdeps/ia64/fpu/s_copysignl.S: New file.
3288 2000-12-08 Ulrich Drepper <drepper@redhat.com>
3290 * math/libm-test.inc (main): Fix typos in messages.
3292 * string/stratcliff.c: Add test for rawmemchr.
3294 2000-12-08 Jakub Jelinek <jakub@redhat.com>
3296 * elf/dl-open.c (_dl_open): If objname points right after errstring,
3297 allocate it together with errstring using alloca.
3298 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
3299 to "", because it might point to local stack.
3301 2000-12-05 H.J. Lu <hjl@gnu.org>
3303 * nss/Makefile (routines): Add getnssent and getnssent_r.
3304 * nss/nsswitch.h (__nss_setent): New internal NSS function.
3305 (__nss_endent): Likewise.
3306 (__nss_getent_r): Likewise.
3307 (__nss_getent): Likewise.
3308 * nss/getnssent_r.c: New file.
3309 * nss/getnssent.c: New file.
3310 * nss/getXXent.c (H_ERRNO_VAR): Updated.
3311 (GETFUNC_NAME): Updated to call __nss_getent ().
3312 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
3313 (STAYOPEN_TMPVAR): Updated.
3314 (STAYOPEN_VAR): Updated.
3315 (SETFUNC_NAME): Updated to call __nss_setent ().
3316 (ENDFUNC_NAME): Updated to call __nss_endent ().
3317 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
3319 2000-12-08 Andreas Jaeger <aj@suse.de>
3321 * nscd/dbg_log.h (dbg_log): Correct attribute.
3323 2000-12-08 Jakub Jelinek <jakub@redhat.com>
3325 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
3326 cp + len. Compute where from dirname.
3327 Reported by <jreiser@BitWagon.com>.
3329 2000-12-08 Richard Henderson <rth@twiddle.net>
3331 * sysdeps/alpha/_mcount.S: Fix typo.
3332 * sysdeps/alpha/strncpy.S: Likewise.
3334 * sysdeps/alpha/alphaev6/Implies: New file.
3335 * sysdeps/alpha/alphaev67/Implies: New file.
3336 * sysdeps/alpha/alphaev67/ffs.S: New file.
3337 * sysdeps/alpha/alphaev67/ffsll.S: New file.
3338 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
3339 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
3340 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
3341 * sysdeps/alpha/rawmemchr.S: New file.
3342 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
3343 * sysdeps/alpha/strcpy.S: Likewise.
3346 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
3348 From rick.gorton@alpha-processor.com:
3349 * sysdeps/alpha/alphaev6/memchr.S: New file.
3350 * sysdeps/alpha/alphaev6/memcpy.S: New file.
3351 * sysdeps/alpha/alphaev6/memset.S: New file.
3352 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
3353 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
3354 * sysdeps/alpha/alphaev67/strcat.S: New file.
3355 * sysdeps/alpha/alphaev67/strchr.S: New file.
3356 * sysdeps/alpha/alphaev67/strlen.S: New file.
3357 * sysdeps/alpha/alphaev67/strncat.S: New file.
3358 * sysdeps/alpha/htonl.S: Use a shorter sequence.
3360 2000-12-08 Jakub Jelinek <jakub@redhat.com>
3362 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
3363 Reported by <pspencer@fields.utoronto.ca>.
3365 2000-12-07 Jes Sorensen <jes@linuxcare.com>
3367 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
3368 Pointed out by Hans Boehm.
3370 2000-12-07 H.J. Lu <hjl@gnu.org>
3372 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
3374 2000-12-07 Andreas Jaeger <aj@suse.de>
3376 * misc/error.c: Add format attributes for __error and __error_at_line.
3378 * nscd/dbg_log.h: Add format attribute.
3380 2000-12-08 Ulrich Drepper <drepper@redhat.com>
3382 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
3383 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3385 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
3387 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
3389 2000-12-06 Ulrich Drepper <drepper@redhat.com>
3391 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
3392 (sysdep_routines): Add uitrunc.
3393 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
3394 Patches by Michael Keezer <mkeezer@redhat.com>.
3396 2000-12-06 Roland McGrath <roland@frob.com>
3398 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
3399 argument data, since it will be used to copy out too (for INOUT).
3400 Reported by Marcus Brinkmann <marcus@gnu.org>.
3402 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
3403 (__ioctl): Use uintptr_t instead of unsigned long int.
3405 2000-12-06 Jim Wilson <wilson@redhat.com>
3407 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
3409 2000-12-06 Ulrich Drepper <drepper@redhat.com>
3411 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
3412 x.5 rounding correctly.
3414 2000-12-06 Mark Kettenis <kettenis@gnu.org>
3416 * stdio-common/perror.c (perror): Conditionalize code dealing with
3417 wide-oriented streams on USE_IN_LIBIO.
3419 2000-12-06 Mark Kettenis <kettenis@gnu.org>
3421 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
3422 as internal_function.
3424 2000-12-05 Ulrich Drepper <drepper@redhat.com>
3426 * sysdeps/alpha/elf/start.S (__data_start): Define.
3428 2000-12-05 H.J. Lu <hjl@gnu.org>
3430 * nss/getXXent_r.c (setup): Change the return type to int.
3432 2000-12-05 Ulrich Drepper <drepper@redhat.com>
3434 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
3435 (sysdep_routines): Add restf and savef.
3436 * sysdeps/unix/sysv/aix/restf.c: New file.
3437 * sysdeps/unix/sysv/aix/savef.c: New file.
3438 Patches by Michael Keezer <mkeezer@redhat.com>.
3440 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
3441 if O_DIRECTORY is not defined.
3442 Patch by Michael Keezer <mkeezer@redhat.com>.
3444 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
3445 Patch by Michael Keezer <mkeezer@redhat.com>.
3447 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
3448 than 4 bytes in escape sequence.
3449 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3451 2000-12-05 Andreas Jaeger <aj@suse.de>
3453 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
3456 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
3458 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
3460 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
3461 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3463 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
3465 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
3466 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
3468 * sysdeps/generic/dl-cache.c: Remove declaration of
3469 _dl_sysdep_read_whole_file.
3471 * elf/dl-load.c (_dl_map_object): Remove declaration of
3472 _dl_load_cache_lookup.
3474 * sysdeps/generic/ldsodefs.h: Add declarations of
3475 _dl_load_cache_lookup, _dl_unload_cache,
3476 _dl_sysdep_read_whole_file, _dl_sysdep_start and
3477 _dl_sysdep_start_cleanup.
3479 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
3482 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
3483 * sysdeps/generic/dl-environ.c: Likewise.
3485 * stdio-common/printf_fp.c: Include <gmp.h> instead of
3487 * math/atest-exp.c: Likewise.
3488 * math/atest-exp2.c: Likewise.
3489 * math/atest-sincos.c: Likewise.
3490 * stdio-common/_itoa.c: Likewise.
3491 * stdio-common/_itowa.c: Likewise.
3493 * include/gmp.h: New file with internal prototypes.
3495 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
3497 * include/setjmp.h: ...here.
3499 * locale/Makefile (routines): Remove codeset_name since it's not
3502 * locale/codeset_name.c: Removed.
3504 2000-12-05 Ulrich Drepper <drepper@redhat.com>
3506 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
3508 2000-12-05 Andreas Jaeger <aj@suse.de>
3510 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
3512 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
3514 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
3517 2000-12-05 Andreas Jaeger <aj@suse.de>
3519 * nss/test-netdb.c: Mark local functions as static to avoid
3521 (main): Use return to silence warning.
3523 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
3525 * stdio-common/test-popen.c: Mark local functions as static to
3527 (main): Use return to silence warning.
3529 * stdlib/testsort.c (compare): Mark as static to avoid warning.
3531 * assert/test-assert.c: Mark local functions as static to avoid
3533 * assert/test-assert-perr.c: Likewise.
3535 * math/libm-test.inc (main): Use return to silence warnings.
3537 2000-12-04 Ulrich Drepper <drepper@redhat.com>
3539 * math/fenv.h: Fix typo in comment.
3541 * math/test-misc.c (main): Add a few more over and underflow tests
3544 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
3545 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3546 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3547 * math/w_scalb.c: Don't use matherr except in SVID mode.
3548 * math/w_scalbf.c: Likewise.
3549 * math/w_scalbl.c: Likewise.
3550 * math/test-misc.c: Add test for NaN and scalbl.
3551 Reported by Fred J. Tydeman <tydeman@tybor.com>.
3553 2000-12-04 Ulrich Drepper <drepper@redhat.com>
3555 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
3556 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
3557 * include/libc-symbols.h (strong_alias): Define special version
3558 for HAVE_ASM_GLOBAL_DOT_NAME.
3559 (weak_alias): Likewise.
3560 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
3561 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
3562 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
3563 getutxline, pututxline, and utmpxname.
3564 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
3565 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
3566 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
3567 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
3568 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
3569 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
3570 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
3571 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
3572 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
3573 Patches by Michael Keezer <mkeezer@redhat.com>.
3575 2000-12-04 H.J. Lu <hjl@gnu.org>
3577 * configure.in: Change --with-oldest-abi=ABI to
3578 --enable-oldest-abi=ABI.
3580 2000-12-02 Bruno Haible <haible@clisp.cons.org>
3582 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
3583 fwprintf instead of fprintf.
3585 2000-12-04 Ulrich Drepper <drepper@redhat.com>
3587 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
3588 DECIMAL_DIG definitions.
3589 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
3590 * sysdeps/generic/bits/mathdef.h: Likewise
3591 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
3592 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
3593 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
3594 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
3595 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
3596 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
3598 2000-12-03 Ulrich Drepper <drepper@redhat.com>
3600 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
3602 * math/atest-exp.c: Mark local functions as static to avoid warnings.
3603 * math/atest-exp2.c: Likewise.
3604 * math/atest-sincos.c: Likewise.
3606 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
3607 Reported by Fred J. Tydeman <tydeman@tybor.com>.
3609 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
3610 the handling of denormalized numbers.
3612 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
3614 * sysdeps/i386/fpu/fpclassifyl.c: New file.
3616 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
3617 pseudo denormal representation of LDBL_MIN.
3619 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
3620 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
3622 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
3623 * iconvdata/jis0208.c: Likewise.
3624 * iconvdata/jis0212.c: Likewise.
3625 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3627 * math/test-misc.c (main): More tests for frexp and some for
3628 fpclassify and isnormal.
3630 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
3632 Reported by Fred J. Tydeman <tydeman@tybor.com>.
3634 * math/test-misc.c (main): Add tests for frexp.
3635 Reported by Fred J. Tydeman <tydeman@tybor.com>.
3636 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
3638 2000-12-02 H.J. Lu <hjl@gnu.org>
3640 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
3643 2000-12-02 Ulrich Drepper <drepper@redhat.com>
3645 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
3646 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3647 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3649 * sysdeps/generic/glob.c: Adjust types of several variables to
3652 2000-12-01 Ulrich Drepper <drepper@redhat.com>
3654 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
3656 2000-11-30 Roland McGrath <roland@frob.com>
3658 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
3659 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
3660 allow multiple instances using the same function name in one file.
3662 2000-12-01 Ulrich Drepper <drepper@redhat.com>
3664 * configure.in: Correct test for pserver CVS access.
3666 2000-11-28 H.J. Lu <hjl@gnu.org>
3668 * libio/libio.h: Remove extra "#if ... #endif".
3670 2000-11-29 H.J. Lu <hjl@gnu.org>
3672 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
3674 2000-12-01 H.J. Lu <hjl@gnu.org>
3676 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
3677 * nss/getXXent_r.c: Likewise.
3678 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3680 2000-11-30 H.J. Lu <hjl@gnu.org>
3682 * scripts/abi-versions.awk (oldest_abi): New variable.
3683 Handle the oldest ABI supported.
3685 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
3686 for scripts/abi-versions.awk.
3688 * configure.in: Add --with-oldest-abi=ABI.
3689 * configure: Rebuild.
3691 * config.make.in (oldest-abi): New.
3693 * config.h.in (GLIBC_OLDEST_ABI): New.
3695 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
3697 2000-11-30 Jakub Jelinek <jakub@redhat.com>
3699 * locale/setlocale.c (setname): Free for all categories, not just
3701 (setlocale): Store a copy of string passed by user, not the string
3704 2000-11-30 Roland McGrath <roland@frob.com>
3706 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
3707 rather than _hurd_fd_subinit, so it happens after it's safe to use
3708 libc facilities like malloc.
3710 2000-11-28 Andreas Jaeger <aj@suse.de>
3712 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
3713 declaration, adjust declaration of __syscall_getdents to match
3716 2000-11-29 H.J. Lu <hjl@gnu.org>
3718 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
3720 2000-11-29 Andreas Jaeger <aj@suse.de>
3722 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
3724 2000-11-28 Ulrich Drepper <drepper@redhat.com>
3726 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
3727 * dlfcn/defaultmod2.c: Likewise.
3728 * dlfcn/dlopen.c: Likewise.
3729 * dlfcn/dlopenold.c: Likewise.
3730 * dlfcn/failtestmod.c: Likewise.
3731 * dlfcn/glreflib1.c: Likewise.
3732 * dlfcn/glreflib2.c: Likewise.
3733 * dlfcn/eval.c: Likewise. Add attributes.
3735 * ctype/ctype-extn.c: Define isblank and not __isblank.
3737 * time/strftime.c: Add const where necessary to avoid warnings.
3738 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
3740 2000-11-22 Paul Eggert <eggert@twinsun.com>
3742 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
3743 size of (size_t) -1; it's not portable.
3745 2000-11-28 Ulrich Drepper <drepper@redhat.com>
3747 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
3749 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
3751 2000-11-14 Jes Sorensen <jes@linuxcare.com>
3753 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
3755 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
3756 _mcount is required by profiled binaries.
3758 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
3759 * sysdeps/ia64/machine-gmon.h: ...here.
3761 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
3763 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
3764 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
3766 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
3768 * iconvdata/ibm922.c: New file.
3769 * iconvdata/ibm922.h: New file.
3770 * iconvdata/ibm1124.c: New file.
3771 * iconvdata/ibm1124.h: New file.
3772 * iconvdata/ibm1129.c: New file.
3773 * iconvdata/ibm1129.h: New file.
3774 * iconvdata/testdata/IBM922: New file.
3775 * iconvdata/testdata/IBM922..UTF8: New file.
3776 * iconvdata/testdata/IBM1124: New file.
3777 * iconvdata/testdata/IBM1124..UTF8: New file.
3778 * iconvdata/testdata/IBM1129: New file.
3779 * iconvdata/testdata/IBM1129..UTF8: New file.
3781 2000-11-28 Ulrich Drepper <drepper@redhat.com>
3783 * catgets/gencat.c (normalize_line): Take extra parameter with escape
3784 character. Change callers.
3785 (open_conversion): Determine mapping of 0x5c as wchar_t value.
3786 * catgets/Makefile: Add rules to build and run test-gencat.
3787 * catgets/sample.SJIS: New file.
3788 * catgets/test-gencat.c: New file.
3789 * catgets/test-gencat.sh: New file.
3790 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3792 2000-11-28 Andreas Jaeger <aj@suse.de>
3794 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
3797 2000-11-28 Ulrich Drepper <drepper@redhat.com>
3799 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
3801 2000-11-28 Andreas Jaeger <aj@suse.de>
3803 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
3805 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
3808 2000-11-27 Ulrich Drepper <drepper@redhat.com>
3810 * misc/getusershell.c: Make strings in okshells array const.
3811 * misc/regexp.c: Add const to cast to avoid warnings.
3812 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
3813 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
3815 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
3817 * misc/error.c: Add prototypes for __error and __error_at_line.
3818 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
3819 statement to avoid warning.
3820 * test-skeleton.c: Mark timeout_handler with noreturn.
3821 * iconv/skeleton.c (get16u): Add const to cast.
3823 * iconvdata/gb18030.c: Likewise.
3824 * iconvdata/iso-2022-cn-ext.c: Likewise.
3825 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
3826 * iconvdata/big5.c: Likewise.
3827 * iconvdata/big5hkscs.c: Likewise.
3828 * iconvdata/iso_6937.c: Likewise.
3829 * iconvdata/iso_6937-2.c: Likewise.
3830 * iconvdata/t.61.c: Likewise.
3831 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
3832 * iconvdata/unicode.c: Likewise.
3833 * iconvdata/utf-16.c: Likewise.
3834 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
3835 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
3836 with little code shuffling.
3838 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
3839 the problems introduced when the user selects -O3.
3841 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
3842 * misc/sys/cdefs.h: Define __flexarr.
3843 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
3845 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
3846 * iconv/skeleton.c: Likewise.
3847 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
3848 * iconv/loop.c (get16): Add const to cast.
3851 2000-11-27 Andreas Jaeger <aj@suse.de>
3853 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
3855 * login/programs/utmpdump.c (print_entry): Likewise.
3857 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3859 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
3860 in a single asm as they may be used to access other stored
3862 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3864 2000-11-27 Andreas Jaeger <aj@suse.de>
3866 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
3867 * rt/tst-aio64.c: Likewise.
3869 2000-11-27 Ulrich Drepper <drepper@redhat.com>
3871 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
3873 (libc.cat): Likewise.
3874 * catgets/gencat.c: Implement handling of message catalogs encoded
3875 with stateful character sets.
3876 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3878 2000-11-26 Ulrich Drepper <drepper@redhat.com>
3880 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
3882 * inet/getnameinfo.c: Adjust casts to avoid warnings.
3883 * inet/rcmd.c: Likewise.
3884 * inet/ruserpass.c: Likewise.
3885 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
3886 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3887 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
3888 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
3889 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
3890 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
3891 * include/aliases.h: Add prototypes for internal __getalias* functions.
3892 * include/netdb.h: Add prototypes for __old_gethostent_r,
3893 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
3894 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
3895 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
3896 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
3897 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
3898 __old_getrpcbynumber_r, __old_getrpcent_r.
3900 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
3901 __getrpcent_r prototypes.
3903 2000-11-25 Ulrich Drepper <drepper@redhat.com>
3905 * string/strcoll.c: Add casts to avoid warnings.
3906 * string/strnlen.c: Likewise.
3907 * string/strxfrm.c: Likewise.
3908 * sysdeps/generic/_strerror.c: Likewise.
3909 * sysdeps/generic/memrchr.c: Likewise.
3910 * sysdeps/generic/strcasestr.c: Likewise.
3911 * sysdeps/generic/strstr.c: Likewise.
3913 * locale/weight.h (findidx): Add const to cast to avoid warning.
3915 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
3916 * elf/loadtest.c: Likewise.
3917 * elf/multiload.c: Likewise.
3918 * elf/next.c: Likewise.
3919 * elf/nodelete.c: Likewise.
3920 * elf/noload.c: Likewise.
3921 * elf/order.c: Likewise.
3922 * elf/origtest.c: Likewise.
3923 * elf/preloadtest.c: Likewise.
3924 * elf/restest1.c: Likewise.
3926 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
3927 parameter of asm must be in %ecx.
3929 * string/tester.c: Mark test functions as static to avoid warnings.
3931 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
3932 preserve value over different gconv-modules files.
3934 2000-11-24 Ulrich Drepper <drepper@redhat.com>
3936 * locale/findlocale.c: Add casts to avoid warnings.
3937 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
3938 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
3940 * misc/tsearch.c (const_node): New type.
3941 (trecurse): Correct casts to avoid warnings.
3942 (__twalk): Likewise.
3943 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
3946 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
3948 * test-skeleton.c: Mark local functions as static to avoid warnings.
3950 2000-11-23 H.J. Lu <hjl@gnu.org>
3952 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
3953 support the background job.
3956 2000-11-24 Ulrich Drepper <drepper@redhat.com>
3958 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
3959 has same names but lower cost.
3961 2000-11-23 Jakub Jelinek <jakub@redhat.com>
3963 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
3964 which never occur during bootstrap.
3965 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3967 2000-11-23 Andreas Jaeger <aj@suse.de>
3969 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
3971 * nss/Versions: Remove _nss_files_getipnodebyname_r.
3973 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
3975 2000-11-18 Martin Buchholz <martin@xemacs.org>
3977 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
3980 2000-11-21 Alan Modra <alan@linuxcare.com.au>
3982 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
3984 * csu/abi-note.S: Correct comment for operating system number.
3986 2000-11-22 Ulrich Drepper <drepper@redhat.com>
3988 * Versions.def: Add GLIBC_2.2.1 for glibc.
3990 2000-11-22 Andreas Schwab <schwab@suse.de>
3992 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
3993 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
3995 2000-11-22 Ulrich Drepper <drepper@redhat.com>
3997 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
3998 absolute time for pthread_cond_timedwait call.
3999 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
4001 * rt/Makefile (tests): Add tst-aio6.
4002 * rt/tst-aio6.c: New file.
4004 2000-11-23 Andreas Jaeger <aj@suse.de>
4006 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
4008 2000-11-22 Andreas Jaeger <aj@suse.de>
4010 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
4012 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
4014 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
4016 2000-11-21 Andreas Schwab <schwab@suse.de>
4018 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
4019 * sysdeps/arm/setjmp.S: Likewise.
4020 * sysdeps/arm/fpu/setjmp.S: Likewise.
4021 * sysdeps/i386/setjmp.S: Likewise.
4022 * sysdeps/i386/elf/setjmp.S: Likewise.
4023 * sysdeps/s390/setjmp.S: Likewise.
4024 * sysdeps/s390/elf/setjmp.S: Likewise.
4025 * sysdeps/sh/sh3/setjmp.S: Likewise.
4026 * sysdeps/sh/sh4/setjmp.S: Likewise.
4027 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
4028 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4029 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
4030 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
4032 2000-11-21 Andreas Jaeger <aj@suse.de>
4034 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
4035 NORETURN, fix parameter list.
4037 * string/bug-strncat1.c (main): Fix typo.
4038 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
4040 2000-11-20 Ulrich Drepper <drepper@redhat.com>
4042 * configure.in: Add --enable-all-warnings.
4043 * config.make.in (all-warnings): New variable.
4044 * Makeconfig (+gccwarn): Define with many more warnings if
4045 all-warnings is yes.
4047 2000-11-20 Jakub Jelinek <jakub@redhat.com>
4049 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
4050 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
4051 * malloc/tst-valloc.c (main): Cast valloc return value to long.
4052 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
4053 * math/test-fpucw.c (main): Use %lx in format string, cast
4054 control words to long.
4055 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
4056 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
4057 large that it is unsigned warning.
4059 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
4060 it to long on sparc64.
4062 2000-11-20 Andreas Jaeger <aj@suse.de>
4064 * nscd/nscd.h (termination_handler): Add noreturn attribute.
4065 (receiv_print_stats): Likewise.
4067 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
4069 2000-11-20 Ulrich Drepper <drepper@redhat.com>
4071 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
4073 * csu/gmon-start.c: Always have prototype for __gmon_start.
4074 * csu/version.c: Add prototypes for __libc_print_version and
4076 * iconv/gconv.c: Include gconv_int.h and gconv.h.
4077 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
4079 * iconv/gconv_builtin.h: Add ASCII module definitions.
4080 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
4081 (add_module): Add cast to avoid warning. Rework construction of
4082 strings for new module.
4083 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
4084 (derivation_compare): Likewise.
4085 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
4086 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
4087 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
4088 (struct gconv_alias): Remove const from fromname and toname.
4089 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
4091 (internal_ucs4_loop): Use correct const-ness.
4092 (ucs4_internal_loop): Likewise.
4093 (internal_ucs4le_loop): Likewise.
4094 (ucs4le_internal_loop_single): Likewise.
4095 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
4096 to_idx, to_tbl, winbuf, winbufend const. Change casts in
4097 assignments appropriately.
4098 (struct known_trans): Remove const from fname.
4099 (trans_compare): Make s1 and s2 const.
4100 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
4102 * iconv/skeleton.c: Remove cast in calls of loop functions.
4103 * iconvdata/gconv-modules: Remove US-ASCII definitions.
4104 * iconvdata/iso646.c: Remove US_ASCII support.
4105 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
4106 * include/unistd.h: Add __libc_check_standard_fds prototype.
4107 * string/bits/string2.h (__mempcpy_args): Add const to casts.
4108 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
4110 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
4111 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
4112 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
4114 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
4115 __libc_init_first and _dl_start.
4116 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
4117 (DCIGETTEXT): Make domaindata variable const.
4118 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
4121 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
4123 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
4125 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
4126 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
4129 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
4130 value defined in /usr/include/asm-mips/fcntl.h.
4132 2000-11-18 Ulrich Drepper <drepper@redhat.com>
4134 * stdio-common/Makefile (tests): Add test-vfprintf.
4135 (test-vfprintf-ENV): New variable.
4136 * stdio-common/test-vfprintf.c: New file.
4138 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
4140 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
4141 (tst-mbrtowc-ENV): New variable.
4142 (tst-wcrtomb-ENV): New variable.
4143 * wcsmbs/tst-mbrtowc.c: New file.
4144 * wcsmbs/tst-wcrtomb.c: New file.
4146 2000-11-16 Andreas Jaeger <aj@suse.de>
4148 * manual/install.texi (Tools for Compilation): Update
4149 documentation for GCC 2.95.2.
4151 2000-11-18 Ulrich Drepper <drepper@redhat.com>
4153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
4154 if IPv4 and IPv6 requests timed out.
4156 2000-11-18 Akim Demaille <akim@epita.fr>
4158 * malloc/obstack.h: Formatting changes.
4159 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
4160 prevents type checking.
4161 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
4162 cast the value to (void *): assigning a `foo *' to a `void *'
4164 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
4166 2000-11-17 Ulrich Drepper <drepper@redhat.com>
4168 * scripts/config.guess: Update from upstream maintainer.
4169 * scripts/config.sub: Likewise.
4171 2000-11-16 Ulrich Drepper <drepper@redhat.com>
4173 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
4174 * libio/freopen64.c (freopen64): Likewise.
4175 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4177 * libio/Makefile: Add rules to build and run test-freopen.
4178 * libio/test-freopen.c: New file.
4179 * libio/test-freopen.sh: New file.
4181 2000-11-15 H.J. Lu <hjl@gnu.org>
4183 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
4184 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
4185 (DL_DT_FINI_ADDRESS): Likewise.
4187 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
4188 return type to ElfW(Addr).
4189 (_dl_function_address): New prototype.
4190 (DL_FUNCTION_ADDRESS): Defined.
4191 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
4192 (DL_DT_FINI_ADDRESS): Likewise.
4194 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
4196 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
4197 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
4199 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
4200 (_dl_function_address): This.
4202 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
4203 function pointer for DT_FINI.
4204 * elf/dl-close.c (_dl_close): Likewise.
4206 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
4207 function pointer for DT_INIT.
4209 2000-11-16 Jakub Jelinek <jakub@redhat.com>
4211 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
4212 end of wexpbuf buffer.
4214 2000-11-16 Andreas Jaeger <aj@suse.de>
4216 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
4217 definition of F_GETLK, F_SETLK, F_SETLKW.
4219 2000-11-16 Andreas Jaeger <aj@suse.de>
4221 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
4224 2000-11-15 Jakub Jelinek <jakub@redhat.com>
4226 * dlfcn/default.c (main): Add test for dladdr of main returning
4227 argv[0] in dli_fname field.
4229 2000-11-15 Jakub Jelinek <jakub@redhat.com>
4231 * Makeconfig (run-program-prefix): Move test-static test into the
4234 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
4235 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
4236 schedule instructions.
4237 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
4238 schedule instructions, fix a bug in copying auxiliary data.
4240 2000-11-15 Ulrich Drepper <drepper@redhat.com>
4242 * manual/startup.texi (Program Arguments): Fix type of main's envp
4244 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
4246 * iconvdata/gconv-modules: Add CP950 alias.
4248 2000-11-13 Jakub Jelinek <jakub@redhat.com>
4250 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
4251 syscall-list.h goal.
4252 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
4254 2000-11-15 Ulrich Drepper <drepper@redhat.com>
4256 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
4258 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
4261 * intl/tst-gettext2.c: Set C locale if setting other locale
4262 failed. Use gettext() not _().
4264 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
4265 successfully loaded a new locale.
4267 2000-11-13 Andreas Jaeger <aj@suse.de>
4269 * configure.in: Require gcc 2.95 or newer.
4271 2000-11-15 Ulrich Drepper <drepper@redhat.com>
4273 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
4274 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
4276 2000-11-11 Jim Meyering <meyering@lucent.com>
4278 * string/strndup.c (strndup): Cast return value to `char *'.
4280 2000-11-15 Jim Meyering <meyering@ascend.com>
4282 * sysdeps/generic/memchr.c: Remove some useless parentheses.
4283 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
4284 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
4285 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
4286 Also #undef __memchr.
4287 Use `weak_alias' only if it's defined.
4289 2000-11-10 H.J. Lu <hjl@gnu.org>
4291 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
4293 2000-11-15 Andreas Jaeger <aj@suse.de>
4295 * elf/chroot_canon.c: Include <stdint.h>.
4297 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
4298 (print_entry): Likewise.
4299 (add_to_cache): Likewise.
4301 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
4303 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
4304 (path_hwcap): Likewise.
4305 (search_dir): Likewise.
4307 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
4309 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
4311 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
4312 (_dl_platform_string): New.
4313 (_DL_HWCAP_PLATFORM): New.
4314 (_dl_string_platform): New.
4315 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4317 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4318 (_dl_string_platform): New.
4319 (_DL_HWCAP_PLATFORM): New.
4320 (_dl_platform_string): New.
4322 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
4324 (_DL_HWCAP_COUNT): New.
4325 (_dl_string_platform): New.
4326 (_DL_HWCAP_PLATFORM): New.
4327 (_dl_platform_string): New.
4329 2000-11-14 Ulrich Drepper <drepper@redhat.com>
4331 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
4333 2000-11-14 Andreas Jaeger <aj@suse.de>
4335 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
4337 2000-11-13 Roland McGrath <roland@frob.com>
4339 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
4341 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
4343 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
4344 underrun and make sure the result is null terminated even if there
4345 is no trailing newline.
4347 2000-11-13 Jakub Jelinek <jakub@redhat.com>
4349 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4351 2000-11-10 H.J. Lu <hjl@gnu.org>
4353 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
4355 2000-11-10 Andreas Jaeger <aj@suse.de>
4357 * elf/ldconfig.c (create_links): Fix alloca calculation.
4358 Patch by Ben Collins <bcollins@debian.org>.
4360 2000-11-09 Ulrich Drepper <drepper@redhat.com>
4362 * inet/getnameinfo.c (getnameinfo): Use correct destination
4363 parameter for if_indextoname.
4364 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
4366 2000-11-09 H.J. Lu <hjl@gnu.org>
4368 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
4369 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
4370 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
4373 * time/Versions (GLIBC_2.1): Move getitimer to...
4374 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
4376 2000-11-03 Bruno Haible <haible@clisp.cons.org>
4378 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
4379 "make install", to work around a binary incompatibility between
4380 glibc 2.1 and glibc 2.2 gconv modules.
4382 2000-11-09 Ulrich Drepper <drepper@redhat.com>
4384 * intl/locale.alias: Add thai.
4385 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
4387 2000-11-07 Akim Demaille <akim@epita.fr>
4389 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
4390 argument `data' for consistency with the prototypes.
4392 (obstack_copy, obstack_copy0): Rename the second argument as
4393 `address' for consistency. Qualify it `const'.
4394 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
4395 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
4396 `const' their input argument (`data' or `address').
4397 Adjust the corresponding macros to include `const' in casts.
4399 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
4401 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
4404 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
4406 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
4409 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
4411 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
4412 ai_protocol by internal table if service was not given.
4414 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
4416 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
4417 numerical port was specified with protocol without socktype.
4419 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
4421 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
4423 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
4425 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
4427 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
4429 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
4430 sin6_scope_id field.
4432 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
4434 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
4436 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
4438 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
4440 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
4442 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
4443 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
4445 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
4447 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
4448 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
4450 2000-11-09 H.J. Lu <hjl@gnu.org>
4452 * io/Versions (GLIBC_2.1.1): Remove lockf64.
4455 See ChangeLog.11 for earlier changes.