1 2000-12-05 Andreas Jaeger <aj@suse.de>
3 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
6 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
8 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
10 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
11 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
13 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
15 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
16 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
18 * sysdeps/generic/dl-cache.c: Remove declaration of
19 _dl_sysdep_read_whole_file.
21 * elf/dl-load.c (_dl_map_object): Remove declaration of
22 _dl_load_cache_lookup.
24 * sysdeps/generic/ldsodefs.h: Add declarations of
25 _dl_load_cache_lookup, _dl_unload_cache,
26 _dl_sysdep_read_whole_file, _dl_sysdep_start and
27 _dl_sysdep_start_cleanup.
29 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
32 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
33 * sysdeps/generic/dl-environ.c: Likewise.
35 * stdio-common/printf_fp.c: Include <gmp.h> instead of
37 * math/atest-exp.c: Likewise.
38 * math/atest-exp2.c: Likewise.
39 * math/atest-sincos.c: Likewise.
40 * stdio-common/_itoa.c: Likewise.
41 * stdio-common/_itowa.c: Likewise.
43 * include/gmp.h: New file with internal prototypes.
45 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
47 * include/setjmp.h: ...here.
49 * locale/Makefile (routines): Remove codeset_name since it's not
52 * locale/codeset_name.c: Removed.
54 2000-12-05 Ulrich Drepper <drepper@redhat.com>
56 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
58 2000-12-05 Andreas Jaeger <aj@suse.de>
60 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
62 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
64 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
67 2000-12-05 Andreas Jaeger <aj@suse.de>
69 * nss/test-netdb.c: Mark local functions as static to avoid
71 (main): Use return to silence warning.
73 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
75 * stdio-common/test-popen.c: Mark local functions as static to
77 (main): Use return to silence warning.
79 * stdlib/testsort.c (compare): Mark as static to avoid warning.
81 * assert/test-assert.c: Mark local functions as static to avoid
83 * assert/test-assert-perr.c: Likewise.
85 * math/libm-test.inc (main): Use return to silence warnings.
87 2000-12-04 Ulrich Drepper <drepper@redhat.com>
89 * math/fenv.h: Fix typo in comment.
91 * math/test-misc.c (main): Add a few more over and underflow tests
94 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
95 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
96 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
97 * math/w_scalb.c: Don't use matherr except in SVID mode.
98 * math/w_scalbf.c: Likewise.
99 * math/w_scalbl.c: Likewise.
100 * math/test-misc.c: Add test for NaN and scalbl.
101 Reported by Fred J. Tydeman <tydeman@tybor.com>.
103 2000-12-04 Ulrich Drepper <drepper@redhat.com>
105 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
106 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
107 * include/libc-symbols.h (strong_alias): Define special version
108 for HAVE_ASM_GLOBAL_DOT_NAME.
109 (weak_alias): Likewise.
110 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
111 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
112 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
113 getutxline, pututxline, and utmpxname.
114 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
115 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
116 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
117 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
118 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
119 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
120 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
121 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
122 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
123 Patches by Michael Keezer <mkeezer@redhat.com>.
125 2000-12-04 H.J. Lu <hjl@gnu.org>
127 * configure.in: Change --with-oldest-abi=ABI to
128 --enable-oldest-abi=ABI.
130 2000-12-02 Bruno Haible <haible@clisp.cons.org>
132 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
133 fwprintf instead of fprintf.
135 2000-12-04 Ulrich Drepper <drepper@redhat.com>
137 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
138 DECIMAL_DIG definitions.
139 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
140 * sysdeps/generic/bits/mathdef.h: Likewise
141 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
142 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
143 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
144 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
145 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
146 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
148 2000-12-03 Ulrich Drepper <drepper@redhat.com>
150 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
152 * math/atest-exp.c: Mark local functions as static to avoid warnings.
153 * math/atest-exp2.c: Likewise.
154 * math/atest-sincos.c: Likewise.
156 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
157 Reported by Fred J. Tydeman <tydeman@tybor.com>.
159 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
160 the handling of denormalized numbers.
162 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
164 * sysdeps/i386/fpu/fpclassifyl.c: New file.
166 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
167 pseudo denormal representation of LDBL_MIN.
169 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
170 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
172 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
173 * iconvdata/jis0208.c: Likewise.
174 * iconvdata/jis0212.c: Likewise.
175 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
177 * math/test-misc.c (main): More tests for frexp and some for
178 fpclassify and isnormal.
180 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
182 Reported by Fred J. Tydeman <tydeman@tybor.com>.
184 * math/test-misc.c (main): Add tests for frexp.
185 Reported by Fred J. Tydeman <tydeman@tybor.com>.
186 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
188 2000-12-02 H.J. Lu <hjl@gnu.org>
190 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
193 2000-12-02 Ulrich Drepper <drepper@redhat.com>
195 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
196 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
197 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
199 * sysdeps/generic/glob.c: Adjust types of several variables to
202 2000-12-01 Ulrich Drepper <drepper@redhat.com>
204 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
206 2000-11-30 Roland McGrath <roland@frob.com>
208 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
209 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
210 allow multiple instances using the same function name in one file.
212 2000-12-01 Ulrich Drepper <drepper@redhat.com>
214 * configure.in: Correct test for pserver CVS access.
216 2000-11-28 H.J. Lu <hjl@gnu.org>
218 * libio/libio.h: Remove extra "#if ... #endif".
220 2000-11-29 H.J. Lu <hjl@gnu.org>
222 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
224 2000-12-01 H.J. Lu <hjl@gnu.org>
226 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
227 * nss/getXXent_r.c: Likewise.
228 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
230 2000-11-30 H.J. Lu <hjl@gnu.org>
232 * scripts/abi-versions.awk (oldest_abi): New variable.
233 Handle the oldest ABI supported.
235 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
236 for scripts/abi-versions.awk.
238 * configure.in: Add --with-oldest-abi=ABI.
239 * configure: Rebuild.
241 * config.make.in (oldest-abi): New.
243 * config.h.in (GLIBC_OLDEST_ABI): New.
245 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
247 2000-11-30 Jakub Jelinek <jakub@redhat.com>
249 * locale/setlocale.c (setname): Free for all categories, not just
251 (setlocale): Store a copy of string passed by user, not the string
254 2000-11-30 Roland McGrath <roland@frob.com>
256 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
257 rather than _hurd_fd_subinit, so it happens after it's safe to use
258 libc facilities like malloc.
260 2000-11-28 Andreas Jaeger <aj@suse.de>
262 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
263 declaration, adjust declaration of __syscall_getdents to match
266 2000-11-29 H.J. Lu <hjl@gnu.org>
268 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
270 2000-11-29 Andreas Jaeger <aj@suse.de>
272 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
274 2000-11-28 Ulrich Drepper <drepper@redhat.com>
276 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
277 * dlfcn/defaultmod2.c: Likewise.
278 * dlfcn/dlopen.c: Likewise.
279 * dlfcn/dlopenold.c: Likewise.
280 * dlfcn/failtestmod.c: Likewise.
281 * dlfcn/glreflib1.c: Likewise.
282 * dlfcn/glreflib2.c: Likewise.
283 * dlfcn/eval.c: Likewise. Add attributes.
285 * ctype/ctype-extn.c: Define isblank and not __isblank.
287 * time/strftime.c: Add const where necessary to avoid warnings.
288 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
290 2000-11-22 Paul Eggert <eggert@twinsun.com>
292 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
293 size of (size_t) -1; it's not portable.
295 2000-11-28 Ulrich Drepper <drepper@redhat.com>
297 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
299 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
301 2000-11-14 Jes Sorensen <jes@linuxcare.com>
303 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
305 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
306 _mcount is required by profiled binaries.
308 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
309 * sysdeps/ia64/machine-gmon.h: ...here.
311 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
313 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
314 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
316 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
318 * iconvdata/ibm922.c: New file.
319 * iconvdata/ibm922.h: New file.
320 * iconvdata/ibm1124.c: New file.
321 * iconvdata/ibm1124.h: New file.
322 * iconvdata/ibm1129.c: New file.
323 * iconvdata/ibm1129.h: New file.
324 * iconvdata/testdata/IBM922: New file.
325 * iconvdata/testdata/IBM922..UTF8: New file.
326 * iconvdata/testdata/IBM1124: New file.
327 * iconvdata/testdata/IBM1124..UTF8: New file.
328 * iconvdata/testdata/IBM1129: New file.
329 * iconvdata/testdata/IBM1129..UTF8: New file.
331 2000-11-28 Ulrich Drepper <drepper@redhat.com>
333 * catgets/gencat.c (normalize_line): Take extra parameter with escape
334 character. Change callers.
335 (open_conversion): Determine mapping of 0x5c as wchar_t value.
336 * catgets/Makefile: Add rules to build and run test-gencat.
337 * catgets/sample.SJIS: New file.
338 * catgets/test-gencat.c: New file.
339 * catgets/test-gencat.sh: New file.
340 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
342 2000-11-28 Andreas Jaeger <aj@suse.de>
344 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
347 2000-11-28 Ulrich Drepper <drepper@redhat.com>
349 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
351 2000-11-28 Andreas Jaeger <aj@suse.de>
353 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
355 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
358 2000-11-27 Ulrich Drepper <drepper@redhat.com>
360 * misc/getusershell.c: Make strings in okshells array const.
361 * misc/regexp.c: Add const to cast to avoid warnings.
362 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
363 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
365 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
367 * misc/error.c: Add prototypes for __error and __error_at_line.
368 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
369 statement to avoid warning.
370 * test-skeleton.c: Mark timeout_handler with noreturn.
371 * iconv/skeleton.c (get16u): Add const to cast.
373 * iconvdata/gb18030.c: Likewise.
374 * iconvdata/iso-2022-cn-ext.c: Likewise.
375 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
376 * iconvdata/big5.c: Likewise.
377 * iconvdata/big5hkscs.c: Likewise.
378 * iconvdata/iso_6937.c: Likewise.
379 * iconvdata/iso_6937-2.c: Likewise.
380 * iconvdata/t.61.c: Likewise.
381 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
382 * iconvdata/unicode.c: Likewise.
383 * iconvdata/utf-16.c: Likewise.
384 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
385 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
386 with little code shuffling.
388 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
389 the problems introduced when the user selects -O3.
391 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
392 * misc/sys/cdefs.h: Define __flexarr.
393 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
395 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
396 * iconv/skeleton.c: Likewise.
397 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
398 * iconv/loop.c (get16): Add const to cast.
401 2000-11-27 Andreas Jaeger <aj@suse.de>
403 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
405 * login/programs/utmpdump.c (print_entry): Likewise.
407 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
409 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
410 in a single asm as they may be used to access other stored
412 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
414 2000-11-27 Andreas Jaeger <aj@suse.de>
416 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
417 * rt/tst-aio64.c: Likewise.
419 2000-11-27 Ulrich Drepper <drepper@redhat.com>
421 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
423 (libc.cat): Likewise.
424 * catgets/gencat.c: Implement handling of message catalogs encoded
425 with stateful character sets.
426 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
428 2000-11-26 Ulrich Drepper <drepper@redhat.com>
430 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
432 * inet/getnameinfo.c: Adjust casts to avoid warnings.
433 * inet/rcmd.c: Likewise.
434 * inet/ruserpass.c: Likewise.
435 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
436 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
437 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
438 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
439 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
440 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
441 * include/aliases.h: Add prototypes for internal __getalias* functions.
442 * include/netdb.h: Add prototypes for __old_gethostent_r,
443 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
444 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
445 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
446 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
447 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
448 __old_getrpcbynumber_r, __old_getrpcent_r.
450 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
451 __getrpcent_r prototypes.
453 2000-11-25 Ulrich Drepper <drepper@redhat.com>
455 * string/strcoll.c: Add casts to avoid warnings.
456 * string/strnlen.c: Likewise.
457 * string/strxfrm.c: Likewise.
458 * sysdeps/generic/_strerror.c: Likewise.
459 * sysdeps/generic/memrchr.c: Likewise.
460 * sysdeps/generic/strcasestr.c: Likewise.
461 * sysdeps/generic/strstr.c: Likewise.
463 * locale/weight.h (findidx): Add const to cast to avoid warning.
465 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
466 * elf/loadtest.c: Likewise.
467 * elf/multiload.c: Likewise.
468 * elf/next.c: Likewise.
469 * elf/nodelete.c: Likewise.
470 * elf/noload.c: Likewise.
471 * elf/order.c: Likewise.
472 * elf/origtest.c: Likewise.
473 * elf/preloadtest.c: Likewise.
474 * elf/restest1.c: Likewise.
476 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
477 parameter of asm must be in %ecx.
479 * string/tester.c: Mark test functions as static to avoid warnings.
481 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
482 preserve value over different gconv-modules files.
484 2000-11-24 Ulrich Drepper <drepper@redhat.com>
486 * locale/findlocale.c: Add casts to avoid warnings.
487 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
488 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
490 * misc/tsearch.c (const_node): New type.
491 (trecurse): Correct casts to avoid warnings.
493 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
496 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
498 * test-skeleton.c: Mark local functions as static to avoid warnings.
500 2000-11-23 H.J. Lu <hjl@gnu.org>
502 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
503 support the background job.
506 2000-11-24 Ulrich Drepper <drepper@redhat.com>
508 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
509 has same names but lower cost.
511 2000-11-23 Jakub Jelinek <jakub@redhat.com>
513 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
514 which never occur during bootstrap.
515 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
517 2000-11-23 Andreas Jaeger <aj@suse.de>
519 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
521 * nss/Versions: Remove _nss_files_getipnodebyname_r.
523 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
525 2000-11-18 Martin Buchholz <martin@xemacs.org>
527 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
530 2000-11-21 Alan Modra <alan@linuxcare.com.au>
532 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
534 * csu/abi-note.S: Correct comment for operating system number.
536 2000-11-22 Ulrich Drepper <drepper@redhat.com>
538 * Versions.def: Add GLIBC_2.2.1 for glibc.
540 2000-11-22 Andreas Schwab <schwab@suse.de>
542 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
543 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
545 2000-11-22 Ulrich Drepper <drepper@redhat.com>
547 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
548 absolute time for pthread_cond_timedwait call.
549 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
551 * rt/Makefile (tests): Add tst-aio6.
552 * rt/tst-aio6.c: New file.
554 2000-11-23 Andreas Jaeger <aj@suse.de>
556 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
558 2000-11-22 Andreas Jaeger <aj@suse.de>
560 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
562 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
564 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
566 2000-11-21 Andreas Schwab <schwab@suse.de>
568 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
569 * sysdeps/arm/setjmp.S: Likewise.
570 * sysdeps/arm/fpu/setjmp.S: Likewise.
571 * sysdeps/i386/setjmp.S: Likewise.
572 * sysdeps/i386/elf/setjmp.S: Likewise.
573 * sysdeps/s390/setjmp.S: Likewise.
574 * sysdeps/s390/elf/setjmp.S: Likewise.
575 * sysdeps/sh/sh3/setjmp.S: Likewise.
576 * sysdeps/sh/sh4/setjmp.S: Likewise.
577 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
578 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
579 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
580 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
582 2000-11-21 Andreas Jaeger <aj@suse.de>
584 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
585 NORETURN, fix parameter list.
587 * string/bug-strncat1.c (main): Fix typo.
588 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
590 2000-11-20 Ulrich Drepper <drepper@redhat.com>
592 * configure.in: Add --enable-all-warnings.
593 * config.make.in (all-warnings): New variable.
594 * Makeconfig (+gccwarn): Define with many more warnings if
597 2000-11-20 Jakub Jelinek <jakub@redhat.com>
599 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
600 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
601 * malloc/tst-valloc.c (main): Cast valloc return value to long.
602 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
603 * math/test-fpucw.c (main): Use %lx in format string, cast
604 control words to long.
605 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
606 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
607 large that it is unsigned warning.
609 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
610 it to long on sparc64.
612 2000-11-20 Andreas Jaeger <aj@suse.de>
614 * nscd/nscd.h (termination_handler): Add noreturn attribute.
615 (receiv_print_stats): Likewise.
617 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
619 2000-11-20 Ulrich Drepper <drepper@redhat.com>
621 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
623 * csu/gmon-start.c: Always have prototype for __gmon_start.
624 * csu/version.c: Add prototypes for __libc_print_version and
626 * iconv/gconv.c: Include gconv_int.h and gconv.h.
627 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
629 * iconv/gconv_builtin.h: Add ASCII module definitions.
630 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
631 (add_module): Add cast to avoid warning. Rework construction of
632 strings for new module.
633 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
634 (derivation_compare): Likewise.
635 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
636 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
637 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
638 (struct gconv_alias): Remove const from fromname and toname.
639 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
641 (internal_ucs4_loop): Use correct const-ness.
642 (ucs4_internal_loop): Likewise.
643 (internal_ucs4le_loop): Likewise.
644 (ucs4le_internal_loop_single): Likewise.
645 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
646 to_idx, to_tbl, winbuf, winbufend const. Change casts in
647 assignments appropriately.
648 (struct known_trans): Remove const from fname.
649 (trans_compare): Make s1 and s2 const.
650 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
652 * iconv/skeleton.c: Remove cast in calls of loop functions.
653 * iconvdata/gconv-modules: Remove US-ASCII definitions.
654 * iconvdata/iso646.c: Remove US_ASCII support.
655 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
656 * include/unistd.h: Add __libc_check_standard_fds prototype.
657 * string/bits/string2.h (__mempcpy_args): Add const to casts.
658 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
660 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
661 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
662 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
664 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
665 __libc_init_first and _dl_start.
666 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
667 (DCIGETTEXT): Make domaindata variable const.
668 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
671 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
673 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
675 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
676 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
679 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
680 value defined in /usr/include/asm-mips/fcntl.h.
682 2000-11-18 Ulrich Drepper <drepper@redhat.com>
684 * stdio-common/Makefile (tests): Add test-vfprintf.
685 (test-vfprintf-ENV): New variable.
686 * stdio-common/test-vfprintf.c: New file.
688 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
690 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
691 (tst-mbrtowc-ENV): New variable.
692 (tst-wcrtomb-ENV): New variable.
693 * wcsmbs/tst-mbrtowc.c: New file.
694 * wcsmbs/tst-wcrtomb.c: New file.
696 2000-11-16 Andreas Jaeger <aj@suse.de>
698 * manual/install.texi (Tools for Compilation): Update
699 documentation for GCC 2.95.2.
701 2000-11-18 Ulrich Drepper <drepper@redhat.com>
703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
704 if IPv4 and IPv6 requests timed out.
706 2000-11-18 Akim Demaille <akim@epita.fr>
708 * malloc/obstack.h: Formatting changes.
709 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
710 prevents type checking.
711 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
712 cast the value to (void *): assigning a `foo *' to a `void *'
714 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
716 2000-11-17 Ulrich Drepper <drepper@redhat.com>
718 * scripts/config.guess: Update from upstream maintainer.
719 * scripts/config.sub: Likewise.
721 2000-11-16 Ulrich Drepper <drepper@redhat.com>
723 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
724 * libio/freopen64.c (freopen64): Likewise.
725 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
727 * libio/Makefile: Add rules to build and run test-freopen.
728 * libio/test-freopen.c: New file.
729 * libio/test-freopen.sh: New file.
731 2000-11-15 H.J. Lu <hjl@gnu.org>
733 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
734 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
735 (DL_DT_FINI_ADDRESS): Likewise.
737 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
738 return type to ElfW(Addr).
739 (_dl_function_address): New prototype.
740 (DL_FUNCTION_ADDRESS): Defined.
741 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
742 (DL_DT_FINI_ADDRESS): Likewise.
744 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
746 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
747 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
749 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
750 (_dl_function_address): This.
752 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
753 function pointer for DT_FINI.
754 * elf/dl-close.c (_dl_close): Likewise.
756 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
757 function pointer for DT_INIT.
759 2000-11-16 Jakub Jelinek <jakub@redhat.com>
761 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
762 end of wexpbuf buffer.
764 2000-11-16 Andreas Jaeger <aj@suse.de>
766 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
767 definition of F_GETLK, F_SETLK, F_SETLKW.
769 2000-11-16 Andreas Jaeger <aj@suse.de>
771 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
774 2000-11-15 Jakub Jelinek <jakub@redhat.com>
776 * dlfcn/default.c (main): Add test for dladdr of main returning
777 argv[0] in dli_fname field.
779 2000-11-15 Jakub Jelinek <jakub@redhat.com>
781 * Makeconfig (run-program-prefix): Move test-static test into the
784 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
785 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
786 schedule instructions.
787 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
788 schedule instructions, fix a bug in copying auxiliary data.
790 2000-11-15 Ulrich Drepper <drepper@redhat.com>
792 * manual/startup.texi (Program Arguments): Fix type of main's envp
794 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
796 * iconvdata/gconv-modules: Add CP950 alias.
798 2000-11-13 Jakub Jelinek <jakub@redhat.com>
800 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
802 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
804 2000-11-15 Ulrich Drepper <drepper@redhat.com>
806 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
808 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
811 * intl/tst-gettext2.c: Set C locale if setting other locale
812 failed. Use gettext() not _().
814 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
815 successfully loaded a new locale.
817 2000-11-13 Andreas Jaeger <aj@suse.de>
819 * configure.in: Require gcc 2.95 or newer.
821 2000-11-15 Ulrich Drepper <drepper@redhat.com>
823 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
824 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
826 2000-11-11 Jim Meyering <meyering@lucent.com>
828 * string/strndup.c (strndup): Cast return value to `char *'.
830 2000-11-15 Jim Meyering <meyering@ascend.com>
832 * sysdeps/generic/memchr.c: Remove some useless parentheses.
833 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
834 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
835 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
836 Also #undef __memchr.
837 Use `weak_alias' only if it's defined.
839 2000-11-10 H.J. Lu <hjl@gnu.org>
841 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
843 2000-11-15 Andreas Jaeger <aj@suse.de>
845 * elf/chroot_canon.c: Include <stdint.h>.
847 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
848 (print_entry): Likewise.
849 (add_to_cache): Likewise.
851 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
853 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
854 (path_hwcap): Likewise.
855 (search_dir): Likewise.
857 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
859 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
861 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
862 (_dl_platform_string): New.
863 (_DL_HWCAP_PLATFORM): New.
864 (_dl_string_platform): New.
865 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
867 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
868 (_dl_string_platform): New.
869 (_DL_HWCAP_PLATFORM): New.
870 (_dl_platform_string): New.
872 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
874 (_DL_HWCAP_COUNT): New.
875 (_dl_string_platform): New.
876 (_DL_HWCAP_PLATFORM): New.
877 (_dl_platform_string): New.
879 2000-11-14 Ulrich Drepper <drepper@redhat.com>
881 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
883 2000-11-14 Andreas Jaeger <aj@suse.de>
885 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to
888 2000-11-13 Roland McGrath <roland@frob.com>
890 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
892 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
894 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
895 underrun and make sure the result is null terminated even if there
896 is no trailing newline.
898 2000-11-13 Jakub Jelinek <jakub@redhat.com>
900 * sysdeps/alpha/fpu/libm-test-ulps: Update.
902 2000-11-10 H.J. Lu <hjl@gnu.org>
904 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
906 2000-11-10 Andreas Jaeger <aj@suse.de>
908 * elf/ldconfig.c (create_links): Fix alloca calculation.
909 Patch by Ben Collins <bcollins@debian.org>.
911 2000-11-09 Ulrich Drepper <drepper@redhat.com>
913 * inet/getnameinfo.c (getnameinfo): Use correct destination
914 parameter for if_indextoname.
915 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
917 2000-11-09 H.J. Lu <hjl@gnu.org>
919 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
920 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
921 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
924 * time/Versions (GLIBC_2.1): Move getitimer to...
925 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
927 2000-11-03 Bruno Haible <haible@clisp.cons.org>
929 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL-C during
930 "make install", to work around a binary incompatibility between
931 glibc 2.1 and glibc 2.2 gconv modules.
933 2000-11-09 Ulrich Drepper <drepper@redhat.com>
935 * intl/locale.alias: Add thai.
936 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
938 2000-11-07 Akim Demaille <akim@epita.fr>
940 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
941 argument `data' for consistency with the prototypes.
943 (obstack_copy, obstack_copy0): Rename the second argument as
944 `address' for consistency. Qualify it `const'.
945 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
946 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
947 `const' their input argument (`data' or `address').
948 Adjust the corresponding macros to include `const' in casts.
950 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
952 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
955 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
957 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
960 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
962 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
963 ai_protocol by internal table if service was not given.
965 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
967 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
968 numerical port was specified with protocol without socktype.
970 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
972 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
974 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
976 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
978 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
980 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
983 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
985 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
987 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
989 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
991 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
993 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
994 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
996 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
998 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
999 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
1001 2000-11-09 H.J. Lu <hjl@gnu.org>
1003 * io/Versions (GLIBC_2.1.1): Remove lockf64.
1006 See ChangeLog.11 for earlier changes.