New file.
[glibc.git] / ChangeLog
blob631ecd9aacc8c73e6fd3b2494dc7b5e95897cc3f
1 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
3         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
4         and NOSTR.
6         * locale/Makefile (headers): Add bits/locale.h.
7         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
8         and use __LC_ constants instead of LC_.
9         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
10         using __LC_ constants.
11         * locale/bits/locale.h: New file.
12         * locale/loadlocale.c: Include <locale.h>.
13         * locale/nl_langinfo.h: Likewise.
15         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
17         * io/sys/stat.h: Define S_IFSOCK for XPG6.
19         * conform/data/fcntl.h-data: posix_madvise is not expected here.
21         * conform/conformtest.pl: Fix handling of macro-str.
23         * conform/data/inttypes.h-data: Add missing definition and all of
24         stdint.h-data.
26         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
28 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
30         * conform/conformtest.pl (@headers): Add stdint.h.
31         * conform/data/stdint.h-data: New file.
33         * conform/conformtest.pl: Recognize options --headers and
34         --dialect.  Add dialect-specific CFLAGS.
36         * conform/conformtest.pl: Implement handling of recursive
37         allow-header.
39         * conform/data/locale.h-data: Add new struct lconv members.
41         * posix/wordexp.h: Correct definition of wordexp_t.
42         * posix/wordexp.c: Moved to ...
43         * sysdeps/generic/wordexp.c: ...here.  New file.
44         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
45         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
46         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
47         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
48         wordexp.
49         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
50         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
52         * math/tgmath.h: Pretty printing.
54         * math/Makefile (tests): Add test-tgmath.
55         (CFLAGS-test-tgmath.c): New variable.
56         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
58         * conform/conformtest.pl: Handle allow-header in secondary headers
59         correctly.
61         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
62         #ifdef.
64         * conform/data/netinet/in.h-data: Use correct comment character.
65         * conform/data/sys/stat.h-data: Likewise.
67 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
69         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
70         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
71         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
72         __builtin_classify_type, add ##f suffixes where appropriate.
73         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
74         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
75         __builtin_classify_type.
76         (fma): Fix spelling of first argument.
78 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
80         * conform/data/unistd.h-data: Mark functions removed in XPG6
81         correctly.
83         * posix/unistd.h: Don't make functions removed in XPG6 available if
84         __USE_XOPEN2K.
86         * conform/conformtest.pl: Implement optional-constant.
87         * conform/data/unistd.h-data: Use optional-constant wherever
88         appropriate.
90         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
91         constants and add _SC_STREAMS.
92         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
94         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
95         make old name weak alias.
96         * sysdeps/generic/statvfs64.c: Likewise.
97         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
98         make old name weak alias.
99         * sysdeps/generic/fstatvfs64.c: Likewise.
100         * include/sys/statvfs.h: New file.
102         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
103         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
104         _PC_REC_XFER_ALIGN.
105         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
106         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
107         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
108         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
110         * conform/conformtest.pl: Run Unix tests for XPG6.
111         Implement handling of known namespace violations.
112         Improve printing of results.
114         * posix/unistd.h (usleep): Correct return type.
115         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
116         * sysdeps/unix/bsd/usleep.c: Correct return type.
117         * sysdeps/mach/usleep.c: Correct return type.
118         * sysdeps/generic/usleep.c: Correct return type.
120         * posix/unistd.h (sync): Correct return type.
121         * sysdeps/generic/sync.c: Likewise.
122         * sysdeps/mach/hurd/sync.c: Likewise.
124         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
126         * posix/unistd.h: Make seteuid and setegid available for XPG6.
128         * wcsmbs/wchar.h: Get FILE definition for XPG5.
130         * conform/data/ctype.h-data: Use correct comment form.
131         * conform/data/errno.h-data: Likewise.
132         * conform/data/math.h-data: Likewise.
133         * conform/data/mqueue.h-data: Likewise.
134         * conform/data/netdb.h-data: Likewise.
135         * conform/data/pthread.h-data: Likewise.
137 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
139         * conform/data/wordexp.h-data: Fix typo.
141         * conform/conformtest.pl: Handle allow-header correctly.
143         * conform/data/time.h-data: Use correct comment form.
145         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
147         * configure.in: Comment out binutils version test.
149         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
150         separators.
151         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
153         * stdlib/tst-strtod.c (locale_test): New function.
154         (main): Call locale_test.
155         * stdlib/Makefile (tst-strtod-ENV): New variable.
157 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
159         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
160         declaration of value such that we actually return the value of the
161         environment variable.
163 2001-01-24  Andreas Jaeger  <aj@suse.de>
165         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
166         prototype.
167         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
169         * include/sys/sysctl.h: New file.
171 2001-01-23  Andreas Jaeger  <aj@suse.de>
173         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
174         isomac.
176         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
177         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
178         closes PR libc/2039.
180         * manual/install.texi (Tools for Compilation): Change required
181         binutils version.
183 2001-01-22  Andreas Jaeger  <aj@suse.de>
185         * configure.in: Add test for new enough binutils version, move
186         compiler/binutils test up.
188         * Versions.def: Add version GLIBC_2.2.2.
190 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
192         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
193         available.
194         * iconvdata/testdata/IBM932: New file.
195         * iconvdata/testdata/IBM932..UTF8: New file.
196         * iconvdata/testdata/IBM943: New file.
197         * iconvdata/testdata/IBM943..UTF8: New file.
198         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
200 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
202         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
204 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
206         * malloc/malloc.c: Remove a few unnecessary initializers of global
207         variables.
209 2000-12-09  H.J. Lu  <hjl@gnu.org>
211         * nss/Makefile (routines): Add digits_dots.
212         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
213         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
214         into a function.
215         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
216         function.
217         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
218         (TYPE_VAR_P): Likewise.
219         (FLAGS_VAR): Likewise.
220         (AF_VAR_P): Likewise.
221         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
222         instead of including digits_dots.c.
223         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
224         (TYPE_VAR_P): Likewise.
225         (FLAGS_VAR): Likewise.
226         (AF_VAR_P): Likewise.
227         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
228         instead of including digits_dots.c.
230 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
232         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
234 2001-01-21  Andreas Jaeger  <aj@suse.de>
236         * elf/constload2.c: Add prototype for init.
238 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
240         * stdlib/stdlib.h (drand48_data): Make available only for
241         __USE_MISC.  Rename elements to protect namespace.  Change type
242         and position of a and init element.
243         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
244         differently.  Adjust for drand48_data change.  Don't compute a here,
245         it comes from drand48_data.
246         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
247         differently.  Adjust for drand48_data change.  Compute a here.
248         * stdlib/srand48_r.c: Likewise.
249         * stdlib/drand48.c: Adjust for drand48_data change.
250         * stdlib/lrand48.c: Likewise.
251         * stdlib/mrand48.c: Likewise.
252         * stdlib/seek48.c: Likewise.
253         * stdlib/drand48_r.c: Likewise.
254         * stdlib/lrand48_r.c: Likewise.
255         * stdlib/mrand48_r.c: Likewise.
256         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
257         differently.
258         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
259         * stdlib/jrand48_r.c: Likewise.
261         * po/sv.po: Update from translation team.
263 2001-01-21  Andreas Jaeger  <aj@suse.de>
265         * stdio-common/vfprintf.c (vfprintf): Add casts.
267 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
269         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
270         the ASCII test.
271         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
273         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
274         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
275         * iconvdata/ibm932.c: New file.
276         * iconvdata/ibm932.h: New file.
277         * iconvdata/ibm943.c: New file.
278         * iconvdata/ibm943.h: New file.
279         Patches by Masahide Washizawa <washi@jp.ibm.com>.
281         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
282         preventing optimization from being done.  Set the correct type bit
283         in seen.  Don't define and use _dl_base_addr unless
284         NEED_DL_BASE_ADDR is defined.
286         * io/ftw.c (ftw_dir): Add slash after directory name if there
287         wasn't any.  Reported by loris <loris@iol.it>.
288         * io/Makefile (tests): Add bug-ftw2.
289         * io/bug-ftw2.c: New file.
291 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
293         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
294         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
295         * stdlib/tst-rand48.c: New file.
296         * stdlib/Makefile (tests): Add tst-rand48.
298         * locale/newlocale.c (__newlocale): Fix test for setting all
299         categories.
301 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
303         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
304         but change looking up the initial directory port in a similar way
305         as done by _hurd_change_directory_port_from_name.
306         * hurd/fchroot.c (fchroot): Likewise.
308 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
310         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
311         defined don't look whether the AT_*ID values were set.
312         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
313         (_dl_show_auxv): Rewrite to avoid switch statement.
314         * sysdeps/unix/sysv/linux/kernel-features.h: Define
315         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
316         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
317         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
319         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
320         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
321         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
323         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
324         strtoul.
325         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
326         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
327         anything.
328         * dlfcn/eval.c (__strtol_internal): Define here.
329         (eval): Use __strtol_internal instead of strtol.
331         * elf/elf.h: Add a few more EF_MIPS_* constants.
333 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
335         * manual/Makefile (chapters): Add debug.
336         * manual/debug.texi: New file.
337         * manual/examples/execinfo.c: New file.
338         Patch by suckfish@ihug.co.nz.
340 2001-01-17  Andreas Schwab  <schwab@suse.de>
342         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
343         invalid asm.
345 2001-01-17  Andreas Jaeger  <aj@suse.de>
347         * nscd/connections.c (nscd_run): Use proper format specifier.
349 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
351         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
352         x86_platforms data into new file after prepending _dl_.  Change
353         users.
354         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
355         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
356         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
357         dl-procinfo.c.
359         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
361         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
362         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
363         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
364         (_setjmp): Likewise.
365         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
366         * sysdeps/i386/bsd-setjmp.S: Real implementation.
367         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
368         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
369         version.
371 2001-01-16  Andreas Jaeger  <aj@suse.de>
373         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
374         misapplied last patch.
376 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
378         * stdlib/random.c (__initstate): Clean up a cast.
379         (__setstate): Likewise.
381         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
382         syscall handling.  The generic Linux version should work.
384 2001-01-15  Andreas Jaeger  <aj@suse.de>
386         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
388         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
390 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
392         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
393         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
394         New functions.
395         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
396         If number is 0, list all.
397         (services_keys): Likewise.  Lookup aliases as well.
398         (databases): New table.
399         (build_doc): Prepare argp doc text with list of supported databases.
400         (main): Change to table driven processing.
402 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
404         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
405         functions.
407 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
409         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
410         encode value which does not fit in the 32bit type.
412 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
414         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
415         Change type of CTX to (struct sigcontext *).
416         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
417         (GET_FRAME): Likewise.
418         (GET_STACK): Likewise.
419         (SIGCONTEXT): Likewise. Add 2nd arg _code.
420         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
422 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
424         * manual/texinfo.tex: Update from upstream version.
426 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
428         * inet/ether_ntoh.c (lookup_function): Change arguments to match
429         _nss_*_getntohost_r prototype.
430         (ether_ntohost): Pass errno pointer to NSS function.
432 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
434         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
435         (MAP_LOCKED): New definition.
436         (MAP_NORESERVE): New definition.
438 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
440         * assert/assert.h: Use static_cast instead of C-style cast for C++.
441         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
443 2001-01-12  Ben Collins  <bcollins@debian.org>
445         * sysdeps/generic/segfault.c (install_handler): Use access, not
446         __access.
448 2001-01-12  Andreas Jaeger  <aj@suse.de>
450         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
451         * posix/wordexp.c (do_parse_glob): Likewise.
452         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
453         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
454         * elf/dl-open.c (_dl_open): Likewise.
455         * elf/dl-close.c (_dl_close): Likewise.
456         * elf/dl-load.c (_dl_map_object): Likewise.
457         * iconv/iconv_prog.c (process_fd): Likewise.
458         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
460         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
461         of a zero-length array.
463 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
465         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
466         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
467         * stdlib/cxa_on_exit.c: Remove.
468         * stdlib/Makefile: Revert last patch.
469         * stdlib/Versions: Likewise.
470         * include/stdlib.h: Likewise.
471         * stdlib/exit.h: Revert last patch.
472         (struct exit_function): Add second argument to cxa fn.
473         * stdlib/exit.c: Revert last patch.
474         (exit): Add hidden second argument.
476 2001-01-11  H.J. Lu  <hjl@gnu.org>
478         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
479         * elf/dl-open.c (_dl_open): Here.
480         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
481         Make it static.
482         (_dl_static_init): Initialize the variables every time when possible.
483         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
484         Undefine it first.
486 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
488         * stdlib/Makefile (routines): Add cxa_on_exit.
489         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
490         * stdlib/cxa_on_exit.c: New file.
491         * include/stdlib.h: Add prototype for __cxa_on_exit.
492         * stdlib/exit.c: Handle ef_cxa2.
493         * stdlib/exit.h (enum): Add ef_cxa2.
494         (struct exit_function): Add cxa2.
496         * Versions.def [ld]: Add GLIBC_2.2.1.
498 2001-01-10  H.J. Lu  <hjl@gnu.org>
500         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
501         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
502         dl-static.
503         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
504         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
505         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
506         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
507         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
509 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
511         * libio/stdio.h: Remove definition of off_t.
513 2001-01-11  Andreas Jaeger  <aj@suse.de>
515         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
516         <mkuhn@acm.org>.
518 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
520         * sunrpc/Makefile (distribute): Add errqueue.h.
522 2001-01-10  H.J. Lu  <hjl@gnu.org>
524         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
525         r9, r10 and r11 for language specific registers.
527 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
529         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
530         UDP socket.
531         (clntudp_call): Handle MSG_ERRQUEUE.
532         * sysdeps/generic/errqueue.h: New file.
533         * sysdeps/unix/sysv/linux/errqueue.h: New file.
535 2001-01-10  H.J. Lu  <hjl@gnu.org>
537         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
539 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
541         * CONFORMANCE: Update.
543 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
545         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
546         Minimal cleanups.  Add assert to ensure memory handling is correct.
548         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
549         Reported by Ben Collins <bcollins@debian.org>.
551         * time/strftime.c (my_strftime): Mark previous GNU extensions
552         which are now in C99 as such.
554 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
556         * elf/rtld.c (process_envvars): Place output files for profiling
557         in SUID binaries in /var/profile.
559         * elf/dl-load.c (_dl_map_object): Don't look in cache for
560         preloading in SUID binaries.
562         * elf/dl-profile.c (_dl_start_profile): Open the output file with
563         O_NOFOLLOW if possible.
565         * include/stdlib.h: Add __posix_openpt declaration.
566         * stdlib/stdlib.h: Add posix_openpt declaration.
567         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
568         * sysdeps/generic/getpt.c: Define posix_openpt.
569         * sysdeps/unix/bsd/getpt.c: Likewise.
570         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
572         * time/Makefile (tests): Add tst-mktime.
573         * time/tst-mktime.c: New file.
575         * posix/tst-dir.c (main): One more mkdir() test.
577         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
578         Remove getpagesize syscall.  We assume that the pagesize is always
579         determined from the auxiliary vector.
581         * intl/dcigettext.c: Fix a few warnings.
582         Patch by Bruno Haible <haible@ilog.fr>.
584 2001-01-08  Andreas Jaeger  <aj@suse.de>
586         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
587         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
589 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
591         * sysdeps/generic/segfault.c (install_handler): Check output file
592         name with access().
594         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
595         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
597         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
599         * malloc/memusage.c (me): Use access() to determine whether we
600         should write the output file or not.
602         * libio/bits/stdio.h (printf): Define macro to map printf call to
603         fprintf which gcc can optimize.
604         * stdio-common/printf.c: Undefine printf.
606 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
608         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
609         patch.  We must use unsigned int for l member of union.
611         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
612         _dl_aux_init for shared libraries.
614         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
615         * sysdeps/gnu/glob64.c: ...here.  New file.
617 2001-01-07  Ben Collins  <bcollins@debian.org>
619         * manual/examples/longopt.c: Make the "struct option" a little
620         more like it should be, adding usage of required_argument,
621         noargument and such, and also setting the options string right.
623         * manual/sysinfo.texi (Load Average): New section, documents
624         getloadavg().
626 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
628         * version.h (VERSION): Bump to 2.2.1.
630         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
631         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
632         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
633         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
634         * Makefile (distribute): Add include/libc-internal.h.
635         * libio/Makefile (distribute): Avoid overwriting.
637         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
638         buffer and table handling.
640 2001-01-05  H.J. Lu  <hjl@gnu.org>
642         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
643         vector checking to ...
644         (_dl_aux_init): Here. New function. Defined only if
645         HAVE_AUX_VECTOR is defined.
647         * sysdeps/generic/libc-start.c (__libc_start_main): Call
648         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
650         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
651         _dl_aux_init.
653         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
654         (HAVE_AUX_VECTOR): Defined.
655         (_dl_aux_init): Declared.
657 2001-01-05  Ben Collins  <bcollins@debian.org>
659         * manual/string.texi (Finding Tokens in a String): Document XPG
660         basename() and dirname(), as well as GNU basename().
662 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
664         * Makeconfig (preprocess-version): Replace -traditional with
665         -x assembler-with-cpp.
667 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
669         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
670         for GCC 2.97 or later.
672 2001-01-05  Ben Collins  <bcollins@debian.org>
674         * manual/stdio.texi (getline): Clarify the return value in the
675         case of EOF being reached before a newline.
677 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
679         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
680         FALSE otherwise.
681         (pmap_set, pmap_unset): Check __get_myaddress return value.
683 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
685         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
686         (struct ether_addr): Declare ether_addr_octet member as
687         `u_int8_t'.  Add __attribute__ ((__packed__)).
689 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
691         * sysdeps/mach/hurd/readdir64.c: New file.
692         * sysdeps/mach/hurd/readdir64_r.c: New file.
694 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
696         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
697         `struct statfs' and `struct statvfs' being identical.
698         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
700 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
702         * sysdeps/mach/hurd/fstatfs64.c: New file.
703         * sysdeps/mach/hurd/fstatvfs64.c: New file.
704         * sysdeps/mach/hurd/statfs64.c: New file.
705         * sysdeps/mach/hurd/statvfs64.c: New file.
706         * sysdeps/mach/hurd/statfsconv.c: New file.
707         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
709 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
711         * iconv/skeleton.c: Reset outbuf for next round of the loop.
712         Reported by Owen Taylor <otaylor@redhat.com>.
713         * iconv/Makefile (tests): Add tst-iconv3.
714         * iconv/tst-iconv3.c: New file.
716         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
717         * iconvdata/ibm933.c: Likewise.
718         * iconvdata/ibm935.c: Likewise.
719         * iconvdata/ibm937.c: Likewise.
720         * iconvdata/ibm939.c: Likewise.
721         * iconvdata/ibm930.h: Adjust single byte table for optimization.
722         * iconvdata/ibm933.h: Likewise.
723         * iconvdata/ibm935.h: Likewise.
724         * iconvdata/ibm939.h: Likewise.
726         * iconvdata/testdata/IBM930: Add misssing SI.
727         * iconvdata/testdata/IBM933: Likewise.
728         * iconvdata/testdata/IBM935: Likewise.
729         * iconvdata/testdata/IBM937: Likewise.
730         * iconvdata/testdata/IBM939: Likewise.
732 2001-01-06  Andreas Jaeger  <aj@suse.de>
734         * configure.in: Check for old add-ons that shouldn't be used with
735         current glibc anymore.
737 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
739         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
740         instead of -1 on failure.  Don't forget to copy file name into
741         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
742         of the directory.
744 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
746         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
747         copy st_atime member.
749 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
751         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
752         for searches from the root directory.
753         Reported by loris <loris@iol.it> [PR libc/1991].
754         * io/Makefile (tests): Add bug-ftw1.
755         * io/bug-ftw1.c: New file.
757         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
758         if it is not available.  Instead use it only if it is available.
759         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
761         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
762         overflowing output buffer.
763         (internal_ucs4_loop_unaligned): Likewise.
764         (ucs4_internal_loop): Likewise.
765         (ucs4_internal_loop_unaligned): Likewise.
766         (internal_ucs4le_loop): Likewise.
767         (internal_ucs4le_loop_unaligned): Likewise.
768         (ucs4le_internal_loop): Likewise.
769         (ucs4le_internal_loop_unaligned): Likewise.
770         Reported by Owen Taylor <otaylor@redhat.com>.
771         * iconv/Makefile (tests): Add tst-iconv2.
772         * iconv/tst-iconv2.c: New file.
774 2001-01-04  H.J. Lu  <hjl@gnu.org>
776         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
777         (_dl_clktck): Declared.
778         (non_dynamic_init): Take 3 arguments.
779         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
781 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
783         Finish implementation of plural form handling.
784         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
785         'domainname'.  Remove 'plindex' field. Add 'domain' and
786         'translation_length' fields.
787         (transcmp): Don't compare 'plindex' fields.
788         (plural_lookup): New function.
789         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
790         plural_eval before the translation and its catalog file have been
791         found. Remove plindex from cache key.  Add 'translation_length' and
792         'domain' to cache result.
793         (_nl_find_msg): Remove index argument, return length of translation
794         to the caller instead.  Weaken comparison of string lengths, to account
795         for plural entries.  Call iconv() on the entire result string, not
796         only on the portion needed so far.
797         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
798         argument.
799         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
801 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
803         * intl/plural.y (yylex): Minimal improvement in number scanner.
805 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
807         * intl/plural.y: Include config.h. Needed to define 'inline' away for
808         C compilers that don't support it.
809         (yylex): Don't use gcc specific case range syntax.
810         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
811         compilers.
813 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
815         * intl/finddomain.c: Remove unneeded includes.
817 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
819         * intl/localealias.c (memcpy): Return first argument, just like the
820         real memcpy function does.
821         * intl/bindtextdom.c (memcpy): Likewise.
822         * intl/finddomain.c (memcpy): Likewise.
823         * intl/l10nflist.c (memcpy): Likewise.
824         * intl/textdomain.c (memcpy): Likewise.
825         From Paul Eggert <eggert@twinsun.com>.
827 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
829         * resolv/resolv.h (struct __res_state): Add nsinit field.
830         * resolv/res_send.c (res_nsend): Use it instead of nscount.
831         * resolv/res_init.c (__res_vinit): Initialize it.
832         (res_nclose): Clear it instead of nscount.
834 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
836         * malloc/mtrace.pl: Fix matching of addresses.
837         Patch by Aharon Robbins <arnold@skeeve.com>.
839         * Versions.def (ld): Add GLIBC_2.2.
841         * catgets/gencat.c: Copyright 2001.
842         * csu/version.c: Likewise.
843         * debug/catchsegv.sh: Likewise.
844         * debug/xtrace.sh: Likewise.
845         * elf/ldconfig.c: Likewise.
846         * elf/sprof.c: Likewise.
847         * iconv/iconv_prog.c: Likewise.
848         * locale/locale.c: Likewise.
849         * locale/localedef.c: Likewise.
850         * malloc/memusage.sh: Likewise.
851         * malloc/mtrace.pl: Likewise.
852         * nscd/nscd.c: Likewise.
853         * posix/getconf.c: Likewise.
855 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
857         * include/stdio.h: Only provide __getwc_unlocked prototype if
858         USE_IN_LIBIO is defined.
860 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
862         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
863         handling.
865 2001-01-03  Andreas Schwab  <schwab@suse.de>
867         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
868         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
870         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
871         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
872         strtoull alias.
873         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
874         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
875         wcstoull alias.
877         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
878         directory.
879         * sysdeps/generic/strtol_l.c: Likewise.
880         * sysdeps/generic/strtoul_l.c: Likewise.
881         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
883         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
884         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
885         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
886         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
888 2001-01-04  Andreas Jaeger  <aj@suse.de>
890         * nss/nsswitch.c: Include files for missing prototypes, remove
891         buggy declaration of prototypes.
893 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
895         * resolv/Versions: Fix bracing.
896         * sysdeps/powerpc/soft-fp/Versions: Likewise.
897         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
899 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
901         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
903 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
905         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
906         Suggested by Minko Markov <mmarkov@home.com>.
908 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
910         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
911         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
912         the failing symbol.
913         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
915 2001-01-02  Ben Collins  <bcollins@debian.org>
917         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
918         if TZ is not set and TZDEFAULT is not present.
920 2001-01-01  Ben Collins  <bcollins@debian.org>
922         * string/strings.h: Make sure we declare our functions even if
923         string.h is already included, based on whether or not __USE_BSD is
924         defined.
926 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
928         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
929         other dlopen() and dlsym().
930         Based on a patch by Ben Collins <bcollins@debian.org>.
932 2001-01-02  Andreas Jaeger  <aj@suse.de>
934         * dlfcn/errmsg1.c (main): Call dlerror initially.
935         Reported by Ben Collins <bcollins@debian.org>.
937 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
939         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
940         value is ignored if the selected locale is the C locale.
941         * intl/tst-gettext.c: Set locale for above change.
942         * intl/tst-translit.c: Likewise.
944 2001-01-02  Andreas Jaeger  <aj@suse.de>
946         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
947         (_IO_switch_to_wget_mode): Likewise.
948         (_IO_sputbackwc): Likewise.
949         (_IO_sungetwc): Use wint_t for result.
951         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
953         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
954         signedness.
956         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
957         to (int) to avoid warnings.
958         * stdio-common/printf_fp.c (putc): Likewise.
959         * stdio-common/printf_size.c (putc): Likewise.
961         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
962         constant unsigned.
964 2001-01-01  Andreas Jaeger  <aj@suse.de>
966         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
968 2000-12-31  Andreas Jaeger  <aj@suse.de>
970         * include/libc-internal.h: Add prototype for __libc_freeres.
972         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
973         for prototypes, remove redundant prototypes.
974         * gmon/gmon.c: Likewise.
975         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
976         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
977         * malloc/mtrace.c: Likewise.
979         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
980         prototypes.
981         * elf/soinit.c: Likewise.
982         * sysdeps/generic/prof-freq.c: Likewise.
983         * sysdeps/mach/hurd/profil.c: Likewise.
984         * debug/noophooks.c: Likewise.
985         * debug/pcprofile.c: Likewise.
986         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
987         * sysdeps/generic/get_clockfreq.c: Likewise.
988         * malloc/set-freeres.c: Likewise.
990         * locale/localeinfo.h: Add internal prototypes.
992         * elf/rtld.c (dl_main): Fix prototype.
994         * iconvdata/tst-table-to.c (main): Use return instead of exit to
995         avoid warning.
997         * nis/rpcsvc/yp_prot.h: Remove __P.
998         * nis/rpcsvc/ypupd.h: Likewise.
999         * nis/rpcsvc/yp.h: Likewise.
1001         * sunrpc/rpc_main.c: Add noreturn attributes.
1002         * sunrpc/rpc_scan.h: Likewise.
1004         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
1006         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
1008         * sunrpc/proto.h: Add noreturn attributes to error and crash.
1010         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
1012         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
1014         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
1016         * include/rpc/rpc_msg.h: Add prototypes for some functions.
1017         * include/rpc/auth.h: Likewise.
1018         * include/rpc/auth_des.h: Likewise.
1019         * include/rpc/clnt.h: Likewise.
1020         * include/rpc/rpc.h: Likewise.
1021         * include/rpc/svc.h: Likewise.
1022         * include/rpc/svc_auth.h: Likewise.
1024         * include/rpc/des_crypt.h: New file.
1026         * malloc/memusagestat.c (main): Use return instead of exit to
1027         avoid warning.
1028         * io/pwd.c (main): Likewise.
1029         * iconvdata/tst-table-from.c (main): Likewise.
1030         * ctype/test_ctype.c (main): Likewise.
1031         * setjmp/tst-setjmp.c (main): Likewise.
1032         * signal/tst-signal.c (main): Likewise.
1033         * stdlib/tst-strtol.c (main): Likewise.
1034         * stdlib/tst-strtod.c (main): Likewise.
1035         * stdlib/tst-strtoll.c (main): Likewise.
1036         * stdlib/tst-xpg-basename.c (main): Likewise.
1037         * dirent/tst-seekdir.c (main): Likewise.
1038         * grp/testgrp.c (main): Likewise.
1039         * inet/test_ifindex.c (main): Likewise.
1040         * io/test-utime.c (main): Likewise.
1041         * posix/test-vfork.c (main): Likewise.
1042         * posix/testfnm.c (main): Likewise.
1043         * stdio-common/temptest.c (main): Likewise.
1044         * stdio-common/test_rdwr.c (main): Likewise.
1045         * stdio-common/tst-fileno.c (main): Likewise.
1046         * stdio-common/tst-sscanf.c (main): Likewise.
1047         * stdio-common/tstscanf.c (main): Likewise.
1048         * string/bug-strncat1.c (main): Likewise.
1049         * string/bug-strpbrk1.c (main): Likewise.
1050         * string/bug-strspn1.c (main): Likewise.
1051         * string/test-ffs.c (main): Likewise.
1052         * string/tst-inlcall.c (main): Likewise.
1053         * string/tst-svc.c (main): Likewise.
1054         * timezone/test-tz.c (main): Likewise.
1055         * wctype/test_wcfuncs.c (main): Likewise.
1056         * wctype/test_wctype.c (main): Likewise.
1058         * stdlib/tst-random.c: Add attribute noreturn to fail.
1060 2000-12-28  Wolfram Gloger  <wg@malloc.de>
1062         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
1063         destination overlap.  Assume dest is always below source if
1064         overlapping.
1066 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
1068         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
1069         object was not yet initialized.
1071 2000-12-28  H.J. Lu  <hjl@gnu.org>
1073         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
1074         is always consistent even if its dependency is failed.
1076         * elf/dl-open.c (_dl_open): Increment the open count before
1077         calling _dl_close () in case of failure.
1079         * elf/neededtest4.c: New file.
1080         * elf/neededobj5.c: New file.
1081         * elf/neededobj6.c: New file.
1083         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
1084         (tests): Add neededtest4.
1085         (modules-names): Add neededobj5 and neededobj6.
1086         ($(objpfx)neededobj6.so): New target.
1087         ($(objpfx)neededtest4): New target.
1088         ($(objpfx)neededtest4.out): New target.
1090 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
1092         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
1093         * stdlib/monetary.h: Add strfmon format attributes.
1095 2000-12-28  Roland McGrath  <roland@frob.com>
1097         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
1098         __mempcpy does it for us.
1100 2000-12-28  Andreas Jaeger  <aj@suse.de>
1102         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
1104         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
1105         __new_setrlimit.
1107         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
1108         __old_getrlimit64.
1110         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
1111         __new_getrlimit.
1113         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
1114         __chown_is_lchown and __real_chown.
1116         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
1117         _dl_reloc_bad_type.
1119         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
1120         up GCC's warning about "deprecated use of label at end of compound
1121         statement."
1122         * sunrpc/rpc_cout.c (emit_inline): Likewise.
1124         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
1125         prototypes.
1126         Remove struct bb and __bb_head since those are declared by
1127         sys/gmon.h.
1129 2000-12-22  Ben Collins  <bcollins@debian.org>
1131         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
1133         * manual/argp.texi: Document argp_domain as part of struct argp.
1135 2000-12-28  Andreas Jaeger  <aj@suse.de>
1137         * catgets/Makefile (generated): Add sample.SJIS.cat.
1139         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
1141         * elf/dl-minimal.c: Add prototypes.
1143         * include/locale.h: Add internal prototypes.
1144         * include/sys/gmon.h: Likewise.
1146         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
1148 2000-12-27  Ben Collins  <bcollins@debian.org>
1150         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
1151         when reallocating the error strings.
1152         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
1154 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
1156         * dlfcn/Makefile (tests): Add errmsg1.
1157         (modules-names): Add errmsg1mod.
1158         Add rules to run errmsg1.
1159         * dlfcn/errmsg1.c: New file.
1160         * dlfcn/errmsg1mod.c: New file.
1162         * dlfcn/dlerror.c (dlerror): Always create output string which
1163         includes object file name.
1165         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
1166         if we would go through it only once.
1167         Patch by Rick Gorton <rick.gorton@api-networks.com>.
1169         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
1170         Patch by Richard Henderson <rth@redhat.com>.
1172 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
1174         * malloc/malloc.c (memmove): Add prototypes.
1175         (MALLOC_MEMMOVE): Define.
1176         (chunk_realloc): Use it instead of MALLOC_COPY if source and
1177         destination might overlap.
1179 2000-12-27  Andreas Jaeger  <aj@suse.de>
1181         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
1182         function.
1183         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1184         * locale/programs/locale.c (show_locale_vars): Likewise.
1185         (show_info): Likewise.
1186         * locale/programs/ld-collate.c (collate_output): Likewise.
1187         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1188         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1189         * stdlib/rpmatch.c (rpmatch): Likewise.
1191         * setjmp/tst-setjmp.c: Make local functions static.
1192         * setjmp/jmpbug.c: Likewise.
1193         * signal/tst-signal.c: Likewise.
1194         * stdio-common/tfformat.c: Likewise.
1195         * string/tst-svc.c: Likewise.
1196         * time/clocktest.c: Likewise.
1197         * time/tst-getdate.c: Likewise.
1198         * dirent/list.c: Likewise.
1199         * dirent/opendir-tst1.c: Likewise.
1200         * posix/runtests.c: Likewise.
1201         * posix/tst-getaddrinfo.c: Likewise.
1202         * posix/tst-chmod.c: Likewise.
1203         * posix/wordexp-test.c: Likewise.
1204         * misc/tst-efgcvt.c: Likewise.
1205         * timezone/tst-timezone.c: Likewise.
1206         * rt/tst-clock.c: Likewise.
1207         * rt/tst-shm.c: Likewise.
1208         * rt/tst-aio2.c: Likewise.
1209         * rt/tst-aio3.c: Likewise.
1210         * rt/tst-aio4.c: Likewise.
1211         * rt/tst-aio5.c: Likewise.
1213         * dlfcn/failtest.c: Add prototype for foo.
1215         * dlfcn/glrefmain.c: Add prototype for do_test.
1217         * dlfcn/tst-dladdr.c: Add prototype for do_test.
1219         * string/test-ffs.c (main): Add prototype for nested function.
1221         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
1223         * nss/XXX-lookup.c: Add prototype to shut up GCC.
1225         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
1226         setetherent prototype.
1227         Add internal interfaces.
1229         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
1230         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
1232         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
1234         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
1236         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
1237         prototypes, remove struct etherent since it's declared in ether.h.
1238         Fix ntohost declaration.
1240         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
1242         * include/getopt.h: Add internal interfaces.
1243         * include/termios.h: Likewise.
1244         * include/resolv.h: Likewise.
1245         * include/netdb.h: Likewise.
1246         * include/grp.h: Likewise.
1247         * include/pwd.h: Likewise.
1248         * include/shadow.h: Likewise.
1249         * include/rpc/netdb.h: Likewise.
1250         * include/setjmp.h: Likewise.
1252         * include/stdio.h: Add prototypes for compatibility functions.
1253         * include/grp.h: Likewise.
1254         * include/pwd.h: Likewise.
1255         * include/shadow.h: Likewise.
1257         * include/fenv.h: Define internal interfaces.
1259 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
1261         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
1262         argument case separately.
1263         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
1265 2000-12-27  Andreas Jaeger  <aj@suse.de>
1267         * include/sys/wait.h: Add some prototypes.
1268         * Rules (dummy.c): Create also prototype to shut up GCC.
1270 2000-12-27  Andreas Jaeger  <aj@suse.de>
1272         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
1273         it's not needed at the moment.
1274         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
1275         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
1277 2000-12-26  Andreas Jaeger  <aj@suse.de>
1279         * libio/getc_u.c: Include stdio.h via system path to get internal
1280         prototypes.
1281         * libio/getwc_u.c: Likewise.
1283         * stdlib/strfmon.c: Fix prototype of __printf_fp.
1285         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
1286         __printf_fp prototypes to ...
1287         * include/printf.h: ...here.
1289         * include/stdio.h: Add some internal prototypes to shut up GCC.
1290         * include/stdlib.h: Likewise.
1292         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
1293         declaration.
1295         * include/signal.h: Add prototypes for internal sigpause
1296         interfaces.
1298 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
1300         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
1301         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
1303         * string/Makefile (tests): Add tst-bswap.
1304         * string/tst-bswap.c: New file.
1306 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
1308         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
1310 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
1312         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
1313         Patch by Ed Connell <Ed.Connell@sas.com>.
1315 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
1317         * locale/iso-639.def: Correct one entry.  Add two missing entries.
1319         * locale/iso-4217.def: Change entry for Eritrea.
1320         Reported by Daniel Yacob <yacob@geez.org>.
1322 2000-12-23  Ben Collins  <bcollins@debian.org>
1324         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
1325         description.
1327         * manual/stdio.texi (Dynamic Output): Document the return value of
1328         asprintf.  Also make the asprintf/snprintf examples a little
1329         better (check for some error returns).
1331 2000-12-22  Andreas Jaeger  <aj@suse.de>
1333         * include/stdio.h: Add __ftrylockfile prototype.
1335 2000-12-21  H.J. Lu  <hjl@gnu.org>
1337         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
1338         Make sign_exponent element signed.
1340         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
1341         Fix a typo.
1343         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
1345 2000-12-21  Andreas Jaeger  <aj@suse.de>
1347         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
1348         * inet/ether_hton.c: Likewise
1349         * inet/ether_ntoh.c: Likewise.
1351         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
1352         declaration to match prototype.
1354         * include/netinet/ether.h (struct etherent): Declare here so that
1355         all implementations use the same struct.
1357         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
1358         prototypes.
1359         (struct ether): Removed.
1360         Use struct etherent instead of ether everywhere.
1362         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
1364         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
1366         * sunrpc/publickey.c: Include auth_des.h for prototypes.
1368 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
1370         * math/test-misc.c: Add more tests for nextafter functions.
1372         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
1373         normal correctly.  Correct test for sign.
1374         Based on a patch by HJ Lu.
1376 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
1378         * Makeconfig (preprocess-version): Add -traditional to gcc call.
1379         Cleanup sed calls.
1381 2000-12-19  Andreas Jaeger  <aj@suse.de>
1383         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
1385         * nis/nis_intern.h: Add prototype for __do_niscall3.
1387         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
1388         match prototype.
1390         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
1392         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
1394         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
1396 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
1398         * math/test-misc.c: Add more tests for nextafter.
1399         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
1400         * sysdeps/ieee754/ldbl-96/math_ldbl.h
1401         (ieee_long_double_shape_type): Make sign_exponent element signed.
1403         * manual/message.texi: Add Estonian to plural overview list.
1404         Correct rule for Slavic languages.
1405         Patch by Stanislav Brabec <utx@penguin.cz>.
1407         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
1409 2000-12-18  Andreas Jaeger  <aj@suse.de>
1411         * test-skeleton.c: Use temp_name_list instead of name_list to
1412         avoid collision with name_list from inet/netgroup.h.
1414         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
1416         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
1417         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
1418         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
1419         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
1421         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
1422         declaration to match prototype.
1423         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
1424         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
1425         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
1426         Likewise.
1427         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
1428         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
1429         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
1430         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
1431         (_nss_nis_getservbyport_r): Likewise.
1432         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
1433         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
1434         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
1435         (_nss_nis_setnetent): Likewise
1436         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1437         (_nss_nis_endnetgrent): Likewise.
1438         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
1439         Likewise.
1440         (_nss_nisplus_setnetgrent): Likewise.
1441         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
1442         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
1443         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
1444         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
1445         Likewise.
1446         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
1447         Likewise.
1448         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
1449         Likewise.
1450         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
1451         Likewise.
1452         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
1453         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
1454         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
1455         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1456         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
1457         (_nss_dns_getnetbyaddr_r): Likewise.
1459 2000-12-17  Andreas Jaeger  <aj@suse.de>
1461         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
1462         parameter.
1464         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
1465         unused attribute to shut up gcc warnings.
1467         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
1468         * sysdeps/generic/k_tanl.c: Likewise.
1469         * sysdeps/generic/k_cosl.c: Likewise.
1470         * sysdeps/generic/e_j0l.c: Likewise.
1471         * sysdeps/generic/e_j1l.c: Likewise.
1472         * sysdeps/generic/e_jnl.c: Likewise.
1473         * sysdeps/generic/e_lgammal_r.c: Likewise.
1475         * elf/vismain.c: Move prototypes for functions in vismod*.c to
1476         vismod.h.
1477         * elf/vismod.h: New file.
1478         * elf/Makefile (distribute): Add vismod.h.
1479         * elf/vismod1.c: Include vismod.h.
1480         * elf/vismod2.c: Likewise.
1481         * elf/vismod3.c: Likewise.
1483         * elf/constload3.c: Add prototype declarations to shut up gcc.
1484         * elf/failobj.c: Likewise.
1485         * elf/nodelmod3.c: Likewise.
1486         * elf/filtmod1.c: Likewise.
1487         * elf/filtmod2.c: Likewise.
1488         * elf/reldepmod1.c: Likewise.
1489         * elf/reldepmod2.c: Likewise.
1490         * elf/reldepmod3.c: Likewise.
1491         * elf/reldepmod4.c: Likewise.
1492         * elf/unload2dep.c: Likewise.
1493         * elf/unload2mod.c: Likewise.
1494         * elf/ltglobmod1.c: Likewise.
1495         * elf/pathoptobj.c: Likewise.
1496         * elf/neededobj1.c: Likewise.
1497         * elf/neededobj2.c: Likewise.
1498         * elf/neededobj3.c: Likewise.
1499         * elf/neededobj4.c: Likewise.
1500         * elf/nextmod1.c: Likewise.
1501         * elf/nextmod2.c: Likewise.
1503         * locale/programs/ld-collate.c (collate_finish): Don't use labels
1504         at end of compound statement.
1505         * locale/programs/locale.c (show_info): Likewise.
1506         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1508 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
1510         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
1511         with a pointer not returned by obstack_ functions.
1513 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
1515         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
1516         version.
1517         (struct stat64): Likewise.
1518         Reported by Michael Keezer <mkeezer@redhat.com>.
1520         * timezone/asia: Update from tzdata2000h.
1521         * timezone/australasia: Likewise.
1522         * timezone/backward: Likewise.
1523         * timezone/europe: Likewise.
1524         * timezone/northamerica: Likewise.
1525         * timezone/southamerica: Likewise.
1526         * timezone/zone.tab: Likewise.
1528 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
1530         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
1531         and dir.stream is NULL, only free dir.content.
1532         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
1533         * io/ftwtest-sh: Test with --early-exit.
1535 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
1537         * misc/efgcvt.c (FCVT_MAXDIG): Define.
1538         (FCVT_BUFPTR): New variable.
1539         (fcvt): If fcvt_r returns -1 on the static short buffer,
1540         try to malloc a sufficiently large one and retry.
1541         (free_mem): New function.
1542         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
1543         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
1545 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
1547         * misc/dirname.c (dirname): Fix search for second to last slash.
1549 2000-12-13  Andreas Jaeger  <aj@suse.de>
1551         * misc/tst-dirname.c (main): Fix typo in test to really use
1552         the examples from Unix98.
1553         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1555 2000-12-09  H.J. Lu  <hjl@gnu.org>
1557         * sysdeps/ia64/fpu/s_fabs.S: New file.
1558         * sysdeps/ia64/fpu/s_fabsf.S: New file.
1559         * sysdeps/ia64/fpu/s_fabsl.S: New file.
1561 2000-12-15  Andreas Jaeger  <aj@suse.de>
1563         * stdio-common/scanf9.c (main): Reformat and change to avoid
1564         warnings.
1566         * stdio-common/tstdiomisc.c: Make local functions static.
1567         * stdio-common/tst-printf.c: Likewise.
1569         * elf/constload2.c: Add prototype declarations to shut up gcc.
1570         * elf/dep1.c: Likewise.
1571         * elf/dep2.c: Likewise.
1572         * elf/dep3.c: Likewise.
1573         * elf/dep4.c: Likewise.
1574         * elf/ltglobmod2.c: Likewise.
1576         * libio/fmemopen.c: Make local functions static.
1578         * elf/Makefile (distribute): Added testobj.h.
1580         * elf/testobj.h: New file.
1582         * elf/testobj1.c: Include testobj.h and move prototype
1583         declarations to testobj.h.
1584         * elf/testobj2.c: Likewise.
1585         * elf/testobj3.c: Likewise.
1586         * elf/testobj4.c: Likewise.
1587         * elf/testobj5.c: Likewise.
1588         * elf/testobj6.c: Likewise.
1589         * elf/testobj1_1.c: Likewise.
1590         * elf/preloadtest.c: Likewise.
1592 2000-12-15  Ben Collins  <bcollins@debian.org>
1594         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
1595         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
1597 2000-12-14  H.J. Lu  <hjl@gnu.org>
1599         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
1600         field in a float is 8 bits, not 11 bits.
1602 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
1604         * math/test-misc.c (main): Adjust m for IEEE quad long double.
1606 2000-12-13  Andreas Jaeger  <aj@suse.de>
1608         * manual/message.texi (Using gettextized software): Fix typo.
1610         * manual/charset.texi (Converting a Character): Fix mbstouwcs
1611         program to compile.
1612         Patch by Martin Buchholz <martin@xemacs.org>.
1614         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
1615         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1617 2000-12-11  Andreas Jaeger  <aj@suse.de>
1619         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
1620         kernel_sigset_t and use it.
1621         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
1623 2000-12-10  Richard Henderson  <rth@redhat.com>
1625         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
1626         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
1627         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
1629 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
1631         * sysdeps/alpha/htonl.S: Fix a typo.
1633 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
1635         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
1637 2000-12-10  Andreas Jaeger  <aj@suse.de>
1639         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
1640         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
1641         Drepper <drepper@redhat.com>.
1643 2000-12-09  Andreas Jaeger  <aj@suse.de>
1645         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
1647         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
1648         generic version.
1649         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
1651         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
1652         string.
1654         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
1655         format string.
1657         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
1658         * nscd/connections.c (handle_request): Likewise.
1659         * nscd/pwdcache.c (addpwbyname): Likewise.
1660         * nscd/grpcache.c (addgrbyname): Likewise.
1662         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
1664 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
1666         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
1668         * Makeconfig (default_cflags): Make -O2 the default for stable
1669         releases.
1671 2000-12-08  H.J. Lu  <hjl@gnu.org>
1673         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
1674         * sysdeps/ia64/fpu/s_isinf.S: This.
1675         Add a .pred.rel.mutex note to avoid false report.
1677         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
1678         * sysdeps/ia64/fpu/s_isnan.S: This.
1680         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
1681         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
1682         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
1683         * sysdeps/ia64/fpu/s_isinff.S: New file.
1684         * sysdeps/ia64/fpu/s_isinfl.S: New file.
1685         * sysdeps/ia64/fpu/s_isnanf.S: New file.
1686         * sysdeps/ia64/fpu/s_isnanl.S: New file.
1687         * sysdeps/ia64/fpu/s_finite.S: New file.
1688         * sysdeps/ia64/fpu/s_finitef.S: New file.
1689         * sysdeps/ia64/fpu/s_finitel.S: New file.
1690         * sysdeps/ia64/fpu/s_signbit.S: New file.
1691         * sysdeps/ia64/fpu/s_signbitf.S: New file.
1692         * sysdeps/ia64/fpu/s_signbitl.S: New file.
1693         * sysdeps/ia64/fpu/s_copysign.S: New file.
1694         * sysdeps/ia64/fpu/s_copysignf.S: New file.
1695         * sysdeps/ia64/fpu/s_copysignl.S: New file.
1697 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
1699         * math/libm-test.inc (main): Fix typos in messages.
1701         * string/stratcliff.c: Add test for rawmemchr.
1703 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
1705         * elf/dl-open.c (_dl_open): If objname points right after errstring,
1706         allocate it together with errstring using alloca.
1707         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
1708         to "", because it might point to local stack.
1710 2000-12-05  H.J. Lu  <hjl@gnu.org>
1712         * nss/Makefile (routines): Add getnssent and getnssent_r.
1713         * nss/nsswitch.h (__nss_setent): New internal NSS function.
1714         (__nss_endent): Likewise.
1715         (__nss_getent_r): Likewise.
1716         (__nss_getent): Likewise.
1717         * nss/getnssent_r.c: New file.
1718         * nss/getnssent.c: New file.
1719         * nss/getXXent.c (H_ERRNO_VAR): Updated.
1720         (GETFUNC_NAME): Updated to call __nss_getent ().
1721         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
1722         (STAYOPEN_TMPVAR): Updated.
1723         (STAYOPEN_VAR): Updated.
1724         (SETFUNC_NAME): Updated to call __nss_setent ().
1725         (ENDFUNC_NAME): Updated to call __nss_endent ().
1726         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
1728 2000-12-08  Andreas Jaeger  <aj@suse.de>
1730         * nscd/dbg_log.h (dbg_log): Correct attribute.
1732 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
1734         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
1735         cp + len.  Compute where from dirname.
1736         Reported by <jreiser@BitWagon.com>.
1738 2000-12-08  Richard Henderson  <rth@twiddle.net>
1740         * sysdeps/alpha/_mcount.S: Fix typo.
1741         * sysdeps/alpha/strncpy.S: Likewise.
1743         * sysdeps/alpha/alphaev6/Implies: New file.
1744         * sysdeps/alpha/alphaev67/Implies: New file.
1745         * sysdeps/alpha/alphaev67/ffs.S: New file.
1746         * sysdeps/alpha/alphaev67/ffsll.S: New file.
1747         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
1748         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
1749         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
1750         * sysdeps/alpha/rawmemchr.S: New file.
1751         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
1752         * sysdeps/alpha/strcpy.S: Likewise.
1754         From GMP 3.1.1:
1755         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
1757         From rick.gorton@alpha-processor.com:
1758         * sysdeps/alpha/alphaev6/memchr.S: New file.
1759         * sysdeps/alpha/alphaev6/memcpy.S: New file.
1760         * sysdeps/alpha/alphaev6/memset.S: New file.
1761         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
1762         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
1763         * sysdeps/alpha/alphaev67/strcat.S: New file.
1764         * sysdeps/alpha/alphaev67/strchr.S: New file.
1765         * sysdeps/alpha/alphaev67/strlen.S: New file.
1766         * sysdeps/alpha/alphaev67/strncat.S: New file.
1767         * sysdeps/alpha/htonl.S: Use a shorter sequence.
1769 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
1771         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
1772         Reported by <pspencer@fields.utoronto.ca>.
1774 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
1776         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
1777         Pointed out by Hans Boehm.
1779 2000-12-07  H.J. Lu  <hjl@gnu.org>
1781         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
1783 2000-12-07  Andreas Jaeger  <aj@suse.de>
1785         * misc/error.c: Add format attributes for __error and __error_at_line.
1787         * nscd/dbg_log.h: Add format attribute.
1789 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
1791         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
1792         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1794 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
1796         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
1798 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
1800         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
1801         (sysdep_routines): Add uitrunc.
1802         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
1803         Patches by Michael Keezer <mkeezer@redhat.com>.
1805 2000-12-06  Roland McGrath  <roland@frob.com>
1807         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
1808         argument data, since it will be used to copy out too (for INOUT).
1809         Reported by Marcus Brinkmann <marcus@gnu.org>.
1811         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
1812         (__ioctl): Use uintptr_t instead of unsigned long int.
1814 2000-12-06  Jim Wilson  <wilson@redhat.com>
1816         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
1818 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
1820         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
1821         x.5 rounding correctly.
1823 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
1825         * stdio-common/perror.c (perror): Conditionalize code dealing with
1826         wide-oriented streams on USE_IN_LIBIO.
1828 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
1830         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
1831         as internal_function.
1833 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
1835         * sysdeps/alpha/elf/start.S (__data_start): Define.
1837 2000-12-05  H.J. Lu  <hjl@gnu.org>
1839         * nss/getXXent_r.c (setup): Change the return type to int.
1841 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
1843         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
1844         (sysdep_routines): Add restf and savef.
1845         * sysdeps/unix/sysv/aix/restf.c: New file.
1846         * sysdeps/unix/sysv/aix/savef.c: New file.
1847         Patches by Michael Keezer <mkeezer@redhat.com>.
1849         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
1850         if O_DIRECTORY is not defined.
1851         Patch by Michael Keezer <mkeezer@redhat.com>.
1853         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
1854         Patch by Michael Keezer <mkeezer@redhat.com>.
1856         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
1857         than 4 bytes in escape sequence.
1858         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1860 2000-12-05  Andreas Jaeger  <aj@suse.de>
1862         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
1863         set mips2.
1865         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
1867         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
1869         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
1870         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1872         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
1873         internal_function.
1874         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
1875         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
1877         * sysdeps/generic/dl-cache.c: Remove declaration of
1878         _dl_sysdep_read_whole_file.
1880         * elf/dl-load.c (_dl_map_object): Remove declaration of
1881         _dl_load_cache_lookup.
1883         * sysdeps/generic/ldsodefs.h: Add declarations of
1884         _dl_load_cache_lookup, _dl_unload_cache,
1885         _dl_sysdep_read_whole_file, _dl_sysdep_start and
1886         _dl_sysdep_start_cleanup.
1888         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
1889         now.
1891         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
1892         * sysdeps/generic/dl-environ.c: Likewise.
1894         * stdio-common/printf_fp.c: Include <gmp.h> instead of
1895         <stdlib/gmp.h>.
1896         * math/atest-exp.c: Likewise.
1897         * math/atest-exp2.c: Likewise.
1898         * math/atest-sincos.c: Likewise.
1899         * stdio-common/_itoa.c: Likewise.
1900         * stdio-common/_itowa.c: Likewise.
1902         * include/gmp.h: New file with internal prototypes.
1904         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
1905         here to...
1906         * include/setjmp.h: ...here.
1908         * locale/Makefile (routines): Remove codeset_name since it's not
1909         needed anywhere.
1911         * locale/codeset_name.c: Removed.
1913 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
1915         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
1917 2000-12-05  Andreas Jaeger  <aj@suse.de>
1919         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
1921 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1923         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
1924         available.
1926 2000-12-05  Andreas Jaeger  <aj@suse.de>
1928         * nss/test-netdb.c: Mark local functions as static to avoid
1929         warnings.
1930         (main): Use return to silence warning.
1932         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
1934         * stdio-common/test-popen.c: Mark local functions as static to
1935         avoid warnings.
1936         (main): Use return to silence warning.
1938         * stdlib/testsort.c (compare): Mark as static to avoid warning.
1940         * assert/test-assert.c: Mark local functions as static to avoid
1941         warnings.
1942         * assert/test-assert-perr.c: Likewise.
1944         * math/libm-test.inc (main): Use return to silence warnings.
1946 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
1948         * math/fenv.h: Fix typo in comment.
1950         * math/test-misc.c (main): Add a few more over and underflow tests
1951         for scalb.
1953         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
1954         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1955         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1956         * math/w_scalb.c: Don't use matherr except in SVID mode.
1957         * math/w_scalbf.c: Likewise.
1958         * math/w_scalbl.c: Likewise.
1959         * math/test-misc.c: Add test for NaN and scalbl.
1960         Reported by Fred J. Tydeman <tydeman@tybor.com>.
1962 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
1964         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
1965         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
1966         * include/libc-symbols.h (strong_alias): Define special version
1967         for HAVE_ASM_GLOBAL_DOT_NAME.
1968         (weak_alias): Likewise.
1969         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
1970         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
1971         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
1972         getutxline, pututxline, and utmpxname.
1973         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
1974         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
1975         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
1976         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
1977         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
1978         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
1979         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
1980         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
1981         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
1982         Patches by Michael Keezer <mkeezer@redhat.com>.
1984 2000-12-04  H.J. Lu  <hjl@gnu.org>
1986         * configure.in: Change --with-oldest-abi=ABI to
1987         --enable-oldest-abi=ABI.
1989 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
1991         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
1992         fwprintf instead of fprintf.
1994 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
1996         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
1997         DECIMAL_DIG definitions.
1998         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
1999         * sysdeps/generic/bits/mathdef.h: Likewise
2000         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
2001         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
2002         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
2003         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
2004         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
2005         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
2007 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
2009         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
2011         * math/atest-exp.c: Mark local functions as static to avoid warnings.
2012         * math/atest-exp2.c: Likewise.
2013         * math/atest-sincos.c: Likewise.
2015         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
2016         Reported by Fred J. Tydeman <tydeman@tybor.com>.
2018         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
2019         the handling of denormalized numbers.
2021         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
2022         numbers on x86.
2023         * sysdeps/i386/fpu/fpclassifyl.c: New file.
2025         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
2026         pseudo denormal representation of LDBL_MIN.
2028         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
2029         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
2031         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
2032         * iconvdata/jis0208.c: Likewise.
2033         * iconvdata/jis0212.c: Likewise.
2034         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2036         * math/test-misc.c (main): More tests for frexp and some for
2037         fpclassify and isnormal.
2039         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
2040         test for subnormal.
2041         Reported by Fred J. Tydeman <tydeman@tybor.com>.
2043         * math/test-misc.c (main): Add tests for frexp.
2044         Reported by Fred J. Tydeman <tydeman@tybor.com>.
2045         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
2047 2000-12-02  H.J. Lu  <hjl@gnu.org>
2049         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
2050         '\0' to wcschr.
2052 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
2054         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
2055         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2056         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2058         * sysdeps/generic/glob.c: Adjust types of several variables to
2059         avoid warnings.
2061 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
2063         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
2065 2000-11-30  Roland McGrath  <roland@frob.com>
2067         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
2068         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
2069         allow multiple instances using the same function name in one file.
2071 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
2073         * configure.in: Correct test for pserver CVS access.
2075 2000-11-28  H.J. Lu  <hjl@gnu.org>
2077         * libio/libio.h: Remove extra "#if ... #endif".
2079 2000-11-29  H.J. Lu  <hjl@gnu.org>
2081         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
2083 2000-12-01  H.J. Lu  <hjl@gnu.org>
2085         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
2086         * nss/getXXent_r.c: Likewise.
2087         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2089 2000-11-30  H.J. Lu  <hjl@gnu.org>
2091         * scripts/abi-versions.awk (oldest_abi): New variable.
2092         Handle the oldest ABI supported.
2094         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
2095         for scripts/abi-versions.awk.
2097         * configure.in: Add --with-oldest-abi=ABI.
2098         * configure: Rebuild.
2100         * config.make.in (oldest-abi): New.
2102         * config.h.in (GLIBC_OLDEST_ABI): New.
2104         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
2106 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
2108         * locale/setlocale.c (setname): Free for all categories, not just
2109         LC_ALL.
2110         (setlocale): Store a copy of string passed by user, not the string
2111         itself.
2113 2000-11-30  Roland McGrath  <roland@frob.com>
2115         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
2116         rather than _hurd_fd_subinit, so it happens after it's safe to use
2117         libc facilities like malloc.
2119 2000-11-28  Andreas Jaeger  <aj@suse.de>
2121         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
2122         declaration, adjust declaration of __syscall_getdents to match
2123         kernel.
2125 2000-11-29  H.J. Lu  <hjl@gnu.org>
2127         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
2129 2000-11-29  Andreas Jaeger  <aj@suse.de>
2131         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
2133 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
2135         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
2136         * dlfcn/defaultmod2.c: Likewise.
2137         * dlfcn/dlopen.c: Likewise.
2138         * dlfcn/dlopenold.c: Likewise.
2139         * dlfcn/failtestmod.c: Likewise.
2140         * dlfcn/glreflib1.c: Likewise.
2141         * dlfcn/glreflib2.c: Likewise.
2142         * dlfcn/eval.c: Likewise.  Add attributes.
2144         * ctype/ctype-extn.c: Define isblank and not __isblank.
2146         * time/strftime.c: Add const where necessary to avoid warnings.
2147         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
2149 2000-11-22  Paul Eggert  <eggert@twinsun.com>
2151         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
2152         size of (size_t) -1; it's not portable.
2154 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
2156         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
2157         crappy i486 FPU.
2158         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
2160 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
2162         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
2164         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
2165         _mcount is required by profiled binaries.
2167         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
2168         * sysdeps/ia64/machine-gmon.h: ...here.
2170 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
2172         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
2173         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
2174         and ibm1129.h.
2175         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
2176         IBM1129.
2177         * iconvdata/ibm922.c: New file.
2178         * iconvdata/ibm922.h: New file.
2179         * iconvdata/ibm1124.c: New file.
2180         * iconvdata/ibm1124.h: New file.
2181         * iconvdata/ibm1129.c: New file.
2182         * iconvdata/ibm1129.h: New file.
2183         * iconvdata/testdata/IBM922: New file.
2184         * iconvdata/testdata/IBM922..UTF8: New file.
2185         * iconvdata/testdata/IBM1124: New file.
2186         * iconvdata/testdata/IBM1124..UTF8: New file.
2187         * iconvdata/testdata/IBM1129: New file.
2188         * iconvdata/testdata/IBM1129..UTF8: New file.
2190 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
2192         * catgets/gencat.c (normalize_line): Take extra parameter with escape
2193         character.  Change callers.
2194         (open_conversion): Determine mapping of 0x5c as wchar_t value.
2195         * catgets/Makefile: Add rules to build and run test-gencat.
2196         * catgets/sample.SJIS: New file.
2197         * catgets/test-gencat.c: New file.
2198         * catgets/test-gencat.sh: New file.
2199         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2201 2000-11-28  Andreas Jaeger  <aj@suse.de>
2203         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
2204         Linux version.
2206 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
2208         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
2210 2000-11-28  Andreas Jaeger  <aj@suse.de>
2212         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
2213         __flexarr.
2214         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
2215         Likewise.
2217 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
2219         * misc/getusershell.c: Make strings in okshells array const.
2220         * misc/regexp.c: Add const to cast to avoid warnings.
2221         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
2222         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
2223         __setresuid.
2224         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
2225         setresgid.
2226         * misc/error.c: Add prototypes for __error and __error_at_line.
2227         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
2228         statement to avoid warning.
2229         * test-skeleton.c: Mark timeout_handler with noreturn.
2230         * iconv/skeleton.c (get16u): Add const to cast.
2231         (get32u): Likewise.
2232         * iconvdata/gb18030.c: Likewise.
2233         * iconvdata/iso-2022-cn-ext.c: Likewise.
2234         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
2235         * iconvdata/big5.c: Likewise.
2236         * iconvdata/big5hkscs.c: Likewise.
2237         * iconvdata/iso_6937.c: Likewise.
2238         * iconvdata/iso_6937-2.c: Likewise.
2239         * iconvdata/t.61.c: Likewise.
2240         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
2241         * iconvdata/unicode.c: Likewise.
2242         * iconvdata/utf-16.c: Likewise.
2243         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
2244         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
2245         with little code shuffling.
2247         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
2248         the problems introduced when the user selects -O3.
2250         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
2251         * misc/sys/cdefs.h: Define __flexarr.
2252         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
2254         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
2255         * iconv/skeleton.c: Likewise.
2256         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
2257         * iconv/loop.c (get16): Add const to cast.
2258         (get32): Likewise.
2260 2000-11-27  Andreas Jaeger  <aj@suse.de>
2262         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
2263         to avoid warning.
2264         * login/programs/utmpdump.c (print_entry): Likewise.
2266 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
2268         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
2269         in a single asm as they may be used to access other stored
2270         registers.
2271         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2273 2000-11-27  Andreas Jaeger  <aj@suse.de>
2275         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
2276         * rt/tst-aio64.c: Likewise.
2278 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
2280         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
2281         for gencat run.
2282         (libc.cat): Likewise.
2283         * catgets/gencat.c: Implement handling of message catalogs encoded
2284         with stateful character sets.
2285         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2287 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
2289         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
2291         * inet/getnameinfo.c: Adjust casts to avoid warnings.
2292         * inet/rcmd.c: Likewise.
2293         * inet/ruserpass.c: Likewise.
2294         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
2295         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2296         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
2297         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
2298         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
2299         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
2300         * include/aliases.h: Add prototypes for internal __getalias* functions.
2301         * include/netdb.h: Add prototypes for __old_gethostent_r,
2302         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
2303         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
2304         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
2305         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
2306         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
2307         __old_getrpcbynumber_r, __old_getrpcent_r.
2309         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
2310         __getrpcent_r prototypes.
2312 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
2314         * string/strcoll.c: Add casts to avoid warnings.
2315         * string/strnlen.c: Likewise.
2316         * string/strxfrm.c: Likewise.
2317         * sysdeps/generic/_strerror.c: Likewise.
2318         * sysdeps/generic/memrchr.c: Likewise.
2319         * sysdeps/generic/strcasestr.c: Likewise.
2320         * sysdeps/generic/strstr.c: Likewise.
2322         * locale/weight.h (findidx): Add const to cast to avoid warning.
2324         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
2325         * elf/loadtest.c: Likewise.
2326         * elf/multiload.c: Likewise.
2327         * elf/next.c: Likewise.
2328         * elf/nodelete.c: Likewise.
2329         * elf/noload.c: Likewise.
2330         * elf/order.c: Likewise.
2331         * elf/origtest.c: Likewise.
2332         * elf/preloadtest.c: Likewise.
2333         * elf/restest1.c: Likewise.
2335         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
2336         parameter of asm must be in %ecx.
2338         * string/tester.c: Mark test functions as static to avoid warnings.
2340         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
2341         preserve value over different gconv-modules files.
2343 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
2345         * locale/findlocale.c: Add casts to avoid warnings.
2346         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
2347         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
2348         to avoid warnings.
2349         * misc/tsearch.c (const_node): New type.
2350         (trecurse): Correct casts to avoid warnings.
2351         (__twalk): Likewise.
2352         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
2353         LONG_BIT.
2355         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
2357         * test-skeleton.c: Mark local functions as static to avoid warnings.
2359 2000-11-23  H.J. Lu  <hjl@gnu.org>
2361         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
2362         support the background job.
2363         Fix a typo.
2365 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
2367         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
2368         has same names but lower cost.
2370 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
2372         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
2373         which never occur during bootstrap.
2374         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2376 2000-11-23  Andreas Jaeger  <aj@suse.de>
2378         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
2380         * nss/Versions: Remove _nss_files_getipnodebyname_r.
2382         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
2384 2000-11-18  Martin Buchholz  <martin@xemacs.org>
2386         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
2387         (called++) return;'
2389 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
2391         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
2393         * csu/abi-note.S: Correct comment for operating system number.
2395 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
2397         * Versions.def: Add GLIBC_2.2.1 for glibc.
2399 2000-11-22  Andreas Schwab  <schwab@suse.de>
2401         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
2402         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
2404 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
2406         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
2407         absolute time for pthread_cond_timedwait call.
2408         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
2410         * rt/Makefile (tests): Add tst-aio6.
2411         * rt/tst-aio6.c: New file.
2413 2000-11-23  Andreas Jaeger  <aj@suse.de>
2415         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
2417 2000-11-22  Andreas Jaeger  <aj@suse.de>
2419         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
2421 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2423         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
2425 2000-11-21  Andreas Schwab  <schwab@suse.de>
2427         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
2428         * sysdeps/arm/setjmp.S: Likewise.
2429         * sysdeps/arm/fpu/setjmp.S: Likewise.
2430         * sysdeps/i386/setjmp.S: Likewise.
2431         * sysdeps/i386/elf/setjmp.S: Likewise.
2432         * sysdeps/s390/setjmp.S: Likewise.
2433         * sysdeps/s390/elf/setjmp.S: Likewise.
2434         * sysdeps/sh/sh3/setjmp.S: Likewise.
2435         * sysdeps/sh/sh4/setjmp.S: Likewise.
2436         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
2437         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2438         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
2439         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
2441 2000-11-21  Andreas Jaeger  <aj@suse.de>
2443         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
2444         NORETURN, fix parameter list.
2446         * string/bug-strncat1.c (main): Fix typo.
2447         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
2449 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
2451         * configure.in: Add --enable-all-warnings.
2452         * config.make.in (all-warnings): New variable.
2453         * Makeconfig (+gccwarn): Define with many more warnings if
2454         all-warnings is yes.
2456 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
2458         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
2459         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
2460         * malloc/tst-valloc.c (main): Cast valloc return value to long.
2461         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
2462         * math/test-fpucw.c (main): Use %lx in format string, cast
2463         control words to long.
2464         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
2465         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
2466         large that it is unsigned warning.
2468         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
2469         it to long on sparc64.
2471 2000-11-20  Andreas Jaeger  <aj@suse.de>
2473         * nscd/nscd.h (termination_handler): Add noreturn attribute.
2474         (receiv_print_stats): Likewise.
2476         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
2478 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
2480         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
2482         * csu/gmon-start.c: Always have prototype for __gmon_start.
2483         * csu/version.c: Add prototypes for __libc_print_version and
2484         __libc_main.
2485         * iconv/gconv.c: Include gconv_int.h and gconv.h.
2486         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
2487         and __to_name.
2488         * iconv/gconv_builtin.h: Add ASCII module definitions.
2489         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
2490         (add_module): Add cast to avoid warning.  Rework construction of
2491         strings for new module.
2492         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
2493         (derivation_compare): Likewise.
2494         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
2495         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
2496         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
2497         (struct gconv_alias): Remove const from fromname and toname.
2498         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
2499         for loop functions.
2500         (internal_ucs4_loop): Use correct const-ness.
2501         (ucs4_internal_loop): Likewise.
2502         (internal_ucs4le_loop): Likewise.
2503         (ucs4le_internal_loop_single): Likewise.
2504         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
2505         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
2506         assignments appropriately.
2507         (struct known_trans): Remove const from fname.
2508         (trans_compare): Make s1 and s2 const.
2509         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
2510         avoid warning.
2511         * iconv/skeleton.c: Remove cast in calls of loop functions.
2512         * iconvdata/gconv-modules: Remove US-ASCII definitions.
2513         * iconvdata/iso646.c: Remove US_ASCII support.
2514         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
2515         * include/unistd.h: Add __libc_check_standard_fds prototype.
2516         * string/bits/string2.h (__mempcpy_args): Add const to casts.
2517         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
2518         _fini.
2519         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
2520         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
2521         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
2522         warning.
2523         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
2524         __libc_init_first and _dl_start.
2525         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
2526         (DCIGETTEXT): Make domaindata variable const.
2527         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
2528         to avoid warning.
2530 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
2532         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
2534         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
2535         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
2536         __unused? members.
2538         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
2539         value defined in /usr/include/asm-mips/fcntl.h.
2541 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
2543         * stdio-common/Makefile (tests): Add test-vfprintf.
2544         (test-vfprintf-ENV): New variable.
2545         * stdio-common/test-vfprintf.c: New file.
2547         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
2549         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
2550         (tst-mbrtowc-ENV): New variable.
2551         (tst-wcrtomb-ENV): New variable.
2552         * wcsmbs/tst-mbrtowc.c: New file.
2553         * wcsmbs/tst-wcrtomb.c: New file.
2555 2000-11-16  Andreas Jaeger  <aj@suse.de>
2557         * manual/install.texi (Tools for Compilation): Update
2558         documentation for GCC 2.95.2.
2560 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
2562         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
2563         if IPv4 and IPv6 requests timed out.
2565 2000-11-18  Akim Demaille  <akim@epita.fr>
2567         * malloc/obstack.h: Formatting changes.
2568         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
2569         prevents type checking.
2570         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
2571         cast the value to (void *): assigning a `foo *' to a `void *'
2572         variable is valid.
2573         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
2575 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
2577         * scripts/config.guess: Update from upstream maintainer.
2578         * scripts/config.sub: Likewise.
2580 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
2582         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
2583         * libio/freopen64.c (freopen64): Likewise.
2584         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2586         * libio/Makefile: Add rules to build and run test-freopen.
2587         * libio/test-freopen.c: New file.
2588         * libio/test-freopen.sh: New file.
2590 2000-11-15  H.J. Lu  <hjl@gnu.org>
2592         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
2593         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
2594         (DL_DT_FINI_ADDRESS): Likewise.
2596         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
2597         return type to ElfW(Addr).
2598         (_dl_function_address): New prototype.
2599         (DL_FUNCTION_ADDRESS): Defined.
2600         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
2601         (DL_DT_FINI_ADDRESS): Likewise.
2603         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
2605         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
2606         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
2608         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
2609         (_dl_function_address): This.
2611         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
2612         function pointer for DT_FINI.
2613         * elf/dl-close.c (_dl_close): Likewise.
2615         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
2616         function pointer for DT_INIT.
2618 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
2620         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
2621         end of wexpbuf buffer.
2623 2000-11-16  Andreas Jaeger  <aj@suse.de>
2625         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
2626         definition of F_GETLK, F_SETLK, F_SETLKW.
2628 2000-11-16  Andreas Jaeger  <aj@suse.de>
2630         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
2631         it's not defined.
2633 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
2635         * dlfcn/default.c (main): Add test for dladdr of main returning
2636         argv[0] in dli_fname field.
2638 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
2640         * Makeconfig (run-program-prefix): Move test-static test into the
2641         variable.
2643         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
2644         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
2645         schedule instructions.
2646         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
2647         schedule instructions, fix a bug in copying auxiliary data.
2649 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
2651         * manual/startup.texi (Program Arguments): Fix type of main's envp
2652         parameter.
2653         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
2655         * iconvdata/gconv-modules: Add CP950 alias.
2657 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
2659         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
2660         syscall-list.h goal.
2661         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
2663 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
2665         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
2667         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
2668         output of program.
2670         * intl/tst-gettext2.c: Set C locale if setting other locale
2671         failed.  Use gettext() not _().
2673         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
2674         successfully loaded a new locale.
2676 2000-11-13  Andreas Jaeger  <aj@suse.de>
2678         * configure.in: Require gcc 2.95 or newer.
2680 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
2682         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
2683         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
2685 2000-11-11  Jim Meyering  <meyering@lucent.com>
2687         * string/strndup.c (strndup): Cast return value to `char *'.
2689 2000-11-15  Jim Meyering  <meyering@ascend.com>
2691         * sysdeps/generic/memchr.c: Remove some useless parentheses.
2692         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
2693         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
2694         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
2695         Also #undef __memchr.
2696         Use `weak_alias' only if it's defined.
2698 2000-11-10  H.J. Lu  <hjl@gnu.org>
2700         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
2702 2000-11-15  Andreas Jaeger  <aj@suse.de>
2704         * elf/chroot_canon.c: Include <stdint.h>.
2706         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
2707         (print_entry): Likewise.
2708         (add_to_cache): Likewise.
2710         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
2712         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
2713         (path_hwcap): Likewise.
2714         (search_dir): Likewise.
2716         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
2718         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
2720         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
2721         (_dl_platform_string): New.
2722         (_DL_HWCAP_PLATFORM): New.
2723         (_dl_string_platform): New.
2724         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2726         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
2727         (_dl_string_platform): New.
2728         (_DL_HWCAP_PLATFORM): New.
2729         (_dl_platform_string): New.
2731         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
2732         recognition.
2733         (_DL_HWCAP_COUNT): New.
2734         (_dl_string_platform): New.
2735         (_DL_HWCAP_PLATFORM): New.
2736         (_dl_platform_string): New.
2738 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
2740         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
2742 2000-11-14  Andreas Jaeger  <aj@suse.de>
2744         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
2746 2000-11-13  Roland McGrath  <roland@frob.com>
2748         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
2750 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
2752         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
2753         underrun and make sure the result is null terminated even if there
2754         is no trailing newline.
2756 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
2758         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2760 2000-11-10  H.J. Lu  <hjl@gnu.org>
2762         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
2764 2000-11-10  Andreas Jaeger  <aj@suse.de>
2766         * elf/ldconfig.c (create_links): Fix alloca calculation.
2767         Patch by Ben Collins <bcollins@debian.org>.
2769 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
2771         * inet/getnameinfo.c (getnameinfo): Use correct destination
2772         parameter for if_indextoname.
2773         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
2775 2000-11-09  H.J. Lu  <hjl@gnu.org>
2777         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
2778         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
2779         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
2780         xdr_keystatus.
2782         * time/Versions (GLIBC_2.1): Move getitimer to...
2783         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
2785 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
2787         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
2788         "make install", to work around a binary incompatibility between
2789         glibc 2.1 and glibc 2.2 gconv modules.
2791 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
2793         * intl/locale.alias: Add thai.
2794         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
2796 2000-11-07  Akim Demaille  <akim@epita.fr>
2798         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
2799         argument `data' for consistency with the prototypes.
2800         Qualify it `const'.
2801         (obstack_copy, obstack_copy0): Rename the second argument as
2802         `address' for consistency.  Qualify it `const'.
2803         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
2804         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
2805         `const' their input argument (`data' or `address').
2806         Adjust the corresponding macros to include `const' in casts.
2808 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2810         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
2811         target family.
2813 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2815         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
2816         socket creation.
2818 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2820         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
2821         ai_protocol by internal table if service was not given.
2823 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2825         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
2826         numerical port was specified with protocol without socktype.
2828 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2830         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
2832 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2834         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
2836 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2838         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
2839         sin6_scope_id field.
2841 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2843         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
2845 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2847         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
2849 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2851         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
2852         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
2854 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
2856         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
2857         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
2859 2000-11-09  H.J. Lu  <hjl@gnu.org>
2861         * io/Versions (GLIBC_2.1.1): Remove lockf64.
2864 See ChangeLog.11 for earlier changes.