Update.
[glibc.git] / ChangeLog
blob82722de8a26e231401692aaf245c668fd095e348
1 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
3         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
4         Change type of CTX to (struct sigcontext *).
5         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6         (GET_FRAME): Likewise.
7         (GET_STACK): Likewise.
8         (SIGCONTEXT): Likewise. Add 2nd arg _code.
9         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
11 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
13         * manual/texinfo.tex: Update from upstream version.
15 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
17         * inet/ether_ntoh.c (lookup_function): Change arguments to match
18         _nss_*_getntohost_r prototype.
19         (ether_ntohost): Pass errno pointer to NSS function.
21 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
24         (MAP_LOCKED): New definition.
25         (MAP_NORESERVE): New definition.
27 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
29         * assert/assert.h: Use static_cast instead of C-style cast for C++.
30         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
32 2001-01-12  Ben Collins  <bcollins@debian.org>
34         * sysdeps/generic/segfault.c (install_handler): Use access, not
35         __access.
37 2001-01-12  Andreas Jaeger  <aj@suse.de>
39         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
40         * posix/wordexp.c (do_parse_glob): Likewise.
41         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
42         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
43         * elf/dl-open.c (_dl_open): Likewise.
44         * elf/dl-close.c (_dl_close): Likewise.
45         * elf/dl-load.c (_dl_map_object): Likewise.
46         * iconv/iconv_prog.c (process_fd): Likewise.
47         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
49         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
50         of a zero-length array.
52 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
54         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
55         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
56         * stdlib/cxa_on_exit.c: Remove.
57         * stdlib/Makefile: Revert last patch.
58         * stdlib/Versions: Likewise.
59         * include/stdlib.h: Likewise.
60         * stdlib/exit.h: Revert last patch.
61         (struct exit_function): Add second argument to cxa fn.
62         * stdlib/exit.c: Revert last patch.
63         (exit): Add hidden second argument.
65 2001-01-11  H.J. Lu  <hjl@gnu.org>
67         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
68         * elf/dl-open.c (_dl_open): Here.
69         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
70         Make it static.
71         (_dl_static_init): Initialize the variables every time when possible.
72         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
73         Undefine it first.
75 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
77         * stdlib/Makefile (routines): Add cxa_on_exit.
78         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
79         * stdlib/cxa_on_exit.c: New file.
80         * include/stdlib.h: Add prototype for __cxa_on_exit.
81         * stdlib/exit.c: Handle ef_cxa2.
82         * stdlib/exit.h (enum): Add ef_cxa2.
83         (struct exit_function): Add cxa2.
85         * Versions.def [ld]: Add GLIBC_2.2.1.
87 2001-01-10  H.J. Lu  <hjl@gnu.org>
89         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
90         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
91         dl-static.
92         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
93         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
94         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
95         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
96         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
98 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
100         * libio/stdio.h: Remove definition of off_t.
102 2001-01-11  Andreas Jaeger  <aj@suse.de>
104         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
105         <mkuhn@acm.org>.
107 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
109         * sunrpc/Makefile (distribute): Add errqueue.h.
111 2001-01-10  H.J. Lu  <hjl@gnu.org>
113         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
114         r9, r10 and r11 for language specific registers.
116 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
118         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
119         UDP socket.
120         (clntudp_call): Handle MSG_ERRQUEUE.
121         * sysdeps/generic/errqueue.h: New file.
122         * sysdeps/unix/sysv/linux/errqueue.h: New file.
124 2001-01-10  H.J. Lu  <hjl@gnu.org>
126         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
128 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
130         * CONFORMANCE: Update.
132 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
134         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
135         Minimal cleanups.  Add assert to ensure memory handling is correct.
137         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
138         Reported by Ben Collins <bcollins@debian.org>.
140         * time/strftime.c (my_strftime): Mark previous GNU extensions
141         which are now in C99 as such.
143 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
145         * elf/rtld.c (process_envvars): Place output files for profiling
146         in SUID binaries in /var/profile.
148         * elf/dl-load.c (_dl_map_object): Don't look in cache for
149         preloading in SUID binaries.
151         * elf/dl-profile.c (_dl_start_profile): Open the output file with
152         O_NOFOLLOW if possible.
154         * include/stdlib.h: Add __posix_openpt declaration.
155         * stdlib/stdlib.h: Add posix_openpt declaration.
156         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
157         * sysdeps/generic/getpt.c: Define posix_openpt.
158         * sysdeps/unix/bsd/getpt.c: Likewise.
159         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
161         * time/Makefile (tests): Add tst-mktime.
162         * time/tst-mktime.c: New file.
164         * posix/tst-dir.c (main): One more mkdir() test.
166         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
167         Remove getpagesize syscall.  We assume that the pagesize is always
168         determined from the auxiliary vector.
170         * intl/dcigettext.c: Fix a few warnings.
171         Patch by Bruno Haible <haible@ilog.fr>.
173 2001-01-08  Andreas Jaeger  <aj@suse.de>
175         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
176         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
178 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
180         * sysdeps/generic/segfault.c (install_handler): Check output file
181         name with access().
183         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
184         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
186         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
188         * malloc/memusage.c (me): Use access() to determine whether we
189         should write the output file or not.
191         * libio/bits/stdio.h (printf): Define macro to map printf call to
192         fprintf which gcc can optimize.
193         * stdio-common/printf.c: Undefine printf.
195 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
197         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
198         patch.  We must use unsigned int for l member of union.
200         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
201         _dl_aux_init for shared libraries.
203         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
204         * sysdeps/gnu/glob64.c: ...here.  New file.
206 2001-01-07  Ben Collins  <bcollins@debian.org>
208         * manual/examples/longopt.c: Make the "struct option" a little
209         more like it should be, adding usage of required_argument,
210         noargument and such, and also setting the options string right.
212         * manual/sysinfo.texi (Load Average): New section, documents
213         getloadavg().
215 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
217         * version.h (VERSION): Bump to 2.2.1.
219         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
220         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
221         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
222         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
223         * Makefile (distribute): Add include/libc-internal.h.
224         * libio/Makefile (distribute): Avoid overwriting.
226         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
227         buffer and table handling.
229 2001-01-05  H.J. Lu  <hjl@gnu.org>
231         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
232         vector checking to ...
233         (_dl_aux_init): Here. New function. Defined only if
234         HAVE_AUX_VECTOR is defined.
236         * sysdeps/generic/libc-start.c (__libc_start_main): Call
237         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
239         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
240         _dl_aux_init.
242         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
243         (HAVE_AUX_VECTOR): Defined.
244         (_dl_aux_init): Declared.
246 2001-01-05  Ben Collins  <bcollins@debian.org>
248         * manual/string.texi (Finding Tokens in a String): Document XPG
249         basename() and dirname(), as well as GNU basename().
251 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
253         * Makeconfig (preprocess-version): Replace -traditional with
254         -x assembler-with-cpp.
256 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
258         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
259         for GCC 2.97 or later.
261 2001-01-05  Ben Collins  <bcollins@debian.org>
263         * manual/stdio.texi (getline): Clarify the return value in the
264         case of EOF being reached before a newline.
266 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
268         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
269         FALSE otherwise.
270         (pmap_set, pmap_unset): Check __get_myaddress return value.
272 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
274         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
275         (struct ether_addr): Declare ether_addr_octet member as
276         `u_int8_t'.  Add __attribute__ ((__packed__)).
278 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
280         * sysdeps/mach/hurd/readdir64.c: New file.
281         * sysdeps/mach/hurd/readdir64_r.c: New file.
283 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
285         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
286         `struct statfs' and `struct statvfs' being identical.
287         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
289 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
291         * sysdeps/mach/hurd/fstatfs64.c: New file.
292         * sysdeps/mach/hurd/fstatvfs64.c: New file.
293         * sysdeps/mach/hurd/statfs64.c: New file.
294         * sysdeps/mach/hurd/statvfs64.c: New file.
295         * sysdeps/mach/hurd/statfsconv.c: New file.
296         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
298 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
300         * iconv/skeleton.c: Reset outbuf for next round of the loop.
301         Reported by Owen Taylor <otaylor@redhat.com>.
302         * iconv/Makefile (tests): Add tst-iconv3.
303         * iconv/tst-iconv3.c: New file.
305         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
306         * iconvdata/ibm933.c: Likewise.
307         * iconvdata/ibm935.c: Likewise.
308         * iconvdata/ibm937.c: Likewise.
309         * iconvdata/ibm939.c: Likewise.
310         * iconvdata/ibm930.h: Adjust single byte table for optimization.
311         * iconvdata/ibm933.h: Likewise.
312         * iconvdata/ibm935.h: Likewise.
313         * iconvdata/ibm939.h: Likewise.
315         * iconvdata/testdata/IBM930: Add misssing SI.
316         * iconvdata/testdata/IBM933: Likewise.
317         * iconvdata/testdata/IBM935: Likewise.
318         * iconvdata/testdata/IBM937: Likewise.
319         * iconvdata/testdata/IBM939: Likewise.
321 2001-01-06  Andreas Jaeger  <aj@suse.de>
323         * configure.in: Check for old add-ons that shouldn't be used with
324         current glibc anymore.
326 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
328         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
329         instead of -1 on failure.  Don't forget to copy file name into
330         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
331         of the directory.
333 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
335         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
336         copy st_atime member.
338 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
340         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
341         for searches from the root directory.
342         Reported by loris <loris@iol.it> [PR libc/1991].
343         * io/Makefile (tests): Add bug-ftw1.
344         * io/bug-ftw1.c: New file.
346         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
347         if it is not available.  Instead use it only if it is available.
348         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
350         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
351         overflowing output buffer.
352         (internal_ucs4_loop_unaligned): Likewise.
353         (ucs4_internal_loop): Likewise.
354         (ucs4_internal_loop_unaligned): Likewise.
355         (internal_ucs4le_loop): Likewise.
356         (internal_ucs4le_loop_unaligned): Likewise.
357         (ucs4le_internal_loop): Likewise.
358         (ucs4le_internal_loop_unaligned): Likewise.
359         Reported by Owen Taylor <otaylor@redhat.com>.
360         * iconv/Makefile (tests): Add tst-iconv2.
361         * iconv/tst-iconv2.c: New file.
363 2001-01-04  H.J. Lu  <hjl@gnu.org>
365         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
366         (_dl_clktck): Declared.
367         (non_dynamic_init): Take 3 arguments.
368         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
370 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
372         Finish implementation of plural form handling.
373         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
374         'domainname'.  Remove 'plindex' field. Add 'domain' and
375         'translation_length' fields.
376         (transcmp): Don't compare 'plindex' fields.
377         (plural_lookup): New function.
378         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
379         plural_eval before the translation and its catalog file have been
380         found. Remove plindex from cache key.  Add 'translation_length' and
381         'domain' to cache result.
382         (_nl_find_msg): Remove index argument, return length of translation
383         to the caller instead.  Weaken comparison of string lengths, to account
384         for plural entries.  Call iconv() on the entire result string, not
385         only on the portion needed so far.
386         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
387         argument.
388         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
390 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
392         * intl/plural.y (yylex): Minimal improvement in number scanner.
394 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
396         * intl/plural.y: Include config.h. Needed to define 'inline' away for
397         C compilers that don't support it.
398         (yylex): Don't use gcc specific case range syntax.
399         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
400         compilers.
402 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
404         * intl/finddomain.c: Remove unneeded includes.
406 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
408         * intl/localealias.c (memcpy): Return first argument, just like the
409         real memcpy function does.
410         * intl/bindtextdom.c (memcpy): Likewise.
411         * intl/finddomain.c (memcpy): Likewise.
412         * intl/l10nflist.c (memcpy): Likewise.
413         * intl/textdomain.c (memcpy): Likewise.
414         From Paul Eggert <eggert@twinsun.com>.
416 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
418         * resolv/resolv.h (struct __res_state): Add nsinit field.
419         * resolv/res_send.c (res_nsend): Use it instead of nscount.
420         * resolv/res_init.c (__res_vinit): Initialize it.
421         (res_nclose): Clear it instead of nscount.
423 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
425         * malloc/mtrace.pl: Fix matching of addresses.
426         Patch by Aharon Robbins <arnold@skeeve.com>.
428         * Versions.def (ld): Add GLIBC_2.2.
430         * catgets/gencat.c: Copyright 2001.
431         * csu/version.c: Likewise.
432         * debug/catchsegv.sh: Likewise.
433         * debug/xtrace.sh: Likewise.
434         * elf/ldconfig.c: Likewise.
435         * elf/sprof.c: Likewise.
436         * iconv/iconv_prog.c: Likewise.
437         * locale/locale.c: Likewise.
438         * locale/localedef.c: Likewise.
439         * malloc/memusage.sh: Likewise.
440         * malloc/mtrace.pl: Likewise.
441         * nscd/nscd.c: Likewise.
442         * posix/getconf.c: Likewise.
444 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
446         * include/stdio.h: Only provide __getwc_unlocked prototype if
447         USE_IN_LIBIO is defined.
449 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
451         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
452         handling.
454 2001-01-03  Andreas Schwab  <schwab@suse.de>
456         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
457         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
459         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
460         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
461         strtoull alias.
462         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
463         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
464         wcstoull alias.
466         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
467         directory.
468         * sysdeps/generic/strtol_l.c: Likewise.
469         * sysdeps/generic/strtoul_l.c: Likewise.
470         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
472         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
473         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
474         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
475         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
477 2001-01-04  Andreas Jaeger  <aj@suse.de>
479         * nss/nsswitch.c: Include files for missing prototypes, remove
480         buggy declaration of prototypes.
482 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
484         * resolv/Versions: Fix bracing.
485         * sysdeps/powerpc/soft-fp/Versions: Likewise.
486         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
488 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
490         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
492 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
494         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
495         Suggested by Minko Markov <mmarkov@home.com>.
497 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
499         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
500         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
501         the failing symbol.
502         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
504 2001-01-02  Ben Collins  <bcollins@debian.org>
506         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
507         if TZ is not set and TZDEFAULT is not present.
509 2001-01-01  Ben Collins  <bcollins@debian.org>
511         * string/strings.h: Make sure we declare our functions even if
512         string.h is already included, based on whether or not __USE_BSD is
513         defined.
515 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
517         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
518         other dlopen() and dlsym().
519         Based on a patch by Ben Collins <bcollins@debian.org>.
521 2001-01-02  Andreas Jaeger  <aj@suse.de>
523         * dlfcn/errmsg1.c (main): Call dlerror initially.
524         Reported by Ben Collins <bcollins@debian.org>.
526 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
528         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
529         value is ignored if the selected locale is the C locale.
530         * intl/tst-gettext.c: Set locale for above change.
531         * intl/tst-translit.c: Likewise.
533 2001-01-02  Andreas Jaeger  <aj@suse.de>
535         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
536         (_IO_switch_to_wget_mode): Likewise.
537         (_IO_sputbackwc): Likewise.
538         (_IO_sungetwc): Use wint_t for result.
540         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
542         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
543         signedness.
545         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
546         to (int) to avoid warnings.
547         * stdio-common/printf_fp.c (putc): Likewise.
548         * stdio-common/printf_size.c (putc): Likewise.
550         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
551         constant unsigned.
553 2001-01-01  Andreas Jaeger  <aj@suse.de>
555         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
557 2000-12-31  Andreas Jaeger  <aj@suse.de>
559         * include/libc-internal.h: Add prototype for __libc_freeres.
561         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
562         for prototypes, remove redundant prototypes.
563         * gmon/gmon.c: Likewise.
564         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
565         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
566         * malloc/mtrace.c: Likewise.
568         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
569         prototypes.
570         * elf/soinit.c: Likewise.
571         * sysdeps/generic/prof-freq.c: Likewise.
572         * sysdeps/mach/hurd/profil.c: Likewise.
573         * debug/noophooks.c: Likewise.
574         * debug/pcprofile.c: Likewise.
575         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
576         * sysdeps/generic/get_clockfreq.c: Likewise.
577         * malloc/set-freeres.c: Likewise.
579         * locale/localeinfo.h: Add internal prototypes.
581         * elf/rtld.c (dl_main): Fix prototype.
583         * iconvdata/tst-table-to.c (main): Use return instead of exit to
584         avoid warning.
586         * nis/rpcsvc/yp_prot.h: Remove __P.
587         * nis/rpcsvc/ypupd.h: Likewise.
588         * nis/rpcsvc/yp.h: Likewise.
590         * sunrpc/rpc_main.c: Add noreturn attributes.
591         * sunrpc/rpc_scan.h: Likewise.
593         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
595         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
597         * sunrpc/proto.h: Add noreturn attributes to error and crash.
599         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
601         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
603         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
605         * include/rpc/rpc_msg.h: Add prototypes for some functions.
606         * include/rpc/auth.h: Likewise.
607         * include/rpc/auth_des.h: Likewise.
608         * include/rpc/clnt.h: Likewise.
609         * include/rpc/rpc.h: Likewise.
610         * include/rpc/svc.h: Likewise.
611         * include/rpc/svc_auth.h: Likewise.
613         * include/rpc/des_crypt.h: New file.
615         * malloc/memusagestat.c (main): Use return instead of exit to
616         avoid warning.
617         * io/pwd.c (main): Likewise.
618         * iconvdata/tst-table-from.c (main): Likewise.
619         * ctype/test_ctype.c (main): Likewise.
620         * setjmp/tst-setjmp.c (main): Likewise.
621         * signal/tst-signal.c (main): Likewise.
622         * stdlib/tst-strtol.c (main): Likewise.
623         * stdlib/tst-strtod.c (main): Likewise.
624         * stdlib/tst-strtoll.c (main): Likewise.
625         * stdlib/tst-xpg-basename.c (main): Likewise.
626         * dirent/tst-seekdir.c (main): Likewise.
627         * grp/testgrp.c (main): Likewise.
628         * inet/test_ifindex.c (main): Likewise.
629         * io/test-utime.c (main): Likewise.
630         * posix/test-vfork.c (main): Likewise.
631         * posix/testfnm.c (main): Likewise.
632         * stdio-common/temptest.c (main): Likewise.
633         * stdio-common/test_rdwr.c (main): Likewise.
634         * stdio-common/tst-fileno.c (main): Likewise.
635         * stdio-common/tst-sscanf.c (main): Likewise.
636         * stdio-common/tstscanf.c (main): Likewise.
637         * string/bug-strncat1.c (main): Likewise.
638         * string/bug-strpbrk1.c (main): Likewise.
639         * string/bug-strspn1.c (main): Likewise.
640         * string/test-ffs.c (main): Likewise.
641         * string/tst-inlcall.c (main): Likewise.
642         * string/tst-svc.c (main): Likewise.
643         * timezone/test-tz.c (main): Likewise.
644         * wctype/test_wcfuncs.c (main): Likewise.
645         * wctype/test_wctype.c (main): Likewise.
647         * stdlib/tst-random.c: Add attribute noreturn to fail.
649 2000-12-28  Wolfram Gloger  <wg@malloc.de>
651         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
652         destination overlap.  Assume dest is always below source if
653         overlapping.
655 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
657         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
658         object was not yet initialized.
660 2000-12-28  H.J. Lu  <hjl@gnu.org>
662         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
663         is always consistent even if its dependency is failed.
665         * elf/dl-open.c (_dl_open): Increment the open count before
666         calling _dl_close () in case of failure.
668         * elf/neededtest4.c: New file.
669         * elf/neededobj5.c: New file.
670         * elf/neededobj6.c: New file.
672         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
673         (tests): Add neededtest4.
674         (modules-names): Add neededobj5 and neededobj6.
675         ($(objpfx)neededobj6.so): New target.
676         ($(objpfx)neededtest4): New target.
677         ($(objpfx)neededtest4.out): New target.
679 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
681         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
682         * stdlib/monetary.h: Add strfmon format attributes.
684 2000-12-28  Roland McGrath  <roland@frob.com>
686         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
687         __mempcpy does it for us.
689 2000-12-28  Andreas Jaeger  <aj@suse.de>
691         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
693         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
694         __new_setrlimit.
696         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
697         __old_getrlimit64.
699         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
700         __new_getrlimit.
702         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
703         __chown_is_lchown and __real_chown.
705         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
706         _dl_reloc_bad_type.
708         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
709         up GCC's warning about "deprecated use of label at end of compound
710         statement."
711         * sunrpc/rpc_cout.c (emit_inline): Likewise.
713         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
714         prototypes.
715         Remove struct bb and __bb_head since those are declared by
716         sys/gmon.h.
718 2000-12-22  Ben Collins  <bcollins@debian.org>
720         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
722         * manual/argp.texi: Document argp_domain as part of struct argp.
724 2000-12-28  Andreas Jaeger  <aj@suse.de>
726         * catgets/Makefile (generated): Add sample.SJIS.cat.
728         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
730         * elf/dl-minimal.c: Add prototypes.
732         * include/locale.h: Add internal prototypes.
733         * include/sys/gmon.h: Likewise.
735         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
737 2000-12-27  Ben Collins  <bcollins@debian.org>
739         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
740         when reallocating the error strings.
741         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
743 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
745         * dlfcn/Makefile (tests): Add errmsg1.
746         (modules-names): Add errmsg1mod.
747         Add rules to run errmsg1.
748         * dlfcn/errmsg1.c: New file.
749         * dlfcn/errmsg1mod.c: New file.
751         * dlfcn/dlerror.c (dlerror): Always create output string which
752         includes object file name.
754         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
755         if we would go through it only once.
756         Patch by Rick Gorton <rick.gorton@api-networks.com>.
758         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
759         Patch by Richard Henderson <rth@redhat.com>.
761 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
763         * malloc/malloc.c (memmove): Add prototypes.
764         (MALLOC_MEMMOVE): Define.
765         (chunk_realloc): Use it instead of MALLOC_COPY if source and
766         destination might overlap.
768 2000-12-27  Andreas Jaeger  <aj@suse.de>
770         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
771         function.
772         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
773         * locale/programs/locale.c (show_locale_vars): Likewise.
774         (show_info): Likewise.
775         * locale/programs/ld-collate.c (collate_output): Likewise.
776         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
777         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
778         * stdlib/rpmatch.c (rpmatch): Likewise.
780         * setjmp/tst-setjmp.c: Make local functions static.
781         * setjmp/jmpbug.c: Likewise.
782         * signal/tst-signal.c: Likewise.
783         * stdio-common/tfformat.c: Likewise.
784         * string/tst-svc.c: Likewise.
785         * time/clocktest.c: Likewise.
786         * time/tst-getdate.c: Likewise.
787         * dirent/list.c: Likewise.
788         * dirent/opendir-tst1.c: Likewise.
789         * posix/runtests.c: Likewise.
790         * posix/tst-getaddrinfo.c: Likewise.
791         * posix/tst-chmod.c: Likewise.
792         * posix/wordexp-test.c: Likewise.
793         * misc/tst-efgcvt.c: Likewise.
794         * timezone/tst-timezone.c: Likewise.
795         * rt/tst-clock.c: Likewise.
796         * rt/tst-shm.c: Likewise.
797         * rt/tst-aio2.c: Likewise.
798         * rt/tst-aio3.c: Likewise.
799         * rt/tst-aio4.c: Likewise.
800         * rt/tst-aio5.c: Likewise.
802         * dlfcn/failtest.c: Add prototype for foo.
804         * dlfcn/glrefmain.c: Add prototype for do_test.
806         * dlfcn/tst-dladdr.c: Add prototype for do_test.
808         * string/test-ffs.c (main): Add prototype for nested function.
810         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
812         * nss/XXX-lookup.c: Add prototype to shut up GCC.
814         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
815         setetherent prototype.
816         Add internal interfaces.
818         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
819         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
821         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
823         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
825         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
826         prototypes, remove struct etherent since it's declared in ether.h.
827         Fix ntohost declaration.
829         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
831         * include/getopt.h: Add internal interfaces.
832         * include/termios.h: Likewise.
833         * include/resolv.h: Likewise.
834         * include/netdb.h: Likewise.
835         * include/grp.h: Likewise.
836         * include/pwd.h: Likewise.
837         * include/shadow.h: Likewise.
838         * include/rpc/netdb.h: Likewise.
839         * include/setjmp.h: Likewise.
841         * include/stdio.h: Add prototypes for compatibility functions.
842         * include/grp.h: Likewise.
843         * include/pwd.h: Likewise.
844         * include/shadow.h: Likewise.
846         * include/fenv.h: Define internal interfaces.
848 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
850         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
851         argument case separately.
852         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
854 2000-12-27  Andreas Jaeger  <aj@suse.de>
856         * include/sys/wait.h: Add some prototypes.
857         * Rules (dummy.c): Create also prototype to shut up GCC.
859 2000-12-27  Andreas Jaeger  <aj@suse.de>
861         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
862         it's not needed at the moment.
863         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
864         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
866 2000-12-26  Andreas Jaeger  <aj@suse.de>
868         * libio/getc_u.c: Include stdio.h via system path to get internal
869         prototypes.
870         * libio/getwc_u.c: Likewise.
872         * stdlib/strfmon.c: Fix prototype of __printf_fp.
874         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
875         __printf_fp prototypes to ...
876         * include/printf.h: ...here.
878         * include/stdio.h: Add some internal prototypes to shut up GCC.
879         * include/stdlib.h: Likewise.
881         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
882         declaration.
884         * include/signal.h: Add prototypes for internal sigpause
885         interfaces.
887 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
889         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
890         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
892         * string/Makefile (tests): Add tst-bswap.
893         * string/tst-bswap.c: New file.
895 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
897         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
899 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
901         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
902         Patch by Ed Connell <Ed.Connell@sas.com>.
904 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
906         * locale/iso-639.def: Correct one entry.  Add two missing entries.
908         * locale/iso-4217.def: Change entry for Eritrea.
909         Reported by Daniel Yacob <yacob@geez.org>.
911 2000-12-23  Ben Collins  <bcollins@debian.org>
913         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
914         description.
916         * manual/stdio.texi (Dynamic Output): Document the return value of
917         asprintf.  Also make the asprintf/snprintf examples a little
918         better (check for some error returns).
920 2000-12-22  Andreas Jaeger  <aj@suse.de>
922         * include/stdio.h: Add __ftrylockfile prototype.
924 2000-12-21  H.J. Lu  <hjl@gnu.org>
926         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
927         Make sign_exponent element signed.
929         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
930         Fix a typo.
932         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
934 2000-12-21  Andreas Jaeger  <aj@suse.de>
936         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
937         * inet/ether_hton.c: Likewise
938         * inet/ether_ntoh.c: Likewise.
940         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
941         declaration to match prototype.
943         * include/netinet/ether.h (struct etherent): Declare here so that
944         all implementations use the same struct.
946         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
947         prototypes.
948         (struct ether): Removed.
949         Use struct etherent instead of ether everywhere.
951         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
953         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
955         * sunrpc/publickey.c: Include auth_des.h for prototypes.
957 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
959         * math/test-misc.c: Add more tests for nextafter functions.
961         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
962         normal correctly.  Correct test for sign.
963         Based on a patch by HJ Lu.
965 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
967         * Makeconfig (preprocess-version): Add -traditional to gcc call.
968         Cleanup sed calls.
970 2000-12-19  Andreas Jaeger  <aj@suse.de>
972         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
974         * nis/nis_intern.h: Add prototype for __do_niscall3.
976         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
977         match prototype.
979         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
981         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
983         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
985 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
987         * math/test-misc.c: Add more tests for nextafter.
988         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
989         * sysdeps/ieee754/ldbl-96/math_ldbl.h
990         (ieee_long_double_shape_type): Make sign_exponent element signed.
992         * manual/message.texi: Add Estonian to plural overview list.
993         Correct rule for Slavic languages.
994         Patch by Stanislav Brabec <utx@penguin.cz>.
996         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
998 2000-12-18  Andreas Jaeger  <aj@suse.de>
1000         * test-skeleton.c: Use temp_name_list instead of name_list to
1001         avoid collision with name_list from inet/netgroup.h.
1003         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
1005         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
1006         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
1007         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
1008         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
1010         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
1011         declaration to match prototype.
1012         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
1013         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
1014         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
1015         Likewise.
1016         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
1017         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
1018         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
1019         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
1020         (_nss_nis_getservbyport_r): Likewise.
1021         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
1022         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
1023         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
1024         (_nss_nis_setnetent): Likewise
1025         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1026         (_nss_nis_endnetgrent): Likewise.
1027         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
1028         Likewise.
1029         (_nss_nisplus_setnetgrent): Likewise.
1030         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
1031         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
1032         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
1033         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
1034         Likewise.
1035         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
1036         Likewise.
1037         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
1038         Likewise.
1039         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
1040         Likewise.
1041         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
1042         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
1043         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
1044         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1045         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
1046         (_nss_dns_getnetbyaddr_r): Likewise.
1048 2000-12-17  Andreas Jaeger  <aj@suse.de>
1050         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
1051         parameter.
1053         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
1054         unused attribute to shut up gcc warnings.
1056         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
1057         * sysdeps/generic/k_tanl.c: Likewise.
1058         * sysdeps/generic/k_cosl.c: Likewise.
1059         * sysdeps/generic/e_j0l.c: Likewise.
1060         * sysdeps/generic/e_j1l.c: Likewise.
1061         * sysdeps/generic/e_jnl.c: Likewise.
1062         * sysdeps/generic/e_lgammal_r.c: Likewise.
1064         * elf/vismain.c: Move prototypes for functions in vismod*.c to
1065         vismod.h.
1066         * elf/vismod.h: New file.
1067         * elf/Makefile (distribute): Add vismod.h.
1068         * elf/vismod1.c: Include vismod.h.
1069         * elf/vismod2.c: Likewise.
1070         * elf/vismod3.c: Likewise.
1072         * elf/constload3.c: Add prototype declarations to shut up gcc.
1073         * elf/failobj.c: Likewise.
1074         * elf/nodelmod3.c: Likewise.
1075         * elf/filtmod1.c: Likewise.
1076         * elf/filtmod2.c: Likewise.
1077         * elf/reldepmod1.c: Likewise.
1078         * elf/reldepmod2.c: Likewise.
1079         * elf/reldepmod3.c: Likewise.
1080         * elf/reldepmod4.c: Likewise.
1081         * elf/unload2dep.c: Likewise.
1082         * elf/unload2mod.c: Likewise.
1083         * elf/ltglobmod1.c: Likewise.
1084         * elf/pathoptobj.c: Likewise.
1085         * elf/neededobj1.c: Likewise.
1086         * elf/neededobj2.c: Likewise.
1087         * elf/neededobj3.c: Likewise.
1088         * elf/neededobj4.c: Likewise.
1089         * elf/nextmod1.c: Likewise.
1090         * elf/nextmod2.c: Likewise.
1092         * locale/programs/ld-collate.c (collate_finish): Don't use labels
1093         at end of compound statement.
1094         * locale/programs/locale.c (show_info): Likewise.
1095         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1097 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
1099         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
1100         with a pointer not returned by obstack_ functions.
1102 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
1104         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
1105         version.
1106         (struct stat64): Likewise.
1107         Reported by Michael Keezer <mkeezer@redhat.com>.
1109         * timezone/asia: Update from tzdata2000h.
1110         * timezone/australasia: Likewise.
1111         * timezone/backward: Likewise.
1112         * timezone/europe: Likewise.
1113         * timezone/northamerica: Likewise.
1114         * timezone/southamerica: Likewise.
1115         * timezone/zone.tab: Likewise.
1117 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
1119         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
1120         and dir.stream is NULL, only free dir.content.
1121         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
1122         * io/ftwtest-sh: Test with --early-exit.
1124 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
1126         * misc/efgcvt.c (FCVT_MAXDIG): Define.
1127         (FCVT_BUFPTR): New variable.
1128         (fcvt): If fcvt_r returns -1 on the static short buffer,
1129         try to malloc a sufficiently large one and retry.
1130         (free_mem): New function.
1131         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
1132         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
1134 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
1136         * misc/dirname.c (dirname): Fix search for second to last slash.
1138 2000-12-13  Andreas Jaeger  <aj@suse.de>
1140         * misc/tst-dirname.c (main): Fix typo in test to really use
1141         the examples from Unix98.
1142         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1144 2000-12-09  H.J. Lu  <hjl@gnu.org>
1146         * sysdeps/ia64/fpu/s_fabs.S: New file.
1147         * sysdeps/ia64/fpu/s_fabsf.S: New file.
1148         * sysdeps/ia64/fpu/s_fabsl.S: New file.
1150 2000-12-15  Andreas Jaeger  <aj@suse.de>
1152         * stdio-common/scanf9.c (main): Reformat and change to avoid
1153         warnings.
1155         * stdio-common/tstdiomisc.c: Make local functions static.
1156         * stdio-common/tst-printf.c: Likewise.
1158         * elf/constload2.c: Add prototype declarations to shut up gcc.
1159         * elf/dep1.c: Likewise.
1160         * elf/dep2.c: Likewise.
1161         * elf/dep3.c: Likewise.
1162         * elf/dep4.c: Likewise.
1163         * elf/ltglobmod2.c: Likewise.
1165         * libio/fmemopen.c: Make local functions static.
1167         * elf/Makefile (distribute): Added testobj.h.
1169         * elf/testobj.h: New file.
1171         * elf/testobj1.c: Include testobj.h and move prototype
1172         declarations to testobj.h.
1173         * elf/testobj2.c: Likewise.
1174         * elf/testobj3.c: Likewise.
1175         * elf/testobj4.c: Likewise.
1176         * elf/testobj5.c: Likewise.
1177         * elf/testobj6.c: Likewise.
1178         * elf/testobj1_1.c: Likewise.
1179         * elf/preloadtest.c: Likewise.
1181 2000-12-15  Ben Collins  <bcollins@debian.org>
1183         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
1184         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
1186 2000-12-14  H.J. Lu  <hjl@gnu.org>
1188         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
1189         field in a float is 8 bits, not 11 bits.
1191 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
1193         * math/test-misc.c (main): Adjust m for IEEE quad long double.
1195 2000-12-13  Andreas Jaeger  <aj@suse.de>
1197         * manual/message.texi (Using gettextized software): Fix typo.
1199         * manual/charset.texi (Converting a Character): Fix mbstouwcs
1200         program to compile.
1201         Patch by Martin Buchholz <martin@xemacs.org>.
1203         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
1204         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1206 2000-12-11  Andreas Jaeger  <aj@suse.de>
1208         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
1209         kernel_sigset_t and use it.
1210         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
1212 2000-12-10  Richard Henderson  <rth@redhat.com>
1214         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
1215         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
1216         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
1218 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
1220         * sysdeps/alpha/htonl.S: Fix a typo.
1222 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
1224         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
1226 2000-12-10  Andreas Jaeger  <aj@suse.de>
1228         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
1229         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
1230         Drepper <drepper@redhat.com>.
1232 2000-12-09  Andreas Jaeger  <aj@suse.de>
1234         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
1236         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
1237         generic version.
1238         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
1240         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
1241         string.
1243         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
1244         format string.
1246         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
1247         * nscd/connections.c (handle_request): Likewise.
1248         * nscd/pwdcache.c (addpwbyname): Likewise.
1249         * nscd/grpcache.c (addgrbyname): Likewise.
1251         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
1253 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
1255         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
1257         * Makeconfig (default_cflags): Make -O2 the default for stable
1258         releases.
1260 2000-12-08  H.J. Lu  <hjl@gnu.org>
1262         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
1263         * sysdeps/ia64/fpu/s_isinf.S: This.
1264         Add a .pred.rel.mutex note to avoid false report.
1266         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
1267         * sysdeps/ia64/fpu/s_isnan.S: This.
1269         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
1270         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
1271         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
1272         * sysdeps/ia64/fpu/s_isinff.S: New file.
1273         * sysdeps/ia64/fpu/s_isinfl.S: New file.
1274         * sysdeps/ia64/fpu/s_isnanf.S: New file.
1275         * sysdeps/ia64/fpu/s_isnanl.S: New file.
1276         * sysdeps/ia64/fpu/s_finite.S: New file.
1277         * sysdeps/ia64/fpu/s_finitef.S: New file.
1278         * sysdeps/ia64/fpu/s_finitel.S: New file.
1279         * sysdeps/ia64/fpu/s_signbit.S: New file.
1280         * sysdeps/ia64/fpu/s_signbitf.S: New file.
1281         * sysdeps/ia64/fpu/s_signbitl.S: New file.
1282         * sysdeps/ia64/fpu/s_copysign.S: New file.
1283         * sysdeps/ia64/fpu/s_copysignf.S: New file.
1284         * sysdeps/ia64/fpu/s_copysignl.S: New file.
1286 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
1288         * math/libm-test.inc (main): Fix typos in messages.
1290         * string/stratcliff.c: Add test for rawmemchr.
1292 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
1294         * elf/dl-open.c (_dl_open): If objname points right after errstring,
1295         allocate it together with errstring using alloca.
1296         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
1297         to "", because it might point to local stack.
1299 2000-12-05  H.J. Lu  <hjl@gnu.org>
1301         * nss/Makefile (routines): Add getnssent and getnssent_r.
1302         * nss/nsswitch.h (__nss_setent): New internal NSS function.
1303         (__nss_endent): Likewise.
1304         (__nss_getent_r): Likewise.
1305         (__nss_getent): Likewise.
1306         * nss/getnssent_r.c: New file.
1307         * nss/getnssent.c: New file.
1308         * nss/getXXent.c (H_ERRNO_VAR): Updated.
1309         (GETFUNC_NAME): Updated to call __nss_getent ().
1310         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
1311         (STAYOPEN_TMPVAR): Updated.
1312         (STAYOPEN_VAR): Updated.
1313         (SETFUNC_NAME): Updated to call __nss_setent ().
1314         (ENDFUNC_NAME): Updated to call __nss_endent ().
1315         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
1317 2000-12-08  Andreas Jaeger  <aj@suse.de>
1319         * nscd/dbg_log.h (dbg_log): Correct attribute.
1321 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
1323         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
1324         cp + len.  Compute where from dirname.
1325         Reported by <jreiser@BitWagon.com>.
1327 2000-12-08  Richard Henderson  <rth@twiddle.net>
1329         * sysdeps/alpha/_mcount.S: Fix typo.
1330         * sysdeps/alpha/strncpy.S: Likewise.
1332         * sysdeps/alpha/alphaev6/Implies: New file.
1333         * sysdeps/alpha/alphaev67/Implies: New file.
1334         * sysdeps/alpha/alphaev67/ffs.S: New file.
1335         * sysdeps/alpha/alphaev67/ffsll.S: New file.
1336         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
1337         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
1338         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
1339         * sysdeps/alpha/rawmemchr.S: New file.
1340         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
1341         * sysdeps/alpha/strcpy.S: Likewise.
1343         From GMP 3.1.1:
1344         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
1346         From rick.gorton@alpha-processor.com:
1347         * sysdeps/alpha/alphaev6/memchr.S: New file.
1348         * sysdeps/alpha/alphaev6/memcpy.S: New file.
1349         * sysdeps/alpha/alphaev6/memset.S: New file.
1350         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
1351         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
1352         * sysdeps/alpha/alphaev67/strcat.S: New file.
1353         * sysdeps/alpha/alphaev67/strchr.S: New file.
1354         * sysdeps/alpha/alphaev67/strlen.S: New file.
1355         * sysdeps/alpha/alphaev67/strncat.S: New file.
1356         * sysdeps/alpha/htonl.S: Use a shorter sequence.
1358 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
1360         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
1361         Reported by <pspencer@fields.utoronto.ca>.
1363 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
1365         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
1366         Pointed out by Hans Boehm.
1368 2000-12-07  H.J. Lu  <hjl@gnu.org>
1370         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
1372 2000-12-07  Andreas Jaeger  <aj@suse.de>
1374         * misc/error.c: Add format attributes for __error and __error_at_line.
1376         * nscd/dbg_log.h: Add format attribute.
1378 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
1380         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
1381         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1383 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
1385         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
1387 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
1389         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
1390         (sysdep_routines): Add uitrunc.
1391         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
1392         Patches by Michael Keezer <mkeezer@redhat.com>.
1394 2000-12-06  Roland McGrath  <roland@frob.com>
1396         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
1397         argument data, since it will be used to copy out too (for INOUT).
1398         Reported by Marcus Brinkmann <marcus@gnu.org>.
1400         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
1401         (__ioctl): Use uintptr_t instead of unsigned long int.
1403 2000-12-06  Jim Wilson  <wilson@redhat.com>
1405         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
1407 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
1409         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
1410         x.5 rounding correctly.
1412 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
1414         * stdio-common/perror.c (perror): Conditionalize code dealing with
1415         wide-oriented streams on USE_IN_LIBIO.
1417 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
1419         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
1420         as internal_function.
1422 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
1424         * sysdeps/alpha/elf/start.S (__data_start): Define.
1426 2000-12-05  H.J. Lu  <hjl@gnu.org>
1428         * nss/getXXent_r.c (setup): Change the return type to int.
1430 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
1432         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
1433         (sysdep_routines): Add restf and savef.
1434         * sysdeps/unix/sysv/aix/restf.c: New file.
1435         * sysdeps/unix/sysv/aix/savef.c: New file.
1436         Patches by Michael Keezer <mkeezer@redhat.com>.
1438         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
1439         if O_DIRECTORY is not defined.
1440         Patch by Michael Keezer <mkeezer@redhat.com>.
1442         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
1443         Patch by Michael Keezer <mkeezer@redhat.com>.
1445         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
1446         than 4 bytes in escape sequence.
1447         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1449 2000-12-05  Andreas Jaeger  <aj@suse.de>
1451         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
1452         set mips2.
1454         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
1456         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
1458         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
1459         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1461         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
1462         internal_function.
1463         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
1464         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
1466         * sysdeps/generic/dl-cache.c: Remove declaration of
1467         _dl_sysdep_read_whole_file.
1469         * elf/dl-load.c (_dl_map_object): Remove declaration of
1470         _dl_load_cache_lookup.
1472         * sysdeps/generic/ldsodefs.h: Add declarations of
1473         _dl_load_cache_lookup, _dl_unload_cache,
1474         _dl_sysdep_read_whole_file, _dl_sysdep_start and
1475         _dl_sysdep_start_cleanup.
1477         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
1478         now.
1480         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
1481         * sysdeps/generic/dl-environ.c: Likewise.
1483         * stdio-common/printf_fp.c: Include <gmp.h> instead of
1484         <stdlib/gmp.h>.
1485         * math/atest-exp.c: Likewise.
1486         * math/atest-exp2.c: Likewise.
1487         * math/atest-sincos.c: Likewise.
1488         * stdio-common/_itoa.c: Likewise.
1489         * stdio-common/_itowa.c: Likewise.
1491         * include/gmp.h: New file with internal prototypes.
1493         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
1494         here to...
1495         * include/setjmp.h: ...here.
1497         * locale/Makefile (routines): Remove codeset_name since it's not
1498         needed anywhere.
1500         * locale/codeset_name.c: Removed.
1502 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
1504         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
1506 2000-12-05  Andreas Jaeger  <aj@suse.de>
1508         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
1510 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1512         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
1513         available.
1515 2000-12-05  Andreas Jaeger  <aj@suse.de>
1517         * nss/test-netdb.c: Mark local functions as static to avoid
1518         warnings.
1519         (main): Use return to silence warning.
1521         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
1523         * stdio-common/test-popen.c: Mark local functions as static to
1524         avoid warnings.
1525         (main): Use return to silence warning.
1527         * stdlib/testsort.c (compare): Mark as static to avoid warning.
1529         * assert/test-assert.c: Mark local functions as static to avoid
1530         warnings.
1531         * assert/test-assert-perr.c: Likewise.
1533         * math/libm-test.inc (main): Use return to silence warnings.
1535 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
1537         * math/fenv.h: Fix typo in comment.
1539         * math/test-misc.c (main): Add a few more over and underflow tests
1540         for scalb.
1542         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
1543         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1544         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1545         * math/w_scalb.c: Don't use matherr except in SVID mode.
1546         * math/w_scalbf.c: Likewise.
1547         * math/w_scalbl.c: Likewise.
1548         * math/test-misc.c: Add test for NaN and scalbl.
1549         Reported by Fred J. Tydeman <tydeman@tybor.com>.
1551 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
1553         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
1554         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
1555         * include/libc-symbols.h (strong_alias): Define special version
1556         for HAVE_ASM_GLOBAL_DOT_NAME.
1557         (weak_alias): Likewise.
1558         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
1559         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
1560         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
1561         getutxline, pututxline, and utmpxname.
1562         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
1563         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
1564         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
1565         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
1566         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
1567         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
1568         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
1569         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
1570         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
1571         Patches by Michael Keezer <mkeezer@redhat.com>.
1573 2000-12-04  H.J. Lu  <hjl@gnu.org>
1575         * configure.in: Change --with-oldest-abi=ABI to
1576         --enable-oldest-abi=ABI.
1578 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
1580         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
1581         fwprintf instead of fprintf.
1583 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
1585         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
1586         DECIMAL_DIG definitions.
1587         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
1588         * sysdeps/generic/bits/mathdef.h: Likewise
1589         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
1590         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
1591         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
1592         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
1593         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
1594         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
1596 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
1598         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
1600         * math/atest-exp.c: Mark local functions as static to avoid warnings.
1601         * math/atest-exp2.c: Likewise.
1602         * math/atest-sincos.c: Likewise.
1604         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
1605         Reported by Fred J. Tydeman <tydeman@tybor.com>.
1607         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
1608         the handling of denormalized numbers.
1610         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
1611         numbers on x86.
1612         * sysdeps/i386/fpu/fpclassifyl.c: New file.
1614         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
1615         pseudo denormal representation of LDBL_MIN.
1617         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
1618         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
1620         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
1621         * iconvdata/jis0208.c: Likewise.
1622         * iconvdata/jis0212.c: Likewise.
1623         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1625         * math/test-misc.c (main): More tests for frexp and some for
1626         fpclassify and isnormal.
1628         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
1629         test for subnormal.
1630         Reported by Fred J. Tydeman <tydeman@tybor.com>.
1632         * math/test-misc.c (main): Add tests for frexp.
1633         Reported by Fred J. Tydeman <tydeman@tybor.com>.
1634         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
1636 2000-12-02  H.J. Lu  <hjl@gnu.org>
1638         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
1639         '\0' to wcschr.
1641 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
1643         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
1644         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1645         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1647         * sysdeps/generic/glob.c: Adjust types of several variables to
1648         avoid warnings.
1650 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
1652         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
1654 2000-11-30  Roland McGrath  <roland@frob.com>
1656         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
1657         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
1658         allow multiple instances using the same function name in one file.
1660 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
1662         * configure.in: Correct test for pserver CVS access.
1664 2000-11-28  H.J. Lu  <hjl@gnu.org>
1666         * libio/libio.h: Remove extra "#if ... #endif".
1668 2000-11-29  H.J. Lu  <hjl@gnu.org>
1670         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
1672 2000-12-01  H.J. Lu  <hjl@gnu.org>
1674         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
1675         * nss/getXXent_r.c: Likewise.
1676         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1678 2000-11-30  H.J. Lu  <hjl@gnu.org>
1680         * scripts/abi-versions.awk (oldest_abi): New variable.
1681         Handle the oldest ABI supported.
1683         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
1684         for scripts/abi-versions.awk.
1686         * configure.in: Add --with-oldest-abi=ABI.
1687         * configure: Rebuild.
1689         * config.make.in (oldest-abi): New.
1691         * config.h.in (GLIBC_OLDEST_ABI): New.
1693         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
1695 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
1697         * locale/setlocale.c (setname): Free for all categories, not just
1698         LC_ALL.
1699         (setlocale): Store a copy of string passed by user, not the string
1700         itself.
1702 2000-11-30  Roland McGrath  <roland@frob.com>
1704         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
1705         rather than _hurd_fd_subinit, so it happens after it's safe to use
1706         libc facilities like malloc.
1708 2000-11-28  Andreas Jaeger  <aj@suse.de>
1710         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
1711         declaration, adjust declaration of __syscall_getdents to match
1712         kernel.
1714 2000-11-29  H.J. Lu  <hjl@gnu.org>
1716         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
1718 2000-11-29  Andreas Jaeger  <aj@suse.de>
1720         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
1722 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
1724         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
1725         * dlfcn/defaultmod2.c: Likewise.
1726         * dlfcn/dlopen.c: Likewise.
1727         * dlfcn/dlopenold.c: Likewise.
1728         * dlfcn/failtestmod.c: Likewise.
1729         * dlfcn/glreflib1.c: Likewise.
1730         * dlfcn/glreflib2.c: Likewise.
1731         * dlfcn/eval.c: Likewise.  Add attributes.
1733         * ctype/ctype-extn.c: Define isblank and not __isblank.
1735         * time/strftime.c: Add const where necessary to avoid warnings.
1736         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
1738 2000-11-22  Paul Eggert  <eggert@twinsun.com>
1740         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
1741         size of (size_t) -1; it's not portable.
1743 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
1745         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
1746         crappy i486 FPU.
1747         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
1749 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
1751         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
1753         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
1754         _mcount is required by profiled binaries.
1756         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
1757         * sysdeps/ia64/machine-gmon.h: ...here.
1759 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
1761         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
1762         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
1763         and ibm1129.h.
1764         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
1765         IBM1129.
1766         * iconvdata/ibm922.c: New file.
1767         * iconvdata/ibm922.h: New file.
1768         * iconvdata/ibm1124.c: New file.
1769         * iconvdata/ibm1124.h: New file.
1770         * iconvdata/ibm1129.c: New file.
1771         * iconvdata/ibm1129.h: New file.
1772         * iconvdata/testdata/IBM922: New file.
1773         * iconvdata/testdata/IBM922..UTF8: New file.
1774         * iconvdata/testdata/IBM1124: New file.
1775         * iconvdata/testdata/IBM1124..UTF8: New file.
1776         * iconvdata/testdata/IBM1129: New file.
1777         * iconvdata/testdata/IBM1129..UTF8: New file.
1779 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
1781         * catgets/gencat.c (normalize_line): Take extra parameter with escape
1782         character.  Change callers.
1783         (open_conversion): Determine mapping of 0x5c as wchar_t value.
1784         * catgets/Makefile: Add rules to build and run test-gencat.
1785         * catgets/sample.SJIS: New file.
1786         * catgets/test-gencat.c: New file.
1787         * catgets/test-gencat.sh: New file.
1788         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1790 2000-11-28  Andreas Jaeger  <aj@suse.de>
1792         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
1793         Linux version.
1795 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
1797         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
1799 2000-11-28  Andreas Jaeger  <aj@suse.de>
1801         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
1802         __flexarr.
1803         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
1804         Likewise.
1806 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
1808         * misc/getusershell.c: Make strings in okshells array const.
1809         * misc/regexp.c: Add const to cast to avoid warnings.
1810         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
1811         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
1812         __setresuid.
1813         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
1814         setresgid.
1815         * misc/error.c: Add prototypes for __error and __error_at_line.
1816         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
1817         statement to avoid warning.
1818         * test-skeleton.c: Mark timeout_handler with noreturn.
1819         * iconv/skeleton.c (get16u): Add const to cast.
1820         (get32u): Likewise.
1821         * iconvdata/gb18030.c: Likewise.
1822         * iconvdata/iso-2022-cn-ext.c: Likewise.
1823         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
1824         * iconvdata/big5.c: Likewise.
1825         * iconvdata/big5hkscs.c: Likewise.
1826         * iconvdata/iso_6937.c: Likewise.
1827         * iconvdata/iso_6937-2.c: Likewise.
1828         * iconvdata/t.61.c: Likewise.
1829         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
1830         * iconvdata/unicode.c: Likewise.
1831         * iconvdata/utf-16.c: Likewise.
1832         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
1833         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
1834         with little code shuffling.
1836         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
1837         the problems introduced when the user selects -O3.
1839         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
1840         * misc/sys/cdefs.h: Define __flexarr.
1841         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
1843         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
1844         * iconv/skeleton.c: Likewise.
1845         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
1846         * iconv/loop.c (get16): Add const to cast.
1847         (get32): Likewise.
1849 2000-11-27  Andreas Jaeger  <aj@suse.de>
1851         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
1852         to avoid warning.
1853         * login/programs/utmpdump.c (print_entry): Likewise.
1855 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
1857         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
1858         in a single asm as they may be used to access other stored
1859         registers.
1860         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1862 2000-11-27  Andreas Jaeger  <aj@suse.de>
1864         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
1865         * rt/tst-aio64.c: Likewise.
1867 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
1869         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
1870         for gencat run.
1871         (libc.cat): Likewise.
1872         * catgets/gencat.c: Implement handling of message catalogs encoded
1873         with stateful character sets.
1874         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1876 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
1878         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
1880         * inet/getnameinfo.c: Adjust casts to avoid warnings.
1881         * inet/rcmd.c: Likewise.
1882         * inet/ruserpass.c: Likewise.
1883         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
1884         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
1885         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
1886         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
1887         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
1888         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
1889         * include/aliases.h: Add prototypes for internal __getalias* functions.
1890         * include/netdb.h: Add prototypes for __old_gethostent_r,
1891         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
1892         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
1893         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
1894         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
1895         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
1896         __old_getrpcbynumber_r, __old_getrpcent_r.
1898         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
1899         __getrpcent_r prototypes.
1901 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
1903         * string/strcoll.c: Add casts to avoid warnings.
1904         * string/strnlen.c: Likewise.
1905         * string/strxfrm.c: Likewise.
1906         * sysdeps/generic/_strerror.c: Likewise.
1907         * sysdeps/generic/memrchr.c: Likewise.
1908         * sysdeps/generic/strcasestr.c: Likewise.
1909         * sysdeps/generic/strstr.c: Likewise.
1911         * locale/weight.h (findidx): Add const to cast to avoid warning.
1913         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
1914         * elf/loadtest.c: Likewise.
1915         * elf/multiload.c: Likewise.
1916         * elf/next.c: Likewise.
1917         * elf/nodelete.c: Likewise.
1918         * elf/noload.c: Likewise.
1919         * elf/order.c: Likewise.
1920         * elf/origtest.c: Likewise.
1921         * elf/preloadtest.c: Likewise.
1922         * elf/restest1.c: Likewise.
1924         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
1925         parameter of asm must be in %ecx.
1927         * string/tester.c: Mark test functions as static to avoid warnings.
1929         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
1930         preserve value over different gconv-modules files.
1932 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
1934         * locale/findlocale.c: Add casts to avoid warnings.
1935         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
1936         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
1937         to avoid warnings.
1938         * misc/tsearch.c (const_node): New type.
1939         (trecurse): Correct casts to avoid warnings.
1940         (__twalk): Likewise.
1941         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
1942         LONG_BIT.
1944         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
1946         * test-skeleton.c: Mark local functions as static to avoid warnings.
1948 2000-11-23  H.J. Lu  <hjl@gnu.org>
1950         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
1951         support the background job.
1952         Fix a typo.
1954 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
1956         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
1957         has same names but lower cost.
1959 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
1961         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
1962         which never occur during bootstrap.
1963         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1965 2000-11-23  Andreas Jaeger  <aj@suse.de>
1967         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
1969         * nss/Versions: Remove _nss_files_getipnodebyname_r.
1971         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
1973 2000-11-18  Martin Buchholz  <martin@xemacs.org>
1975         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
1976         (called++) return;'
1978 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
1980         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
1982         * csu/abi-note.S: Correct comment for operating system number.
1984 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
1986         * Versions.def: Add GLIBC_2.2.1 for glibc.
1988 2000-11-22  Andreas Schwab  <schwab@suse.de>
1990         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
1991         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
1993 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
1995         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
1996         absolute time for pthread_cond_timedwait call.
1997         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
1999         * rt/Makefile (tests): Add tst-aio6.
2000         * rt/tst-aio6.c: New file.
2002 2000-11-23  Andreas Jaeger  <aj@suse.de>
2004         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
2006 2000-11-22  Andreas Jaeger  <aj@suse.de>
2008         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
2010 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2012         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
2014 2000-11-21  Andreas Schwab  <schwab@suse.de>
2016         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
2017         * sysdeps/arm/setjmp.S: Likewise.
2018         * sysdeps/arm/fpu/setjmp.S: Likewise.
2019         * sysdeps/i386/setjmp.S: Likewise.
2020         * sysdeps/i386/elf/setjmp.S: Likewise.
2021         * sysdeps/s390/setjmp.S: Likewise.
2022         * sysdeps/s390/elf/setjmp.S: Likewise.
2023         * sysdeps/sh/sh3/setjmp.S: Likewise.
2024         * sysdeps/sh/sh4/setjmp.S: Likewise.
2025         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
2026         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2027         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
2028         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
2030 2000-11-21  Andreas Jaeger  <aj@suse.de>
2032         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
2033         NORETURN, fix parameter list.
2035         * string/bug-strncat1.c (main): Fix typo.
2036         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
2038 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
2040         * configure.in: Add --enable-all-warnings.
2041         * config.make.in (all-warnings): New variable.
2042         * Makeconfig (+gccwarn): Define with many more warnings if
2043         all-warnings is yes.
2045 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
2047         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
2048         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
2049         * malloc/tst-valloc.c (main): Cast valloc return value to long.
2050         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
2051         * math/test-fpucw.c (main): Use %lx in format string, cast
2052         control words to long.
2053         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
2054         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
2055         large that it is unsigned warning.
2057         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
2058         it to long on sparc64.
2060 2000-11-20  Andreas Jaeger  <aj@suse.de>
2062         * nscd/nscd.h (termination_handler): Add noreturn attribute.
2063         (receiv_print_stats): Likewise.
2065         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
2067 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
2069         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
2071         * csu/gmon-start.c: Always have prototype for __gmon_start.
2072         * csu/version.c: Add prototypes for __libc_print_version and
2073         __libc_main.
2074         * iconv/gconv.c: Include gconv_int.h and gconv.h.
2075         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
2076         and __to_name.
2077         * iconv/gconv_builtin.h: Add ASCII module definitions.
2078         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
2079         (add_module): Add cast to avoid warning.  Rework construction of
2080         strings for new module.
2081         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
2082         (derivation_compare): Likewise.
2083         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
2084         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
2085         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
2086         (struct gconv_alias): Remove const from fromname and toname.
2087         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
2088         for loop functions.
2089         (internal_ucs4_loop): Use correct const-ness.
2090         (ucs4_internal_loop): Likewise.
2091         (internal_ucs4le_loop): Likewise.
2092         (ucs4le_internal_loop_single): Likewise.
2093         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
2094         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
2095         assignments appropriately.
2096         (struct known_trans): Remove const from fname.
2097         (trans_compare): Make s1 and s2 const.
2098         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
2099         avoid warning.
2100         * iconv/skeleton.c: Remove cast in calls of loop functions.
2101         * iconvdata/gconv-modules: Remove US-ASCII definitions.
2102         * iconvdata/iso646.c: Remove US_ASCII support.
2103         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
2104         * include/unistd.h: Add __libc_check_standard_fds prototype.
2105         * string/bits/string2.h (__mempcpy_args): Add const to casts.
2106         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
2107         _fini.
2108         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
2109         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
2110         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
2111         warning.
2112         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
2113         __libc_init_first and _dl_start.
2114         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
2115         (DCIGETTEXT): Make domaindata variable const.
2116         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
2117         to avoid warning.
2119 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
2121         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
2123         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
2124         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
2125         __unused? members.
2127         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
2128         value defined in /usr/include/asm-mips/fcntl.h.
2130 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
2132         * stdio-common/Makefile (tests): Add test-vfprintf.
2133         (test-vfprintf-ENV): New variable.
2134         * stdio-common/test-vfprintf.c: New file.
2136         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
2138         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
2139         (tst-mbrtowc-ENV): New variable.
2140         (tst-wcrtomb-ENV): New variable.
2141         * wcsmbs/tst-mbrtowc.c: New file.
2142         * wcsmbs/tst-wcrtomb.c: New file.
2144 2000-11-16  Andreas Jaeger  <aj@suse.de>
2146         * manual/install.texi (Tools for Compilation): Update
2147         documentation for GCC 2.95.2.
2149 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
2151         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
2152         if IPv4 and IPv6 requests timed out.
2154 2000-11-18  Akim Demaille  <akim@epita.fr>
2156         * malloc/obstack.h: Formatting changes.
2157         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
2158         prevents type checking.
2159         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
2160         cast the value to (void *): assigning a `foo *' to a `void *'
2161         variable is valid.
2162         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
2164 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
2166         * scripts/config.guess: Update from upstream maintainer.
2167         * scripts/config.sub: Likewise.
2169 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
2171         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
2172         * libio/freopen64.c (freopen64): Likewise.
2173         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2175         * libio/Makefile: Add rules to build and run test-freopen.
2176         * libio/test-freopen.c: New file.
2177         * libio/test-freopen.sh: New file.
2179 2000-11-15  H.J. Lu  <hjl@gnu.org>
2181         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
2182         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
2183         (DL_DT_FINI_ADDRESS): Likewise.
2185         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
2186         return type to ElfW(Addr).
2187         (_dl_function_address): New prototype.
2188         (DL_FUNCTION_ADDRESS): Defined.
2189         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
2190         (DL_DT_FINI_ADDRESS): Likewise.
2192         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
2194         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
2195         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
2197         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
2198         (_dl_function_address): This.
2200         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
2201         function pointer for DT_FINI.
2202         * elf/dl-close.c (_dl_close): Likewise.
2204         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
2205         function pointer for DT_INIT.
2207 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
2209         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
2210         end of wexpbuf buffer.
2212 2000-11-16  Andreas Jaeger  <aj@suse.de>
2214         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
2215         definition of F_GETLK, F_SETLK, F_SETLKW.
2217 2000-11-16  Andreas Jaeger  <aj@suse.de>
2219         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
2220         it's not defined.
2222 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
2224         * dlfcn/default.c (main): Add test for dladdr of main returning
2225         argv[0] in dli_fname field.
2227 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
2229         * Makeconfig (run-program-prefix): Move test-static test into the
2230         variable.
2232         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
2233         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
2234         schedule instructions.
2235         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
2236         schedule instructions, fix a bug in copying auxiliary data.
2238 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
2240         * manual/startup.texi (Program Arguments): Fix type of main's envp
2241         parameter.
2242         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
2244         * iconvdata/gconv-modules: Add CP950 alias.
2246 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
2248         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
2249         syscall-list.h goal.
2250         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
2252 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
2254         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
2256         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
2257         output of program.
2259         * intl/tst-gettext2.c: Set C locale if setting other locale
2260         failed.  Use gettext() not _().
2262         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
2263         successfully loaded a new locale.
2265 2000-11-13  Andreas Jaeger  <aj@suse.de>
2267         * configure.in: Require gcc 2.95 or newer.
2269 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
2271         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
2272         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
2274 2000-11-11  Jim Meyering  <meyering@lucent.com>
2276         * string/strndup.c (strndup): Cast return value to `char *'.
2278 2000-11-15  Jim Meyering  <meyering@ascend.com>
2280         * sysdeps/generic/memchr.c: Remove some useless parentheses.
2281         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
2282         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
2283         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
2284         Also #undef __memchr.
2285         Use `weak_alias' only if it's defined.
2287 2000-11-10  H.J. Lu  <hjl@gnu.org>
2289         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
2291 2000-11-15  Andreas Jaeger  <aj@suse.de>
2293         * elf/chroot_canon.c: Include <stdint.h>.
2295         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
2296         (print_entry): Likewise.
2297         (add_to_cache): Likewise.
2299         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
2301         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
2302         (path_hwcap): Likewise.
2303         (search_dir): Likewise.
2305         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
2307         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
2309         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
2310         (_dl_platform_string): New.
2311         (_DL_HWCAP_PLATFORM): New.
2312         (_dl_string_platform): New.
2313         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2315         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
2316         (_dl_string_platform): New.
2317         (_DL_HWCAP_PLATFORM): New.
2318         (_dl_platform_string): New.
2320         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
2321         recognition.
2322         (_DL_HWCAP_COUNT): New.
2323         (_dl_string_platform): New.
2324         (_DL_HWCAP_PLATFORM): New.
2325         (_dl_platform_string): New.
2327 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
2329         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
2331 2000-11-14  Andreas Jaeger  <aj@suse.de>
2333         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
2335 2000-11-13  Roland McGrath  <roland@frob.com>
2337         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
2339 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
2341         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
2342         underrun and make sure the result is null terminated even if there
2343         is no trailing newline.
2345 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
2347         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2349 2000-11-10  H.J. Lu  <hjl@gnu.org>
2351         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
2353 2000-11-10  Andreas Jaeger  <aj@suse.de>
2355         * elf/ldconfig.c (create_links): Fix alloca calculation.
2356         Patch by Ben Collins <bcollins@debian.org>.
2358 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
2360         * inet/getnameinfo.c (getnameinfo): Use correct destination
2361         parameter for if_indextoname.
2362         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
2364 2000-11-09  H.J. Lu  <hjl@gnu.org>
2366         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
2367         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
2368         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
2369         xdr_keystatus.
2371         * time/Versions (GLIBC_2.1): Move getitimer to...
2372         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
2374 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
2376         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
2377         "make install", to work around a binary incompatibility between
2378         glibc 2.1 and glibc 2.2 gconv modules.
2380 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
2382         * intl/locale.alias: Add thai.
2383         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
2385 2000-11-07  Akim Demaille  <akim@epita.fr>
2387         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
2388         argument `data' for consistency with the prototypes.
2389         Qualify it `const'.
2390         (obstack_copy, obstack_copy0): Rename the second argument as
2391         `address' for consistency.  Qualify it `const'.
2392         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
2393         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
2394         `const' their input argument (`data' or `address').
2395         Adjust the corresponding macros to include `const' in casts.
2397 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2399         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
2400         target family.
2402 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2404         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
2405         socket creation.
2407 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2409         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
2410         ai_protocol by internal table if service was not given.
2412 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2414         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
2415         numerical port was specified with protocol without socktype.
2417 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2419         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
2421 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2423         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
2425 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2427         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
2428         sin6_scope_id field.
2430 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2432         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
2434 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2436         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
2438 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2440         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
2441         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
2443 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
2445         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
2446         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
2448 2000-11-09  H.J. Lu  <hjl@gnu.org>
2450         * io/Versions (GLIBC_2.1.1): Remove lockf64.
2453 See ChangeLog.11 for earlier changes.