1 2000-12-04 Ulrich Drepper <drepper@redhat.com>
3 * math/fenv.h: Fix typo in comment.
5 * math/test-misc.c (main): Add a few more over and underflow tests
8 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
9 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11 * math/w_scalb.c: Don't use matherr except in SVID mode.
12 * math/w_scalbf.c: Likewise.
13 * math/w_scalbl.c: Likewise.
14 * math/test-misc.c: Add test for NaN and scalbl.
15 Reported by Fred J. Tydeman <tydeman@tybor.com>.
17 2000-12-04 Ulrich Drepper <drepper@redhat.com>
19 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
20 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
21 * include/libc-symbols.h (strong_alias): Define special version
22 for HAVE_ASM_GLOBAL_DOT_NAME.
23 (weak_alias): Likewise.
24 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
25 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
26 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
27 getutxline, pututxline, and utmpxname.
28 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
29 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
30 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
31 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
32 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
33 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
34 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
35 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
36 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
37 Patches by Michael Keezer <mkeezer@redhat.com>.
39 2000-12-04 H.J. Lu <hjl@gnu.org>
41 * configure.in: Change --with-oldest-abi=ABI to
42 --enable-oldest-abi=ABI.
44 2000-12-02 Bruno Haible <haible@clisp.cons.org>
46 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
47 fwprintf instead of fprintf.
49 2000-12-04 Ulrich Drepper <drepper@redhat.com>
51 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
52 DECIMAL_DIG definitions.
53 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
54 * sysdeps/generic/bits/mathdef.h: Likewise
55 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
56 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
57 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
58 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
59 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
60 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
62 2000-12-03 Ulrich Drepper <drepper@redhat.com>
64 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
66 * math/atest-exp.c: Mark local functions as static to avoid warnings.
67 * math/atest-exp2.c: Likewise.
68 * math/atest-sincos.c: Likewise.
70 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
71 Reported by Fred J. Tydeman <tydeman@tybor.com>.
73 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
74 the handling of denormalized numbers.
76 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
78 * sysdeps/i386/fpu/fpclassifyl.c: New file.
80 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
81 pseudo denormal representation of LDBL_MIN.
83 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
84 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
86 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
87 * iconvdata/jis0208.c: Likewise.
88 * iconvdata/jis0212.c: Likewise.
89 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
91 * math/test-misc.c (main): More tests for frexp and some for
92 fpclassify and isnormal.
94 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
96 Reported by Fred J. Tydeman <tydeman@tybor.com>.
98 * math/test-misc.c (main): Add tests for frexp.
99 Reported by Fred J. Tydeman <tydeman@tybor.com>.
100 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
102 2000-12-02 H.J. Lu <hjl@gnu.org>
104 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
107 2000-12-02 Ulrich Drepper <drepper@redhat.com>
109 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
110 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
111 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
113 * sysdeps/generic/glob.c: Adjust types of several variables to
116 2000-12-01 Ulrich Drepper <drepper@redhat.com>
118 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
120 2000-11-30 Roland McGrath <roland@frob.com>
122 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
123 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
124 allow multiple instances using the same function name in one file.
126 2000-12-01 Ulrich Drepper <drepper@redhat.com>
128 * configure.in: Correct test for pserver CVS access.
130 2000-11-28 H.J. Lu <hjl@gnu.org>
132 * libio/libio.h: Remove extra "#if ... #endif".
134 2000-11-29 H.J. Lu <hjl@gnu.org>
136 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
138 2000-12-01 H.J. Lu <hjl@gnu.org>
140 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
141 * nss/getXXent_r.c: Likewise.
142 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
144 2000-11-30 H.J. Lu <hjl@gnu.org>
146 * scripts/abi-versions.awk (oldest_abi): New variable.
147 Handle the oldest ABI supported.
149 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
150 for scripts/abi-versions.awk.
152 * configure.in: Add --with-oldest-abi=ABI.
153 * configure: Rebuild.
155 * config.make.in (oldest-abi): New.
157 * config.h.in (GLIBC_OLDEST_ABI): New.
159 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
161 2000-11-30 Jakub Jelinek <jakub@redhat.com>
163 * locale/setlocale.c (setname): Free for all categories, not just
165 (setlocale): Store a copy of string passed by user, not the string
168 2000-11-30 Roland McGrath <roland@frob.com>
170 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
171 rather than _hurd_fd_subinit, so it happens after it's safe to use
172 libc facilities like malloc.
174 2000-11-28 Andreas Jaeger <aj@suse.de>
176 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
177 declaration, adjust declaration of __syscall_getdents to match
180 2000-11-29 H.J. Lu <hjl@gnu.org>
182 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
184 2000-11-29 Andreas Jaeger <aj@suse.de>
186 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
188 2000-11-28 Ulrich Drepper <drepper@redhat.com>
190 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
191 * dlfcn/defaultmod2.c: Likewise.
192 * dlfcn/dlopen.c: Likewise.
193 * dlfcn/dlopenold.c: Likewise.
194 * dlfcn/failtestmod.c: Likewise.
195 * dlfcn/glreflib1.c: Likewise.
196 * dlfcn/glreflib2.c: Likewise.
197 * dlfcn/eval.c: Likewise. Add attributes.
199 * ctype/ctype-extn.c: Define isblank and not __isblank.
201 * time/strftime.c: Add const where necessary to avoid warnings.
202 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
204 2000-11-22 Paul Eggert <eggert@twinsun.com>
206 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
207 size of (size_t) -1; it's not portable.
209 2000-11-28 Ulrich Drepper <drepper@redhat.com>
211 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
213 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
215 2000-11-14 Jes Sorensen <jes@linuxcare.com>
217 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
219 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
220 _mcount is required by profiled binaries.
222 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
223 * sysdeps/ia64/machine-gmon.h: ...here.
225 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
227 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
228 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
230 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
232 * iconvdata/ibm922.c: New file.
233 * iconvdata/ibm922.h: New file.
234 * iconvdata/ibm1124.c: New file.
235 * iconvdata/ibm1124.h: New file.
236 * iconvdata/ibm1129.c: New file.
237 * iconvdata/ibm1129.h: New file.
238 * iconvdata/testdata/IBM922: New file.
239 * iconvdata/testdata/IBM922..UTF8: New file.
240 * iconvdata/testdata/IBM1124: New file.
241 * iconvdata/testdata/IBM1124..UTF8: New file.
242 * iconvdata/testdata/IBM1129: New file.
243 * iconvdata/testdata/IBM1129..UTF8: New file.
245 2000-11-28 Ulrich Drepper <drepper@redhat.com>
247 * catgets/gencat.c (normalize_line): Take extra parameter with escape
248 character. Change callers.
249 (open_conversion): Determine mapping of 0x5c as wchar_t value.
250 * catgets/Makefile: Add rules to build and run test-gencat.
251 * catgets/sample.SJIS: New file.
252 * catgets/test-gencat.c: New file.
253 * catgets/test-gencat.sh: New file.
254 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
256 2000-11-28 Andreas Jaeger <aj@suse.de>
258 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
261 2000-11-28 Ulrich Drepper <drepper@redhat.com>
263 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
265 2000-11-28 Andreas Jaeger <aj@suse.de>
267 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
269 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
272 2000-11-27 Ulrich Drepper <drepper@redhat.com>
274 * misc/getusershell.c: Make strings in okshells array const.
275 * misc/regexp.c: Add const to cast to avoid warnings.
276 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
277 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
279 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
281 * misc/error.c: Add prototypes for __error and __error_at_line.
282 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
283 statement to avoid warning.
284 * test-skeleton.c: Mark timeout_handler with noreturn.
285 * iconv/skeleton.c (get16u): Add const to cast.
287 * iconvdata/gb18030.c: Likewise.
288 * iconvdata/iso-2022-cn-ext.c: Likewise.
289 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
290 * iconvdata/big5.c: Likewise.
291 * iconvdata/big5hkscs.c: Likewise.
292 * iconvdata/iso_6937.c: Likewise.
293 * iconvdata/iso_6937-2.c: Likewise.
294 * iconvdata/t.61.c: Likewise.
295 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
296 * iconvdata/unicode.c: Likewise.
297 * iconvdata/utf-16.c: Likewise.
298 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
299 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
300 with little code shuffling.
302 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
303 the problems introduced when the user selects -O3.
305 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
306 * misc/sys/cdefs.h: Define __flexarr.
307 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
309 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
310 * iconv/skeleton.c: Likewise.
311 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
312 * iconv/loop.c (get16): Add const to cast.
315 2000-11-27 Andreas Jaeger <aj@suse.de>
317 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
319 * login/programs/utmpdump.c (print_entry): Likewise.
321 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
323 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
324 in a single asm as they may be used to access other stored
326 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
328 2000-11-27 Andreas Jaeger <aj@suse.de>
330 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
331 * rt/tst-aio64.c: Likewise.
333 2000-11-27 Ulrich Drepper <drepper@redhat.com>
335 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
337 (libc.cat): Likewise.
338 * catgets/gencat.c: Implement handling of message catalogs encoded
339 with stateful character sets.
340 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
342 2000-11-26 Ulrich Drepper <drepper@redhat.com>
344 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
346 * inet/getnameinfo.c: Adjust casts to avoid warnings.
347 * inet/rcmd.c: Likewise.
348 * inet/ruserpass.c: Likewise.
349 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
350 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
351 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
352 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
353 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
354 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
355 * include/aliases.h: Add prototypes for internal __getalias* functions.
356 * include/netdb.h: Add prototypes for __old_gethostent_r,
357 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
358 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
359 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
360 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
361 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
362 __old_getrpcbynumber_r, __old_getrpcent_r.
364 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
365 __getrpcent_r prototypes.
367 2000-11-25 Ulrich Drepper <drepper@redhat.com>
369 * string/strcoll.c: Add casts to avoid warnings.
370 * string/strnlen.c: Likewise.
371 * string/strxfrm.c: Likewise.
372 * sysdeps/generic/_strerror.c: Likewise.
373 * sysdeps/generic/memrchr.c: Likewise.
374 * sysdeps/generic/strcasestr.c: Likewise.
375 * sysdeps/generic/strstr.c: Likewise.
377 * locale/weight.h (findidx): Add const to cast to avoid warning.
379 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
380 * elf/loadtest.c: Likewise.
381 * elf/multiload.c: Likewise.
382 * elf/next.c: Likewise.
383 * elf/nodelete.c: Likewise.
384 * elf/noload.c: Likewise.
385 * elf/order.c: Likewise.
386 * elf/origtest.c: Likewise.
387 * elf/preloadtest.c: Likewise.
388 * elf/restest1.c: Likewise.
390 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
391 parameter of asm must be in %ecx.
393 * string/tester.c: Mark test functions as static to avoid warnings.
395 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
396 preserve value over different gconv-modules files.
398 2000-11-24 Ulrich Drepper <drepper@redhat.com>
400 * locale/findlocale.c: Add casts to avoid warnings.
401 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
402 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
404 * misc/tsearch.c (const_node): New type.
405 (trecurse): Correct casts to avoid warnings.
407 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
410 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
412 * test-skeleton.c: Mark local functions as static to avoid warnings.
414 2000-11-23 H.J. Lu <hjl@gnu.org>
416 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
417 support the background job.
420 2000-11-24 Ulrich Drepper <drepper@redhat.com>
422 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
423 has same names but lower cost.
425 2000-11-23 Jakub Jelinek <jakub@redhat.com>
427 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
428 which never occur during bootstrap.
429 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
431 2000-11-23 Andreas Jaeger <aj@suse.de>
433 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
435 * nss/Versions: Remove _nss_files_getipnodebyname_r.
437 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
439 2000-11-18 Martin Buchholz <martin@xemacs.org>
441 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
444 2000-11-21 Alan Modra <alan@linuxcare.com.au>
446 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
448 * csu/abi-note.S: Correct comment for operating system number.
450 2000-11-22 Ulrich Drepper <drepper@redhat.com>
452 * Versions.def: Add GLIBC_2.2.1 for glibc.
454 2000-11-22 Andreas Schwab <schwab@suse.de>
456 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
457 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
459 2000-11-22 Ulrich Drepper <drepper@redhat.com>
461 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
462 absolute time for pthread_cond_timedwait call.
463 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
465 * rt/Makefile (tests): Add tst-aio6.
466 * rt/tst-aio6.c: New file.
468 2000-11-23 Andreas Jaeger <aj@suse.de>
470 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
472 2000-11-22 Andreas Jaeger <aj@suse.de>
474 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
476 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
478 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
480 2000-11-21 Andreas Schwab <schwab@suse.de>
482 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
483 * sysdeps/arm/setjmp.S: Likewise.
484 * sysdeps/arm/fpu/setjmp.S: Likewise.
485 * sysdeps/i386/setjmp.S: Likewise.
486 * sysdeps/i386/elf/setjmp.S: Likewise.
487 * sysdeps/s390/setjmp.S: Likewise.
488 * sysdeps/s390/elf/setjmp.S: Likewise.
489 * sysdeps/sh/sh3/setjmp.S: Likewise.
490 * sysdeps/sh/sh4/setjmp.S: Likewise.
491 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
492 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
493 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
494 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
496 2000-11-21 Andreas Jaeger <aj@suse.de>
498 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
499 NORETURN, fix parameter list.
501 * string/bug-strncat1.c (main): Fix typo.
502 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
504 2000-11-20 Ulrich Drepper <drepper@redhat.com>
506 * configure.in: Add --enable-all-warnings.
507 * config.make.in (all-warnings): New variable.
508 * Makeconfig (+gccwarn): Define with many more warnings if
511 2000-11-20 Jakub Jelinek <jakub@redhat.com>
513 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
514 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
515 * malloc/tst-valloc.c (main): Cast valloc return value to long.
516 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
517 * math/test-fpucw.c (main): Use %lx in format string, cast
518 control words to long.
519 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
520 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
521 large that it is unsigned warning.
523 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
524 it to long on sparc64.
526 2000-11-20 Andreas Jaeger <aj@suse.de>
528 * nscd/nscd.h (termination_handler): Add noreturn attribute.
529 (receiv_print_stats): Likewise.
531 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
533 2000-11-20 Ulrich Drepper <drepper@redhat.com>
535 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
537 * csu/gmon-start.c: Always have prototype for __gmon_start.
538 * csu/version.c: Add prototypes for __libc_print_version and
540 * iconv/gconv.c: Include gconv_int.h and gconv.h.
541 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
543 * iconv/gconv_builtin.h: Add ASCII module definitions.
544 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
545 (add_module): Add cast to avoid warning. Rework construction of
546 strings for new module.
547 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
548 (derivation_compare): Likewise.
549 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
550 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
551 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
552 (struct gconv_alias): Remove const from fromname and toname.
553 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
555 (internal_ucs4_loop): Use correct const-ness.
556 (ucs4_internal_loop): Likewise.
557 (internal_ucs4le_loop): Likewise.
558 (ucs4le_internal_loop_single): Likewise.
559 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
560 to_idx, to_tbl, winbuf, winbufend const. Change casts in
561 assignments appropriately.
562 (struct known_trans): Remove const from fname.
563 (trans_compare): Make s1 and s2 const.
564 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
566 * iconv/skeleton.c: Remove cast in calls of loop functions.
567 * iconvdata/gconv-modules: Remove US-ASCII definitions.
568 * iconvdata/iso646.c: Remove US_ASCII support.
569 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
570 * include/unistd.h: Add __libc_check_standard_fds prototype.
571 * string/bits/string2.h (__mempcpy_args): Add const to casts.
572 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
574 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
575 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
576 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
578 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
579 __libc_init_first and _dl_start.
580 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
581 (DCIGETTEXT): Make domaindata variable const.
582 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
585 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
587 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
589 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
590 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
593 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
594 value defined in /usr/include/asm-mips/fcntl.h.
596 2000-11-18 Ulrich Drepper <drepper@redhat.com>
598 * stdio-common/Makefile (tests): Add test-vfprintf.
599 (test-vfprintf-ENV): New variable.
600 * stdio-common/test-vfprintf.c: New file.
602 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
604 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
605 (tst-mbrtowc-ENV): New variable.
606 (tst-wcrtomb-ENV): New variable.
607 * wcsmbs/tst-mbrtowc.c: New file.
608 * wcsmbs/tst-wcrtomb.c: New file.
610 2000-11-16 Andreas Jaeger <aj@suse.de>
612 * manual/install.texi (Tools for Compilation): Update
613 documentation for GCC 2.95.2.
615 2000-11-18 Ulrich Drepper <drepper@redhat.com>
617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
618 if IPv4 and IPv6 requests timed out.
620 2000-11-18 Akim Demaille <akim@epita.fr>
622 * malloc/obstack.h: Formatting changes.
623 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
624 prevents type checking.
625 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
626 cast the value to (void *): assigning a `foo *' to a `void *'
628 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
630 2000-11-17 Ulrich Drepper <drepper@redhat.com>
632 * scripts/config.guess: Update from upstream maintainer.
633 * scripts/config.sub: Likewise.
635 2000-11-16 Ulrich Drepper <drepper@redhat.com>
637 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
638 * libio/freopen64.c (freopen64): Likewise.
639 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
641 * libio/Makefile: Add rules to build and run test-freopen.
642 * libio/test-freopen.c: New file.
643 * libio/test-freopen.sh: New file.
645 2000-11-15 H.J. Lu <hjl@gnu.org>
647 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
648 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
649 (DL_DT_FINI_ADDRESS): Likewise.
651 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
652 return type to ElfW(Addr).
653 (_dl_function_address): New prototype.
654 (DL_FUNCTION_ADDRESS): Defined.
655 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
656 (DL_DT_FINI_ADDRESS): Likewise.
658 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
660 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
661 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
663 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
664 (_dl_function_address): This.
666 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
667 function pointer for DT_FINI.
668 * elf/dl-close.c (_dl_close): Likewise.
670 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
671 function pointer for DT_INIT.
673 2000-11-16 Jakub Jelinek <jakub@redhat.com>
675 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
676 end of wexpbuf buffer.
678 2000-11-16 Andreas Jaeger <aj@suse.de>
680 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
681 definition of F_GETLK, F_SETLK, F_SETLKW.
683 2000-11-16 Andreas Jaeger <aj@suse.de>
685 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
688 2000-11-15 Jakub Jelinek <jakub@redhat.com>
690 * dlfcn/default.c (main): Add test for dladdr of main returning
691 argv[0] in dli_fname field.
693 2000-11-15 Jakub Jelinek <jakub@redhat.com>
695 * Makeconfig (run-program-prefix): Move test-static test into the
698 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
699 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
700 schedule instructions.
701 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
702 schedule instructions, fix a bug in copying auxiliary data.
704 2000-11-15 Ulrich Drepper <drepper@redhat.com>
706 * manual/startup.texi (Program Arguments): Fix type of main's envp
708 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
710 * iconvdata/gconv-modules: Add CP950 alias.
712 2000-11-13 Jakub Jelinek <jakub@redhat.com>
714 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
716 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
718 2000-11-15 Ulrich Drepper <drepper@redhat.com>
720 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
722 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
725 * intl/tst-gettext2.c: Set C locale if setting other locale
726 failed. Use gettext() not _().
728 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
729 successfully loaded a new locale.
731 2000-11-13 Andreas Jaeger <aj@suse.de>
733 * configure.in: Require gcc 2.95 or newer.
735 2000-11-15 Ulrich Drepper <drepper@redhat.com>
737 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
738 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
740 2000-11-11 Jim Meyering <meyering@lucent.com>
742 * string/strndup.c (strndup): Cast return value to `char *'.
744 2000-11-15 Jim Meyering <meyering@ascend.com>
746 * sysdeps/generic/memchr.c: Remove some useless parentheses.
747 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
748 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
749 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
750 Also #undef __memchr.
751 Use `weak_alias' only if it's defined.
753 2000-11-10 H.J. Lu <hjl@gnu.org>
755 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
757 2000-11-15 Andreas Jaeger <aj@suse.de>
759 * elf/chroot_canon.c: Include <stdint.h>.
761 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
762 (print_entry): Likewise.
763 (add_to_cache): Likewise.
765 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
767 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
768 (path_hwcap): Likewise.
769 (search_dir): Likewise.
771 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
773 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
775 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
776 (_dl_platform_string): New.
777 (_DL_HWCAP_PLATFORM): New.
778 (_dl_string_platform): New.
779 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
781 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
782 (_dl_string_platform): New.
783 (_DL_HWCAP_PLATFORM): New.
784 (_dl_platform_string): New.
786 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
788 (_DL_HWCAP_COUNT): New.
789 (_dl_string_platform): New.
790 (_DL_HWCAP_PLATFORM): New.
791 (_dl_platform_string): New.
793 2000-11-14 Ulrich Drepper <drepper@redhat.com>
795 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
797 2000-11-14 Andreas Jaeger <aj@suse.de>
799 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to
802 2000-11-13 Roland McGrath <roland@frob.com>
804 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
806 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
808 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
809 underrun and make sure the result is null terminated even if there
810 is no trailing newline.
812 2000-11-13 Jakub Jelinek <jakub@redhat.com>
814 * sysdeps/alpha/fpu/libm-test-ulps: Update.
816 2000-11-10 H.J. Lu <hjl@gnu.org>
818 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
820 2000-11-10 Andreas Jaeger <aj@suse.de>
822 * elf/ldconfig.c (create_links): Fix alloca calculation.
823 Patch by Ben Collins <bcollins@debian.org>.
825 2000-11-09 Ulrich Drepper <drepper@redhat.com>
827 * inet/getnameinfo.c (getnameinfo): Use correct destination
828 parameter for if_indextoname.
829 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
831 2000-11-09 H.J. Lu <hjl@gnu.org>
833 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
834 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
835 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
838 * time/Versions (GLIBC_2.1): Move getitimer to...
839 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
841 2000-11-03 Bruno Haible <haible@clisp.cons.org>
843 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL-C during
844 "make install", to work around a binary incompatibility between
845 glibc 2.1 and glibc 2.2 gconv modules.
847 2000-11-09 Ulrich Drepper <drepper@redhat.com>
849 * intl/locale.alias: Add thai.
850 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
852 2000-11-07 Akim Demaille <akim@epita.fr>
854 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
855 argument `data' for consistency with the prototypes.
857 (obstack_copy, obstack_copy0): Rename the second argument as
858 `address' for consistency. Qualify it `const'.
859 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
860 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
861 `const' their input argument (`data' or `address').
862 Adjust the corresponding macros to include `const' in casts.
864 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
866 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
869 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
871 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
874 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
876 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
877 ai_protocol by internal table if service was not given.
879 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
881 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
882 numerical port was specified with protocol without socktype.
884 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
886 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
888 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
890 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
892 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
894 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
897 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
899 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
901 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
903 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
905 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
907 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
908 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
910 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
912 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
913 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
915 2000-11-09 H.J. Lu <hjl@gnu.org>
917 * io/Versions (GLIBC_2.1.1): Remove lockf64.
920 See ChangeLog.11 for earlier changes.