Update.
[glibc.git] / ChangeLog
blob8be24d6d88e83d7405b4fc05a4cf28b2d2e1ca60
1 2000-12-31  Andreas Jaeger  <aj@suse.de>
3         * include/libc-internal.h: Add prototype for __libc_freeres.
5         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
6         for prototypes, remove redundant prototypes.
7         * gmon/gmon.c: Likewise.
8         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
9         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
10         * malloc/mtrace.c: Likewise.
12         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
13         prototypes.
14         * elf/soinit.c: Likewise.
15         * sysdeps/generic/prof-freq.c: Likewise.
16         * sysdeps/mach/hurd/profil.c: Likewise.
17         * debug/noophooks.c: Likewise.
18         * debug/pcprofile.c: Likewise.
19         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
20         * sysdeps/generic/get_clockfreq.c: Likewise.
21         * malloc/set-freeres.c: Likewise.
23         * locale/localeinfo.h: Add internal prototypes.
25         * elf/rtld.c (dl_main): Fix prototype.
27         * iconvdata/tst-table-to.c (main): Use return instead of exit to
28         avoid warning.
30         * nis/rpcsvc/yp_prot.h: Remove __P.
31         * nis/rpcsvc/ypupd.h: Likewise.
32         * nis/rpcsvc/yp.h: Likewise.
34         * sunrpc/rpc_main.c: Add noreturn attributes.
35         * sunrpc/rpc_scan.h: Likewise.
37         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
39         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
41         * sunrpc/proto.h: Add noreturn attributes to error and crash.
43         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
45         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
47         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
49         * include/rpc/rpc_msg.h: Add prototypes for some functions.
50         * include/rpc/auth.h: Likewise.
51         * include/rpc/auth_des.h: Likewise.
52         * include/rpc/clnt.h: Likewise.
53         * include/rpc/rpc.h: Likewise.
54         * include/rpc/svc.h: Likewise.
55         * include/rpc/svc_auth.h: Likewise.
57         * include/rpc/des_crypt.h: New file.
59         * malloc/memusagestat.c (main): Use return instead of exit to
60         avoid warning.
61         * io/pwd.c (main): Likewise.
62         * iconvdata/tst-table-from.c (main): Likewise.
63         * ctype/test_ctype.c (main): Likewise.
64         * setjmp/tst-setjmp.c (main): Likewise.
65         * signal/tst-signal.c (main): Likewise.
66         * stdlib/tst-strtol.c (main): Likewise.
67         * stdlib/tst-strtod.c (main): Likewise.
68         * stdlib/tst-strtoll.c (main): Likewise.
69         * stdlib/tst-xpg-basename.c (main): Likewise.
70         * dirent/tst-seekdir.c (main): Likewise.
71         * grp/testgrp.c (main): Likewise.
72         * inet/test_ifindex.c (main): Likewise.
73         * io/test-utime.c (main): Likewise.
74         * posix/test-vfork.c (main): Likewise.
75         * posix/testfnm.c (main): Likewise.
76         * stdio-common/temptest.c (main): Likewise.
77         * stdio-common/test_rdwr.c (main): Likewise.
78         * stdio-common/tst-fileno.c (main): Likewise.
79         * stdio-common/tst-sscanf.c (main): Likewise.
80         * stdio-common/tstscanf.c (main): Likewise.
81         * string/bug-strncat1.c (main): Likewise.
82         * string/bug-strpbrk1.c (main): Likewise.
83         * string/bug-strspn1.c (main): Likewise.
84         * string/test-ffs.c (main): Likewise.
85         * string/tst-inlcall.c (main): Likewise.
86         * string/tst-svc.c (main): Likewise.
87         * timezone/test-tz.c (main): Likewise.
88         * wctype/test_wcfuncs.c (main): Likewise.
89         * wctype/test_wctype.c (main): Likewise.
91         * stdlib/tst-random.c: Add attribute noreturn to fail.
93 2000-12-28  Wolfram Gloger  <wg@malloc.de>
95         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
96         destination overlap.  Assume dest is always below source if
97         overlapping.
99 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
101         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
102         object was not yet initialized.
104 2000-12-28  H.J. Lu  <hjl@gnu.org>
106         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
107         is always consistent even if its dependency is failed.
109         * elf/dl-open.c (_dl_open): Increment the open count before
110         calling _dl_close () in case of failure.
112         * elf/neededtest4.c: New file.
113         * elf/neededobj5.c: New file.
114         * elf/neededobj6.c: New file.
116         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
117         (tests): Add neededtest4.
118         (modules-names): Add neededobj5 and neededobj6.
119         ($(objpfx)neededobj6.so): New target.
120         ($(objpfx)neededtest4): New target.
121         ($(objpfx)neededtest4.out): New target.
123 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
125         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
126         * stdlib/monetary.h: Add strfmon format attributes.
128 2000-12-28  Roland McGrath  <roland@frob.com>
130         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
131         __mempcpy does it for us.
133 2000-12-28  Andreas Jaeger  <aj@suse.de>
135         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
137         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
138         __new_setrlimit.
140         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
141         __old_getrlimit64.
143         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
144         __new_getrlimit.
146         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
147         __chown_is_lchown and __real_chown.
149         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
150         _dl_reloc_bad_type.
152         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
153         up GCC's warning about "deprecated use of label at end of compound
154         statement."
155         * sunrpc/rpc_cout.c (emit_inline): Likewise.
157         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
158         prototypes.
159         Remove struct bb and __bb_head since those are declared by
160         sys/gmon.h.
162 2000-12-22  Ben Collins  <bcollins@debian.org>
164         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
166         * manual/argp.texi: Document argp_domain as part of struct argp.
168 2000-12-28  Andreas Jaeger  <aj@suse.de>
170         * catgets/Makefile (generated): Add sample.SJIS.cat.
172         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
174         * elf/dl-minimal.c: Add prototypes.
176         * include/locale.h: Add internal prototypes.
177         * include/sys/gmon.h: Likewise.
179         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
181 2000-12-27  Ben Collins  <bcollins@debian.org>
183         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
184         when reallocating the error strings.
185         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
187 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
189         * dlfcn/Makefile (tests): Add errmsg1.
190         (modules-names): Add errmsg1mod.
191         Add rules to run errmsg1.
192         * dlfcn/errmsg1.c: New file.
193         * dlfcn/errmsg1mod.c: New file.
195         * dlfcn/dlerror.c (dlerror): Always create output string which
196         includes object file name.
198         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
199         if we would go through it only once.
200         Patch by Rick Gorton <rick.gorton@api-networks.com>.
202         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
203         Patch by Richard Henderson <rth@redhat.com>.
205 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
207         * malloc/malloc.c (memmove): Add prototypes.
208         (MALLOC_MEMMOVE): Define.
209         (chunk_realloc): Use it instead of MALLOC_COPY if source and
210         destination might overlap.
212 2000-12-27  Andreas Jaeger  <aj@suse.de>
214         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
215         function.
216         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
217         * locale/programs/locale.c (show_locale_vars): Likewise.
218         (show_info): Likewise.
219         * locale/programs/ld-collate.c (collate_output): Likewise.
220         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
221         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
222         * stdlib/rpmatch.c (rpmatch): Likewise.
224         * setjmp/tst-setjmp.c: Make local functions static.
225         * setjmp/jmpbug.c: Likewise.
226         * signal/tst-signal.c: Likewise.
227         * stdio-common/tfformat.c: Likewise.
228         * string/tst-svc.c: Likewise.
229         * time/clocktest.c: Likewise.
230         * time/tst-getdate.c: Likewise.
231         * dirent/list.c: Likewise.
232         * dirent/opendir-tst1.c: Likewise.
233         * posix/runtests.c: Likewise.
234         * posix/tst-getaddrinfo.c: Likewise.
235         * posix/tst-chmod.c: Likewise.
236         * posix/wordexp-test.c: Likewise.
237         * misc/tst-efgcvt.c: Likewise.
238         * timezone/tst-timezone.c: Likewise.
239         * rt/tst-clock.c: Likewise.
240         * rt/tst-shm.c: Likewise.
241         * rt/tst-aio2.c: Likewise.
242         * rt/tst-aio3.c: Likewise.
243         * rt/tst-aio4.c: Likewise.
244         * rt/tst-aio5.c: Likewise.
246         * dlfcn/failtest.c: Add prototype for foo.
248         * dlfcn/glrefmain.c: Add prototype for do_test.
250         * dlfcn/tst-dladdr.c: Add prototype for do_test.
252         * string/test-ffs.c (main): Add prototype for nested function.
254         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
256         * nss/XXX-lookup.c: Add prototype to shut up GCC.
258         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
259         setetherent prototype.
260         Add internal interfaces.
262         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
263         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
265         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
267         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
269         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
270         prototypes, remove struct etherent since it's declared in ether.h.
271         Fix ntohost declaration.
273         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
275         * include/getopt.h: Add internal interfaces.
276         * include/termios.h: Likewise.
277         * include/resolv.h: Likewise.
278         * include/netdb.h: Likewise.
279         * include/grp.h: Likewise.
280         * include/pwd.h: Likewise.
281         * include/shadow.h: Likewise.
282         * include/rpc/netdb.h: Likewise.
283         * include/setjmp.h: Likewise.
285         * include/stdio.h: Add prototypes for compatibility functions.
286         * include/grp.h: Likewise.
287         * include/pwd.h: Likewise.
288         * include/shadow.h: Likewise.
290         * include/fenv.h: Define internal interfaces.
292 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
294         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
295         argument case separately.
296         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
298 2000-12-27  Andreas Jaeger  <aj@suse.de>
300         * include/sys/wait.h: Add some prototypes.
301         * Rules (dummy.c): Create also prototype to shut up GCC.
303 2000-12-27  Andreas Jaeger  <aj@suse.de>
305         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
306         it's not needed at the moment.
307         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
308         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
310 2000-12-26  Andreas Jaeger  <aj@suse.de>
312         * libio/getc_u.c: Include stdio.h via system path to get internal
313         prototypes.
314         * libio/getwc_u.c: Likewise.
316         * stdlib/strfmon.c: Fix prototype of __printf_fp.
318         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
319         __printf_fp prototypes to ...
320         * include/printf.h: ...here.
322         * include/stdio.h: Add some internal prototypes to shut up GCC.
323         * include/stdlib.h: Likewise.
325         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
326         declaration.
328         * include/signal.h: Add prototypes for internal sigpause
329         interfaces.
331 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
333         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
334         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
336         * string/Makefile (tests): Add tst-bswap.
337         * string/tst-bswap.c: New file.
339 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
341         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
343 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
345         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
346         Patch by Ed Connell <Ed.Connell@sas.com>.
348 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
350         * locale/iso-639.def: Correct one entry.  Add two missing entries.
352         * locale/iso-4217.def: Change entry for Eritrea.
353         Reported by Daniel Yacob <yacob@geez.org>.
355 2000-12-23  Ben Collins  <bcollins@debian.org>
357         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
358         description.
360         * manual/stdio.texi (Dynamic Output): Document the return value of
361         asprintf.  Also make the asprintf/snprintf examples a little
362         better (check for some error returns).
364 2000-12-22  Andreas Jaeger  <aj@suse.de>
366         * include/stdio.h: Add __ftrylockfile prototype.
368 2000-12-21  H.J. Lu  <hjl@gnu.org>
370         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
371         Make sign_exponent element signed.
373         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
374         Fix a typo.
376         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
378 2000-12-21  Andreas Jaeger  <aj@suse.de>
380         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
381         * inet/ether_hton.c: Likewise
382         * inet/ether_ntoh.c: Likewise.
384         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
385         declaration to match prototype.
387         * include/netinet/ether.h (struct etherent): Declare here so that
388         all implementations use the same struct.
390         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
391         prototypes.
392         (struct ether): Removed.
393         Use struct etherent instead of ether everywhere.
395         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
397         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
399         * sunrpc/publickey.c: Include auth_des.h for prototypes.
401 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
403         * math/test-misc.c: Add more tests for nextafter functions.
405         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
406         normal correctly.  Correct test for sign.
407         Based on a patch by HJ Lu.
409 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
411         * Makeconfig (preprocess-version): Add -traditional to gcc call.
412         Cleanup sed calls.
414 2000-12-19  Andreas Jaeger  <aj@suse.de>
416         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
418         * nis/nis_intern.h: Add prototype for __do_niscall3.
420         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
421         match prototype.
423         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
425         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
427         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
429 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
431         * math/test-misc.c: Add more tests for nextafter.
432         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
433         * sysdeps/ieee754/ldbl-96/math_ldbl.h
434         (ieee_long_double_shape_type): Make sign_exponent element signed.
436         * manual/message.texi: Add Estonian to plural overview list.
437         Correct rule for Slavic languages.
438         Patch by Stanislav Brabec <utx@penguin.cz>.
440         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
442 2000-12-18  Andreas Jaeger  <aj@suse.de>
444         * test-skeleton.c: Use temp_name_list instead of name_list to
445         avoid collision with name_list from inet/netgroup.h.
447         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
449         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
450         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
451         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
452         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
454         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
455         declaration to match prototype.
456         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
457         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
458         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
459         Likewise.
460         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
461         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
462         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
463         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
464         (_nss_nis_getservbyport_r): Likewise.
465         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
466         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
467         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
468         (_nss_nis_setnetent): Likewise
469         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
470         (_nss_nis_endnetgrent): Likewise.
471         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
472         Likewise.
473         (_nss_nisplus_setnetgrent): Likewise.
474         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
475         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
476         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
477         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
478         Likewise.
479         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
480         Likewise.
481         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
482         Likewise.
483         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
484         Likewise.
485         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
486         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
487         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
488         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
489         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
490         (_nss_dns_getnetbyaddr_r): Likewise.
492 2000-12-17  Andreas Jaeger  <aj@suse.de>
494         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
495         parameter.
497         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
498         unused attribute to shut up gcc warnings.
500         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
501         * sysdeps/generic/k_tanl.c: Likewise.
502         * sysdeps/generic/k_cosl.c: Likewise.
503         * sysdeps/generic/e_j0l.c: Likewise.
504         * sysdeps/generic/e_j1l.c: Likewise.
505         * sysdeps/generic/e_jnl.c: Likewise.
506         * sysdeps/generic/e_lgammal_r.c: Likewise.
508         * elf/vismain.c: Move prototypes for functions in vismod*.c to
509         vismod.h.
510         * elf/vismod.h: New file.
511         * elf/Makefile (distribute): Add vismod.h.
512         * elf/vismod1.c: Include vismod.h.
513         * elf/vismod2.c: Likewise.
514         * elf/vismod3.c: Likewise.
516         * elf/constload3.c: Add prototype declarations to shut up gcc.
517         * elf/failobj.c: Likewise.
518         * elf/nodelmod3.c: Likewise.
519         * elf/filtmod1.c: Likewise.
520         * elf/filtmod2.c: Likewise.
521         * elf/reldepmod1.c: Likewise.
522         * elf/reldepmod2.c: Likewise.
523         * elf/reldepmod3.c: Likewise.
524         * elf/reldepmod4.c: Likewise.
525         * elf/unload2dep.c: Likewise.
526         * elf/unload2mod.c: Likewise.
527         * elf/ltglobmod1.c: Likewise.
528         * elf/pathoptobj.c: Likewise.
529         * elf/neededobj1.c: Likewise.
530         * elf/neededobj2.c: Likewise.
531         * elf/neededobj3.c: Likewise.
532         * elf/neededobj4.c: Likewise.
533         * elf/nextmod1.c: Likewise.
534         * elf/nextmod2.c: Likewise.
536         * locale/programs/ld-collate.c (collate_finish): Don't use labels
537         at end of compound statement.
538         * locale/programs/locale.c (show_info): Likewise.
539         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
541 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
543         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
544         with a pointer not returned by obstack_ functions.
546 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
548         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
549         version.
550         (struct stat64): Likewise.
551         Reported by Michael Keezer <mkeezer@redhat.com>.
553         * timezone/asia: Update from tzdata2000h.
554         * timezone/australasia: Likewise.
555         * timezone/backward: Likewise.
556         * timezone/europe: Likewise.
557         * timezone/northamerica: Likewise.
558         * timezone/southamerica: Likewise.
559         * timezone/zone.tab: Likewise.
561 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
563         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
564         and dir.stream is NULL, only free dir.content.
565         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
566         * io/ftwtest-sh: Test with --early-exit.
568 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
570         * misc/efgcvt.c (FCVT_MAXDIG): Define.
571         (FCVT_BUFPTR): New variable.
572         (fcvt): If fcvt_r returns -1 on the static short buffer,
573         try to malloc a sufficiently large one and retry.
574         (free_mem): New function.
575         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
576         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
578 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
580         * misc/dirname.c (dirname): Fix search for second to last slash.
582 2000-12-13  Andreas Jaeger  <aj@suse.de>
584         * misc/tst-dirname.c (main): Fix typo in test to really use
585         the examples from Unix98.
586         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
588 2000-12-09  H.J. Lu  <hjl@gnu.org>
590         * sysdeps/ia64/fpu/s_fabs.S: New file.
591         * sysdeps/ia64/fpu/s_fabsf.S: New file.
592         * sysdeps/ia64/fpu/s_fabsl.S: New file.
594 2000-12-15  Andreas Jaeger  <aj@suse.de>
596         * stdio-common/scanf9.c (main): Reformat and change to avoid
597         warnings.
599         * stdio-common/tstdiomisc.c: Make local functions static.
600         * stdio-common/tst-printf.c: Likewise.
602         * elf/constload2.c: Add prototype declarations to shut up gcc.
603         * elf/dep1.c: Likewise.
604         * elf/dep2.c: Likewise.
605         * elf/dep3.c: Likewise.
606         * elf/dep4.c: Likewise.
607         * elf/ltglobmod2.c: Likewise.
609         * libio/fmemopen.c: Make local functions static.
611         * elf/Makefile (distribute): Added testobj.h.
613         * elf/testobj.h: New file.
615         * elf/testobj1.c: Include testobj.h and move prototype
616         declarations to testobj.h.
617         * elf/testobj2.c: Likewise.
618         * elf/testobj3.c: Likewise.
619         * elf/testobj4.c: Likewise.
620         * elf/testobj5.c: Likewise.
621         * elf/testobj6.c: Likewise.
622         * elf/testobj1_1.c: Likewise.
623         * elf/preloadtest.c: Likewise.
625 2000-12-15  Ben Collins  <bcollins@debian.org>
627         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
628         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
630 2000-12-14  H.J. Lu  <hjl@gnu.org>
632         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
633         field in a float is 8 bits, not 11 bits.
635 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
637         * math/test-misc.c (main): Adjust m for IEEE quad long double.
639 2000-12-13  Andreas Jaeger  <aj@suse.de>
641         * manual/message.texi (Using gettextized software): Fix typo.
643         * manual/charset.texi (Converting a Character): Fix mbstouwcs
644         program to compile.
645         Patch by Martin Buchholz <martin@xemacs.org>.
647         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
648         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
650 2000-12-11  Andreas Jaeger  <aj@suse.de>
652         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
653         kernel_sigset_t and use it.
654         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
656 2000-12-10  Richard Henderson  <rth@redhat.com>
658         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
659         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
660         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
662 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
664         * sysdeps/alpha/htonl.S: Fix a typo.
666 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
668         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
670 2000-12-10  Andreas Jaeger  <aj@suse.de>
672         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
673         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
674         Drepper <drepper@redhat.com>.
676 2000-12-09  Andreas Jaeger  <aj@suse.de>
678         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
680         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
681         generic version.
682         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
684         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
685         string.
687         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
688         format string.
690         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
691         * nscd/connections.c (handle_request): Likewise.
692         * nscd/pwdcache.c (addpwbyname): Likewise.
693         * nscd/grpcache.c (addgrbyname): Likewise.
695         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
697 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
699         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
701         * Makeconfig (default_cflags): Make -O2 the default for stable
702         releases.
704 2000-12-08  H.J. Lu  <hjl@gnu.org>
706         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
707         * sysdeps/ia64/fpu/s_isinf.S: This.
708         Add a .pred.rel.mutex note to avoid false report.
710         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
711         * sysdeps/ia64/fpu/s_isnan.S: This.
713         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
714         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
715         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
716         * sysdeps/ia64/fpu/s_isinff.S: New file.
717         * sysdeps/ia64/fpu/s_isinfl.S: New file.
718         * sysdeps/ia64/fpu/s_isnanf.S: New file.
719         * sysdeps/ia64/fpu/s_isnanl.S: New file.
720         * sysdeps/ia64/fpu/s_finite.S: New file.
721         * sysdeps/ia64/fpu/s_finitef.S: New file.
722         * sysdeps/ia64/fpu/s_finitel.S: New file.
723         * sysdeps/ia64/fpu/s_signbit.S: New file.
724         * sysdeps/ia64/fpu/s_signbitf.S: New file.
725         * sysdeps/ia64/fpu/s_signbitl.S: New file.
726         * sysdeps/ia64/fpu/s_copysign.S: New file.
727         * sysdeps/ia64/fpu/s_copysignf.S: New file.
728         * sysdeps/ia64/fpu/s_copysignl.S: New file.
730 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
732         * math/libm-test.inc (main): Fix typos in messages.
734         * string/stratcliff.c: Add test for rawmemchr.
736 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
738         * elf/dl-open.c (_dl_open): If objname points right after errstring,
739         allocate it together with errstring using alloca.
740         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
741         to "", because it might point to local stack.
743 2000-12-05  H.J. Lu  <hjl@gnu.org>
745         * nss/Makefile (routines): Add getnssent and getnssent_r.
746         * nss/nsswitch.h (__nss_setent): New internal NSS function.
747         (__nss_endent): Likewise.
748         (__nss_getent_r): Likewise.
749         (__nss_getent): Likewise.
750         * nss/getnssent_r.c: New file.
751         * nss/getnssent.c: New file.
752         * nss/getXXent.c (H_ERRNO_VAR): Updated.
753         (GETFUNC_NAME): Updated to call __nss_getent ().
754         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
755         (STAYOPEN_TMPVAR): Updated.
756         (STAYOPEN_VAR): Updated.
757         (SETFUNC_NAME): Updated to call __nss_setent ().
758         (ENDFUNC_NAME): Updated to call __nss_endent ().
759         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
761 2000-12-08  Andreas Jaeger  <aj@suse.de>
763         * nscd/dbg_log.h (dbg_log): Correct attribute.
765 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
767         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
768         cp + len.  Compute where from dirname.
769         Reported by <jreiser@BitWagon.com>.
771 2000-12-08  Richard Henderson  <rth@twiddle.net>
773         * sysdeps/alpha/_mcount.S: Fix typo.
774         * sysdeps/alpha/strncpy.S: Likewise.
776         * sysdeps/alpha/alphaev6/Implies: New file.
777         * sysdeps/alpha/alphaev67/Implies: New file.
778         * sysdeps/alpha/alphaev67/ffs.S: New file.
779         * sysdeps/alpha/alphaev67/ffsll.S: New file.
780         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
781         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
782         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
783         * sysdeps/alpha/rawmemchr.S: New file.
784         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
785         * sysdeps/alpha/strcpy.S: Likewise.
787         From GMP 3.1.1:
788         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
790         From rick.gorton@alpha-processor.com:
791         * sysdeps/alpha/alphaev6/memchr.S: New file.
792         * sysdeps/alpha/alphaev6/memcpy.S: New file.
793         * sysdeps/alpha/alphaev6/memset.S: New file.
794         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
795         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
796         * sysdeps/alpha/alphaev67/strcat.S: New file.
797         * sysdeps/alpha/alphaev67/strchr.S: New file.
798         * sysdeps/alpha/alphaev67/strlen.S: New file.
799         * sysdeps/alpha/alphaev67/strncat.S: New file.
800         * sysdeps/alpha/htonl.S: Use a shorter sequence.
802 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
804         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
805         Reported by <pspencer@fields.utoronto.ca>.
807 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
809         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
810         Pointed out by Hans Boehm.
812 2000-12-07  H.J. Lu  <hjl@gnu.org>
814         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
816 2000-12-07  Andreas Jaeger  <aj@suse.de>
818         * misc/error.c: Add format attributes for __error and __error_at_line.
820         * nscd/dbg_log.h: Add format attribute.
822 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
824         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
825         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
827 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
829         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
831 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
833         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
834         (sysdep_routines): Add uitrunc.
835         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
836         Patches by Michael Keezer <mkeezer@redhat.com>.
838 2000-12-06  Roland McGrath  <roland@frob.com>
840         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
841         argument data, since it will be used to copy out too (for INOUT).
842         Reported by Marcus Brinkmann <marcus@gnu.org>.
844         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
845         (__ioctl): Use uintptr_t instead of unsigned long int.
847 2000-12-06  Jim Wilson  <wilson@redhat.com>
849         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
851 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
853         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
854         x.5 rounding correctly.
856 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
858         * stdio-common/perror.c (perror): Conditionalize code dealing with
859         wide-oriented streams on USE_IN_LIBIO.
861 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
863         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
864         as internal_function.
866 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
868         * sysdeps/alpha/elf/start.S (__data_start): Define.
870 2000-12-05  H.J. Lu  <hjl@gnu.org>
872         * nss/getXXent_r.c (setup): Change the return type to int.
874 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
876         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
877         (sysdep_routines): Add restf and savef.
878         * sysdeps/unix/sysv/aix/restf.c: New file.
879         * sysdeps/unix/sysv/aix/savef.c: New file.
880         Patches by Michael Keezer <mkeezer@redhat.com>.
882         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
883         if O_DIRECTORY is not defined.
884         Patch by Michael Keezer <mkeezer@redhat.com>.
886         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
887         Patch by Michael Keezer <mkeezer@redhat.com>.
889         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
890         than 4 bytes in escape sequence.
891         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
893 2000-12-05  Andreas Jaeger  <aj@suse.de>
895         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
896         set mips2.
898         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
900         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
902         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
903         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
905         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
906         internal_function.
907         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
908         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
910         * sysdeps/generic/dl-cache.c: Remove declaration of
911         _dl_sysdep_read_whole_file.
913         * elf/dl-load.c (_dl_map_object): Remove declaration of
914         _dl_load_cache_lookup.
916         * sysdeps/generic/ldsodefs.h: Add declarations of
917         _dl_load_cache_lookup, _dl_unload_cache,
918         _dl_sysdep_read_whole_file, _dl_sysdep_start and
919         _dl_sysdep_start_cleanup.
921         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
922         now.
924         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
925         * sysdeps/generic/dl-environ.c: Likewise.
927         * stdio-common/printf_fp.c: Include <gmp.h> instead of
928         <stdlib/gmp.h>.
929         * math/atest-exp.c: Likewise.
930         * math/atest-exp2.c: Likewise.
931         * math/atest-sincos.c: Likewise.
932         * stdio-common/_itoa.c: Likewise.
933         * stdio-common/_itowa.c: Likewise.
935         * include/gmp.h: New file with internal prototypes.
937         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
938         here to...
939         * include/setjmp.h: ...here.
941         * locale/Makefile (routines): Remove codeset_name since it's not
942         needed anywhere.
944         * locale/codeset_name.c: Removed.
946 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
948         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
950 2000-12-05  Andreas Jaeger  <aj@suse.de>
952         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
954 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
956         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
957         available.
959 2000-12-05  Andreas Jaeger  <aj@suse.de>
961         * nss/test-netdb.c: Mark local functions as static to avoid
962         warnings.
963         (main): Use return to silence warning.
965         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
967         * stdio-common/test-popen.c: Mark local functions as static to
968         avoid warnings.
969         (main): Use return to silence warning.
971         * stdlib/testsort.c (compare): Mark as static to avoid warning.
973         * assert/test-assert.c: Mark local functions as static to avoid
974         warnings.
975         * assert/test-assert-perr.c: Likewise.
977         * math/libm-test.inc (main): Use return to silence warnings.
979 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
981         * math/fenv.h: Fix typo in comment.
983         * math/test-misc.c (main): Add a few more over and underflow tests
984         for scalb.
986         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
987         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
988         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
989         * math/w_scalb.c: Don't use matherr except in SVID mode.
990         * math/w_scalbf.c: Likewise.
991         * math/w_scalbl.c: Likewise.
992         * math/test-misc.c: Add test for NaN and scalbl.
993         Reported by Fred J. Tydeman <tydeman@tybor.com>.
995 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
997         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
998         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
999         * include/libc-symbols.h (strong_alias): Define special version
1000         for HAVE_ASM_GLOBAL_DOT_NAME.
1001         (weak_alias): Likewise.
1002         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
1003         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
1004         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
1005         getutxline, pututxline, and utmpxname.
1006         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
1007         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
1008         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
1009         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
1010         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
1011         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
1012         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
1013         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
1014         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
1015         Patches by Michael Keezer <mkeezer@redhat.com>.
1017 2000-12-04  H.J. Lu  <hjl@gnu.org>
1019         * configure.in: Change --with-oldest-abi=ABI to
1020         --enable-oldest-abi=ABI.
1022 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
1024         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
1025         fwprintf instead of fprintf.
1027 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
1029         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
1030         DECIMAL_DIG definitions.
1031         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
1032         * sysdeps/generic/bits/mathdef.h: Likewise
1033         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
1034         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
1035         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
1036         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
1037         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
1038         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
1040 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
1042         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
1044         * math/atest-exp.c: Mark local functions as static to avoid warnings.
1045         * math/atest-exp2.c: Likewise.
1046         * math/atest-sincos.c: Likewise.
1048         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
1049         Reported by Fred J. Tydeman <tydeman@tybor.com>.
1051         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
1052         the handling of denormalized numbers.
1054         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
1055         numbers on x86.
1056         * sysdeps/i386/fpu/fpclassifyl.c: New file.
1058         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
1059         pseudo denormal representation of LDBL_MIN.
1061         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
1062         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
1064         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
1065         * iconvdata/jis0208.c: Likewise.
1066         * iconvdata/jis0212.c: Likewise.
1067         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1069         * math/test-misc.c (main): More tests for frexp and some for
1070         fpclassify and isnormal.
1072         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
1073         test for subnormal.
1074         Reported by Fred J. Tydeman <tydeman@tybor.com>.
1076         * math/test-misc.c (main): Add tests for frexp.
1077         Reported by Fred J. Tydeman <tydeman@tybor.com>.
1078         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
1080 2000-12-02  H.J. Lu  <hjl@gnu.org>
1082         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
1083         '\0' to wcschr.
1085 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
1087         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
1088         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1089         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1091         * sysdeps/generic/glob.c: Adjust types of several variables to
1092         avoid warnings.
1094 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
1096         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
1098 2000-11-30  Roland McGrath  <roland@frob.com>
1100         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
1101         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
1102         allow multiple instances using the same function name in one file.
1104 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
1106         * configure.in: Correct test for pserver CVS access.
1108 2000-11-28  H.J. Lu  <hjl@gnu.org>
1110         * libio/libio.h: Remove extra "#if ... #endif".
1112 2000-11-29  H.J. Lu  <hjl@gnu.org>
1114         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
1116 2000-12-01  H.J. Lu  <hjl@gnu.org>
1118         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
1119         * nss/getXXent_r.c: Likewise.
1120         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1122 2000-11-30  H.J. Lu  <hjl@gnu.org>
1124         * scripts/abi-versions.awk (oldest_abi): New variable.
1125         Handle the oldest ABI supported.
1127         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
1128         for scripts/abi-versions.awk.
1130         * configure.in: Add --with-oldest-abi=ABI.
1131         * configure: Rebuild.
1133         * config.make.in (oldest-abi): New.
1135         * config.h.in (GLIBC_OLDEST_ABI): New.
1137         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
1139 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
1141         * locale/setlocale.c (setname): Free for all categories, not just
1142         LC_ALL.
1143         (setlocale): Store a copy of string passed by user, not the string
1144         itself.
1146 2000-11-30  Roland McGrath  <roland@frob.com>
1148         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
1149         rather than _hurd_fd_subinit, so it happens after it's safe to use
1150         libc facilities like malloc.
1152 2000-11-28  Andreas Jaeger  <aj@suse.de>
1154         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
1155         declaration, adjust declaration of __syscall_getdents to match
1156         kernel.
1158 2000-11-29  H.J. Lu  <hjl@gnu.org>
1160         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
1162 2000-11-29  Andreas Jaeger  <aj@suse.de>
1164         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
1166 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
1168         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
1169         * dlfcn/defaultmod2.c: Likewise.
1170         * dlfcn/dlopen.c: Likewise.
1171         * dlfcn/dlopenold.c: Likewise.
1172         * dlfcn/failtestmod.c: Likewise.
1173         * dlfcn/glreflib1.c: Likewise.
1174         * dlfcn/glreflib2.c: Likewise.
1175         * dlfcn/eval.c: Likewise.  Add attributes.
1177         * ctype/ctype-extn.c: Define isblank and not __isblank.
1179         * time/strftime.c: Add const where necessary to avoid warnings.
1180         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
1182 2000-11-22  Paul Eggert  <eggert@twinsun.com>
1184         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
1185         size of (size_t) -1; it's not portable.
1187 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
1189         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
1190         crappy i486 FPU.
1191         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
1193 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
1195         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
1197         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
1198         _mcount is required by profiled binaries.
1200         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
1201         * sysdeps/ia64/machine-gmon.h: ...here.
1203 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
1205         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
1206         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
1207         and ibm1129.h.
1208         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
1209         IBM1129.
1210         * iconvdata/ibm922.c: New file.
1211         * iconvdata/ibm922.h: New file.
1212         * iconvdata/ibm1124.c: New file.
1213         * iconvdata/ibm1124.h: New file.
1214         * iconvdata/ibm1129.c: New file.
1215         * iconvdata/ibm1129.h: New file.
1216         * iconvdata/testdata/IBM922: New file.
1217         * iconvdata/testdata/IBM922..UTF8: New file.
1218         * iconvdata/testdata/IBM1124: New file.
1219         * iconvdata/testdata/IBM1124..UTF8: New file.
1220         * iconvdata/testdata/IBM1129: New file.
1221         * iconvdata/testdata/IBM1129..UTF8: New file.
1223 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
1225         * catgets/gencat.c (normalize_line): Take extra parameter with escape
1226         character.  Change callers.
1227         (open_conversion): Determine mapping of 0x5c as wchar_t value.
1228         * catgets/Makefile: Add rules to build and run test-gencat.
1229         * catgets/sample.SJIS: New file.
1230         * catgets/test-gencat.c: New file.
1231         * catgets/test-gencat.sh: New file.
1232         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1234 2000-11-28  Andreas Jaeger  <aj@suse.de>
1236         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
1237         Linux version.
1239 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
1241         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
1243 2000-11-28  Andreas Jaeger  <aj@suse.de>
1245         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
1246         __flexarr.
1247         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
1248         Likewise.
1250 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
1252         * misc/getusershell.c: Make strings in okshells array const.
1253         * misc/regexp.c: Add const to cast to avoid warnings.
1254         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
1255         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
1256         __setresuid.
1257         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
1258         setresgid.
1259         * misc/error.c: Add prototypes for __error and __error_at_line.
1260         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
1261         statement to avoid warning.
1262         * test-skeleton.c: Mark timeout_handler with noreturn.
1263         * iconv/skeleton.c (get16u): Add const to cast.
1264         (get32u): Likewise.
1265         * iconvdata/gb18030.c: Likewise.
1266         * iconvdata/iso-2022-cn-ext.c: Likewise.
1267         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
1268         * iconvdata/big5.c: Likewise.
1269         * iconvdata/big5hkscs.c: Likewise.
1270         * iconvdata/iso_6937.c: Likewise.
1271         * iconvdata/iso_6937-2.c: Likewise.
1272         * iconvdata/t.61.c: Likewise.
1273         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
1274         * iconvdata/unicode.c: Likewise.
1275         * iconvdata/utf-16.c: Likewise.
1276         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
1277         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
1278         with little code shuffling.
1280         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
1281         the problems introduced when the user selects -O3.
1283         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
1284         * misc/sys/cdefs.h: Define __flexarr.
1285         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
1287         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
1288         * iconv/skeleton.c: Likewise.
1289         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
1290         * iconv/loop.c (get16): Add const to cast.
1291         (get32): Likewise.
1293 2000-11-27  Andreas Jaeger  <aj@suse.de>
1295         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
1296         to avoid warning.
1297         * login/programs/utmpdump.c (print_entry): Likewise.
1299 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
1301         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
1302         in a single asm as they may be used to access other stored
1303         registers.
1304         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1306 2000-11-27  Andreas Jaeger  <aj@suse.de>
1308         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
1309         * rt/tst-aio64.c: Likewise.
1311 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
1313         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
1314         for gencat run.
1315         (libc.cat): Likewise.
1316         * catgets/gencat.c: Implement handling of message catalogs encoded
1317         with stateful character sets.
1318         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1320 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
1322         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
1324         * inet/getnameinfo.c: Adjust casts to avoid warnings.
1325         * inet/rcmd.c: Likewise.
1326         * inet/ruserpass.c: Likewise.
1327         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
1328         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
1329         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
1330         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
1331         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
1332         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
1333         * include/aliases.h: Add prototypes for internal __getalias* functions.
1334         * include/netdb.h: Add prototypes for __old_gethostent_r,
1335         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
1336         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
1337         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
1338         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
1339         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
1340         __old_getrpcbynumber_r, __old_getrpcent_r.
1342         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
1343         __getrpcent_r prototypes.
1345 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
1347         * string/strcoll.c: Add casts to avoid warnings.
1348         * string/strnlen.c: Likewise.
1349         * string/strxfrm.c: Likewise.
1350         * sysdeps/generic/_strerror.c: Likewise.
1351         * sysdeps/generic/memrchr.c: Likewise.
1352         * sysdeps/generic/strcasestr.c: Likewise.
1353         * sysdeps/generic/strstr.c: Likewise.
1355         * locale/weight.h (findidx): Add const to cast to avoid warning.
1357         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
1358         * elf/loadtest.c: Likewise.
1359         * elf/multiload.c: Likewise.
1360         * elf/next.c: Likewise.
1361         * elf/nodelete.c: Likewise.
1362         * elf/noload.c: Likewise.
1363         * elf/order.c: Likewise.
1364         * elf/origtest.c: Likewise.
1365         * elf/preloadtest.c: Likewise.
1366         * elf/restest1.c: Likewise.
1368         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
1369         parameter of asm must be in %ecx.
1371         * string/tester.c: Mark test functions as static to avoid warnings.
1373         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
1374         preserve value over different gconv-modules files.
1376 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
1378         * locale/findlocale.c: Add casts to avoid warnings.
1379         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
1380         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
1381         to avoid warnings.
1382         * misc/tsearch.c (const_node): New type.
1383         (trecurse): Correct casts to avoid warnings.
1384         (__twalk): Likewise.
1385         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
1386         LONG_BIT.
1388         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
1390         * test-skeleton.c: Mark local functions as static to avoid warnings.
1392 2000-11-23  H.J. Lu  <hjl@gnu.org>
1394         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
1395         support the background job.
1396         Fix a typo.
1398 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
1400         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
1401         has same names but lower cost.
1403 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
1405         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
1406         which never occur during bootstrap.
1407         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1409 2000-11-23  Andreas Jaeger  <aj@suse.de>
1411         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
1413         * nss/Versions: Remove _nss_files_getipnodebyname_r.
1415         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
1417 2000-11-18  Martin Buchholz  <martin@xemacs.org>
1419         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
1420         (called++) return;'
1422 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
1424         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
1426         * csu/abi-note.S: Correct comment for operating system number.
1428 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
1430         * Versions.def: Add GLIBC_2.2.1 for glibc.
1432 2000-11-22  Andreas Schwab  <schwab@suse.de>
1434         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
1435         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
1437 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
1439         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
1440         absolute time for pthread_cond_timedwait call.
1441         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
1443         * rt/Makefile (tests): Add tst-aio6.
1444         * rt/tst-aio6.c: New file.
1446 2000-11-23  Andreas Jaeger  <aj@suse.de>
1448         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
1450 2000-11-22  Andreas Jaeger  <aj@suse.de>
1452         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
1454 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1456         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
1458 2000-11-21  Andreas Schwab  <schwab@suse.de>
1460         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
1461         * sysdeps/arm/setjmp.S: Likewise.
1462         * sysdeps/arm/fpu/setjmp.S: Likewise.
1463         * sysdeps/i386/setjmp.S: Likewise.
1464         * sysdeps/i386/elf/setjmp.S: Likewise.
1465         * sysdeps/s390/setjmp.S: Likewise.
1466         * sysdeps/s390/elf/setjmp.S: Likewise.
1467         * sysdeps/sh/sh3/setjmp.S: Likewise.
1468         * sysdeps/sh/sh4/setjmp.S: Likewise.
1469         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
1470         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1471         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
1472         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
1474 2000-11-21  Andreas Jaeger  <aj@suse.de>
1476         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
1477         NORETURN, fix parameter list.
1479         * string/bug-strncat1.c (main): Fix typo.
1480         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
1482 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
1484         * configure.in: Add --enable-all-warnings.
1485         * config.make.in (all-warnings): New variable.
1486         * Makeconfig (+gccwarn): Define with many more warnings if
1487         all-warnings is yes.
1489 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
1491         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
1492         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
1493         * malloc/tst-valloc.c (main): Cast valloc return value to long.
1494         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
1495         * math/test-fpucw.c (main): Use %lx in format string, cast
1496         control words to long.
1497         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
1498         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
1499         large that it is unsigned warning.
1501         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
1502         it to long on sparc64.
1504 2000-11-20  Andreas Jaeger  <aj@suse.de>
1506         * nscd/nscd.h (termination_handler): Add noreturn attribute.
1507         (receiv_print_stats): Likewise.
1509         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
1511 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
1513         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
1515         * csu/gmon-start.c: Always have prototype for __gmon_start.
1516         * csu/version.c: Add prototypes for __libc_print_version and
1517         __libc_main.
1518         * iconv/gconv.c: Include gconv_int.h and gconv.h.
1519         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
1520         and __to_name.
1521         * iconv/gconv_builtin.h: Add ASCII module definitions.
1522         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
1523         (add_module): Add cast to avoid warning.  Rework construction of
1524         strings for new module.
1525         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
1526         (derivation_compare): Likewise.
1527         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
1528         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
1529         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
1530         (struct gconv_alias): Remove const from fromname and toname.
1531         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
1532         for loop functions.
1533         (internal_ucs4_loop): Use correct const-ness.
1534         (ucs4_internal_loop): Likewise.
1535         (internal_ucs4le_loop): Likewise.
1536         (ucs4le_internal_loop_single): Likewise.
1537         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
1538         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
1539         assignments appropriately.
1540         (struct known_trans): Remove const from fname.
1541         (trans_compare): Make s1 and s2 const.
1542         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
1543         avoid warning.
1544         * iconv/skeleton.c: Remove cast in calls of loop functions.
1545         * iconvdata/gconv-modules: Remove US-ASCII definitions.
1546         * iconvdata/iso646.c: Remove US_ASCII support.
1547         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
1548         * include/unistd.h: Add __libc_check_standard_fds prototype.
1549         * string/bits/string2.h (__mempcpy_args): Add const to casts.
1550         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
1551         _fini.
1552         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
1553         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
1554         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
1555         warning.
1556         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
1557         __libc_init_first and _dl_start.
1558         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
1559         (DCIGETTEXT): Make domaindata variable const.
1560         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
1561         to avoid warning.
1563 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
1565         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
1567         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
1568         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
1569         __unused? members.
1571         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
1572         value defined in /usr/include/asm-mips/fcntl.h.
1574 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
1576         * stdio-common/Makefile (tests): Add test-vfprintf.
1577         (test-vfprintf-ENV): New variable.
1578         * stdio-common/test-vfprintf.c: New file.
1580         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
1582         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
1583         (tst-mbrtowc-ENV): New variable.
1584         (tst-wcrtomb-ENV): New variable.
1585         * wcsmbs/tst-mbrtowc.c: New file.
1586         * wcsmbs/tst-wcrtomb.c: New file.
1588 2000-11-16  Andreas Jaeger  <aj@suse.de>
1590         * manual/install.texi (Tools for Compilation): Update
1591         documentation for GCC 2.95.2.
1593 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
1595         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
1596         if IPv4 and IPv6 requests timed out.
1598 2000-11-18  Akim Demaille  <akim@epita.fr>
1600         * malloc/obstack.h: Formatting changes.
1601         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1602         prevents type checking.
1603         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1604         cast the value to (void *): assigning a `foo *' to a `void *'
1605         variable is valid.
1606         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1608 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
1610         * scripts/config.guess: Update from upstream maintainer.
1611         * scripts/config.sub: Likewise.
1613 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
1615         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
1616         * libio/freopen64.c (freopen64): Likewise.
1617         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1619         * libio/Makefile: Add rules to build and run test-freopen.
1620         * libio/test-freopen.c: New file.
1621         * libio/test-freopen.sh: New file.
1623 2000-11-15  H.J. Lu  <hjl@gnu.org>
1625         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
1626         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1627         (DL_DT_FINI_ADDRESS): Likewise.
1629         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
1630         return type to ElfW(Addr).
1631         (_dl_function_address): New prototype.
1632         (DL_FUNCTION_ADDRESS): Defined.
1633         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
1634         (DL_DT_FINI_ADDRESS): Likewise.
1636         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
1638         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
1639         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
1641         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
1642         (_dl_function_address): This.
1644         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
1645         function pointer for DT_FINI.
1646         * elf/dl-close.c (_dl_close): Likewise.
1648         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
1649         function pointer for DT_INIT.
1651 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
1653         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
1654         end of wexpbuf buffer.
1656 2000-11-16  Andreas Jaeger  <aj@suse.de>
1658         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
1659         definition of F_GETLK, F_SETLK, F_SETLKW.
1661 2000-11-16  Andreas Jaeger  <aj@suse.de>
1663         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
1664         it's not defined.
1666 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
1668         * dlfcn/default.c (main): Add test for dladdr of main returning
1669         argv[0] in dli_fname field.
1671 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
1673         * Makeconfig (run-program-prefix): Move test-static test into the
1674         variable.
1676         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
1677         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
1678         schedule instructions.
1679         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
1680         schedule instructions, fix a bug in copying auxiliary data.
1682 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
1684         * manual/startup.texi (Program Arguments): Fix type of main's envp
1685         parameter.
1686         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
1688         * iconvdata/gconv-modules: Add CP950 alias.
1690 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
1692         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
1693         syscall-list.h goal.
1694         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
1696 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
1698         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
1700         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
1701         output of program.
1703         * intl/tst-gettext2.c: Set C locale if setting other locale
1704         failed.  Use gettext() not _().
1706         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
1707         successfully loaded a new locale.
1709 2000-11-13  Andreas Jaeger  <aj@suse.de>
1711         * configure.in: Require gcc 2.95 or newer.
1713 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
1715         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
1716         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1718 2000-11-11  Jim Meyering  <meyering@lucent.com>
1720         * string/strndup.c (strndup): Cast return value to `char *'.
1722 2000-11-15  Jim Meyering  <meyering@ascend.com>
1724         * sysdeps/generic/memchr.c: Remove some useless parentheses.
1725         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
1726         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
1727         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
1728         Also #undef __memchr.
1729         Use `weak_alias' only if it's defined.
1731 2000-11-10  H.J. Lu  <hjl@gnu.org>
1733         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
1735 2000-11-15  Andreas Jaeger  <aj@suse.de>
1737         * elf/chroot_canon.c: Include <stdint.h>.
1739         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
1740         (print_entry): Likewise.
1741         (add_to_cache): Likewise.
1743         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
1745         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
1746         (path_hwcap): Likewise.
1747         (search_dir): Likewise.
1749         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
1751         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
1753         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
1754         (_dl_platform_string): New.
1755         (_DL_HWCAP_PLATFORM): New.
1756         (_dl_string_platform): New.
1757         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1759         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
1760         (_dl_string_platform): New.
1761         (_DL_HWCAP_PLATFORM): New.
1762         (_dl_platform_string): New.
1764         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
1765         recognition.
1766         (_DL_HWCAP_COUNT): New.
1767         (_dl_string_platform): New.
1768         (_DL_HWCAP_PLATFORM): New.
1769         (_dl_platform_string): New.
1771 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
1773         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
1775 2000-11-14  Andreas Jaeger  <aj@suse.de>
1777         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
1779 2000-11-13  Roland McGrath  <roland@frob.com>
1781         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
1783 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
1785         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
1786         underrun and make sure the result is null terminated even if there
1787         is no trailing newline.
1789 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
1791         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1793 2000-11-10  H.J. Lu  <hjl@gnu.org>
1795         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1797 2000-11-10  Andreas Jaeger  <aj@suse.de>
1799         * elf/ldconfig.c (create_links): Fix alloca calculation.
1800         Patch by Ben Collins <bcollins@debian.org>.
1802 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
1804         * inet/getnameinfo.c (getnameinfo): Use correct destination
1805         parameter for if_indextoname.
1806         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
1808 2000-11-09  H.J. Lu  <hjl@gnu.org>
1810         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
1811         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
1812         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
1813         xdr_keystatus.
1815         * time/Versions (GLIBC_2.1): Move getitimer to...
1816         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
1818 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
1820         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
1821         "make install", to work around a binary incompatibility between
1822         glibc 2.1 and glibc 2.2 gconv modules.
1824 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
1826         * intl/locale.alias: Add thai.
1827         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
1829 2000-11-07  Akim Demaille  <akim@epita.fr>
1831         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
1832         argument `data' for consistency with the prototypes.
1833         Qualify it `const'.
1834         (obstack_copy, obstack_copy0): Rename the second argument as
1835         `address' for consistency.  Qualify it `const'.
1836         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1837         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1838         `const' their input argument (`data' or `address').
1839         Adjust the corresponding macros to include `const' in casts.
1841 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1843         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
1844         target family.
1846 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1848         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
1849         socket creation.
1851 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1853         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
1854         ai_protocol by internal table if service was not given.
1856 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1858         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
1859         numerical port was specified with protocol without socktype.
1861 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1863         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
1865 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1867         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
1869 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1871         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
1872         sin6_scope_id field.
1874 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1876         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
1878 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1880         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
1882 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
1884         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
1885         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
1887 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
1889         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
1890         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
1892 2000-11-09  H.J. Lu  <hjl@gnu.org>
1894         * io/Versions (GLIBC_2.1.1): Remove lockf64.
1897 See ChangeLog.11 for earlier changes.