1 2000-12-17 Andreas Jaeger <aj@suse.de>
3 * elf/vismain.c: Move prototypes for functions in vismod*.c to
5 * elf/vismod.h: New file.
6 * elf/Makefile (distribute): Add vismod.h.
7 * elf/vismod1.c: Include vismod.h.
8 * elf/vismod2.c: Likewise.
9 * elf/vismod3.c: Likewise.
11 * elf/constload3.c: Add prototype declarations to shut up gcc.
12 * elf/failobj.c: Likewise.
13 * elf/nodelmod3.c: Likewise.
14 * elf/filtmod1.c: Likewise.
15 * elf/filtmod2.c: Likewise.
16 * elf/reldepmod1.c: Likewise.
17 * elf/reldepmod2.c: Likewise.
18 * elf/reldepmod3.c: Likewise.
19 * elf/reldepmod4.c: Likewise.
20 * elf/unload2dep.c: Likewise.
21 * elf/unload2mod.c: Likewise.
22 * elf/ltglobmod1.c: Likewise.
23 * elf/pathoptobj.c: Likewise.
25 * locale/programs/ld-collate.c (collate_finish): Don't use labels
26 at end of compound statement.
27 * locale/programs/locale.c (show_info): Likewise.
28 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
30 2000-12-16 Jakub Jelinek <jakub@redhat.com>
32 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
33 with a pointer not returned by obstack_ functions.
35 2000-12-16 Ulrich Drepper <drepper@redhat.com>
37 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
39 (struct stat64): Likewise.
40 Reported by Michael Keezer <mkeezer@redhat.com>.
42 * timezone/asia: Update from tzdata2000h.
43 * timezone/australasia: Likewise.
44 * timezone/backward: Likewise.
45 * timezone/europe: Likewise.
46 * timezone/northamerica: Likewise.
47 * timezone/southamerica: Likewise.
48 * timezone/zone.tab: Likewise.
50 2000-12-14 Jakub Jelinek <jakub@redhat.com>
52 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
53 and dir.stream is NULL, only free dir.content.
54 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
55 * io/ftwtest-sh: Test with --early-exit.
57 2000-12-13 Jakub Jelinek <jakub@redhat.com>
59 * misc/efgcvt.c (FCVT_MAXDIG): Define.
60 (FCVT_BUFPTR): New variable.
61 (fcvt): If fcvt_r returns -1 on the static short buffer,
62 try to malloc a sufficiently large one and retry.
63 (free_mem): New function.
64 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
65 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
67 2000-12-15 Ulrich Drepper <drepper@redhat.com>
69 * misc/dirname.c (dirname): Fix search for second to last slash.
71 2000-12-13 Andreas Jaeger <aj@suse.de>
73 * misc/tst-dirname.c (main): Fix typo in test to really use
74 the examples from Unix98.
75 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
77 2000-12-09 H.J. Lu <hjl@gnu.org>
79 * sysdeps/ia64/fpu/s_fabs.S: New file.
80 * sysdeps/ia64/fpu/s_fabsf.S: New file.
81 * sysdeps/ia64/fpu/s_fabsl.S: New file.
83 2000-12-15 Andreas Jaeger <aj@suse.de>
85 * stdio-common/scanf9.c (main): Reformat and change to avoid
88 * stdio-common/tstdiomisc.c: Make local functions static.
89 * stdio-common/tst-printf.c: Likewise.
91 * elf/constload2.c: Add prototype declarations to shut up gcc.
92 * elf/dep1.c: Likewise.
93 * elf/dep2.c: Likewise.
94 * elf/dep3.c: Likewise.
95 * elf/dep4.c: Likewise.
96 * elf/ltglobmod2.c: Likewise.
98 * libio/fmemopen.c: Make local functions static.
100 * elf/Makefile (distribute): Added testobj.h.
102 * elf/testobj.h: New file.
104 * elf/testobj1.c: Include testobj.h and move prototype
105 declarations to testobj.h.
106 * elf/testobj2.c: Likewise.
107 * elf/testobj3.c: Likewise.
108 * elf/testobj4.c: Likewise.
109 * elf/testobj5.c: Likewise.
110 * elf/testobj6.c: Likewise.
111 * elf/testobj1_1.c: Likewise.
112 * elf/preloadtest.c: Likewise.
114 2000-12-15 Ben Collins <bcollins@debian.org>
116 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
117 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
119 2000-12-14 H.J. Lu <hjl@gnu.org>
121 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
122 field in a float is 8 bits, not 11 bits.
124 2000-12-13 Jakub Jelinek <jakub@redhat.com>
126 * math/test-misc.c (main): Adjust m for IEEE quad long double.
128 2000-12-13 Andreas Jaeger <aj@suse.de>
130 * manual/message.texi (Using gettextized software): Fix typo.
132 * manual/charset.texi (Converting a Character): Fix mbstouwcs
134 Patch by Martin Buchholz <martin@xemacs.org>.
136 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
137 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
139 2000-12-11 Andreas Jaeger <aj@suse.de>
141 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
142 kernel_sigset_t and use it.
143 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
145 2000-12-10 Richard Henderson <rth@redhat.com>
147 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
148 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
149 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
151 2000-12-10 Jakub Jelinek <jakub@redhat.com>
153 * sysdeps/alpha/htonl.S: Fix a typo.
155 2000-12-10 Jakub Jelinek <jakub@redhat.com>
157 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
159 2000-12-10 Andreas Jaeger <aj@suse.de>
161 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
162 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
163 Drepper <drepper@redhat.com>.
165 2000-12-09 Andreas Jaeger <aj@suse.de>
167 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
169 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
171 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
173 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
176 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
179 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
180 * nscd/connections.c (handle_request): Likewise.
181 * nscd/pwdcache.c (addpwbyname): Likewise.
182 * nscd/grpcache.c (addgrbyname): Likewise.
184 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
186 2000-12-09 Ulrich Drepper <drepper@redhat.com>
188 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
190 * Makeconfig (default_cflags): Make -O2 the default for stable
193 2000-12-08 H.J. Lu <hjl@gnu.org>
195 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
196 * sysdeps/ia64/fpu/s_isinf.S: This.
197 Add a .pred.rel.mutex note to avoid false report.
199 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
200 * sysdeps/ia64/fpu/s_isnan.S: This.
202 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
203 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
204 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
205 * sysdeps/ia64/fpu/s_isinff.S: New file.
206 * sysdeps/ia64/fpu/s_isinfl.S: New file.
207 * sysdeps/ia64/fpu/s_isnanf.S: New file.
208 * sysdeps/ia64/fpu/s_isnanl.S: New file.
209 * sysdeps/ia64/fpu/s_finite.S: New file.
210 * sysdeps/ia64/fpu/s_finitef.S: New file.
211 * sysdeps/ia64/fpu/s_finitel.S: New file.
212 * sysdeps/ia64/fpu/s_signbit.S: New file.
213 * sysdeps/ia64/fpu/s_signbitf.S: New file.
214 * sysdeps/ia64/fpu/s_signbitl.S: New file.
215 * sysdeps/ia64/fpu/s_copysign.S: New file.
216 * sysdeps/ia64/fpu/s_copysignf.S: New file.
217 * sysdeps/ia64/fpu/s_copysignl.S: New file.
219 2000-12-08 Ulrich Drepper <drepper@redhat.com>
221 * math/libm-test.inc (main): Fix typos in messages.
223 * string/stratcliff.c: Add test for rawmemchr.
225 2000-12-08 Jakub Jelinek <jakub@redhat.com>
227 * elf/dl-open.c (_dl_open): If objname points right after errstring,
228 allocate it together with errstring using alloca.
229 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
230 to "", because it might point to local stack.
232 2000-12-05 H.J. Lu <hjl@gnu.org>
234 * nss/Makefile (routines): Add getnssent and getnssent_r.
235 * nss/nsswitch.h (__nss_setent): New internal NSS function.
236 (__nss_endent): Likewise.
237 (__nss_getent_r): Likewise.
238 (__nss_getent): Likewise.
239 * nss/getnssent_r.c: New file.
240 * nss/getnssent.c: New file.
241 * nss/getXXent.c (H_ERRNO_VAR): Updated.
242 (GETFUNC_NAME): Updated to call __nss_getent ().
243 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
244 (STAYOPEN_TMPVAR): Updated.
245 (STAYOPEN_VAR): Updated.
246 (SETFUNC_NAME): Updated to call __nss_setent ().
247 (ENDFUNC_NAME): Updated to call __nss_endent ().
248 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
250 2000-12-08 Andreas Jaeger <aj@suse.de>
252 * nscd/dbg_log.h (dbg_log): Correct attribute.
254 2000-12-08 Jakub Jelinek <jakub@redhat.com>
256 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
257 cp + len. Compute where from dirname.
258 Reported by <jreiser@BitWagon.com>.
260 2000-12-08 Richard Henderson <rth@twiddle.net>
262 * sysdeps/alpha/_mcount.S: Fix typo.
263 * sysdeps/alpha/strncpy.S: Likewise.
265 * sysdeps/alpha/alphaev6/Implies: New file.
266 * sysdeps/alpha/alphaev67/Implies: New file.
267 * sysdeps/alpha/alphaev67/ffs.S: New file.
268 * sysdeps/alpha/alphaev67/ffsll.S: New file.
269 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
270 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
271 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
272 * sysdeps/alpha/rawmemchr.S: New file.
273 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
274 * sysdeps/alpha/strcpy.S: Likewise.
277 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
279 From rick.gorton@alpha-processor.com:
280 * sysdeps/alpha/alphaev6/memchr.S: New file.
281 * sysdeps/alpha/alphaev6/memcpy.S: New file.
282 * sysdeps/alpha/alphaev6/memset.S: New file.
283 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
284 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
285 * sysdeps/alpha/alphaev67/strcat.S: New file.
286 * sysdeps/alpha/alphaev67/strchr.S: New file.
287 * sysdeps/alpha/alphaev67/strlen.S: New file.
288 * sysdeps/alpha/alphaev67/strncat.S: New file.
289 * sysdeps/alpha/htonl.S: Use a shorter sequence.
291 2000-12-08 Jakub Jelinek <jakub@redhat.com>
293 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
294 Reported by <pspencer@fields.utoronto.ca>.
296 2000-12-07 Jes Sorensen <jes@linuxcare.com>
298 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
299 Pointed out by Hans Boehm.
301 2000-12-07 H.J. Lu <hjl@gnu.org>
303 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
305 2000-12-07 Andreas Jaeger <aj@suse.de>
307 * misc/error.c: Add format attributes for __error and __error_at_line.
309 * nscd/dbg_log.h: Add format attribute.
311 2000-12-08 Ulrich Drepper <drepper@redhat.com>
313 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
314 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
316 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
318 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
320 2000-12-06 Ulrich Drepper <drepper@redhat.com>
322 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
323 (sysdep_routines): Add uitrunc.
324 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
325 Patches by Michael Keezer <mkeezer@redhat.com>.
327 2000-12-06 Roland McGrath <roland@frob.com>
329 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
330 argument data, since it will be used to copy out too (for INOUT).
331 Reported by Marcus Brinkmann <marcus@gnu.org>.
333 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
334 (__ioctl): Use uintptr_t instead of unsigned long int.
336 2000-12-06 Jim Wilson <wilson@redhat.com>
338 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
340 2000-12-06 Ulrich Drepper <drepper@redhat.com>
342 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
343 x.5 rounding correctly.
345 2000-12-06 Mark Kettenis <kettenis@gnu.org>
347 * stdio-common/perror.c (perror): Conditionalize code dealing with
348 wide-oriented streams on USE_IN_LIBIO.
350 2000-12-06 Mark Kettenis <kettenis@gnu.org>
352 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
353 as internal_function.
355 2000-12-05 Ulrich Drepper <drepper@redhat.com>
357 * sysdeps/alpha/elf/start.S (__data_start): Define.
359 2000-12-05 H.J. Lu <hjl@gnu.org>
361 * nss/getXXent_r.c (setup): Change the return type to int.
363 2000-12-05 Ulrich Drepper <drepper@redhat.com>
365 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
366 (sysdep_routines): Add restf and savef.
367 * sysdeps/unix/sysv/aix/restf.c: New file.
368 * sysdeps/unix/sysv/aix/savef.c: New file.
369 Patches by Michael Keezer <mkeezer@redhat.com>.
371 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
372 if O_DIRECTORY is not defined.
373 Patch by Michael Keezer <mkeezer@redhat.com>.
375 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
376 Patch by Michael Keezer <mkeezer@redhat.com>.
378 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
379 than 4 bytes in escape sequence.
380 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
382 2000-12-05 Andreas Jaeger <aj@suse.de>
384 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
387 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
389 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
391 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
392 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
394 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
396 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
397 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
399 * sysdeps/generic/dl-cache.c: Remove declaration of
400 _dl_sysdep_read_whole_file.
402 * elf/dl-load.c (_dl_map_object): Remove declaration of
403 _dl_load_cache_lookup.
405 * sysdeps/generic/ldsodefs.h: Add declarations of
406 _dl_load_cache_lookup, _dl_unload_cache,
407 _dl_sysdep_read_whole_file, _dl_sysdep_start and
408 _dl_sysdep_start_cleanup.
410 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
413 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
414 * sysdeps/generic/dl-environ.c: Likewise.
416 * stdio-common/printf_fp.c: Include <gmp.h> instead of
418 * math/atest-exp.c: Likewise.
419 * math/atest-exp2.c: Likewise.
420 * math/atest-sincos.c: Likewise.
421 * stdio-common/_itoa.c: Likewise.
422 * stdio-common/_itowa.c: Likewise.
424 * include/gmp.h: New file with internal prototypes.
426 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
428 * include/setjmp.h: ...here.
430 * locale/Makefile (routines): Remove codeset_name since it's not
433 * locale/codeset_name.c: Removed.
435 2000-12-05 Ulrich Drepper <drepper@redhat.com>
437 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
439 2000-12-05 Andreas Jaeger <aj@suse.de>
441 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
443 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
445 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
448 2000-12-05 Andreas Jaeger <aj@suse.de>
450 * nss/test-netdb.c: Mark local functions as static to avoid
452 (main): Use return to silence warning.
454 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
456 * stdio-common/test-popen.c: Mark local functions as static to
458 (main): Use return to silence warning.
460 * stdlib/testsort.c (compare): Mark as static to avoid warning.
462 * assert/test-assert.c: Mark local functions as static to avoid
464 * assert/test-assert-perr.c: Likewise.
466 * math/libm-test.inc (main): Use return to silence warnings.
468 2000-12-04 Ulrich Drepper <drepper@redhat.com>
470 * math/fenv.h: Fix typo in comment.
472 * math/test-misc.c (main): Add a few more over and underflow tests
475 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
476 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
477 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
478 * math/w_scalb.c: Don't use matherr except in SVID mode.
479 * math/w_scalbf.c: Likewise.
480 * math/w_scalbl.c: Likewise.
481 * math/test-misc.c: Add test for NaN and scalbl.
482 Reported by Fred J. Tydeman <tydeman@tybor.com>.
484 2000-12-04 Ulrich Drepper <drepper@redhat.com>
486 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
487 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
488 * include/libc-symbols.h (strong_alias): Define special version
489 for HAVE_ASM_GLOBAL_DOT_NAME.
490 (weak_alias): Likewise.
491 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
492 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
493 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
494 getutxline, pututxline, and utmpxname.
495 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
496 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
497 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
498 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
499 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
500 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
501 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
502 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
503 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
504 Patches by Michael Keezer <mkeezer@redhat.com>.
506 2000-12-04 H.J. Lu <hjl@gnu.org>
508 * configure.in: Change --with-oldest-abi=ABI to
509 --enable-oldest-abi=ABI.
511 2000-12-02 Bruno Haible <haible@clisp.cons.org>
513 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
514 fwprintf instead of fprintf.
516 2000-12-04 Ulrich Drepper <drepper@redhat.com>
518 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
519 DECIMAL_DIG definitions.
520 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
521 * sysdeps/generic/bits/mathdef.h: Likewise
522 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
523 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
524 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
525 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
526 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
527 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
529 2000-12-03 Ulrich Drepper <drepper@redhat.com>
531 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
533 * math/atest-exp.c: Mark local functions as static to avoid warnings.
534 * math/atest-exp2.c: Likewise.
535 * math/atest-sincos.c: Likewise.
537 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
538 Reported by Fred J. Tydeman <tydeman@tybor.com>.
540 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
541 the handling of denormalized numbers.
543 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
545 * sysdeps/i386/fpu/fpclassifyl.c: New file.
547 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
548 pseudo denormal representation of LDBL_MIN.
550 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
551 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
553 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
554 * iconvdata/jis0208.c: Likewise.
555 * iconvdata/jis0212.c: Likewise.
556 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
558 * math/test-misc.c (main): More tests for frexp and some for
559 fpclassify and isnormal.
561 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
563 Reported by Fred J. Tydeman <tydeman@tybor.com>.
565 * math/test-misc.c (main): Add tests for frexp.
566 Reported by Fred J. Tydeman <tydeman@tybor.com>.
567 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
569 2000-12-02 H.J. Lu <hjl@gnu.org>
571 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
574 2000-12-02 Ulrich Drepper <drepper@redhat.com>
576 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
577 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
578 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
580 * sysdeps/generic/glob.c: Adjust types of several variables to
583 2000-12-01 Ulrich Drepper <drepper@redhat.com>
585 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
587 2000-11-30 Roland McGrath <roland@frob.com>
589 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
590 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
591 allow multiple instances using the same function name in one file.
593 2000-12-01 Ulrich Drepper <drepper@redhat.com>
595 * configure.in: Correct test for pserver CVS access.
597 2000-11-28 H.J. Lu <hjl@gnu.org>
599 * libio/libio.h: Remove extra "#if ... #endif".
601 2000-11-29 H.J. Lu <hjl@gnu.org>
603 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
605 2000-12-01 H.J. Lu <hjl@gnu.org>
607 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
608 * nss/getXXent_r.c: Likewise.
609 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
611 2000-11-30 H.J. Lu <hjl@gnu.org>
613 * scripts/abi-versions.awk (oldest_abi): New variable.
614 Handle the oldest ABI supported.
616 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
617 for scripts/abi-versions.awk.
619 * configure.in: Add --with-oldest-abi=ABI.
620 * configure: Rebuild.
622 * config.make.in (oldest-abi): New.
624 * config.h.in (GLIBC_OLDEST_ABI): New.
626 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
628 2000-11-30 Jakub Jelinek <jakub@redhat.com>
630 * locale/setlocale.c (setname): Free for all categories, not just
632 (setlocale): Store a copy of string passed by user, not the string
635 2000-11-30 Roland McGrath <roland@frob.com>
637 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
638 rather than _hurd_fd_subinit, so it happens after it's safe to use
639 libc facilities like malloc.
641 2000-11-28 Andreas Jaeger <aj@suse.de>
643 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
644 declaration, adjust declaration of __syscall_getdents to match
647 2000-11-29 H.J. Lu <hjl@gnu.org>
649 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
651 2000-11-29 Andreas Jaeger <aj@suse.de>
653 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
655 2000-11-28 Ulrich Drepper <drepper@redhat.com>
657 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
658 * dlfcn/defaultmod2.c: Likewise.
659 * dlfcn/dlopen.c: Likewise.
660 * dlfcn/dlopenold.c: Likewise.
661 * dlfcn/failtestmod.c: Likewise.
662 * dlfcn/glreflib1.c: Likewise.
663 * dlfcn/glreflib2.c: Likewise.
664 * dlfcn/eval.c: Likewise. Add attributes.
666 * ctype/ctype-extn.c: Define isblank and not __isblank.
668 * time/strftime.c: Add const where necessary to avoid warnings.
669 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
671 2000-11-22 Paul Eggert <eggert@twinsun.com>
673 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
674 size of (size_t) -1; it's not portable.
676 2000-11-28 Ulrich Drepper <drepper@redhat.com>
678 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
680 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
682 2000-11-14 Jes Sorensen <jes@linuxcare.com>
684 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
686 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
687 _mcount is required by profiled binaries.
689 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
690 * sysdeps/ia64/machine-gmon.h: ...here.
692 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
694 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
695 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
697 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
699 * iconvdata/ibm922.c: New file.
700 * iconvdata/ibm922.h: New file.
701 * iconvdata/ibm1124.c: New file.
702 * iconvdata/ibm1124.h: New file.
703 * iconvdata/ibm1129.c: New file.
704 * iconvdata/ibm1129.h: New file.
705 * iconvdata/testdata/IBM922: New file.
706 * iconvdata/testdata/IBM922..UTF8: New file.
707 * iconvdata/testdata/IBM1124: New file.
708 * iconvdata/testdata/IBM1124..UTF8: New file.
709 * iconvdata/testdata/IBM1129: New file.
710 * iconvdata/testdata/IBM1129..UTF8: New file.
712 2000-11-28 Ulrich Drepper <drepper@redhat.com>
714 * catgets/gencat.c (normalize_line): Take extra parameter with escape
715 character. Change callers.
716 (open_conversion): Determine mapping of 0x5c as wchar_t value.
717 * catgets/Makefile: Add rules to build and run test-gencat.
718 * catgets/sample.SJIS: New file.
719 * catgets/test-gencat.c: New file.
720 * catgets/test-gencat.sh: New file.
721 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
723 2000-11-28 Andreas Jaeger <aj@suse.de>
725 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
728 2000-11-28 Ulrich Drepper <drepper@redhat.com>
730 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
732 2000-11-28 Andreas Jaeger <aj@suse.de>
734 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
736 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
739 2000-11-27 Ulrich Drepper <drepper@redhat.com>
741 * misc/getusershell.c: Make strings in okshells array const.
742 * misc/regexp.c: Add const to cast to avoid warnings.
743 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
744 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
746 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
748 * misc/error.c: Add prototypes for __error and __error_at_line.
749 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
750 statement to avoid warning.
751 * test-skeleton.c: Mark timeout_handler with noreturn.
752 * iconv/skeleton.c (get16u): Add const to cast.
754 * iconvdata/gb18030.c: Likewise.
755 * iconvdata/iso-2022-cn-ext.c: Likewise.
756 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
757 * iconvdata/big5.c: Likewise.
758 * iconvdata/big5hkscs.c: Likewise.
759 * iconvdata/iso_6937.c: Likewise.
760 * iconvdata/iso_6937-2.c: Likewise.
761 * iconvdata/t.61.c: Likewise.
762 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
763 * iconvdata/unicode.c: Likewise.
764 * iconvdata/utf-16.c: Likewise.
765 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
766 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
767 with little code shuffling.
769 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
770 the problems introduced when the user selects -O3.
772 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
773 * misc/sys/cdefs.h: Define __flexarr.
774 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
776 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
777 * iconv/skeleton.c: Likewise.
778 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
779 * iconv/loop.c (get16): Add const to cast.
782 2000-11-27 Andreas Jaeger <aj@suse.de>
784 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
786 * login/programs/utmpdump.c (print_entry): Likewise.
788 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
790 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
791 in a single asm as they may be used to access other stored
793 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
795 2000-11-27 Andreas Jaeger <aj@suse.de>
797 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
798 * rt/tst-aio64.c: Likewise.
800 2000-11-27 Ulrich Drepper <drepper@redhat.com>
802 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
804 (libc.cat): Likewise.
805 * catgets/gencat.c: Implement handling of message catalogs encoded
806 with stateful character sets.
807 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
809 2000-11-26 Ulrich Drepper <drepper@redhat.com>
811 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
813 * inet/getnameinfo.c: Adjust casts to avoid warnings.
814 * inet/rcmd.c: Likewise.
815 * inet/ruserpass.c: Likewise.
816 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
817 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
818 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
819 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
820 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
821 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
822 * include/aliases.h: Add prototypes for internal __getalias* functions.
823 * include/netdb.h: Add prototypes for __old_gethostent_r,
824 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
825 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
826 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
827 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
828 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
829 __old_getrpcbynumber_r, __old_getrpcent_r.
831 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
832 __getrpcent_r prototypes.
834 2000-11-25 Ulrich Drepper <drepper@redhat.com>
836 * string/strcoll.c: Add casts to avoid warnings.
837 * string/strnlen.c: Likewise.
838 * string/strxfrm.c: Likewise.
839 * sysdeps/generic/_strerror.c: Likewise.
840 * sysdeps/generic/memrchr.c: Likewise.
841 * sysdeps/generic/strcasestr.c: Likewise.
842 * sysdeps/generic/strstr.c: Likewise.
844 * locale/weight.h (findidx): Add const to cast to avoid warning.
846 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
847 * elf/loadtest.c: Likewise.
848 * elf/multiload.c: Likewise.
849 * elf/next.c: Likewise.
850 * elf/nodelete.c: Likewise.
851 * elf/noload.c: Likewise.
852 * elf/order.c: Likewise.
853 * elf/origtest.c: Likewise.
854 * elf/preloadtest.c: Likewise.
855 * elf/restest1.c: Likewise.
857 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
858 parameter of asm must be in %ecx.
860 * string/tester.c: Mark test functions as static to avoid warnings.
862 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
863 preserve value over different gconv-modules files.
865 2000-11-24 Ulrich Drepper <drepper@redhat.com>
867 * locale/findlocale.c: Add casts to avoid warnings.
868 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
869 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
871 * misc/tsearch.c (const_node): New type.
872 (trecurse): Correct casts to avoid warnings.
874 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
877 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
879 * test-skeleton.c: Mark local functions as static to avoid warnings.
881 2000-11-23 H.J. Lu <hjl@gnu.org>
883 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
884 support the background job.
887 2000-11-24 Ulrich Drepper <drepper@redhat.com>
889 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
890 has same names but lower cost.
892 2000-11-23 Jakub Jelinek <jakub@redhat.com>
894 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
895 which never occur during bootstrap.
896 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
898 2000-11-23 Andreas Jaeger <aj@suse.de>
900 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
902 * nss/Versions: Remove _nss_files_getipnodebyname_r.
904 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
906 2000-11-18 Martin Buchholz <martin@xemacs.org>
908 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
911 2000-11-21 Alan Modra <alan@linuxcare.com.au>
913 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
915 * csu/abi-note.S: Correct comment for operating system number.
917 2000-11-22 Ulrich Drepper <drepper@redhat.com>
919 * Versions.def: Add GLIBC_2.2.1 for glibc.
921 2000-11-22 Andreas Schwab <schwab@suse.de>
923 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
924 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
926 2000-11-22 Ulrich Drepper <drepper@redhat.com>
928 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
929 absolute time for pthread_cond_timedwait call.
930 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
932 * rt/Makefile (tests): Add tst-aio6.
933 * rt/tst-aio6.c: New file.
935 2000-11-23 Andreas Jaeger <aj@suse.de>
937 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
939 2000-11-22 Andreas Jaeger <aj@suse.de>
941 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
943 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
945 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
947 2000-11-21 Andreas Schwab <schwab@suse.de>
949 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
950 * sysdeps/arm/setjmp.S: Likewise.
951 * sysdeps/arm/fpu/setjmp.S: Likewise.
952 * sysdeps/i386/setjmp.S: Likewise.
953 * sysdeps/i386/elf/setjmp.S: Likewise.
954 * sysdeps/s390/setjmp.S: Likewise.
955 * sysdeps/s390/elf/setjmp.S: Likewise.
956 * sysdeps/sh/sh3/setjmp.S: Likewise.
957 * sysdeps/sh/sh4/setjmp.S: Likewise.
958 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
959 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
960 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
961 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
963 2000-11-21 Andreas Jaeger <aj@suse.de>
965 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
966 NORETURN, fix parameter list.
968 * string/bug-strncat1.c (main): Fix typo.
969 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
971 2000-11-20 Ulrich Drepper <drepper@redhat.com>
973 * configure.in: Add --enable-all-warnings.
974 * config.make.in (all-warnings): New variable.
975 * Makeconfig (+gccwarn): Define with many more warnings if
978 2000-11-20 Jakub Jelinek <jakub@redhat.com>
980 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
981 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
982 * malloc/tst-valloc.c (main): Cast valloc return value to long.
983 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
984 * math/test-fpucw.c (main): Use %lx in format string, cast
985 control words to long.
986 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
987 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
988 large that it is unsigned warning.
990 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
991 it to long on sparc64.
993 2000-11-20 Andreas Jaeger <aj@suse.de>
995 * nscd/nscd.h (termination_handler): Add noreturn attribute.
996 (receiv_print_stats): Likewise.
998 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
1000 2000-11-20 Ulrich Drepper <drepper@redhat.com>
1002 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
1004 * csu/gmon-start.c: Always have prototype for __gmon_start.
1005 * csu/version.c: Add prototypes for __libc_print_version and
1007 * iconv/gconv.c: Include gconv_int.h and gconv.h.
1008 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
1010 * iconv/gconv_builtin.h: Add ASCII module definitions.
1011 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
1012 (add_module): Add cast to avoid warning. Rework construction of
1013 strings for new module.
1014 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
1015 (derivation_compare): Likewise.
1016 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
1017 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
1018 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
1019 (struct gconv_alias): Remove const from fromname and toname.
1020 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
1022 (internal_ucs4_loop): Use correct const-ness.
1023 (ucs4_internal_loop): Likewise.
1024 (internal_ucs4le_loop): Likewise.
1025 (ucs4le_internal_loop_single): Likewise.
1026 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
1027 to_idx, to_tbl, winbuf, winbufend const. Change casts in
1028 assignments appropriately.
1029 (struct known_trans): Remove const from fname.
1030 (trans_compare): Make s1 and s2 const.
1031 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
1033 * iconv/skeleton.c: Remove cast in calls of loop functions.
1034 * iconvdata/gconv-modules: Remove US-ASCII definitions.
1035 * iconvdata/iso646.c: Remove US_ASCII support.
1036 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
1037 * include/unistd.h: Add __libc_check_standard_fds prototype.
1038 * string/bits/string2.h (__mempcpy_args): Add const to casts.
1039 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
1041 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
1042 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
1043 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
1045 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
1046 __libc_init_first and _dl_start.
1047 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
1048 (DCIGETTEXT): Make domaindata variable const.
1049 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
1052 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
1054 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
1056 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
1057 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
1060 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
1061 value defined in /usr/include/asm-mips/fcntl.h.
1063 2000-11-18 Ulrich Drepper <drepper@redhat.com>
1065 * stdio-common/Makefile (tests): Add test-vfprintf.
1066 (test-vfprintf-ENV): New variable.
1067 * stdio-common/test-vfprintf.c: New file.
1069 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
1071 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
1072 (tst-mbrtowc-ENV): New variable.
1073 (tst-wcrtomb-ENV): New variable.
1074 * wcsmbs/tst-mbrtowc.c: New file.
1075 * wcsmbs/tst-wcrtomb.c: New file.
1077 2000-11-16 Andreas Jaeger <aj@suse.de>
1079 * manual/install.texi (Tools for Compilation): Update
1080 documentation for GCC 2.95.2.
1082 2000-11-18 Ulrich Drepper <drepper@redhat.com>
1084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
1085 if IPv4 and IPv6 requests timed out.
1087 2000-11-18 Akim Demaille <akim@epita.fr>
1089 * malloc/obstack.h: Formatting changes.
1090 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1091 prevents type checking.
1092 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1093 cast the value to (void *): assigning a `foo *' to a `void *'
1095 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1097 2000-11-17 Ulrich Drepper <drepper@redhat.com>
1099 * scripts/config.guess: Update from upstream maintainer.
1100 * scripts/config.sub: Likewise.
1102 2000-11-16 Ulrich Drepper <drepper@redhat.com>
1104 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
1105 * libio/freopen64.c (freopen64): Likewise.
1106 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1108 * libio/Makefile: Add rules to build and run test-freopen.
1109 * libio/test-freopen.c: New file.
1110 * libio/test-freopen.sh: New file.
1112 2000-11-15 H.J. Lu <hjl@gnu.org>
1114 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
1115 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1116 (DL_DT_FINI_ADDRESS): Likewise.
1118 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
1119 return type to ElfW(Addr).
1120 (_dl_function_address): New prototype.
1121 (DL_FUNCTION_ADDRESS): Defined.
1122 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
1123 (DL_DT_FINI_ADDRESS): Likewise.
1125 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
1127 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
1128 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
1130 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
1131 (_dl_function_address): This.
1133 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
1134 function pointer for DT_FINI.
1135 * elf/dl-close.c (_dl_close): Likewise.
1137 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
1138 function pointer for DT_INIT.
1140 2000-11-16 Jakub Jelinek <jakub@redhat.com>
1142 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
1143 end of wexpbuf buffer.
1145 2000-11-16 Andreas Jaeger <aj@suse.de>
1147 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
1148 definition of F_GETLK, F_SETLK, F_SETLKW.
1150 2000-11-16 Andreas Jaeger <aj@suse.de>
1152 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
1155 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1157 * dlfcn/default.c (main): Add test for dladdr of main returning
1158 argv[0] in dli_fname field.
1160 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1162 * Makeconfig (run-program-prefix): Move test-static test into the
1165 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
1166 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
1167 schedule instructions.
1168 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
1169 schedule instructions, fix a bug in copying auxiliary data.
1171 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1173 * manual/startup.texi (Program Arguments): Fix type of main's envp
1175 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
1177 * iconvdata/gconv-modules: Add CP950 alias.
1179 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1181 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
1182 syscall-list.h goal.
1183 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
1185 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1187 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
1189 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
1192 * intl/tst-gettext2.c: Set C locale if setting other locale
1193 failed. Use gettext() not _().
1195 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
1196 successfully loaded a new locale.
1198 2000-11-13 Andreas Jaeger <aj@suse.de>
1200 * configure.in: Require gcc 2.95 or newer.
1202 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1204 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
1205 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1207 2000-11-11 Jim Meyering <meyering@lucent.com>
1209 * string/strndup.c (strndup): Cast return value to `char *'.
1211 2000-11-15 Jim Meyering <meyering@ascend.com>
1213 * sysdeps/generic/memchr.c: Remove some useless parentheses.
1214 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
1215 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
1216 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
1217 Also #undef __memchr.
1218 Use `weak_alias' only if it's defined.
1220 2000-11-10 H.J. Lu <hjl@gnu.org>
1222 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
1224 2000-11-15 Andreas Jaeger <aj@suse.de>
1226 * elf/chroot_canon.c: Include <stdint.h>.
1228 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
1229 (print_entry): Likewise.
1230 (add_to_cache): Likewise.
1232 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
1234 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
1235 (path_hwcap): Likewise.
1236 (search_dir): Likewise.
1238 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
1240 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
1242 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
1243 (_dl_platform_string): New.
1244 (_DL_HWCAP_PLATFORM): New.
1245 (_dl_string_platform): New.
1246 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1248 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
1249 (_dl_string_platform): New.
1250 (_DL_HWCAP_PLATFORM): New.
1251 (_dl_platform_string): New.
1253 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
1255 (_DL_HWCAP_COUNT): New.
1256 (_dl_string_platform): New.
1257 (_DL_HWCAP_PLATFORM): New.
1258 (_dl_platform_string): New.
1260 2000-11-14 Ulrich Drepper <drepper@redhat.com>
1262 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
1264 2000-11-14 Andreas Jaeger <aj@suse.de>
1266 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
1268 2000-11-13 Roland McGrath <roland@frob.com>
1270 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
1272 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
1274 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
1275 underrun and make sure the result is null terminated even if there
1276 is no trailing newline.
1278 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1280 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1282 2000-11-10 H.J. Lu <hjl@gnu.org>
1284 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1286 2000-11-10 Andreas Jaeger <aj@suse.de>
1288 * elf/ldconfig.c (create_links): Fix alloca calculation.
1289 Patch by Ben Collins <bcollins@debian.org>.
1291 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1293 * inet/getnameinfo.c (getnameinfo): Use correct destination
1294 parameter for if_indextoname.
1295 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
1297 2000-11-09 H.J. Lu <hjl@gnu.org>
1299 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
1300 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
1301 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
1304 * time/Versions (GLIBC_2.1): Move getitimer to...
1305 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
1307 2000-11-03 Bruno Haible <haible@clisp.cons.org>
1309 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
1310 "make install", to work around a binary incompatibility between
1311 glibc 2.1 and glibc 2.2 gconv modules.
1313 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1315 * intl/locale.alias: Add thai.
1316 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
1318 2000-11-07 Akim Demaille <akim@epita.fr>
1320 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
1321 argument `data' for consistency with the prototypes.
1323 (obstack_copy, obstack_copy0): Rename the second argument as
1324 `address' for consistency. Qualify it `const'.
1325 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1326 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1327 `const' their input argument (`data' or `address').
1328 Adjust the corresponding macros to include `const' in casts.
1330 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1332 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
1335 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1337 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
1340 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1342 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
1343 ai_protocol by internal table if service was not given.
1345 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1347 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
1348 numerical port was specified with protocol without socktype.
1350 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1352 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
1354 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1356 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
1358 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1360 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
1361 sin6_scope_id field.
1363 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1365 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
1367 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1369 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
1371 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1373 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
1374 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
1376 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
1378 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
1379 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
1381 2000-11-09 H.J. Lu <hjl@gnu.org>
1383 * io/Versions (GLIBC_2.1.1): Remove lockf64.
1386 See ChangeLog.11 for earlier changes.