1 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
3 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
5 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8 (sysdep_routines): Add uitrunc.
9 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
10 Patches by Michael Keezer <mkeezer@redhat.com>.
12 2000-12-06 Roland McGrath <roland@frob.com>
14 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
15 argument data, since it will be used to copy out too (for INOUT).
16 Reported by Marcus Brinkmann <marcus@gnu.org>.
18 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
19 (__ioctl): Use uintptr_t instead of unsigned long int.
21 2000-12-06 Jim Wilson <wilson@redhat.com>
23 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
25 2000-12-06 Ulrich Drepper <drepper@redhat.com>
27 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
28 x.5 rounding correctly.
30 2000-12-06 Mark Kettenis <kettenis@gnu.org>
32 * stdio-common/perror.c (perror): Conditionalize code dealing with
33 wide-oriented streams on USE_IN_LIBIO.
35 2000-12-06 Mark Kettenis <kettenis@gnu.org>
37 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
40 2000-12-05 Ulrich Drepper <drepper@redhat.com>
42 * sysdeps/alpha/elf/start.S (__data_start): Define.
44 2000-12-05 H.J. Lu <hjl@gnu.org>
46 * nss/getXXent_r.c (setup): Change the return type to int.
48 2000-12-05 Ulrich Drepper <drepper@redhat.com>
50 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
51 (sysdep_routines): Add restf and savef.
52 * sysdeps/unix/sysv/aix/restf.c: New file.
53 * sysdeps/unix/sysv/aix/savef.c: New file.
54 Patches by Michael Keezer <mkeezer@redhat.com>.
56 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
57 if O_DIRECTORY is not defined.
58 Patch by Michael Keezer <mkeezer@redhat.com>.
60 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
61 Patch by Michael Keezer <mkeezer@redhat.com>.
63 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
64 than 4 bytes in escape sequence.
65 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
67 2000-12-05 Andreas Jaeger <aj@suse.de>
69 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
72 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
74 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
76 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
77 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
79 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
81 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
82 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
84 * sysdeps/generic/dl-cache.c: Remove declaration of
85 _dl_sysdep_read_whole_file.
87 * elf/dl-load.c (_dl_map_object): Remove declaration of
88 _dl_load_cache_lookup.
90 * sysdeps/generic/ldsodefs.h: Add declarations of
91 _dl_load_cache_lookup, _dl_unload_cache,
92 _dl_sysdep_read_whole_file, _dl_sysdep_start and
93 _dl_sysdep_start_cleanup.
95 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
98 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
99 * sysdeps/generic/dl-environ.c: Likewise.
101 * stdio-common/printf_fp.c: Include <gmp.h> instead of
103 * math/atest-exp.c: Likewise.
104 * math/atest-exp2.c: Likewise.
105 * math/atest-sincos.c: Likewise.
106 * stdio-common/_itoa.c: Likewise.
107 * stdio-common/_itowa.c: Likewise.
109 * include/gmp.h: New file with internal prototypes.
111 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
113 * include/setjmp.h: ...here.
115 * locale/Makefile (routines): Remove codeset_name since it's not
118 * locale/codeset_name.c: Removed.
120 2000-12-05 Ulrich Drepper <drepper@redhat.com>
122 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
124 2000-12-05 Andreas Jaeger <aj@suse.de>
126 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
128 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
130 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
133 2000-12-05 Andreas Jaeger <aj@suse.de>
135 * nss/test-netdb.c: Mark local functions as static to avoid
137 (main): Use return to silence warning.
139 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
141 * stdio-common/test-popen.c: Mark local functions as static to
143 (main): Use return to silence warning.
145 * stdlib/testsort.c (compare): Mark as static to avoid warning.
147 * assert/test-assert.c: Mark local functions as static to avoid
149 * assert/test-assert-perr.c: Likewise.
151 * math/libm-test.inc (main): Use return to silence warnings.
153 2000-12-04 Ulrich Drepper <drepper@redhat.com>
155 * math/fenv.h: Fix typo in comment.
157 * math/test-misc.c (main): Add a few more over and underflow tests
160 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
161 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
162 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
163 * math/w_scalb.c: Don't use matherr except in SVID mode.
164 * math/w_scalbf.c: Likewise.
165 * math/w_scalbl.c: Likewise.
166 * math/test-misc.c: Add test for NaN and scalbl.
167 Reported by Fred J. Tydeman <tydeman@tybor.com>.
169 2000-12-04 Ulrich Drepper <drepper@redhat.com>
171 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
172 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
173 * include/libc-symbols.h (strong_alias): Define special version
174 for HAVE_ASM_GLOBAL_DOT_NAME.
175 (weak_alias): Likewise.
176 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
177 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
178 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
179 getutxline, pututxline, and utmpxname.
180 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
181 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
182 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
183 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
184 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
185 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
186 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
187 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
188 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
189 Patches by Michael Keezer <mkeezer@redhat.com>.
191 2000-12-04 H.J. Lu <hjl@gnu.org>
193 * configure.in: Change --with-oldest-abi=ABI to
194 --enable-oldest-abi=ABI.
196 2000-12-02 Bruno Haible <haible@clisp.cons.org>
198 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
199 fwprintf instead of fprintf.
201 2000-12-04 Ulrich Drepper <drepper@redhat.com>
203 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
204 DECIMAL_DIG definitions.
205 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
206 * sysdeps/generic/bits/mathdef.h: Likewise
207 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
208 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
209 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
210 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
211 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
212 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
214 2000-12-03 Ulrich Drepper <drepper@redhat.com>
216 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
218 * math/atest-exp.c: Mark local functions as static to avoid warnings.
219 * math/atest-exp2.c: Likewise.
220 * math/atest-sincos.c: Likewise.
222 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
223 Reported by Fred J. Tydeman <tydeman@tybor.com>.
225 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
226 the handling of denormalized numbers.
228 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
230 * sysdeps/i386/fpu/fpclassifyl.c: New file.
232 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
233 pseudo denormal representation of LDBL_MIN.
235 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
236 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
238 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
239 * iconvdata/jis0208.c: Likewise.
240 * iconvdata/jis0212.c: Likewise.
241 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
243 * math/test-misc.c (main): More tests for frexp and some for
244 fpclassify and isnormal.
246 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
248 Reported by Fred J. Tydeman <tydeman@tybor.com>.
250 * math/test-misc.c (main): Add tests for frexp.
251 Reported by Fred J. Tydeman <tydeman@tybor.com>.
252 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
254 2000-12-02 H.J. Lu <hjl@gnu.org>
256 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
259 2000-12-02 Ulrich Drepper <drepper@redhat.com>
261 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
262 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
263 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
265 * sysdeps/generic/glob.c: Adjust types of several variables to
268 2000-12-01 Ulrich Drepper <drepper@redhat.com>
270 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
272 2000-11-30 Roland McGrath <roland@frob.com>
274 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
275 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
276 allow multiple instances using the same function name in one file.
278 2000-12-01 Ulrich Drepper <drepper@redhat.com>
280 * configure.in: Correct test for pserver CVS access.
282 2000-11-28 H.J. Lu <hjl@gnu.org>
284 * libio/libio.h: Remove extra "#if ... #endif".
286 2000-11-29 H.J. Lu <hjl@gnu.org>
288 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
290 2000-12-01 H.J. Lu <hjl@gnu.org>
292 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
293 * nss/getXXent_r.c: Likewise.
294 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
296 2000-11-30 H.J. Lu <hjl@gnu.org>
298 * scripts/abi-versions.awk (oldest_abi): New variable.
299 Handle the oldest ABI supported.
301 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
302 for scripts/abi-versions.awk.
304 * configure.in: Add --with-oldest-abi=ABI.
305 * configure: Rebuild.
307 * config.make.in (oldest-abi): New.
309 * config.h.in (GLIBC_OLDEST_ABI): New.
311 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
313 2000-11-30 Jakub Jelinek <jakub@redhat.com>
315 * locale/setlocale.c (setname): Free for all categories, not just
317 (setlocale): Store a copy of string passed by user, not the string
320 2000-11-30 Roland McGrath <roland@frob.com>
322 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
323 rather than _hurd_fd_subinit, so it happens after it's safe to use
324 libc facilities like malloc.
326 2000-11-28 Andreas Jaeger <aj@suse.de>
328 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
329 declaration, adjust declaration of __syscall_getdents to match
332 2000-11-29 H.J. Lu <hjl@gnu.org>
334 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
336 2000-11-29 Andreas Jaeger <aj@suse.de>
338 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
340 2000-11-28 Ulrich Drepper <drepper@redhat.com>
342 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
343 * dlfcn/defaultmod2.c: Likewise.
344 * dlfcn/dlopen.c: Likewise.
345 * dlfcn/dlopenold.c: Likewise.
346 * dlfcn/failtestmod.c: Likewise.
347 * dlfcn/glreflib1.c: Likewise.
348 * dlfcn/glreflib2.c: Likewise.
349 * dlfcn/eval.c: Likewise. Add attributes.
351 * ctype/ctype-extn.c: Define isblank and not __isblank.
353 * time/strftime.c: Add const where necessary to avoid warnings.
354 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
356 2000-11-22 Paul Eggert <eggert@twinsun.com>
358 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
359 size of (size_t) -1; it's not portable.
361 2000-11-28 Ulrich Drepper <drepper@redhat.com>
363 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
365 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
367 2000-11-14 Jes Sorensen <jes@linuxcare.com>
369 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
371 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
372 _mcount is required by profiled binaries.
374 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
375 * sysdeps/ia64/machine-gmon.h: ...here.
377 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
379 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
380 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
382 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
384 * iconvdata/ibm922.c: New file.
385 * iconvdata/ibm922.h: New file.
386 * iconvdata/ibm1124.c: New file.
387 * iconvdata/ibm1124.h: New file.
388 * iconvdata/ibm1129.c: New file.
389 * iconvdata/ibm1129.h: New file.
390 * iconvdata/testdata/IBM922: New file.
391 * iconvdata/testdata/IBM922..UTF8: New file.
392 * iconvdata/testdata/IBM1124: New file.
393 * iconvdata/testdata/IBM1124..UTF8: New file.
394 * iconvdata/testdata/IBM1129: New file.
395 * iconvdata/testdata/IBM1129..UTF8: New file.
397 2000-11-28 Ulrich Drepper <drepper@redhat.com>
399 * catgets/gencat.c (normalize_line): Take extra parameter with escape
400 character. Change callers.
401 (open_conversion): Determine mapping of 0x5c as wchar_t value.
402 * catgets/Makefile: Add rules to build and run test-gencat.
403 * catgets/sample.SJIS: New file.
404 * catgets/test-gencat.c: New file.
405 * catgets/test-gencat.sh: New file.
406 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
408 2000-11-28 Andreas Jaeger <aj@suse.de>
410 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
413 2000-11-28 Ulrich Drepper <drepper@redhat.com>
415 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
417 2000-11-28 Andreas Jaeger <aj@suse.de>
419 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
421 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
424 2000-11-27 Ulrich Drepper <drepper@redhat.com>
426 * misc/getusershell.c: Make strings in okshells array const.
427 * misc/regexp.c: Add const to cast to avoid warnings.
428 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
429 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
431 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
433 * misc/error.c: Add prototypes for __error and __error_at_line.
434 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
435 statement to avoid warning.
436 * test-skeleton.c: Mark timeout_handler with noreturn.
437 * iconv/skeleton.c (get16u): Add const to cast.
439 * iconvdata/gb18030.c: Likewise.
440 * iconvdata/iso-2022-cn-ext.c: Likewise.
441 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
442 * iconvdata/big5.c: Likewise.
443 * iconvdata/big5hkscs.c: Likewise.
444 * iconvdata/iso_6937.c: Likewise.
445 * iconvdata/iso_6937-2.c: Likewise.
446 * iconvdata/t.61.c: Likewise.
447 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
448 * iconvdata/unicode.c: Likewise.
449 * iconvdata/utf-16.c: Likewise.
450 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
451 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
452 with little code shuffling.
454 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
455 the problems introduced when the user selects -O3.
457 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
458 * misc/sys/cdefs.h: Define __flexarr.
459 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
461 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
462 * iconv/skeleton.c: Likewise.
463 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
464 * iconv/loop.c (get16): Add const to cast.
467 2000-11-27 Andreas Jaeger <aj@suse.de>
469 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
471 * login/programs/utmpdump.c (print_entry): Likewise.
473 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
475 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
476 in a single asm as they may be used to access other stored
478 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
480 2000-11-27 Andreas Jaeger <aj@suse.de>
482 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
483 * rt/tst-aio64.c: Likewise.
485 2000-11-27 Ulrich Drepper <drepper@redhat.com>
487 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
489 (libc.cat): Likewise.
490 * catgets/gencat.c: Implement handling of message catalogs encoded
491 with stateful character sets.
492 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
494 2000-11-26 Ulrich Drepper <drepper@redhat.com>
496 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
498 * inet/getnameinfo.c: Adjust casts to avoid warnings.
499 * inet/rcmd.c: Likewise.
500 * inet/ruserpass.c: Likewise.
501 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
502 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
503 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
504 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
505 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
506 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
507 * include/aliases.h: Add prototypes for internal __getalias* functions.
508 * include/netdb.h: Add prototypes for __old_gethostent_r,
509 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
510 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
511 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
512 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
513 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
514 __old_getrpcbynumber_r, __old_getrpcent_r.
516 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
517 __getrpcent_r prototypes.
519 2000-11-25 Ulrich Drepper <drepper@redhat.com>
521 * string/strcoll.c: Add casts to avoid warnings.
522 * string/strnlen.c: Likewise.
523 * string/strxfrm.c: Likewise.
524 * sysdeps/generic/_strerror.c: Likewise.
525 * sysdeps/generic/memrchr.c: Likewise.
526 * sysdeps/generic/strcasestr.c: Likewise.
527 * sysdeps/generic/strstr.c: Likewise.
529 * locale/weight.h (findidx): Add const to cast to avoid warning.
531 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
532 * elf/loadtest.c: Likewise.
533 * elf/multiload.c: Likewise.
534 * elf/next.c: Likewise.
535 * elf/nodelete.c: Likewise.
536 * elf/noload.c: Likewise.
537 * elf/order.c: Likewise.
538 * elf/origtest.c: Likewise.
539 * elf/preloadtest.c: Likewise.
540 * elf/restest1.c: Likewise.
542 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
543 parameter of asm must be in %ecx.
545 * string/tester.c: Mark test functions as static to avoid warnings.
547 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
548 preserve value over different gconv-modules files.
550 2000-11-24 Ulrich Drepper <drepper@redhat.com>
552 * locale/findlocale.c: Add casts to avoid warnings.
553 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
554 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
556 * misc/tsearch.c (const_node): New type.
557 (trecurse): Correct casts to avoid warnings.
559 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
562 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
564 * test-skeleton.c: Mark local functions as static to avoid warnings.
566 2000-11-23 H.J. Lu <hjl@gnu.org>
568 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
569 support the background job.
572 2000-11-24 Ulrich Drepper <drepper@redhat.com>
574 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
575 has same names but lower cost.
577 2000-11-23 Jakub Jelinek <jakub@redhat.com>
579 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
580 which never occur during bootstrap.
581 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
583 2000-11-23 Andreas Jaeger <aj@suse.de>
585 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
587 * nss/Versions: Remove _nss_files_getipnodebyname_r.
589 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
591 2000-11-18 Martin Buchholz <martin@xemacs.org>
593 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
596 2000-11-21 Alan Modra <alan@linuxcare.com.au>
598 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
600 * csu/abi-note.S: Correct comment for operating system number.
602 2000-11-22 Ulrich Drepper <drepper@redhat.com>
604 * Versions.def: Add GLIBC_2.2.1 for glibc.
606 2000-11-22 Andreas Schwab <schwab@suse.de>
608 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
609 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
611 2000-11-22 Ulrich Drepper <drepper@redhat.com>
613 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
614 absolute time for pthread_cond_timedwait call.
615 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
617 * rt/Makefile (tests): Add tst-aio6.
618 * rt/tst-aio6.c: New file.
620 2000-11-23 Andreas Jaeger <aj@suse.de>
622 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
624 2000-11-22 Andreas Jaeger <aj@suse.de>
626 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
628 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
630 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
632 2000-11-21 Andreas Schwab <schwab@suse.de>
634 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
635 * sysdeps/arm/setjmp.S: Likewise.
636 * sysdeps/arm/fpu/setjmp.S: Likewise.
637 * sysdeps/i386/setjmp.S: Likewise.
638 * sysdeps/i386/elf/setjmp.S: Likewise.
639 * sysdeps/s390/setjmp.S: Likewise.
640 * sysdeps/s390/elf/setjmp.S: Likewise.
641 * sysdeps/sh/sh3/setjmp.S: Likewise.
642 * sysdeps/sh/sh4/setjmp.S: Likewise.
643 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
644 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
645 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
646 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
648 2000-11-21 Andreas Jaeger <aj@suse.de>
650 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
651 NORETURN, fix parameter list.
653 * string/bug-strncat1.c (main): Fix typo.
654 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
656 2000-11-20 Ulrich Drepper <drepper@redhat.com>
658 * configure.in: Add --enable-all-warnings.
659 * config.make.in (all-warnings): New variable.
660 * Makeconfig (+gccwarn): Define with many more warnings if
663 2000-11-20 Jakub Jelinek <jakub@redhat.com>
665 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
666 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
667 * malloc/tst-valloc.c (main): Cast valloc return value to long.
668 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
669 * math/test-fpucw.c (main): Use %lx in format string, cast
670 control words to long.
671 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
672 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
673 large that it is unsigned warning.
675 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
676 it to long on sparc64.
678 2000-11-20 Andreas Jaeger <aj@suse.de>
680 * nscd/nscd.h (termination_handler): Add noreturn attribute.
681 (receiv_print_stats): Likewise.
683 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
685 2000-11-20 Ulrich Drepper <drepper@redhat.com>
687 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
689 * csu/gmon-start.c: Always have prototype for __gmon_start.
690 * csu/version.c: Add prototypes for __libc_print_version and
692 * iconv/gconv.c: Include gconv_int.h and gconv.h.
693 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
695 * iconv/gconv_builtin.h: Add ASCII module definitions.
696 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
697 (add_module): Add cast to avoid warning. Rework construction of
698 strings for new module.
699 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
700 (derivation_compare): Likewise.
701 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
702 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
703 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
704 (struct gconv_alias): Remove const from fromname and toname.
705 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
707 (internal_ucs4_loop): Use correct const-ness.
708 (ucs4_internal_loop): Likewise.
709 (internal_ucs4le_loop): Likewise.
710 (ucs4le_internal_loop_single): Likewise.
711 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
712 to_idx, to_tbl, winbuf, winbufend const. Change casts in
713 assignments appropriately.
714 (struct known_trans): Remove const from fname.
715 (trans_compare): Make s1 and s2 const.
716 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
718 * iconv/skeleton.c: Remove cast in calls of loop functions.
719 * iconvdata/gconv-modules: Remove US-ASCII definitions.
720 * iconvdata/iso646.c: Remove US_ASCII support.
721 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
722 * include/unistd.h: Add __libc_check_standard_fds prototype.
723 * string/bits/string2.h (__mempcpy_args): Add const to casts.
724 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
726 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
727 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
728 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
730 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
731 __libc_init_first and _dl_start.
732 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
733 (DCIGETTEXT): Make domaindata variable const.
734 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
737 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
739 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
741 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
742 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
745 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
746 value defined in /usr/include/asm-mips/fcntl.h.
748 2000-11-18 Ulrich Drepper <drepper@redhat.com>
750 * stdio-common/Makefile (tests): Add test-vfprintf.
751 (test-vfprintf-ENV): New variable.
752 * stdio-common/test-vfprintf.c: New file.
754 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
756 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
757 (tst-mbrtowc-ENV): New variable.
758 (tst-wcrtomb-ENV): New variable.
759 * wcsmbs/tst-mbrtowc.c: New file.
760 * wcsmbs/tst-wcrtomb.c: New file.
762 2000-11-16 Andreas Jaeger <aj@suse.de>
764 * manual/install.texi (Tools for Compilation): Update
765 documentation for GCC 2.95.2.
767 2000-11-18 Ulrich Drepper <drepper@redhat.com>
769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
770 if IPv4 and IPv6 requests timed out.
772 2000-11-18 Akim Demaille <akim@epita.fr>
774 * malloc/obstack.h: Formatting changes.
775 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
776 prevents type checking.
777 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
778 cast the value to (void *): assigning a `foo *' to a `void *'
780 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
782 2000-11-17 Ulrich Drepper <drepper@redhat.com>
784 * scripts/config.guess: Update from upstream maintainer.
785 * scripts/config.sub: Likewise.
787 2000-11-16 Ulrich Drepper <drepper@redhat.com>
789 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
790 * libio/freopen64.c (freopen64): Likewise.
791 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
793 * libio/Makefile: Add rules to build and run test-freopen.
794 * libio/test-freopen.c: New file.
795 * libio/test-freopen.sh: New file.
797 2000-11-15 H.J. Lu <hjl@gnu.org>
799 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
800 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
801 (DL_DT_FINI_ADDRESS): Likewise.
803 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
804 return type to ElfW(Addr).
805 (_dl_function_address): New prototype.
806 (DL_FUNCTION_ADDRESS): Defined.
807 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
808 (DL_DT_FINI_ADDRESS): Likewise.
810 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
812 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
813 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
815 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
816 (_dl_function_address): This.
818 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
819 function pointer for DT_FINI.
820 * elf/dl-close.c (_dl_close): Likewise.
822 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
823 function pointer for DT_INIT.
825 2000-11-16 Jakub Jelinek <jakub@redhat.com>
827 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
828 end of wexpbuf buffer.
830 2000-11-16 Andreas Jaeger <aj@suse.de>
832 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
833 definition of F_GETLK, F_SETLK, F_SETLKW.
835 2000-11-16 Andreas Jaeger <aj@suse.de>
837 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
840 2000-11-15 Jakub Jelinek <jakub@redhat.com>
842 * dlfcn/default.c (main): Add test for dladdr of main returning
843 argv[0] in dli_fname field.
845 2000-11-15 Jakub Jelinek <jakub@redhat.com>
847 * Makeconfig (run-program-prefix): Move test-static test into the
850 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
851 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
852 schedule instructions.
853 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
854 schedule instructions, fix a bug in copying auxiliary data.
856 2000-11-15 Ulrich Drepper <drepper@redhat.com>
858 * manual/startup.texi (Program Arguments): Fix type of main's envp
860 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
862 * iconvdata/gconv-modules: Add CP950 alias.
864 2000-11-13 Jakub Jelinek <jakub@redhat.com>
866 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
868 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
870 2000-11-15 Ulrich Drepper <drepper@redhat.com>
872 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
874 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
877 * intl/tst-gettext2.c: Set C locale if setting other locale
878 failed. Use gettext() not _().
880 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
881 successfully loaded a new locale.
883 2000-11-13 Andreas Jaeger <aj@suse.de>
885 * configure.in: Require gcc 2.95 or newer.
887 2000-11-15 Ulrich Drepper <drepper@redhat.com>
889 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
890 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
892 2000-11-11 Jim Meyering <meyering@lucent.com>
894 * string/strndup.c (strndup): Cast return value to `char *'.
896 2000-11-15 Jim Meyering <meyering@ascend.com>
898 * sysdeps/generic/memchr.c: Remove some useless parentheses.
899 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
900 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
901 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
902 Also #undef __memchr.
903 Use `weak_alias' only if it's defined.
905 2000-11-10 H.J. Lu <hjl@gnu.org>
907 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
909 2000-11-15 Andreas Jaeger <aj@suse.de>
911 * elf/chroot_canon.c: Include <stdint.h>.
913 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
914 (print_entry): Likewise.
915 (add_to_cache): Likewise.
917 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
919 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
920 (path_hwcap): Likewise.
921 (search_dir): Likewise.
923 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
925 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
927 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
928 (_dl_platform_string): New.
929 (_DL_HWCAP_PLATFORM): New.
930 (_dl_string_platform): New.
931 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
933 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
934 (_dl_string_platform): New.
935 (_DL_HWCAP_PLATFORM): New.
936 (_dl_platform_string): New.
938 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
940 (_DL_HWCAP_COUNT): New.
941 (_dl_string_platform): New.
942 (_DL_HWCAP_PLATFORM): New.
943 (_dl_platform_string): New.
945 2000-11-14 Ulrich Drepper <drepper@redhat.com>
947 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
949 2000-11-14 Andreas Jaeger <aj@suse.de>
951 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to
954 2000-11-13 Roland McGrath <roland@frob.com>
956 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
958 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
960 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
961 underrun and make sure the result is null terminated even if there
962 is no trailing newline.
964 2000-11-13 Jakub Jelinek <jakub@redhat.com>
966 * sysdeps/alpha/fpu/libm-test-ulps: Update.
968 2000-11-10 H.J. Lu <hjl@gnu.org>
970 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
972 2000-11-10 Andreas Jaeger <aj@suse.de>
974 * elf/ldconfig.c (create_links): Fix alloca calculation.
975 Patch by Ben Collins <bcollins@debian.org>.
977 2000-11-09 Ulrich Drepper <drepper@redhat.com>
979 * inet/getnameinfo.c (getnameinfo): Use correct destination
980 parameter for if_indextoname.
981 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
983 2000-11-09 H.J. Lu <hjl@gnu.org>
985 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
986 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
987 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
990 * time/Versions (GLIBC_2.1): Move getitimer to...
991 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
993 2000-11-03 Bruno Haible <haible@clisp.cons.org>
995 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL-C during
996 "make install", to work around a binary incompatibility between
997 glibc 2.1 and glibc 2.2 gconv modules.
999 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1001 * intl/locale.alias: Add thai.
1002 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
1004 2000-11-07 Akim Demaille <akim@epita.fr>
1006 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
1007 argument `data' for consistency with the prototypes.
1009 (obstack_copy, obstack_copy0): Rename the second argument as
1010 `address' for consistency. Qualify it `const'.
1011 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1012 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1013 `const' their input argument (`data' or `address').
1014 Adjust the corresponding macros to include `const' in casts.
1016 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1018 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
1021 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1023 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
1026 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1028 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
1029 ai_protocol by internal table if service was not given.
1031 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1033 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
1034 numerical port was specified with protocol without socktype.
1036 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1038 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
1040 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1042 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
1044 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1046 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
1047 sin6_scope_id field.
1049 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1051 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
1053 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1055 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
1057 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1059 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
1060 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
1062 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
1064 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
1065 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
1067 2000-11-09 H.J. Lu <hjl@gnu.org>
1069 * io/Versions (GLIBC_2.1.1): Remove lockf64.
1072 See ChangeLog.11 for earlier changes.