1 2000-12-05 Ulrich Drepper <drepper@redhat.com>
3 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
4 (sysdep_routines): Add restf and savef.
5 * sysdeps/unix/sysv/aix/restf.c: New file.
6 * sysdeps/unix/sysv/aix/savef.c: New file.
7 Patches by Michael Keezer <mkeezer@redhat.com>.
9 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
10 if O_DIRECTORY is not defined.
11 Patch by Michael Keezer <mkeezer@redhat.com>.
13 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
14 Patch by Michael Keezer <mkeezer@redhat.com>.
16 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
17 than 4 bytes in escape sequence.
18 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
20 2000-12-05 Andreas Jaeger <aj@suse.de>
22 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
25 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
27 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
29 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
30 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
32 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
34 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
35 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
37 * sysdeps/generic/dl-cache.c: Remove declaration of
38 _dl_sysdep_read_whole_file.
40 * elf/dl-load.c (_dl_map_object): Remove declaration of
41 _dl_load_cache_lookup.
43 * sysdeps/generic/ldsodefs.h: Add declarations of
44 _dl_load_cache_lookup, _dl_unload_cache,
45 _dl_sysdep_read_whole_file, _dl_sysdep_start and
46 _dl_sysdep_start_cleanup.
48 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
51 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
52 * sysdeps/generic/dl-environ.c: Likewise.
54 * stdio-common/printf_fp.c: Include <gmp.h> instead of
56 * math/atest-exp.c: Likewise.
57 * math/atest-exp2.c: Likewise.
58 * math/atest-sincos.c: Likewise.
59 * stdio-common/_itoa.c: Likewise.
60 * stdio-common/_itowa.c: Likewise.
62 * include/gmp.h: New file with internal prototypes.
64 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
66 * include/setjmp.h: ...here.
68 * locale/Makefile (routines): Remove codeset_name since it's not
71 * locale/codeset_name.c: Removed.
73 2000-12-05 Ulrich Drepper <drepper@redhat.com>
75 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
77 2000-12-05 Andreas Jaeger <aj@suse.de>
79 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
81 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
83 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
86 2000-12-05 Andreas Jaeger <aj@suse.de>
88 * nss/test-netdb.c: Mark local functions as static to avoid
90 (main): Use return to silence warning.
92 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
94 * stdio-common/test-popen.c: Mark local functions as static to
96 (main): Use return to silence warning.
98 * stdlib/testsort.c (compare): Mark as static to avoid warning.
100 * assert/test-assert.c: Mark local functions as static to avoid
102 * assert/test-assert-perr.c: Likewise.
104 * math/libm-test.inc (main): Use return to silence warnings.
106 2000-12-04 Ulrich Drepper <drepper@redhat.com>
108 * math/fenv.h: Fix typo in comment.
110 * math/test-misc.c (main): Add a few more over and underflow tests
113 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
114 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
115 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
116 * math/w_scalb.c: Don't use matherr except in SVID mode.
117 * math/w_scalbf.c: Likewise.
118 * math/w_scalbl.c: Likewise.
119 * math/test-misc.c: Add test for NaN and scalbl.
120 Reported by Fred J. Tydeman <tydeman@tybor.com>.
122 2000-12-04 Ulrich Drepper <drepper@redhat.com>
124 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
125 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
126 * include/libc-symbols.h (strong_alias): Define special version
127 for HAVE_ASM_GLOBAL_DOT_NAME.
128 (weak_alias): Likewise.
129 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
130 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
131 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
132 getutxline, pututxline, and utmpxname.
133 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
134 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
135 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
136 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
137 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
138 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
139 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
140 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
141 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
142 Patches by Michael Keezer <mkeezer@redhat.com>.
144 2000-12-04 H.J. Lu <hjl@gnu.org>
146 * configure.in: Change --with-oldest-abi=ABI to
147 --enable-oldest-abi=ABI.
149 2000-12-02 Bruno Haible <haible@clisp.cons.org>
151 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
152 fwprintf instead of fprintf.
154 2000-12-04 Ulrich Drepper <drepper@redhat.com>
156 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
157 DECIMAL_DIG definitions.
158 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
159 * sysdeps/generic/bits/mathdef.h: Likewise
160 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
161 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
162 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
163 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
164 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
165 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
167 2000-12-03 Ulrich Drepper <drepper@redhat.com>
169 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
171 * math/atest-exp.c: Mark local functions as static to avoid warnings.
172 * math/atest-exp2.c: Likewise.
173 * math/atest-sincos.c: Likewise.
175 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
176 Reported by Fred J. Tydeman <tydeman@tybor.com>.
178 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
179 the handling of denormalized numbers.
181 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
183 * sysdeps/i386/fpu/fpclassifyl.c: New file.
185 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
186 pseudo denormal representation of LDBL_MIN.
188 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
189 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
191 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
192 * iconvdata/jis0208.c: Likewise.
193 * iconvdata/jis0212.c: Likewise.
194 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
196 * math/test-misc.c (main): More tests for frexp and some for
197 fpclassify and isnormal.
199 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
201 Reported by Fred J. Tydeman <tydeman@tybor.com>.
203 * math/test-misc.c (main): Add tests for frexp.
204 Reported by Fred J. Tydeman <tydeman@tybor.com>.
205 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
207 2000-12-02 H.J. Lu <hjl@gnu.org>
209 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
212 2000-12-02 Ulrich Drepper <drepper@redhat.com>
214 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
215 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
216 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
218 * sysdeps/generic/glob.c: Adjust types of several variables to
221 2000-12-01 Ulrich Drepper <drepper@redhat.com>
223 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
225 2000-11-30 Roland McGrath <roland@frob.com>
227 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
228 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
229 allow multiple instances using the same function name in one file.
231 2000-12-01 Ulrich Drepper <drepper@redhat.com>
233 * configure.in: Correct test for pserver CVS access.
235 2000-11-28 H.J. Lu <hjl@gnu.org>
237 * libio/libio.h: Remove extra "#if ... #endif".
239 2000-11-29 H.J. Lu <hjl@gnu.org>
241 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
243 2000-12-01 H.J. Lu <hjl@gnu.org>
245 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
246 * nss/getXXent_r.c: Likewise.
247 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
249 2000-11-30 H.J. Lu <hjl@gnu.org>
251 * scripts/abi-versions.awk (oldest_abi): New variable.
252 Handle the oldest ABI supported.
254 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
255 for scripts/abi-versions.awk.
257 * configure.in: Add --with-oldest-abi=ABI.
258 * configure: Rebuild.
260 * config.make.in (oldest-abi): New.
262 * config.h.in (GLIBC_OLDEST_ABI): New.
264 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
266 2000-11-30 Jakub Jelinek <jakub@redhat.com>
268 * locale/setlocale.c (setname): Free for all categories, not just
270 (setlocale): Store a copy of string passed by user, not the string
273 2000-11-30 Roland McGrath <roland@frob.com>
275 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
276 rather than _hurd_fd_subinit, so it happens after it's safe to use
277 libc facilities like malloc.
279 2000-11-28 Andreas Jaeger <aj@suse.de>
281 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
282 declaration, adjust declaration of __syscall_getdents to match
285 2000-11-29 H.J. Lu <hjl@gnu.org>
287 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
289 2000-11-29 Andreas Jaeger <aj@suse.de>
291 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
293 2000-11-28 Ulrich Drepper <drepper@redhat.com>
295 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
296 * dlfcn/defaultmod2.c: Likewise.
297 * dlfcn/dlopen.c: Likewise.
298 * dlfcn/dlopenold.c: Likewise.
299 * dlfcn/failtestmod.c: Likewise.
300 * dlfcn/glreflib1.c: Likewise.
301 * dlfcn/glreflib2.c: Likewise.
302 * dlfcn/eval.c: Likewise. Add attributes.
304 * ctype/ctype-extn.c: Define isblank and not __isblank.
306 * time/strftime.c: Add const where necessary to avoid warnings.
307 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
309 2000-11-22 Paul Eggert <eggert@twinsun.com>
311 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
312 size of (size_t) -1; it's not portable.
314 2000-11-28 Ulrich Drepper <drepper@redhat.com>
316 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
318 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
320 2000-11-14 Jes Sorensen <jes@linuxcare.com>
322 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
324 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
325 _mcount is required by profiled binaries.
327 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
328 * sysdeps/ia64/machine-gmon.h: ...here.
330 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
332 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
333 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
335 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
337 * iconvdata/ibm922.c: New file.
338 * iconvdata/ibm922.h: New file.
339 * iconvdata/ibm1124.c: New file.
340 * iconvdata/ibm1124.h: New file.
341 * iconvdata/ibm1129.c: New file.
342 * iconvdata/ibm1129.h: New file.
343 * iconvdata/testdata/IBM922: New file.
344 * iconvdata/testdata/IBM922..UTF8: New file.
345 * iconvdata/testdata/IBM1124: New file.
346 * iconvdata/testdata/IBM1124..UTF8: New file.
347 * iconvdata/testdata/IBM1129: New file.
348 * iconvdata/testdata/IBM1129..UTF8: New file.
350 2000-11-28 Ulrich Drepper <drepper@redhat.com>
352 * catgets/gencat.c (normalize_line): Take extra parameter with escape
353 character. Change callers.
354 (open_conversion): Determine mapping of 0x5c as wchar_t value.
355 * catgets/Makefile: Add rules to build and run test-gencat.
356 * catgets/sample.SJIS: New file.
357 * catgets/test-gencat.c: New file.
358 * catgets/test-gencat.sh: New file.
359 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
361 2000-11-28 Andreas Jaeger <aj@suse.de>
363 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
366 2000-11-28 Ulrich Drepper <drepper@redhat.com>
368 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
370 2000-11-28 Andreas Jaeger <aj@suse.de>
372 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
374 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
377 2000-11-27 Ulrich Drepper <drepper@redhat.com>
379 * misc/getusershell.c: Make strings in okshells array const.
380 * misc/regexp.c: Add const to cast to avoid warnings.
381 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
382 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
384 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
386 * misc/error.c: Add prototypes for __error and __error_at_line.
387 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
388 statement to avoid warning.
389 * test-skeleton.c: Mark timeout_handler with noreturn.
390 * iconv/skeleton.c (get16u): Add const to cast.
392 * iconvdata/gb18030.c: Likewise.
393 * iconvdata/iso-2022-cn-ext.c: Likewise.
394 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
395 * iconvdata/big5.c: Likewise.
396 * iconvdata/big5hkscs.c: Likewise.
397 * iconvdata/iso_6937.c: Likewise.
398 * iconvdata/iso_6937-2.c: Likewise.
399 * iconvdata/t.61.c: Likewise.
400 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
401 * iconvdata/unicode.c: Likewise.
402 * iconvdata/utf-16.c: Likewise.
403 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
404 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
405 with little code shuffling.
407 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
408 the problems introduced when the user selects -O3.
410 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
411 * misc/sys/cdefs.h: Define __flexarr.
412 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
414 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
415 * iconv/skeleton.c: Likewise.
416 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
417 * iconv/loop.c (get16): Add const to cast.
420 2000-11-27 Andreas Jaeger <aj@suse.de>
422 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
424 * login/programs/utmpdump.c (print_entry): Likewise.
426 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
428 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
429 in a single asm as they may be used to access other stored
431 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
433 2000-11-27 Andreas Jaeger <aj@suse.de>
435 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
436 * rt/tst-aio64.c: Likewise.
438 2000-11-27 Ulrich Drepper <drepper@redhat.com>
440 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
442 (libc.cat): Likewise.
443 * catgets/gencat.c: Implement handling of message catalogs encoded
444 with stateful character sets.
445 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
447 2000-11-26 Ulrich Drepper <drepper@redhat.com>
449 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
451 * inet/getnameinfo.c: Adjust casts to avoid warnings.
452 * inet/rcmd.c: Likewise.
453 * inet/ruserpass.c: Likewise.
454 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
455 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
456 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
457 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
458 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
459 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
460 * include/aliases.h: Add prototypes for internal __getalias* functions.
461 * include/netdb.h: Add prototypes for __old_gethostent_r,
462 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
463 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
464 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
465 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
466 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
467 __old_getrpcbynumber_r, __old_getrpcent_r.
469 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
470 __getrpcent_r prototypes.
472 2000-11-25 Ulrich Drepper <drepper@redhat.com>
474 * string/strcoll.c: Add casts to avoid warnings.
475 * string/strnlen.c: Likewise.
476 * string/strxfrm.c: Likewise.
477 * sysdeps/generic/_strerror.c: Likewise.
478 * sysdeps/generic/memrchr.c: Likewise.
479 * sysdeps/generic/strcasestr.c: Likewise.
480 * sysdeps/generic/strstr.c: Likewise.
482 * locale/weight.h (findidx): Add const to cast to avoid warning.
484 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
485 * elf/loadtest.c: Likewise.
486 * elf/multiload.c: Likewise.
487 * elf/next.c: Likewise.
488 * elf/nodelete.c: Likewise.
489 * elf/noload.c: Likewise.
490 * elf/order.c: Likewise.
491 * elf/origtest.c: Likewise.
492 * elf/preloadtest.c: Likewise.
493 * elf/restest1.c: Likewise.
495 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
496 parameter of asm must be in %ecx.
498 * string/tester.c: Mark test functions as static to avoid warnings.
500 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
501 preserve value over different gconv-modules files.
503 2000-11-24 Ulrich Drepper <drepper@redhat.com>
505 * locale/findlocale.c: Add casts to avoid warnings.
506 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
507 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
509 * misc/tsearch.c (const_node): New type.
510 (trecurse): Correct casts to avoid warnings.
512 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
515 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
517 * test-skeleton.c: Mark local functions as static to avoid warnings.
519 2000-11-23 H.J. Lu <hjl@gnu.org>
521 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
522 support the background job.
525 2000-11-24 Ulrich Drepper <drepper@redhat.com>
527 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
528 has same names but lower cost.
530 2000-11-23 Jakub Jelinek <jakub@redhat.com>
532 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
533 which never occur during bootstrap.
534 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
536 2000-11-23 Andreas Jaeger <aj@suse.de>
538 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
540 * nss/Versions: Remove _nss_files_getipnodebyname_r.
542 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
544 2000-11-18 Martin Buchholz <martin@xemacs.org>
546 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
549 2000-11-21 Alan Modra <alan@linuxcare.com.au>
551 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
553 * csu/abi-note.S: Correct comment for operating system number.
555 2000-11-22 Ulrich Drepper <drepper@redhat.com>
557 * Versions.def: Add GLIBC_2.2.1 for glibc.
559 2000-11-22 Andreas Schwab <schwab@suse.de>
561 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
562 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
564 2000-11-22 Ulrich Drepper <drepper@redhat.com>
566 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
567 absolute time for pthread_cond_timedwait call.
568 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
570 * rt/Makefile (tests): Add tst-aio6.
571 * rt/tst-aio6.c: New file.
573 2000-11-23 Andreas Jaeger <aj@suse.de>
575 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
577 2000-11-22 Andreas Jaeger <aj@suse.de>
579 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
581 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
583 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
585 2000-11-21 Andreas Schwab <schwab@suse.de>
587 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
588 * sysdeps/arm/setjmp.S: Likewise.
589 * sysdeps/arm/fpu/setjmp.S: Likewise.
590 * sysdeps/i386/setjmp.S: Likewise.
591 * sysdeps/i386/elf/setjmp.S: Likewise.
592 * sysdeps/s390/setjmp.S: Likewise.
593 * sysdeps/s390/elf/setjmp.S: Likewise.
594 * sysdeps/sh/sh3/setjmp.S: Likewise.
595 * sysdeps/sh/sh4/setjmp.S: Likewise.
596 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
597 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
598 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
599 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
601 2000-11-21 Andreas Jaeger <aj@suse.de>
603 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
604 NORETURN, fix parameter list.
606 * string/bug-strncat1.c (main): Fix typo.
607 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
609 2000-11-20 Ulrich Drepper <drepper@redhat.com>
611 * configure.in: Add --enable-all-warnings.
612 * config.make.in (all-warnings): New variable.
613 * Makeconfig (+gccwarn): Define with many more warnings if
616 2000-11-20 Jakub Jelinek <jakub@redhat.com>
618 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
619 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
620 * malloc/tst-valloc.c (main): Cast valloc return value to long.
621 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
622 * math/test-fpucw.c (main): Use %lx in format string, cast
623 control words to long.
624 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
625 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
626 large that it is unsigned warning.
628 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
629 it to long on sparc64.
631 2000-11-20 Andreas Jaeger <aj@suse.de>
633 * nscd/nscd.h (termination_handler): Add noreturn attribute.
634 (receiv_print_stats): Likewise.
636 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
638 2000-11-20 Ulrich Drepper <drepper@redhat.com>
640 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
642 * csu/gmon-start.c: Always have prototype for __gmon_start.
643 * csu/version.c: Add prototypes for __libc_print_version and
645 * iconv/gconv.c: Include gconv_int.h and gconv.h.
646 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
648 * iconv/gconv_builtin.h: Add ASCII module definitions.
649 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
650 (add_module): Add cast to avoid warning. Rework construction of
651 strings for new module.
652 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
653 (derivation_compare): Likewise.
654 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
655 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
656 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
657 (struct gconv_alias): Remove const from fromname and toname.
658 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
660 (internal_ucs4_loop): Use correct const-ness.
661 (ucs4_internal_loop): Likewise.
662 (internal_ucs4le_loop): Likewise.
663 (ucs4le_internal_loop_single): Likewise.
664 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
665 to_idx, to_tbl, winbuf, winbufend const. Change casts in
666 assignments appropriately.
667 (struct known_trans): Remove const from fname.
668 (trans_compare): Make s1 and s2 const.
669 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
671 * iconv/skeleton.c: Remove cast in calls of loop functions.
672 * iconvdata/gconv-modules: Remove US-ASCII definitions.
673 * iconvdata/iso646.c: Remove US_ASCII support.
674 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
675 * include/unistd.h: Add __libc_check_standard_fds prototype.
676 * string/bits/string2.h (__mempcpy_args): Add const to casts.
677 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
679 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
680 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
681 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
683 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
684 __libc_init_first and _dl_start.
685 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
686 (DCIGETTEXT): Make domaindata variable const.
687 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
690 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
692 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
694 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
695 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
698 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
699 value defined in /usr/include/asm-mips/fcntl.h.
701 2000-11-18 Ulrich Drepper <drepper@redhat.com>
703 * stdio-common/Makefile (tests): Add test-vfprintf.
704 (test-vfprintf-ENV): New variable.
705 * stdio-common/test-vfprintf.c: New file.
707 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
709 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
710 (tst-mbrtowc-ENV): New variable.
711 (tst-wcrtomb-ENV): New variable.
712 * wcsmbs/tst-mbrtowc.c: New file.
713 * wcsmbs/tst-wcrtomb.c: New file.
715 2000-11-16 Andreas Jaeger <aj@suse.de>
717 * manual/install.texi (Tools for Compilation): Update
718 documentation for GCC 2.95.2.
720 2000-11-18 Ulrich Drepper <drepper@redhat.com>
722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
723 if IPv4 and IPv6 requests timed out.
725 2000-11-18 Akim Demaille <akim@epita.fr>
727 * malloc/obstack.h: Formatting changes.
728 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
729 prevents type checking.
730 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
731 cast the value to (void *): assigning a `foo *' to a `void *'
733 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
735 2000-11-17 Ulrich Drepper <drepper@redhat.com>
737 * scripts/config.guess: Update from upstream maintainer.
738 * scripts/config.sub: Likewise.
740 2000-11-16 Ulrich Drepper <drepper@redhat.com>
742 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
743 * libio/freopen64.c (freopen64): Likewise.
744 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
746 * libio/Makefile: Add rules to build and run test-freopen.
747 * libio/test-freopen.c: New file.
748 * libio/test-freopen.sh: New file.
750 2000-11-15 H.J. Lu <hjl@gnu.org>
752 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
753 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
754 (DL_DT_FINI_ADDRESS): Likewise.
756 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
757 return type to ElfW(Addr).
758 (_dl_function_address): New prototype.
759 (DL_FUNCTION_ADDRESS): Defined.
760 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
761 (DL_DT_FINI_ADDRESS): Likewise.
763 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
765 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
766 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
768 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
769 (_dl_function_address): This.
771 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
772 function pointer for DT_FINI.
773 * elf/dl-close.c (_dl_close): Likewise.
775 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
776 function pointer for DT_INIT.
778 2000-11-16 Jakub Jelinek <jakub@redhat.com>
780 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
781 end of wexpbuf buffer.
783 2000-11-16 Andreas Jaeger <aj@suse.de>
785 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
786 definition of F_GETLK, F_SETLK, F_SETLKW.
788 2000-11-16 Andreas Jaeger <aj@suse.de>
790 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
793 2000-11-15 Jakub Jelinek <jakub@redhat.com>
795 * dlfcn/default.c (main): Add test for dladdr of main returning
796 argv[0] in dli_fname field.
798 2000-11-15 Jakub Jelinek <jakub@redhat.com>
800 * Makeconfig (run-program-prefix): Move test-static test into the
803 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
804 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
805 schedule instructions.
806 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
807 schedule instructions, fix a bug in copying auxiliary data.
809 2000-11-15 Ulrich Drepper <drepper@redhat.com>
811 * manual/startup.texi (Program Arguments): Fix type of main's envp
813 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
815 * iconvdata/gconv-modules: Add CP950 alias.
817 2000-11-13 Jakub Jelinek <jakub@redhat.com>
819 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
821 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
823 2000-11-15 Ulrich Drepper <drepper@redhat.com>
825 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
827 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
830 * intl/tst-gettext2.c: Set C locale if setting other locale
831 failed. Use gettext() not _().
833 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
834 successfully loaded a new locale.
836 2000-11-13 Andreas Jaeger <aj@suse.de>
838 * configure.in: Require gcc 2.95 or newer.
840 2000-11-15 Ulrich Drepper <drepper@redhat.com>
842 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
843 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
845 2000-11-11 Jim Meyering <meyering@lucent.com>
847 * string/strndup.c (strndup): Cast return value to `char *'.
849 2000-11-15 Jim Meyering <meyering@ascend.com>
851 * sysdeps/generic/memchr.c: Remove some useless parentheses.
852 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
853 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
854 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
855 Also #undef __memchr.
856 Use `weak_alias' only if it's defined.
858 2000-11-10 H.J. Lu <hjl@gnu.org>
860 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
862 2000-11-15 Andreas Jaeger <aj@suse.de>
864 * elf/chroot_canon.c: Include <stdint.h>.
866 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
867 (print_entry): Likewise.
868 (add_to_cache): Likewise.
870 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
872 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
873 (path_hwcap): Likewise.
874 (search_dir): Likewise.
876 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
878 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
880 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
881 (_dl_platform_string): New.
882 (_DL_HWCAP_PLATFORM): New.
883 (_dl_string_platform): New.
884 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
886 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
887 (_dl_string_platform): New.
888 (_DL_HWCAP_PLATFORM): New.
889 (_dl_platform_string): New.
891 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
893 (_DL_HWCAP_COUNT): New.
894 (_dl_string_platform): New.
895 (_DL_HWCAP_PLATFORM): New.
896 (_dl_platform_string): New.
898 2000-11-14 Ulrich Drepper <drepper@redhat.com>
900 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
902 2000-11-14 Andreas Jaeger <aj@suse.de>
904 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to
907 2000-11-13 Roland McGrath <roland@frob.com>
909 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
911 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
913 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
914 underrun and make sure the result is null terminated even if there
915 is no trailing newline.
917 2000-11-13 Jakub Jelinek <jakub@redhat.com>
919 * sysdeps/alpha/fpu/libm-test-ulps: Update.
921 2000-11-10 H.J. Lu <hjl@gnu.org>
923 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
925 2000-11-10 Andreas Jaeger <aj@suse.de>
927 * elf/ldconfig.c (create_links): Fix alloca calculation.
928 Patch by Ben Collins <bcollins@debian.org>.
930 2000-11-09 Ulrich Drepper <drepper@redhat.com>
932 * inet/getnameinfo.c (getnameinfo): Use correct destination
933 parameter for if_indextoname.
934 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
936 2000-11-09 H.J. Lu <hjl@gnu.org>
938 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
939 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
940 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
943 * time/Versions (GLIBC_2.1): Move getitimer to...
944 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
946 2000-11-03 Bruno Haible <haible@clisp.cons.org>
948 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL-C during
949 "make install", to work around a binary incompatibility between
950 glibc 2.1 and glibc 2.2 gconv modules.
952 2000-11-09 Ulrich Drepper <drepper@redhat.com>
954 * intl/locale.alias: Add thai.
955 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
957 2000-11-07 Akim Demaille <akim@epita.fr>
959 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
960 argument `data' for consistency with the prototypes.
962 (obstack_copy, obstack_copy0): Rename the second argument as
963 `address' for consistency. Qualify it `const'.
964 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
965 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
966 `const' their input argument (`data' or `address').
967 Adjust the corresponding macros to include `const' in casts.
969 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
971 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
974 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
976 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
979 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
981 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
982 ai_protocol by internal table if service was not given.
984 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
986 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
987 numerical port was specified with protocol without socktype.
989 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
991 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
993 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
995 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
997 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
999 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
1000 sin6_scope_id field.
1002 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1004 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
1006 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1008 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
1010 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1012 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
1013 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
1015 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
1017 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
1018 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
1020 2000-11-09 H.J. Lu <hjl@gnu.org>
1022 * io/Versions (GLIBC_2.1.1): Remove lockf64.
1025 See ChangeLog.11 for earlier changes.