1 2000-12-15 Ben Collins <bcollins@debian.org>
3 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
4 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
6 2000-12-14 H.J. Lu <hjl@gnu.org>
8 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
9 field in a float is 8 bits, not 11 bits.
11 2000-12-13 Jakub Jelinek <jakub@redhat.com>
13 * math/test-misc.c (main): Adjust m for IEEE quad long double.
15 2000-12-13 Andreas Jaeger <aj@suse.de>
17 * manual/message.texi (Using gettextized software): Fix typo.
19 * manual/charset.texi (Converting a Character): Fix mbstouwcs
21 Patch by Martin Buchholz <martin@xemacs.org>.
23 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
24 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
26 2000-12-11 Andreas Jaeger <aj@suse.de>
28 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
29 kernel_sigset_t and use it.
30 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
32 2000-12-10 Richard Henderson <rth@redhat.com>
34 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
35 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
36 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
38 2000-12-10 Jakub Jelinek <jakub@redhat.com>
40 * sysdeps/alpha/htonl.S: Fix a typo.
42 2000-12-10 Jakub Jelinek <jakub@redhat.com>
44 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
46 2000-12-10 Andreas Jaeger <aj@suse.de>
48 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
49 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
50 Drepper <drepper@redhat.com>.
52 2000-12-09 Andreas Jaeger <aj@suse.de>
54 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
56 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
58 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
60 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
63 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
66 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
67 * nscd/connections.c (handle_request): Likewise.
68 * nscd/pwdcache.c (addpwbyname): Likewise.
69 * nscd/grpcache.c (addgrbyname): Likewise.
71 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
73 2000-12-09 Ulrich Drepper <drepper@redhat.com>
75 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
77 * Makeconfig (default_cflags): Make -O2 the default for stable
80 2000-12-08 H.J. Lu <hjl@gnu.org>
82 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
83 * sysdeps/ia64/fpu/s_isinf.S: This.
84 Add a .pred.rel.mutex note to avoid false report.
86 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
87 * sysdeps/ia64/fpu/s_isnan.S: This.
89 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
90 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
91 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
92 * sysdeps/ia64/fpu/s_isinff.S: New file.
93 * sysdeps/ia64/fpu/s_isinfl.S: New file.
94 * sysdeps/ia64/fpu/s_isnanf.S: New file.
95 * sysdeps/ia64/fpu/s_isnanl.S: New file.
96 * sysdeps/ia64/fpu/s_finite.S: New file.
97 * sysdeps/ia64/fpu/s_finitef.S: New file.
98 * sysdeps/ia64/fpu/s_finitel.S: New file.
99 * sysdeps/ia64/fpu/s_signbit.S: New file.
100 * sysdeps/ia64/fpu/s_signbitf.S: New file.
101 * sysdeps/ia64/fpu/s_signbitl.S: New file.
102 * sysdeps/ia64/fpu/s_copysign.S: New file.
103 * sysdeps/ia64/fpu/s_copysignf.S: New file.
104 * sysdeps/ia64/fpu/s_copysignl.S: New file.
106 2000-12-08 Ulrich Drepper <drepper@redhat.com>
108 * math/libm-test.inc (main): Fix typos in messages.
110 * string/stratcliff.c: Add test for rawmemchr.
112 2000-12-08 Jakub Jelinek <jakub@redhat.com>
114 * elf/dl-open.c (_dl_open): If objname points right after errstring,
115 allocate it together with errstring using alloca.
116 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
117 to "", because it might point to local stack.
119 2000-12-05 H.J. Lu <hjl@gnu.org>
121 * nss/Makefile (routines): Add getnssent and getnssent_r.
122 * nss/nsswitch.h (__nss_setent): New internal NSS function.
123 (__nss_endent): Likewise.
124 (__nss_getent_r): Likewise.
125 (__nss_getent): Likewise.
126 * nss/getnssent_r.c: New file.
127 * nss/getnssent.c: New file.
128 * nss/getXXent.c (H_ERRNO_VAR): Updated.
129 (GETFUNC_NAME): Updated to call __nss_getent ().
130 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
131 (STAYOPEN_TMPVAR): Updated.
132 (STAYOPEN_VAR): Updated.
133 (SETFUNC_NAME): Updated to call __nss_setent ().
134 (ENDFUNC_NAME): Updated to call __nss_endent ().
135 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
137 2000-12-08 Andreas Jaeger <aj@suse.de>
139 * nscd/dbg_log.h (dbg_log): Correct attribute.
141 2000-12-08 Jakub Jelinek <jakub@redhat.com>
143 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
144 cp + len. Compute where from dirname.
145 Reported by <jreiser@BitWagon.com>.
147 2000-12-08 Richard Henderson <rth@twiddle.net>
149 * sysdeps/alpha/_mcount.S: Fix typo.
150 * sysdeps/alpha/strncpy.S: Likewise.
152 * sysdeps/alpha/alphaev6/Implies: New file.
153 * sysdeps/alpha/alphaev67/Implies: New file.
154 * sysdeps/alpha/alphaev67/ffs.S: New file.
155 * sysdeps/alpha/alphaev67/ffsll.S: New file.
156 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
157 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
158 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
159 * sysdeps/alpha/rawmemchr.S: New file.
160 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
161 * sysdeps/alpha/strcpy.S: Likewise.
164 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
166 From rick.gorton@alpha-processor.com:
167 * sysdeps/alpha/alphaev6/memchr.S: New file.
168 * sysdeps/alpha/alphaev6/memcpy.S: New file.
169 * sysdeps/alpha/alphaev6/memset.S: New file.
170 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
171 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
172 * sysdeps/alpha/alphaev67/strcat.S: New file.
173 * sysdeps/alpha/alphaev67/strchr.S: New file.
174 * sysdeps/alpha/alphaev67/strlen.S: New file.
175 * sysdeps/alpha/alphaev67/strncat.S: New file.
176 * sysdeps/alpha/htonl.S: Use a shorter sequence.
178 2000-12-08 Jakub Jelinek <jakub@redhat.com>
180 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
181 Reported by <pspencer@fields.utoronto.ca>.
183 2000-12-07 Jes Sorensen <jes@linuxcare.com>
185 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
186 Pointed out by Hans Boehm.
188 2000-12-07 H.J. Lu <hjl@gnu.org>
190 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
192 2000-12-07 Andreas Jaeger <aj@suse.de>
194 * misc/error.c: Add format attributes for __error and __error_at_line.
196 * nscd/dbg_log.h: Add format attribute.
198 2000-12-08 Ulrich Drepper <drepper@redhat.com>
200 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
201 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
203 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
205 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
207 2000-12-06 Ulrich Drepper <drepper@redhat.com>
209 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
210 (sysdep_routines): Add uitrunc.
211 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
212 Patches by Michael Keezer <mkeezer@redhat.com>.
214 2000-12-06 Roland McGrath <roland@frob.com>
216 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
217 argument data, since it will be used to copy out too (for INOUT).
218 Reported by Marcus Brinkmann <marcus@gnu.org>.
220 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
221 (__ioctl): Use uintptr_t instead of unsigned long int.
223 2000-12-06 Jim Wilson <wilson@redhat.com>
225 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
227 2000-12-06 Ulrich Drepper <drepper@redhat.com>
229 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
230 x.5 rounding correctly.
232 2000-12-06 Mark Kettenis <kettenis@gnu.org>
234 * stdio-common/perror.c (perror): Conditionalize code dealing with
235 wide-oriented streams on USE_IN_LIBIO.
237 2000-12-06 Mark Kettenis <kettenis@gnu.org>
239 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
240 as internal_function.
242 2000-12-05 Ulrich Drepper <drepper@redhat.com>
244 * sysdeps/alpha/elf/start.S (__data_start): Define.
246 2000-12-05 H.J. Lu <hjl@gnu.org>
248 * nss/getXXent_r.c (setup): Change the return type to int.
250 2000-12-05 Ulrich Drepper <drepper@redhat.com>
252 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
253 (sysdep_routines): Add restf and savef.
254 * sysdeps/unix/sysv/aix/restf.c: New file.
255 * sysdeps/unix/sysv/aix/savef.c: New file.
256 Patches by Michael Keezer <mkeezer@redhat.com>.
258 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
259 if O_DIRECTORY is not defined.
260 Patch by Michael Keezer <mkeezer@redhat.com>.
262 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
263 Patch by Michael Keezer <mkeezer@redhat.com>.
265 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
266 than 4 bytes in escape sequence.
267 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
269 2000-12-05 Andreas Jaeger <aj@suse.de>
271 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
274 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
276 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
278 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
279 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
281 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
283 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
284 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
286 * sysdeps/generic/dl-cache.c: Remove declaration of
287 _dl_sysdep_read_whole_file.
289 * elf/dl-load.c (_dl_map_object): Remove declaration of
290 _dl_load_cache_lookup.
292 * sysdeps/generic/ldsodefs.h: Add declarations of
293 _dl_load_cache_lookup, _dl_unload_cache,
294 _dl_sysdep_read_whole_file, _dl_sysdep_start and
295 _dl_sysdep_start_cleanup.
297 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
300 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
301 * sysdeps/generic/dl-environ.c: Likewise.
303 * stdio-common/printf_fp.c: Include <gmp.h> instead of
305 * math/atest-exp.c: Likewise.
306 * math/atest-exp2.c: Likewise.
307 * math/atest-sincos.c: Likewise.
308 * stdio-common/_itoa.c: Likewise.
309 * stdio-common/_itowa.c: Likewise.
311 * include/gmp.h: New file with internal prototypes.
313 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
315 * include/setjmp.h: ...here.
317 * locale/Makefile (routines): Remove codeset_name since it's not
320 * locale/codeset_name.c: Removed.
322 2000-12-05 Ulrich Drepper <drepper@redhat.com>
324 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
326 2000-12-05 Andreas Jaeger <aj@suse.de>
328 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
330 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
332 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
335 2000-12-05 Andreas Jaeger <aj@suse.de>
337 * nss/test-netdb.c: Mark local functions as static to avoid
339 (main): Use return to silence warning.
341 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
343 * stdio-common/test-popen.c: Mark local functions as static to
345 (main): Use return to silence warning.
347 * stdlib/testsort.c (compare): Mark as static to avoid warning.
349 * assert/test-assert.c: Mark local functions as static to avoid
351 * assert/test-assert-perr.c: Likewise.
353 * math/libm-test.inc (main): Use return to silence warnings.
355 2000-12-04 Ulrich Drepper <drepper@redhat.com>
357 * math/fenv.h: Fix typo in comment.
359 * math/test-misc.c (main): Add a few more over and underflow tests
362 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
363 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
364 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
365 * math/w_scalb.c: Don't use matherr except in SVID mode.
366 * math/w_scalbf.c: Likewise.
367 * math/w_scalbl.c: Likewise.
368 * math/test-misc.c: Add test for NaN and scalbl.
369 Reported by Fred J. Tydeman <tydeman@tybor.com>.
371 2000-12-04 Ulrich Drepper <drepper@redhat.com>
373 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
374 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
375 * include/libc-symbols.h (strong_alias): Define special version
376 for HAVE_ASM_GLOBAL_DOT_NAME.
377 (weak_alias): Likewise.
378 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
379 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
380 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
381 getutxline, pututxline, and utmpxname.
382 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
383 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
384 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
385 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
386 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
387 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
388 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
389 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
390 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
391 Patches by Michael Keezer <mkeezer@redhat.com>.
393 2000-12-04 H.J. Lu <hjl@gnu.org>
395 * configure.in: Change --with-oldest-abi=ABI to
396 --enable-oldest-abi=ABI.
398 2000-12-02 Bruno Haible <haible@clisp.cons.org>
400 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
401 fwprintf instead of fprintf.
403 2000-12-04 Ulrich Drepper <drepper@redhat.com>
405 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
406 DECIMAL_DIG definitions.
407 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
408 * sysdeps/generic/bits/mathdef.h: Likewise
409 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
410 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
411 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
412 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
413 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
414 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
416 2000-12-03 Ulrich Drepper <drepper@redhat.com>
418 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
420 * math/atest-exp.c: Mark local functions as static to avoid warnings.
421 * math/atest-exp2.c: Likewise.
422 * math/atest-sincos.c: Likewise.
424 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
425 Reported by Fred J. Tydeman <tydeman@tybor.com>.
427 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
428 the handling of denormalized numbers.
430 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
432 * sysdeps/i386/fpu/fpclassifyl.c: New file.
434 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
435 pseudo denormal representation of LDBL_MIN.
437 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
438 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
440 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
441 * iconvdata/jis0208.c: Likewise.
442 * iconvdata/jis0212.c: Likewise.
443 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
445 * math/test-misc.c (main): More tests for frexp and some for
446 fpclassify and isnormal.
448 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
450 Reported by Fred J. Tydeman <tydeman@tybor.com>.
452 * math/test-misc.c (main): Add tests for frexp.
453 Reported by Fred J. Tydeman <tydeman@tybor.com>.
454 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
456 2000-12-02 H.J. Lu <hjl@gnu.org>
458 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
461 2000-12-02 Ulrich Drepper <drepper@redhat.com>
463 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
464 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
465 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
467 * sysdeps/generic/glob.c: Adjust types of several variables to
470 2000-12-01 Ulrich Drepper <drepper@redhat.com>
472 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
474 2000-11-30 Roland McGrath <roland@frob.com>
476 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
477 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
478 allow multiple instances using the same function name in one file.
480 2000-12-01 Ulrich Drepper <drepper@redhat.com>
482 * configure.in: Correct test for pserver CVS access.
484 2000-11-28 H.J. Lu <hjl@gnu.org>
486 * libio/libio.h: Remove extra "#if ... #endif".
488 2000-11-29 H.J. Lu <hjl@gnu.org>
490 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
492 2000-12-01 H.J. Lu <hjl@gnu.org>
494 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
495 * nss/getXXent_r.c: Likewise.
496 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
498 2000-11-30 H.J. Lu <hjl@gnu.org>
500 * scripts/abi-versions.awk (oldest_abi): New variable.
501 Handle the oldest ABI supported.
503 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
504 for scripts/abi-versions.awk.
506 * configure.in: Add --with-oldest-abi=ABI.
507 * configure: Rebuild.
509 * config.make.in (oldest-abi): New.
511 * config.h.in (GLIBC_OLDEST_ABI): New.
513 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
515 2000-11-30 Jakub Jelinek <jakub@redhat.com>
517 * locale/setlocale.c (setname): Free for all categories, not just
519 (setlocale): Store a copy of string passed by user, not the string
522 2000-11-30 Roland McGrath <roland@frob.com>
524 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
525 rather than _hurd_fd_subinit, so it happens after it's safe to use
526 libc facilities like malloc.
528 2000-11-28 Andreas Jaeger <aj@suse.de>
530 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
531 declaration, adjust declaration of __syscall_getdents to match
534 2000-11-29 H.J. Lu <hjl@gnu.org>
536 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
538 2000-11-29 Andreas Jaeger <aj@suse.de>
540 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
542 2000-11-28 Ulrich Drepper <drepper@redhat.com>
544 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
545 * dlfcn/defaultmod2.c: Likewise.
546 * dlfcn/dlopen.c: Likewise.
547 * dlfcn/dlopenold.c: Likewise.
548 * dlfcn/failtestmod.c: Likewise.
549 * dlfcn/glreflib1.c: Likewise.
550 * dlfcn/glreflib2.c: Likewise.
551 * dlfcn/eval.c: Likewise. Add attributes.
553 * ctype/ctype-extn.c: Define isblank and not __isblank.
555 * time/strftime.c: Add const where necessary to avoid warnings.
556 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
558 2000-11-22 Paul Eggert <eggert@twinsun.com>
560 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
561 size of (size_t) -1; it's not portable.
563 2000-11-28 Ulrich Drepper <drepper@redhat.com>
565 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
567 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
569 2000-11-14 Jes Sorensen <jes@linuxcare.com>
571 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
573 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
574 _mcount is required by profiled binaries.
576 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
577 * sysdeps/ia64/machine-gmon.h: ...here.
579 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
581 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
582 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
584 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
586 * iconvdata/ibm922.c: New file.
587 * iconvdata/ibm922.h: New file.
588 * iconvdata/ibm1124.c: New file.
589 * iconvdata/ibm1124.h: New file.
590 * iconvdata/ibm1129.c: New file.
591 * iconvdata/ibm1129.h: New file.
592 * iconvdata/testdata/IBM922: New file.
593 * iconvdata/testdata/IBM922..UTF8: New file.
594 * iconvdata/testdata/IBM1124: New file.
595 * iconvdata/testdata/IBM1124..UTF8: New file.
596 * iconvdata/testdata/IBM1129: New file.
597 * iconvdata/testdata/IBM1129..UTF8: New file.
599 2000-11-28 Ulrich Drepper <drepper@redhat.com>
601 * catgets/gencat.c (normalize_line): Take extra parameter with escape
602 character. Change callers.
603 (open_conversion): Determine mapping of 0x5c as wchar_t value.
604 * catgets/Makefile: Add rules to build and run test-gencat.
605 * catgets/sample.SJIS: New file.
606 * catgets/test-gencat.c: New file.
607 * catgets/test-gencat.sh: New file.
608 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
610 2000-11-28 Andreas Jaeger <aj@suse.de>
612 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
615 2000-11-28 Ulrich Drepper <drepper@redhat.com>
617 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
619 2000-11-28 Andreas Jaeger <aj@suse.de>
621 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
623 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
626 2000-11-27 Ulrich Drepper <drepper@redhat.com>
628 * misc/getusershell.c: Make strings in okshells array const.
629 * misc/regexp.c: Add const to cast to avoid warnings.
630 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
631 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
633 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
635 * misc/error.c: Add prototypes for __error and __error_at_line.
636 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
637 statement to avoid warning.
638 * test-skeleton.c: Mark timeout_handler with noreturn.
639 * iconv/skeleton.c (get16u): Add const to cast.
641 * iconvdata/gb18030.c: Likewise.
642 * iconvdata/iso-2022-cn-ext.c: Likewise.
643 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
644 * iconvdata/big5.c: Likewise.
645 * iconvdata/big5hkscs.c: Likewise.
646 * iconvdata/iso_6937.c: Likewise.
647 * iconvdata/iso_6937-2.c: Likewise.
648 * iconvdata/t.61.c: Likewise.
649 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
650 * iconvdata/unicode.c: Likewise.
651 * iconvdata/utf-16.c: Likewise.
652 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
653 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
654 with little code shuffling.
656 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
657 the problems introduced when the user selects -O3.
659 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
660 * misc/sys/cdefs.h: Define __flexarr.
661 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
663 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
664 * iconv/skeleton.c: Likewise.
665 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
666 * iconv/loop.c (get16): Add const to cast.
669 2000-11-27 Andreas Jaeger <aj@suse.de>
671 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
673 * login/programs/utmpdump.c (print_entry): Likewise.
675 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
677 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
678 in a single asm as they may be used to access other stored
680 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
682 2000-11-27 Andreas Jaeger <aj@suse.de>
684 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
685 * rt/tst-aio64.c: Likewise.
687 2000-11-27 Ulrich Drepper <drepper@redhat.com>
689 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
691 (libc.cat): Likewise.
692 * catgets/gencat.c: Implement handling of message catalogs encoded
693 with stateful character sets.
694 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
696 2000-11-26 Ulrich Drepper <drepper@redhat.com>
698 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
700 * inet/getnameinfo.c: Adjust casts to avoid warnings.
701 * inet/rcmd.c: Likewise.
702 * inet/ruserpass.c: Likewise.
703 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
704 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
705 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
706 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
707 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
708 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
709 * include/aliases.h: Add prototypes for internal __getalias* functions.
710 * include/netdb.h: Add prototypes for __old_gethostent_r,
711 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
712 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
713 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
714 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
715 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
716 __old_getrpcbynumber_r, __old_getrpcent_r.
718 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
719 __getrpcent_r prototypes.
721 2000-11-25 Ulrich Drepper <drepper@redhat.com>
723 * string/strcoll.c: Add casts to avoid warnings.
724 * string/strnlen.c: Likewise.
725 * string/strxfrm.c: Likewise.
726 * sysdeps/generic/_strerror.c: Likewise.
727 * sysdeps/generic/memrchr.c: Likewise.
728 * sysdeps/generic/strcasestr.c: Likewise.
729 * sysdeps/generic/strstr.c: Likewise.
731 * locale/weight.h (findidx): Add const to cast to avoid warning.
733 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
734 * elf/loadtest.c: Likewise.
735 * elf/multiload.c: Likewise.
736 * elf/next.c: Likewise.
737 * elf/nodelete.c: Likewise.
738 * elf/noload.c: Likewise.
739 * elf/order.c: Likewise.
740 * elf/origtest.c: Likewise.
741 * elf/preloadtest.c: Likewise.
742 * elf/restest1.c: Likewise.
744 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
745 parameter of asm must be in %ecx.
747 * string/tester.c: Mark test functions as static to avoid warnings.
749 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
750 preserve value over different gconv-modules files.
752 2000-11-24 Ulrich Drepper <drepper@redhat.com>
754 * locale/findlocale.c: Add casts to avoid warnings.
755 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
756 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
758 * misc/tsearch.c (const_node): New type.
759 (trecurse): Correct casts to avoid warnings.
761 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
764 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
766 * test-skeleton.c: Mark local functions as static to avoid warnings.
768 2000-11-23 H.J. Lu <hjl@gnu.org>
770 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
771 support the background job.
774 2000-11-24 Ulrich Drepper <drepper@redhat.com>
776 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
777 has same names but lower cost.
779 2000-11-23 Jakub Jelinek <jakub@redhat.com>
781 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
782 which never occur during bootstrap.
783 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
785 2000-11-23 Andreas Jaeger <aj@suse.de>
787 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
789 * nss/Versions: Remove _nss_files_getipnodebyname_r.
791 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
793 2000-11-18 Martin Buchholz <martin@xemacs.org>
795 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
798 2000-11-21 Alan Modra <alan@linuxcare.com.au>
800 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
802 * csu/abi-note.S: Correct comment for operating system number.
804 2000-11-22 Ulrich Drepper <drepper@redhat.com>
806 * Versions.def: Add GLIBC_2.2.1 for glibc.
808 2000-11-22 Andreas Schwab <schwab@suse.de>
810 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
811 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
813 2000-11-22 Ulrich Drepper <drepper@redhat.com>
815 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
816 absolute time for pthread_cond_timedwait call.
817 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
819 * rt/Makefile (tests): Add tst-aio6.
820 * rt/tst-aio6.c: New file.
822 2000-11-23 Andreas Jaeger <aj@suse.de>
824 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
826 2000-11-22 Andreas Jaeger <aj@suse.de>
828 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
830 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
832 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
834 2000-11-21 Andreas Schwab <schwab@suse.de>
836 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
837 * sysdeps/arm/setjmp.S: Likewise.
838 * sysdeps/arm/fpu/setjmp.S: Likewise.
839 * sysdeps/i386/setjmp.S: Likewise.
840 * sysdeps/i386/elf/setjmp.S: Likewise.
841 * sysdeps/s390/setjmp.S: Likewise.
842 * sysdeps/s390/elf/setjmp.S: Likewise.
843 * sysdeps/sh/sh3/setjmp.S: Likewise.
844 * sysdeps/sh/sh4/setjmp.S: Likewise.
845 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
846 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
847 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
848 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
850 2000-11-21 Andreas Jaeger <aj@suse.de>
852 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
853 NORETURN, fix parameter list.
855 * string/bug-strncat1.c (main): Fix typo.
856 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
858 2000-11-20 Ulrich Drepper <drepper@redhat.com>
860 * configure.in: Add --enable-all-warnings.
861 * config.make.in (all-warnings): New variable.
862 * Makeconfig (+gccwarn): Define with many more warnings if
865 2000-11-20 Jakub Jelinek <jakub@redhat.com>
867 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
868 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
869 * malloc/tst-valloc.c (main): Cast valloc return value to long.
870 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
871 * math/test-fpucw.c (main): Use %lx in format string, cast
872 control words to long.
873 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
874 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
875 large that it is unsigned warning.
877 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
878 it to long on sparc64.
880 2000-11-20 Andreas Jaeger <aj@suse.de>
882 * nscd/nscd.h (termination_handler): Add noreturn attribute.
883 (receiv_print_stats): Likewise.
885 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
887 2000-11-20 Ulrich Drepper <drepper@redhat.com>
889 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
891 * csu/gmon-start.c: Always have prototype for __gmon_start.
892 * csu/version.c: Add prototypes for __libc_print_version and
894 * iconv/gconv.c: Include gconv_int.h and gconv.h.
895 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
897 * iconv/gconv_builtin.h: Add ASCII module definitions.
898 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
899 (add_module): Add cast to avoid warning. Rework construction of
900 strings for new module.
901 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
902 (derivation_compare): Likewise.
903 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
904 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
905 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
906 (struct gconv_alias): Remove const from fromname and toname.
907 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
909 (internal_ucs4_loop): Use correct const-ness.
910 (ucs4_internal_loop): Likewise.
911 (internal_ucs4le_loop): Likewise.
912 (ucs4le_internal_loop_single): Likewise.
913 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
914 to_idx, to_tbl, winbuf, winbufend const. Change casts in
915 assignments appropriately.
916 (struct known_trans): Remove const from fname.
917 (trans_compare): Make s1 and s2 const.
918 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
920 * iconv/skeleton.c: Remove cast in calls of loop functions.
921 * iconvdata/gconv-modules: Remove US-ASCII definitions.
922 * iconvdata/iso646.c: Remove US_ASCII support.
923 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
924 * include/unistd.h: Add __libc_check_standard_fds prototype.
925 * string/bits/string2.h (__mempcpy_args): Add const to casts.
926 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
928 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
929 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
930 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
932 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
933 __libc_init_first and _dl_start.
934 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
935 (DCIGETTEXT): Make domaindata variable const.
936 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
939 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
941 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
943 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
944 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
947 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
948 value defined in /usr/include/asm-mips/fcntl.h.
950 2000-11-18 Ulrich Drepper <drepper@redhat.com>
952 * stdio-common/Makefile (tests): Add test-vfprintf.
953 (test-vfprintf-ENV): New variable.
954 * stdio-common/test-vfprintf.c: New file.
956 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
958 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
959 (tst-mbrtowc-ENV): New variable.
960 (tst-wcrtomb-ENV): New variable.
961 * wcsmbs/tst-mbrtowc.c: New file.
962 * wcsmbs/tst-wcrtomb.c: New file.
964 2000-11-16 Andreas Jaeger <aj@suse.de>
966 * manual/install.texi (Tools for Compilation): Update
967 documentation for GCC 2.95.2.
969 2000-11-18 Ulrich Drepper <drepper@redhat.com>
971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
972 if IPv4 and IPv6 requests timed out.
974 2000-11-18 Akim Demaille <akim@epita.fr>
976 * malloc/obstack.h: Formatting changes.
977 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
978 prevents type checking.
979 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
980 cast the value to (void *): assigning a `foo *' to a `void *'
982 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
984 2000-11-17 Ulrich Drepper <drepper@redhat.com>
986 * scripts/config.guess: Update from upstream maintainer.
987 * scripts/config.sub: Likewise.
989 2000-11-16 Ulrich Drepper <drepper@redhat.com>
991 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
992 * libio/freopen64.c (freopen64): Likewise.
993 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
995 * libio/Makefile: Add rules to build and run test-freopen.
996 * libio/test-freopen.c: New file.
997 * libio/test-freopen.sh: New file.
999 2000-11-15 H.J. Lu <hjl@gnu.org>
1001 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
1002 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1003 (DL_DT_FINI_ADDRESS): Likewise.
1005 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
1006 return type to ElfW(Addr).
1007 (_dl_function_address): New prototype.
1008 (DL_FUNCTION_ADDRESS): Defined.
1009 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
1010 (DL_DT_FINI_ADDRESS): Likewise.
1012 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
1014 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
1015 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
1017 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
1018 (_dl_function_address): This.
1020 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
1021 function pointer for DT_FINI.
1022 * elf/dl-close.c (_dl_close): Likewise.
1024 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
1025 function pointer for DT_INIT.
1027 2000-11-16 Jakub Jelinek <jakub@redhat.com>
1029 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
1030 end of wexpbuf buffer.
1032 2000-11-16 Andreas Jaeger <aj@suse.de>
1034 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
1035 definition of F_GETLK, F_SETLK, F_SETLKW.
1037 2000-11-16 Andreas Jaeger <aj@suse.de>
1039 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
1042 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1044 * dlfcn/default.c (main): Add test for dladdr of main returning
1045 argv[0] in dli_fname field.
1047 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1049 * Makeconfig (run-program-prefix): Move test-static test into the
1052 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
1053 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
1054 schedule instructions.
1055 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
1056 schedule instructions, fix a bug in copying auxiliary data.
1058 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1060 * manual/startup.texi (Program Arguments): Fix type of main's envp
1062 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
1064 * iconvdata/gconv-modules: Add CP950 alias.
1066 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1068 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
1069 syscall-list.h goal.
1070 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
1072 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1074 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
1076 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
1079 * intl/tst-gettext2.c: Set C locale if setting other locale
1080 failed. Use gettext() not _().
1082 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
1083 successfully loaded a new locale.
1085 2000-11-13 Andreas Jaeger <aj@suse.de>
1087 * configure.in: Require gcc 2.95 or newer.
1089 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1091 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
1092 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1094 2000-11-11 Jim Meyering <meyering@lucent.com>
1096 * string/strndup.c (strndup): Cast return value to `char *'.
1098 2000-11-15 Jim Meyering <meyering@ascend.com>
1100 * sysdeps/generic/memchr.c: Remove some useless parentheses.
1101 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
1102 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
1103 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
1104 Also #undef __memchr.
1105 Use `weak_alias' only if it's defined.
1107 2000-11-10 H.J. Lu <hjl@gnu.org>
1109 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
1111 2000-11-15 Andreas Jaeger <aj@suse.de>
1113 * elf/chroot_canon.c: Include <stdint.h>.
1115 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
1116 (print_entry): Likewise.
1117 (add_to_cache): Likewise.
1119 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
1121 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
1122 (path_hwcap): Likewise.
1123 (search_dir): Likewise.
1125 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
1127 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
1129 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
1130 (_dl_platform_string): New.
1131 (_DL_HWCAP_PLATFORM): New.
1132 (_dl_string_platform): New.
1133 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1135 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
1136 (_dl_string_platform): New.
1137 (_DL_HWCAP_PLATFORM): New.
1138 (_dl_platform_string): New.
1140 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
1142 (_DL_HWCAP_COUNT): New.
1143 (_dl_string_platform): New.
1144 (_DL_HWCAP_PLATFORM): New.
1145 (_dl_platform_string): New.
1147 2000-11-14 Ulrich Drepper <drepper@redhat.com>
1149 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
1151 2000-11-14 Andreas Jaeger <aj@suse.de>
1153 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
1155 2000-11-13 Roland McGrath <roland@frob.com>
1157 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
1159 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
1161 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
1162 underrun and make sure the result is null terminated even if there
1163 is no trailing newline.
1165 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1167 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1169 2000-11-10 H.J. Lu <hjl@gnu.org>
1171 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1173 2000-11-10 Andreas Jaeger <aj@suse.de>
1175 * elf/ldconfig.c (create_links): Fix alloca calculation.
1176 Patch by Ben Collins <bcollins@debian.org>.
1178 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1180 * inet/getnameinfo.c (getnameinfo): Use correct destination
1181 parameter for if_indextoname.
1182 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
1184 2000-11-09 H.J. Lu <hjl@gnu.org>
1186 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
1187 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
1188 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
1191 * time/Versions (GLIBC_2.1): Move getitimer to...
1192 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
1194 2000-11-03 Bruno Haible <haible@clisp.cons.org>
1196 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
1197 "make install", to work around a binary incompatibility between
1198 glibc 2.1 and glibc 2.2 gconv modules.
1200 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1202 * intl/locale.alias: Add thai.
1203 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
1205 2000-11-07 Akim Demaille <akim@epita.fr>
1207 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
1208 argument `data' for consistency with the prototypes.
1210 (obstack_copy, obstack_copy0): Rename the second argument as
1211 `address' for consistency. Qualify it `const'.
1212 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1213 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1214 `const' their input argument (`data' or `address').
1215 Adjust the corresponding macros to include `const' in casts.
1217 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1219 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
1222 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1224 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
1227 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1229 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
1230 ai_protocol by internal table if service was not given.
1232 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1234 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
1235 numerical port was specified with protocol without socktype.
1237 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1239 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
1241 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1243 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
1245 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1247 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
1248 sin6_scope_id field.
1250 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1252 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
1254 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1256 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
1258 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1260 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
1261 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
1263 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
1265 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
1266 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
1268 2000-11-09 H.J. Lu <hjl@gnu.org>
1270 * io/Versions (GLIBC_2.1.1): Remove lockf64.
1273 See ChangeLog.11 for earlier changes.