Update.
[glibc.git] / ChangeLog
blob76f9997acc64a56615d5fca9aa1587e3579036d7
1 2000-12-11  Andreas Jaeger  <aj@suse.de>
3         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
4         kernel_sigset_t and use it.
5         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
7 2000-12-10  Richard Henderson <rth@redhat.com>
9         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
10         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
11         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
13 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
15         * sysdeps/alpha/htonl.S: Fix a typo.
17 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
19         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
21 2000-12-10  Andreas Jaeger  <aj@suse.de>
23         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
24         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
25         Drepper <drepper@redhat.com>.
27 2000-12-09  Andreas Jaeger  <aj@suse.de>
29         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
31         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
32         generic version.
33         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
35         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
36         string.
38         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
39         format string.
41         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
42         * nscd/connections.c (handle_request): Likewise.
43         * nscd/pwdcache.c (addpwbyname): Likewise.
44         * nscd/grpcache.c (addgrbyname): Likewise.
46         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
48 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
50         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
52         * Makeconfig (default_cflags): Make -O2 the default for stable
53         releases.
55 2000-12-08  H.J. Lu  <hjl@gnu.org>
57         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
58         * sysdeps/ia64/fpu/s_isinf.S: This.
59         Add a .pred.rel.mutex note to avoid false report.
61         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
62         * sysdeps/ia64/fpu/s_isnan.S: This.
64         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
65         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
66         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
67         * sysdeps/ia64/fpu/s_isinff.S: New file.
68         * sysdeps/ia64/fpu/s_isinfl.S: New file.
69         * sysdeps/ia64/fpu/s_isnanf.S: New file.
70         * sysdeps/ia64/fpu/s_isnanl.S: New file.
71         * sysdeps/ia64/fpu/s_finite.S: New file.
72         * sysdeps/ia64/fpu/s_finitef.S: New file.
73         * sysdeps/ia64/fpu/s_finitel.S: New file.
74         * sysdeps/ia64/fpu/s_signbit.S: New file.
75         * sysdeps/ia64/fpu/s_signbitf.S: New file.
76         * sysdeps/ia64/fpu/s_signbitl.S: New file.
77         * sysdeps/ia64/fpu/s_copysign.S: New file.
78         * sysdeps/ia64/fpu/s_copysignf.S: New file.
79         * sysdeps/ia64/fpu/s_copysignl.S: New file.
81 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
83         * math/libm-test.inc (main): Fix typos in messages.
85         * string/stratcliff.c: Add test for rawmemchr.
87 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
89         * elf/dl-open.c (_dl_open): If objname points right after errstring,
90         allocate it together with errstring using alloca.
91         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
92         to "", because it might point to local stack.
94 2000-12-05  H.J. Lu  <hjl@gnu.org>
96         * nss/Makefile (routines): Add getnssent and getnssent_r.
97         * nss/nsswitch.h (__nss_setent): New internal NSS function.
98         (__nss_endent): Likewise.
99         (__nss_getent_r): Likewise.
100         (__nss_getent): Likewise.
101         * nss/getnssent_r.c: New file.
102         * nss/getnssent.c: New file.
103         * nss/getXXent.c (H_ERRNO_VAR): Updated.
104         (GETFUNC_NAME): Updated to call __nss_getent ().
105         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
106         (STAYOPEN_TMPVAR): Updated.
107         (STAYOPEN_VAR): Updated.
108         (SETFUNC_NAME): Updated to call __nss_setent ().
109         (ENDFUNC_NAME): Updated to call __nss_endent ().
110         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
112 2000-12-08  Andreas Jaeger  <aj@suse.de>
114         * nscd/dbg_log.h (dbg_log): Correct attribute.
116 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
118         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
119         cp + len.  Compute where from dirname.
120         Reported by <jreiser@BitWagon.com>.
122 2000-12-08  Richard Henderson  <rth@twiddle.net>
124         * sysdeps/alpha/_mcount.S: Fix typo.
125         * sysdeps/alpha/strncpy.S: Likewise.
127         * sysdeps/alpha/alphaev6/Implies: New file.
128         * sysdeps/alpha/alphaev67/Implies: New file.
129         * sysdeps/alpha/alphaev67/ffs.S: New file.
130         * sysdeps/alpha/alphaev67/ffsll.S: New file.
131         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
132         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
133         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
134         * sysdeps/alpha/rawmemchr.S: New file.
135         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
136         * sysdeps/alpha/strcpy.S: Likewise.
138         From GMP 3.1.1:
139         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
141         From rick.gorton@alpha-processor.com:
142         * sysdeps/alpha/alphaev6/memchr.S: New file.
143         * sysdeps/alpha/alphaev6/memcpy.S: New file.
144         * sysdeps/alpha/alphaev6/memset.S: New file.
145         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
146         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
147         * sysdeps/alpha/alphaev67/strcat.S: New file.
148         * sysdeps/alpha/alphaev67/strchr.S: New file.
149         * sysdeps/alpha/alphaev67/strlen.S: New file.
150         * sysdeps/alpha/alphaev67/strncat.S: New file.
151         * sysdeps/alpha/htonl.S: Use a shorter sequence.
153 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
155         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
156         Reported by <pspencer@fields.utoronto.ca>.
158 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
160         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
161         Pointed out by Hans Boehm.
163 2000-12-07  H.J. Lu  <hjl@gnu.org>
165         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
167 2000-12-07  Andreas Jaeger  <aj@suse.de>
169         * misc/error.c: Add format attributes for __error and __error_at_line.
171         * nscd/dbg_log.h: Add format attribute.
173 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
175         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
176         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
178 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
180         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
182 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
184         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
185         (sysdep_routines): Add uitrunc.
186         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
187         Patches by Michael Keezer <mkeezer@redhat.com>.
189 2000-12-06  Roland McGrath  <roland@frob.com>
191         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
192         argument data, since it will be used to copy out too (for INOUT).
193         Reported by Marcus Brinkmann <marcus@gnu.org>.
195         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
196         (__ioctl): Use uintptr_t instead of unsigned long int.
198 2000-12-06  Jim Wilson  <wilson@redhat.com>
200         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
202 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
204         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
205         x.5 rounding correctly.
207 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
209         * stdio-common/perror.c (perror): Conditionalize code dealing with
210         wide-oriented streams on USE_IN_LIBIO.
212 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
214         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
215         as internal_function.
217 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
219         * sysdeps/alpha/elf/start.S (__data_start): Define.
221 2000-12-05  H.J. Lu  <hjl@gnu.org>
223         * nss/getXXent_r.c (setup): Change the return type to int.
225 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
227         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
228         (sysdep_routines): Add restf and savef.
229         * sysdeps/unix/sysv/aix/restf.c: New file.
230         * sysdeps/unix/sysv/aix/savef.c: New file.
231         Patches by Michael Keezer <mkeezer@redhat.com>.
233         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
234         if O_DIRECTORY is not defined.
235         Patch by Michael Keezer <mkeezer@redhat.com>.
237         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
238         Patch by Michael Keezer <mkeezer@redhat.com>.
240         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
241         than 4 bytes in escape sequence.
242         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
244 2000-12-05  Andreas Jaeger  <aj@suse.de>
246         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
247         set mips2.
249         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
251         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
253         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
254         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
256         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
257         internal_function.
258         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
259         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
261         * sysdeps/generic/dl-cache.c: Remove declaration of
262         _dl_sysdep_read_whole_file.
264         * elf/dl-load.c (_dl_map_object): Remove declaration of
265         _dl_load_cache_lookup.
267         * sysdeps/generic/ldsodefs.h: Add declarations of
268         _dl_load_cache_lookup, _dl_unload_cache,
269         _dl_sysdep_read_whole_file, _dl_sysdep_start and
270         _dl_sysdep_start_cleanup.
272         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
273         now.
275         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
276         * sysdeps/generic/dl-environ.c: Likewise.
278         * stdio-common/printf_fp.c: Include <gmp.h> instead of
279         <stdlib/gmp.h>.
280         * math/atest-exp.c: Likewise.
281         * math/atest-exp2.c: Likewise.
282         * math/atest-sincos.c: Likewise.
283         * stdio-common/_itoa.c: Likewise.
284         * stdio-common/_itowa.c: Likewise.
286         * include/gmp.h: New file with internal prototypes.
288         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
289         here to...
290         * include/setjmp.h: ...here.
292         * locale/Makefile (routines): Remove codeset_name since it's not
293         needed anywhere.
295         * locale/codeset_name.c: Removed.
297 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
299         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
301 2000-12-05  Andreas Jaeger  <aj@suse.de>
303         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
305 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
307         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
308         available.
310 2000-12-05  Andreas Jaeger  <aj@suse.de>
312         * nss/test-netdb.c: Mark local functions as static to avoid
313         warnings.
314         (main): Use return to silence warning.
316         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
318         * stdio-common/test-popen.c: Mark local functions as static to
319         avoid warnings.
320         (main): Use return to silence warning.
322         * stdlib/testsort.c (compare): Mark as static to avoid warning.
324         * assert/test-assert.c: Mark local functions as static to avoid
325         warnings.
326         * assert/test-assert-perr.c: Likewise.
328         * math/libm-test.inc (main): Use return to silence warnings.
330 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
332         * math/fenv.h: Fix typo in comment.
334         * math/test-misc.c (main): Add a few more over and underflow tests
335         for scalb.
337         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
338         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
339         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
340         * math/w_scalb.c: Don't use matherr except in SVID mode.
341         * math/w_scalbf.c: Likewise.
342         * math/w_scalbl.c: Likewise.
343         * math/test-misc.c: Add test for NaN and scalbl.
344         Reported by Fred J. Tydeman <tydeman@tybor.com>.
346 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
348         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
349         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
350         * include/libc-symbols.h (strong_alias): Define special version
351         for HAVE_ASM_GLOBAL_DOT_NAME.
352         (weak_alias): Likewise.
353         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
354         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
355         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
356         getutxline, pututxline, and utmpxname.
357         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
358         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
359         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
360         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
361         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
362         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
363         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
364         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
365         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
366         Patches by Michael Keezer <mkeezer@redhat.com>.
368 2000-12-04  H.J. Lu  <hjl@gnu.org>
370         * configure.in: Change --with-oldest-abi=ABI to
371         --enable-oldest-abi=ABI.
373 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
375         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
376         fwprintf instead of fprintf.
378 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
380         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
381         DECIMAL_DIG definitions.
382         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
383         * sysdeps/generic/bits/mathdef.h: Likewise
384         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
385         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
386         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
387         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
388         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
389         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
391 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
393         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
395         * math/atest-exp.c: Mark local functions as static to avoid warnings.
396         * math/atest-exp2.c: Likewise.
397         * math/atest-sincos.c: Likewise.
399         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
400         Reported by Fred J. Tydeman <tydeman@tybor.com>.
402         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
403         the handling of denormalized numbers.
405         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
406         numbers on x86.
407         * sysdeps/i386/fpu/fpclassifyl.c: New file.
409         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
410         pseudo denormal representation of LDBL_MIN.
412         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
413         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
415         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
416         * iconvdata/jis0208.c: Likewise.
417         * iconvdata/jis0212.c: Likewise.
418         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
420         * math/test-misc.c (main): More tests for frexp and some for
421         fpclassify and isnormal.
423         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
424         test for subnormal.
425         Reported by Fred J. Tydeman <tydeman@tybor.com>.
427         * math/test-misc.c (main): Add tests for frexp.
428         Reported by Fred J. Tydeman <tydeman@tybor.com>.
429         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
431 2000-12-02  H.J. Lu  <hjl@gnu.org>
433         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
434         '\0' to wcschr.
436 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
438         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
439         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
440         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
442         * sysdeps/generic/glob.c: Adjust types of several variables to
443         avoid warnings.
445 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
447         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
449 2000-11-30  Roland McGrath  <roland@frob.com>
451         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
452         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
453         allow multiple instances using the same function name in one file.
455 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
457         * configure.in: Correct test for pserver CVS access.
459 2000-11-28  H.J. Lu  <hjl@gnu.org>
461         * libio/libio.h: Remove extra "#if ... #endif".
463 2000-11-29  H.J. Lu  <hjl@gnu.org>
465         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
467 2000-12-01  H.J. Lu  <hjl@gnu.org>
469         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
470         * nss/getXXent_r.c: Likewise.
471         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
473 2000-11-30  H.J. Lu  <hjl@gnu.org>
475         * scripts/abi-versions.awk (oldest_abi): New variable.
476         Handle the oldest ABI supported.
478         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
479         for scripts/abi-versions.awk.
481         * configure.in: Add --with-oldest-abi=ABI.
482         * configure: Rebuild.
484         * config.make.in (oldest-abi): New.
486         * config.h.in (GLIBC_OLDEST_ABI): New.
488         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
490 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
492         * locale/setlocale.c (setname): Free for all categories, not just
493         LC_ALL.
494         (setlocale): Store a copy of string passed by user, not the string
495         itself.
497 2000-11-30  Roland McGrath  <roland@frob.com>
499         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
500         rather than _hurd_fd_subinit, so it happens after it's safe to use
501         libc facilities like malloc.
503 2000-11-28  Andreas Jaeger  <aj@suse.de>
505         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
506         declaration, adjust declaration of __syscall_getdents to match
507         kernel.
509 2000-11-29  H.J. Lu  <hjl@gnu.org>
511         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
513 2000-11-29  Andreas Jaeger  <aj@suse.de>
515         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
517 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
519         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
520         * dlfcn/defaultmod2.c: Likewise.
521         * dlfcn/dlopen.c: Likewise.
522         * dlfcn/dlopenold.c: Likewise.
523         * dlfcn/failtestmod.c: Likewise.
524         * dlfcn/glreflib1.c: Likewise.
525         * dlfcn/glreflib2.c: Likewise.
526         * dlfcn/eval.c: Likewise.  Add attributes.
528         * ctype/ctype-extn.c: Define isblank and not __isblank.
530         * time/strftime.c: Add const where necessary to avoid warnings.
531         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
533 2000-11-22  Paul Eggert  <eggert@twinsun.com>
535         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
536         size of (size_t) -1; it's not portable.
538 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
540         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
541         crappy i486 FPU.
542         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
544 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
546         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
548         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
549         _mcount is required by profiled binaries.
551         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
552         * sysdeps/ia64/machine-gmon.h: ...here.
554 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
556         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
557         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
558         and ibm1129.h.
559         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
560         IBM1129.
561         * iconvdata/ibm922.c: New file.
562         * iconvdata/ibm922.h: New file.
563         * iconvdata/ibm1124.c: New file.
564         * iconvdata/ibm1124.h: New file.
565         * iconvdata/ibm1129.c: New file.
566         * iconvdata/ibm1129.h: New file.
567         * iconvdata/testdata/IBM922: New file.
568         * iconvdata/testdata/IBM922..UTF8: New file.
569         * iconvdata/testdata/IBM1124: New file.
570         * iconvdata/testdata/IBM1124..UTF8: New file.
571         * iconvdata/testdata/IBM1129: New file.
572         * iconvdata/testdata/IBM1129..UTF8: New file.
574 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
576         * catgets/gencat.c (normalize_line): Take extra parameter with escape
577         character.  Change callers.
578         (open_conversion): Determine mapping of 0x5c as wchar_t value.
579         * catgets/Makefile: Add rules to build and run test-gencat.
580         * catgets/sample.SJIS: New file.
581         * catgets/test-gencat.c: New file.
582         * catgets/test-gencat.sh: New file.
583         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
585 2000-11-28  Andreas Jaeger  <aj@suse.de>
587         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
588         Linux version.
590 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
592         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
594 2000-11-28  Andreas Jaeger  <aj@suse.de>
596         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
597         __flexarr.
598         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
599         Likewise.
601 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
603         * misc/getusershell.c: Make strings in okshells array const.
604         * misc/regexp.c: Add const to cast to avoid warnings.
605         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
606         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
607         __setresuid.
608         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
609         setresgid.
610         * misc/error.c: Add prototypes for __error and __error_at_line.
611         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
612         statement to avoid warning.
613         * test-skeleton.c: Mark timeout_handler with noreturn.
614         * iconv/skeleton.c (get16u): Add const to cast.
615         (get32u): Likewise.
616         * iconvdata/gb18030.c: Likewise.
617         * iconvdata/iso-2022-cn-ext.c: Likewise.
618         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
619         * iconvdata/big5.c: Likewise.
620         * iconvdata/big5hkscs.c: Likewise.
621         * iconvdata/iso_6937.c: Likewise.
622         * iconvdata/iso_6937-2.c: Likewise.
623         * iconvdata/t.61.c: Likewise.
624         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
625         * iconvdata/unicode.c: Likewise.
626         * iconvdata/utf-16.c: Likewise.
627         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
628         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
629         with little code shuffling.
631         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
632         the problems introduced when the user selects -O3.
634         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
635         * misc/sys/cdefs.h: Define __flexarr.
636         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
638         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
639         * iconv/skeleton.c: Likewise.
640         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
641         * iconv/loop.c (get16): Add const to cast.
642         (get32): Likewise.
644 2000-11-27  Andreas Jaeger  <aj@suse.de>
646         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
647         to avoid warning.
648         * login/programs/utmpdump.c (print_entry): Likewise.
650 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
652         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
653         in a single asm as they may be used to access other stored
654         registers.
655         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
657 2000-11-27  Andreas Jaeger  <aj@suse.de>
659         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
660         * rt/tst-aio64.c: Likewise.
662 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
664         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
665         for gencat run.
666         (libc.cat): Likewise.
667         * catgets/gencat.c: Implement handling of message catalogs encoded
668         with stateful character sets.
669         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
671 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
673         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
675         * inet/getnameinfo.c: Adjust casts to avoid warnings.
676         * inet/rcmd.c: Likewise.
677         * inet/ruserpass.c: Likewise.
678         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
679         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
680         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
681         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
682         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
683         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
684         * include/aliases.h: Add prototypes for internal __getalias* functions.
685         * include/netdb.h: Add prototypes for __old_gethostent_r,
686         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
687         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
688         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
689         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
690         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
691         __old_getrpcbynumber_r, __old_getrpcent_r.
693         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
694         __getrpcent_r prototypes.
696 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
698         * string/strcoll.c: Add casts to avoid warnings.
699         * string/strnlen.c: Likewise.
700         * string/strxfrm.c: Likewise.
701         * sysdeps/generic/_strerror.c: Likewise.
702         * sysdeps/generic/memrchr.c: Likewise.
703         * sysdeps/generic/strcasestr.c: Likewise.
704         * sysdeps/generic/strstr.c: Likewise.
706         * locale/weight.h (findidx): Add const to cast to avoid warning.
708         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
709         * elf/loadtest.c: Likewise.
710         * elf/multiload.c: Likewise.
711         * elf/next.c: Likewise.
712         * elf/nodelete.c: Likewise.
713         * elf/noload.c: Likewise.
714         * elf/order.c: Likewise.
715         * elf/origtest.c: Likewise.
716         * elf/preloadtest.c: Likewise.
717         * elf/restest1.c: Likewise.
719         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
720         parameter of asm must be in %ecx.
722         * string/tester.c: Mark test functions as static to avoid warnings.
724         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
725         preserve value over different gconv-modules files.
727 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
729         * locale/findlocale.c: Add casts to avoid warnings.
730         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
731         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
732         to avoid warnings.
733         * misc/tsearch.c (const_node): New type.
734         (trecurse): Correct casts to avoid warnings.
735         (__twalk): Likewise.
736         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
737         LONG_BIT.
739         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
741         * test-skeleton.c: Mark local functions as static to avoid warnings.
743 2000-11-23  H.J. Lu  <hjl@gnu.org>
745         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
746         support the background job.
747         Fix a typo.
749 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
751         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
752         has same names but lower cost.
754 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
756         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
757         which never occur during bootstrap.
758         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
760 2000-11-23  Andreas Jaeger  <aj@suse.de>
762         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
764         * nss/Versions: Remove _nss_files_getipnodebyname_r.
766         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
768 2000-11-18  Martin Buchholz  <martin@xemacs.org>
770         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
771         (called++) return;'
773 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
775         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
777         * csu/abi-note.S: Correct comment for operating system number.
779 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
781         * Versions.def: Add GLIBC_2.2.1 for glibc.
783 2000-11-22  Andreas Schwab  <schwab@suse.de>
785         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
786         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
788 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
790         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
791         absolute time for pthread_cond_timedwait call.
792         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
794         * rt/Makefile (tests): Add tst-aio6.
795         * rt/tst-aio6.c: New file.
797 2000-11-23  Andreas Jaeger  <aj@suse.de>
799         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
801 2000-11-22  Andreas Jaeger  <aj@suse.de>
803         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
805 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
807         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
809 2000-11-21  Andreas Schwab  <schwab@suse.de>
811         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
812         * sysdeps/arm/setjmp.S: Likewise.
813         * sysdeps/arm/fpu/setjmp.S: Likewise.
814         * sysdeps/i386/setjmp.S: Likewise.
815         * sysdeps/i386/elf/setjmp.S: Likewise.
816         * sysdeps/s390/setjmp.S: Likewise.
817         * sysdeps/s390/elf/setjmp.S: Likewise.
818         * sysdeps/sh/sh3/setjmp.S: Likewise.
819         * sysdeps/sh/sh4/setjmp.S: Likewise.
820         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
821         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
822         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
823         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
825 2000-11-21  Andreas Jaeger  <aj@suse.de>
827         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
828         NORETURN, fix parameter list.
830         * string/bug-strncat1.c (main): Fix typo.
831         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
833 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
835         * configure.in: Add --enable-all-warnings.
836         * config.make.in (all-warnings): New variable.
837         * Makeconfig (+gccwarn): Define with many more warnings if
838         all-warnings is yes.
840 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
842         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
843         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
844         * malloc/tst-valloc.c (main): Cast valloc return value to long.
845         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
846         * math/test-fpucw.c (main): Use %lx in format string, cast
847         control words to long.
848         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
849         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
850         large that it is unsigned warning.
852         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
853         it to long on sparc64.
855 2000-11-20  Andreas Jaeger  <aj@suse.de>
857         * nscd/nscd.h (termination_handler): Add noreturn attribute.
858         (receiv_print_stats): Likewise.
860         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
862 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
864         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
866         * csu/gmon-start.c: Always have prototype for __gmon_start.
867         * csu/version.c: Add prototypes for __libc_print_version and
868         __libc_main.
869         * iconv/gconv.c: Include gconv_int.h and gconv.h.
870         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
871         and __to_name.
872         * iconv/gconv_builtin.h: Add ASCII module definitions.
873         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
874         (add_module): Add cast to avoid warning.  Rework construction of
875         strings for new module.
876         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
877         (derivation_compare): Likewise.
878         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
879         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
880         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
881         (struct gconv_alias): Remove const from fromname and toname.
882         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
883         for loop functions.
884         (internal_ucs4_loop): Use correct const-ness.
885         (ucs4_internal_loop): Likewise.
886         (internal_ucs4le_loop): Likewise.
887         (ucs4le_internal_loop_single): Likewise.
888         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
889         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
890         assignments appropriately.
891         (struct known_trans): Remove const from fname.
892         (trans_compare): Make s1 and s2 const.
893         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
894         avoid warning.
895         * iconv/skeleton.c: Remove cast in calls of loop functions.
896         * iconvdata/gconv-modules: Remove US-ASCII definitions.
897         * iconvdata/iso646.c: Remove US_ASCII support.
898         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
899         * include/unistd.h: Add __libc_check_standard_fds prototype.
900         * string/bits/string2.h (__mempcpy_args): Add const to casts.
901         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
902         _fini.
903         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
904         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
905         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
906         warning.
907         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
908         __libc_init_first and _dl_start.
909         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
910         (DCIGETTEXT): Make domaindata variable const.
911         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
912         to avoid warning.
914 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
916         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
918         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
919         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
920         __unused? members.
922         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
923         value defined in /usr/include/asm-mips/fcntl.h.
925 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
927         * stdio-common/Makefile (tests): Add test-vfprintf.
928         (test-vfprintf-ENV): New variable.
929         * stdio-common/test-vfprintf.c: New file.
931         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
933         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
934         (tst-mbrtowc-ENV): New variable.
935         (tst-wcrtomb-ENV): New variable.
936         * wcsmbs/tst-mbrtowc.c: New file.
937         * wcsmbs/tst-wcrtomb.c: New file.
939 2000-11-16  Andreas Jaeger  <aj@suse.de>
941         * manual/install.texi (Tools for Compilation): Update
942         documentation for GCC 2.95.2.
944 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
946         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
947         if IPv4 and IPv6 requests timed out.
949 2000-11-18  Akim Demaille  <akim@epita.fr>
951         * malloc/obstack.h: Formatting changes.
952         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
953         prevents type checking.
954         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
955         cast the value to (void *): assigning a `foo *' to a `void *'
956         variable is valid.
957         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
959 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
961         * scripts/config.guess: Update from upstream maintainer.
962         * scripts/config.sub: Likewise.
964 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
966         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
967         * libio/freopen64.c (freopen64): Likewise.
968         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
970         * libio/Makefile: Add rules to build and run test-freopen.
971         * libio/test-freopen.c: New file.
972         * libio/test-freopen.sh: New file.
974 2000-11-15  H.J. Lu  <hjl@gnu.org>
976         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
977         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
978         (DL_DT_FINI_ADDRESS): Likewise.
980         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
981         return type to ElfW(Addr).
982         (_dl_function_address): New prototype.
983         (DL_FUNCTION_ADDRESS): Defined.
984         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
985         (DL_DT_FINI_ADDRESS): Likewise.
987         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
989         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
990         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
992         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
993         (_dl_function_address): This.
995         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
996         function pointer for DT_FINI.
997         * elf/dl-close.c (_dl_close): Likewise.
999         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
1000         function pointer for DT_INIT.
1002 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
1004         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
1005         end of wexpbuf buffer.
1007 2000-11-16  Andreas Jaeger  <aj@suse.de>
1009         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
1010         definition of F_GETLK, F_SETLK, F_SETLKW.
1012 2000-11-16  Andreas Jaeger  <aj@suse.de>
1014         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
1015         it's not defined.
1017 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
1019         * dlfcn/default.c (main): Add test for dladdr of main returning
1020         argv[0] in dli_fname field.
1022 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
1024         * Makeconfig (run-program-prefix): Move test-static test into the
1025         variable.
1027         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
1028         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
1029         schedule instructions.
1030         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
1031         schedule instructions, fix a bug in copying auxiliary data.
1033 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
1035         * manual/startup.texi (Program Arguments): Fix type of main's envp
1036         parameter.
1037         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
1039         * iconvdata/gconv-modules: Add CP950 alias.
1041 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
1043         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
1044         syscall-list.h goal.
1045         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
1047 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
1049         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
1051         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
1052         output of program.
1054         * intl/tst-gettext2.c: Set C locale if setting other locale
1055         failed.  Use gettext() not _().
1057         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
1058         successfully loaded a new locale.
1060 2000-11-13  Andreas Jaeger  <aj@suse.de>
1062         * configure.in: Require gcc 2.95 or newer.
1064 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
1066         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
1067         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1069 2000-11-11  Jim Meyering  <meyering@lucent.com>
1071         * string/strndup.c (strndup): Cast return value to `char *'.
1073 2000-11-15  Jim Meyering  <meyering@ascend.com>
1075         * sysdeps/generic/memchr.c: Remove some useless parentheses.
1076         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
1077         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
1078         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
1079         Also #undef __memchr.
1080         Use `weak_alias' only if it's defined.
1082 2000-11-10  H.J. Lu  <hjl@gnu.org>
1084         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
1086 2000-11-15  Andreas Jaeger  <aj@suse.de>
1088         * elf/chroot_canon.c: Include <stdint.h>.
1090         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
1091         (print_entry): Likewise.
1092         (add_to_cache): Likewise.
1094         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
1096         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
1097         (path_hwcap): Likewise.
1098         (search_dir): Likewise.
1100         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
1102         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
1104         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
1105         (_dl_platform_string): New.
1106         (_DL_HWCAP_PLATFORM): New.
1107         (_dl_string_platform): New.
1108         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1110         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
1111         (_dl_string_platform): New.
1112         (_DL_HWCAP_PLATFORM): New.
1113         (_dl_platform_string): New.
1115         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
1116         recognition.
1117         (_DL_HWCAP_COUNT): New.
1118         (_dl_string_platform): New.
1119         (_DL_HWCAP_PLATFORM): New.
1120         (_dl_platform_string): New.
1122 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
1124         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
1126 2000-11-14  Andreas Jaeger  <aj@suse.de>
1128         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
1130 2000-11-13  Roland McGrath  <roland@frob.com>
1132         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
1134 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
1136         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
1137         underrun and make sure the result is null terminated even if there
1138         is no trailing newline.
1140 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
1142         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1144 2000-11-10  H.J. Lu  <hjl@gnu.org>
1146         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1148 2000-11-10  Andreas Jaeger  <aj@suse.de>
1150         * elf/ldconfig.c (create_links): Fix alloca calculation.
1151         Patch by Ben Collins <bcollins@debian.org>.
1153 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
1155         * inet/getnameinfo.c (getnameinfo): Use correct destination
1156         parameter for if_indextoname.
1157         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
1159 2000-11-09  H.J. Lu  <hjl@gnu.org>
1161         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
1162         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
1163         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
1164         xdr_keystatus.
1166         * time/Versions (GLIBC_2.1): Move getitimer to...
1167         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
1169 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
1171         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
1172         "make install", to work around a binary incompatibility between
1173         glibc 2.1 and glibc 2.2 gconv modules.
1175 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
1177         * intl/locale.alias: Add thai.
1178         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
1180 2000-11-07  Akim Demaille  <akim@epita.fr>
1182         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
1183         argument `data' for consistency with the prototypes.
1184         Qualify it `const'.
1185         (obstack_copy, obstack_copy0): Rename the second argument as
1186         `address' for consistency.  Qualify it `const'.
1187         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1188         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1189         `const' their input argument (`data' or `address').
1190         Adjust the corresponding macros to include `const' in casts.
1192 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1194         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
1195         target family.
1197 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1199         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
1200         socket creation.
1202 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1204         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
1205         ai_protocol by internal table if service was not given.
1207 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1209         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
1210         numerical port was specified with protocol without socktype.
1212 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1214         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
1216 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1218         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
1220 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1222         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
1223         sin6_scope_id field.
1225 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1227         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
1229 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1231         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
1233 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1235         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
1236         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
1238 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
1240         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
1241         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
1243 2000-11-09  H.J. Lu  <hjl@gnu.org>
1245         * io/Versions (GLIBC_2.1.1): Remove lockf64.
1248 See ChangeLog.11 for earlier changes.