(__bswap_32): Add cast to avoid invalid asm.
[glibc/pb-stable.git] / ChangeLog
blobf19b7d83d6c85d0b0e8684eaf21a51ecda02a06b
1 2001-01-17  Andreas Jaeger  <aj@suse.de>
3         * nscd/connections.c (nscd_run): Use proper format specifier.
5 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
7         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
8         x86_platforms data into new file after prepending _dl_.  Change
9         users.
10         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
11         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
12         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
13         dl-procinfo.c.
15         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
17         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
18         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
19         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
20         (_setjmp): Likewise.
21         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
22         * sysdeps/i386/bsd-setjmp.S: Real implementation.
23         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
24         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
25         version.
27 2001-01-16  Andreas Jaeger  <aj@suse.de>
29         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
30         misapplied last patch.
32 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
34         * stdlib/random.c (__initstate): Clean up a cast.
35         (__setstate): Likewise.
37         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
38         syscall handling.  The generic Linux version should work.
40 2001-01-15  Andreas Jaeger  <aj@suse.de>
42         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
44         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
46 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
48         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
49         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
50         New functions.
51         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
52         If number is 0, list all.
53         (services_keys): Likewise.  Lookup aliases as well.
54         (databases): New table.
55         (build_doc): Prepare argp doc text with list of supported databases.
56         (main): Change to table driven processing.
58 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
60         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
61         functions.
63 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
65         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
66         encode value which does not fit in the 32bit type.
68 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
70         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
71         Change type of CTX to (struct sigcontext *).
72         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
73         (GET_FRAME): Likewise.
74         (GET_STACK): Likewise.
75         (SIGCONTEXT): Likewise. Add 2nd arg _code.
76         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
78 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
80         * manual/texinfo.tex: Update from upstream version.
82 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
84         * inet/ether_ntoh.c (lookup_function): Change arguments to match
85         _nss_*_getntohost_r prototype.
86         (ether_ntohost): Pass errno pointer to NSS function.
88 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
90         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
91         (MAP_LOCKED): New definition.
92         (MAP_NORESERVE): New definition.
94 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
96         * assert/assert.h: Use static_cast instead of C-style cast for C++.
97         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
99 2001-01-12  Ben Collins  <bcollins@debian.org>
101         * sysdeps/generic/segfault.c (install_handler): Use access, not
102         __access.
104 2001-01-12  Andreas Jaeger  <aj@suse.de>
106         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
107         * posix/wordexp.c (do_parse_glob): Likewise.
108         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
109         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
110         * elf/dl-open.c (_dl_open): Likewise.
111         * elf/dl-close.c (_dl_close): Likewise.
112         * elf/dl-load.c (_dl_map_object): Likewise.
113         * iconv/iconv_prog.c (process_fd): Likewise.
114         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
116         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
117         of a zero-length array.
119 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
121         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
122         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
123         * stdlib/cxa_on_exit.c: Remove.
124         * stdlib/Makefile: Revert last patch.
125         * stdlib/Versions: Likewise.
126         * include/stdlib.h: Likewise.
127         * stdlib/exit.h: Revert last patch.
128         (struct exit_function): Add second argument to cxa fn.
129         * stdlib/exit.c: Revert last patch.
130         (exit): Add hidden second argument.
132 2001-01-11  H.J. Lu  <hjl@gnu.org>
134         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
135         * elf/dl-open.c (_dl_open): Here.
136         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
137         Make it static.
138         (_dl_static_init): Initialize the variables every time when possible.
139         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
140         Undefine it first.
142 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
144         * stdlib/Makefile (routines): Add cxa_on_exit.
145         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
146         * stdlib/cxa_on_exit.c: New file.
147         * include/stdlib.h: Add prototype for __cxa_on_exit.
148         * stdlib/exit.c: Handle ef_cxa2.
149         * stdlib/exit.h (enum): Add ef_cxa2.
150         (struct exit_function): Add cxa2.
152         * Versions.def [ld]: Add GLIBC_2.2.1.
154 2001-01-10  H.J. Lu  <hjl@gnu.org>
156         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
157         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
158         dl-static.
159         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
160         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
161         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
162         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
163         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
165 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
167         * libio/stdio.h: Remove definition of off_t.
169 2001-01-11  Andreas Jaeger  <aj@suse.de>
171         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
172         <mkuhn@acm.org>.
174 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
176         * sunrpc/Makefile (distribute): Add errqueue.h.
178 2001-01-10  H.J. Lu  <hjl@gnu.org>
180         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
181         r9, r10 and r11 for language specific registers.
183 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
185         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
186         UDP socket.
187         (clntudp_call): Handle MSG_ERRQUEUE.
188         * sysdeps/generic/errqueue.h: New file.
189         * sysdeps/unix/sysv/linux/errqueue.h: New file.
191 2001-01-10  H.J. Lu  <hjl@gnu.org>
193         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
195 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
197         * CONFORMANCE: Update.
199 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
201         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
202         Minimal cleanups.  Add assert to ensure memory handling is correct.
204         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
205         Reported by Ben Collins <bcollins@debian.org>.
207         * time/strftime.c (my_strftime): Mark previous GNU extensions
208         which are now in C99 as such.
210 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
212         * elf/rtld.c (process_envvars): Place output files for profiling
213         in SUID binaries in /var/profile.
215         * elf/dl-load.c (_dl_map_object): Don't look in cache for
216         preloading in SUID binaries.
218         * elf/dl-profile.c (_dl_start_profile): Open the output file with
219         O_NOFOLLOW if possible.
221         * include/stdlib.h: Add __posix_openpt declaration.
222         * stdlib/stdlib.h: Add posix_openpt declaration.
223         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
224         * sysdeps/generic/getpt.c: Define posix_openpt.
225         * sysdeps/unix/bsd/getpt.c: Likewise.
226         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
228         * time/Makefile (tests): Add tst-mktime.
229         * time/tst-mktime.c: New file.
231         * posix/tst-dir.c (main): One more mkdir() test.
233         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
234         Remove getpagesize syscall.  We assume that the pagesize is always
235         determined from the auxiliary vector.
237         * intl/dcigettext.c: Fix a few warnings.
238         Patch by Bruno Haible <haible@ilog.fr>.
240 2001-01-08  Andreas Jaeger  <aj@suse.de>
242         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
243         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
245 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
247         * sysdeps/generic/segfault.c (install_handler): Check output file
248         name with access().
250         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
251         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
253         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
255         * malloc/memusage.c (me): Use access() to determine whether we
256         should write the output file or not.
258         * libio/bits/stdio.h (printf): Define macro to map printf call to
259         fprintf which gcc can optimize.
260         * stdio-common/printf.c: Undefine printf.
262 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
264         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
265         patch.  We must use unsigned int for l member of union.
267         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
268         _dl_aux_init for shared libraries.
270         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
271         * sysdeps/gnu/glob64.c: ...here.  New file.
273 2001-01-07  Ben Collins  <bcollins@debian.org>
275         * manual/examples/longopt.c: Make the "struct option" a little
276         more like it should be, adding usage of required_argument,
277         noargument and such, and also setting the options string right.
279         * manual/sysinfo.texi (Load Average): New section, documents
280         getloadavg().
282 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
284         * version.h (VERSION): Bump to 2.2.1.
286         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
287         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
288         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
289         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
290         * Makefile (distribute): Add include/libc-internal.h.
291         * libio/Makefile (distribute): Avoid overwriting.
293         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
294         buffer and table handling.
296 2001-01-05  H.J. Lu  <hjl@gnu.org>
298         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
299         vector checking to ...
300         (_dl_aux_init): Here. New function. Defined only if
301         HAVE_AUX_VECTOR is defined.
303         * sysdeps/generic/libc-start.c (__libc_start_main): Call
304         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
306         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
307         _dl_aux_init.
309         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
310         (HAVE_AUX_VECTOR): Defined.
311         (_dl_aux_init): Declared.
313 2001-01-05  Ben Collins  <bcollins@debian.org>
315         * manual/string.texi (Finding Tokens in a String): Document XPG
316         basename() and dirname(), as well as GNU basename().
318 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
320         * Makeconfig (preprocess-version): Replace -traditional with
321         -x assembler-with-cpp.
323 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
325         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
326         for GCC 2.97 or later.
328 2001-01-05  Ben Collins  <bcollins@debian.org>
330         * manual/stdio.texi (getline): Clarify the return value in the
331         case of EOF being reached before a newline.
333 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
335         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
336         FALSE otherwise.
337         (pmap_set, pmap_unset): Check __get_myaddress return value.
339 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
341         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
342         (struct ether_addr): Declare ether_addr_octet member as
343         `u_int8_t'.  Add __attribute__ ((__packed__)).
345 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
347         * sysdeps/mach/hurd/readdir64.c: New file.
348         * sysdeps/mach/hurd/readdir64_r.c: New file.
350 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
352         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
353         `struct statfs' and `struct statvfs' being identical.
354         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
356 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
358         * sysdeps/mach/hurd/fstatfs64.c: New file.
359         * sysdeps/mach/hurd/fstatvfs64.c: New file.
360         * sysdeps/mach/hurd/statfs64.c: New file.
361         * sysdeps/mach/hurd/statvfs64.c: New file.
362         * sysdeps/mach/hurd/statfsconv.c: New file.
363         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
365 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
367         * iconv/skeleton.c: Reset outbuf for next round of the loop.
368         Reported by Owen Taylor <otaylor@redhat.com>.
369         * iconv/Makefile (tests): Add tst-iconv3.
370         * iconv/tst-iconv3.c: New file.
372         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
373         * iconvdata/ibm933.c: Likewise.
374         * iconvdata/ibm935.c: Likewise.
375         * iconvdata/ibm937.c: Likewise.
376         * iconvdata/ibm939.c: Likewise.
377         * iconvdata/ibm930.h: Adjust single byte table for optimization.
378         * iconvdata/ibm933.h: Likewise.
379         * iconvdata/ibm935.h: Likewise.
380         * iconvdata/ibm939.h: Likewise.
382         * iconvdata/testdata/IBM930: Add misssing SI.
383         * iconvdata/testdata/IBM933: Likewise.
384         * iconvdata/testdata/IBM935: Likewise.
385         * iconvdata/testdata/IBM937: Likewise.
386         * iconvdata/testdata/IBM939: Likewise.
388 2001-01-06  Andreas Jaeger  <aj@suse.de>
390         * configure.in: Check for old add-ons that shouldn't be used with
391         current glibc anymore.
393 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
395         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
396         instead of -1 on failure.  Don't forget to copy file name into
397         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
398         of the directory.
400 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
402         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
403         copy st_atime member.
405 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
407         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
408         for searches from the root directory.
409         Reported by loris <loris@iol.it> [PR libc/1991].
410         * io/Makefile (tests): Add bug-ftw1.
411         * io/bug-ftw1.c: New file.
413         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
414         if it is not available.  Instead use it only if it is available.
415         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
417         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
418         overflowing output buffer.
419         (internal_ucs4_loop_unaligned): Likewise.
420         (ucs4_internal_loop): Likewise.
421         (ucs4_internal_loop_unaligned): Likewise.
422         (internal_ucs4le_loop): Likewise.
423         (internal_ucs4le_loop_unaligned): Likewise.
424         (ucs4le_internal_loop): Likewise.
425         (ucs4le_internal_loop_unaligned): Likewise.
426         Reported by Owen Taylor <otaylor@redhat.com>.
427         * iconv/Makefile (tests): Add tst-iconv2.
428         * iconv/tst-iconv2.c: New file.
430 2001-01-04  H.J. Lu  <hjl@gnu.org>
432         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
433         (_dl_clktck): Declared.
434         (non_dynamic_init): Take 3 arguments.
435         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
437 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
439         Finish implementation of plural form handling.
440         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
441         'domainname'.  Remove 'plindex' field. Add 'domain' and
442         'translation_length' fields.
443         (transcmp): Don't compare 'plindex' fields.
444         (plural_lookup): New function.
445         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
446         plural_eval before the translation and its catalog file have been
447         found. Remove plindex from cache key.  Add 'translation_length' and
448         'domain' to cache result.
449         (_nl_find_msg): Remove index argument, return length of translation
450         to the caller instead.  Weaken comparison of string lengths, to account
451         for plural entries.  Call iconv() on the entire result string, not
452         only on the portion needed so far.
453         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
454         argument.
455         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
457 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
459         * intl/plural.y (yylex): Minimal improvement in number scanner.
461 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
463         * intl/plural.y: Include config.h. Needed to define 'inline' away for
464         C compilers that don't support it.
465         (yylex): Don't use gcc specific case range syntax.
466         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
467         compilers.
469 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
471         * intl/finddomain.c: Remove unneeded includes.
473 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
475         * intl/localealias.c (memcpy): Return first argument, just like the
476         real memcpy function does.
477         * intl/bindtextdom.c (memcpy): Likewise.
478         * intl/finddomain.c (memcpy): Likewise.
479         * intl/l10nflist.c (memcpy): Likewise.
480         * intl/textdomain.c (memcpy): Likewise.
481         From Paul Eggert <eggert@twinsun.com>.
483 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
485         * resolv/resolv.h (struct __res_state): Add nsinit field.
486         * resolv/res_send.c (res_nsend): Use it instead of nscount.
487         * resolv/res_init.c (__res_vinit): Initialize it.
488         (res_nclose): Clear it instead of nscount.
490 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
492         * malloc/mtrace.pl: Fix matching of addresses.
493         Patch by Aharon Robbins <arnold@skeeve.com>.
495         * Versions.def (ld): Add GLIBC_2.2.
497         * catgets/gencat.c: Copyright 2001.
498         * csu/version.c: Likewise.
499         * debug/catchsegv.sh: Likewise.
500         * debug/xtrace.sh: Likewise.
501         * elf/ldconfig.c: Likewise.
502         * elf/sprof.c: Likewise.
503         * iconv/iconv_prog.c: Likewise.
504         * locale/locale.c: Likewise.
505         * locale/localedef.c: Likewise.
506         * malloc/memusage.sh: Likewise.
507         * malloc/mtrace.pl: Likewise.
508         * nscd/nscd.c: Likewise.
509         * posix/getconf.c: Likewise.
511 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
513         * include/stdio.h: Only provide __getwc_unlocked prototype if
514         USE_IN_LIBIO is defined.
516 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
518         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
519         handling.
521 2001-01-03  Andreas Schwab  <schwab@suse.de>
523         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
524         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
526         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
527         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
528         strtoull alias.
529         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
530         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
531         wcstoull alias.
533         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
534         directory.
535         * sysdeps/generic/strtol_l.c: Likewise.
536         * sysdeps/generic/strtoul_l.c: Likewise.
537         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
539         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
540         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
541         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
542         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
544 2001-01-04  Andreas Jaeger  <aj@suse.de>
546         * nss/nsswitch.c: Include files for missing prototypes, remove
547         buggy declaration of prototypes.
549 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
551         * resolv/Versions: Fix bracing.
552         * sysdeps/powerpc/soft-fp/Versions: Likewise.
553         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
555 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
557         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
559 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
561         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
562         Suggested by Minko Markov <mmarkov@home.com>.
564 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
566         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
567         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
568         the failing symbol.
569         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
571 2001-01-02  Ben Collins  <bcollins@debian.org>
573         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
574         if TZ is not set and TZDEFAULT is not present.
576 2001-01-01  Ben Collins  <bcollins@debian.org>
578         * string/strings.h: Make sure we declare our functions even if
579         string.h is already included, based on whether or not __USE_BSD is
580         defined.
582 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
584         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
585         other dlopen() and dlsym().
586         Based on a patch by Ben Collins <bcollins@debian.org>.
588 2001-01-02  Andreas Jaeger  <aj@suse.de>
590         * dlfcn/errmsg1.c (main): Call dlerror initially.
591         Reported by Ben Collins <bcollins@debian.org>.
593 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
595         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
596         value is ignored if the selected locale is the C locale.
597         * intl/tst-gettext.c: Set locale for above change.
598         * intl/tst-translit.c: Likewise.
600 2001-01-02  Andreas Jaeger  <aj@suse.de>
602         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
603         (_IO_switch_to_wget_mode): Likewise.
604         (_IO_sputbackwc): Likewise.
605         (_IO_sungetwc): Use wint_t for result.
607         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
609         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
610         signedness.
612         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
613         to (int) to avoid warnings.
614         * stdio-common/printf_fp.c (putc): Likewise.
615         * stdio-common/printf_size.c (putc): Likewise.
617         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
618         constant unsigned.
620 2001-01-01  Andreas Jaeger  <aj@suse.de>
622         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
624 2000-12-31  Andreas Jaeger  <aj@suse.de>
626         * include/libc-internal.h: Add prototype for __libc_freeres.
628         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
629         for prototypes, remove redundant prototypes.
630         * gmon/gmon.c: Likewise.
631         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
632         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
633         * malloc/mtrace.c: Likewise.
635         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
636         prototypes.
637         * elf/soinit.c: Likewise.
638         * sysdeps/generic/prof-freq.c: Likewise.
639         * sysdeps/mach/hurd/profil.c: Likewise.
640         * debug/noophooks.c: Likewise.
641         * debug/pcprofile.c: Likewise.
642         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
643         * sysdeps/generic/get_clockfreq.c: Likewise.
644         * malloc/set-freeres.c: Likewise.
646         * locale/localeinfo.h: Add internal prototypes.
648         * elf/rtld.c (dl_main): Fix prototype.
650         * iconvdata/tst-table-to.c (main): Use return instead of exit to
651         avoid warning.
653         * nis/rpcsvc/yp_prot.h: Remove __P.
654         * nis/rpcsvc/ypupd.h: Likewise.
655         * nis/rpcsvc/yp.h: Likewise.
657         * sunrpc/rpc_main.c: Add noreturn attributes.
658         * sunrpc/rpc_scan.h: Likewise.
660         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
662         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
664         * sunrpc/proto.h: Add noreturn attributes to error and crash.
666         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
668         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
670         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
672         * include/rpc/rpc_msg.h: Add prototypes for some functions.
673         * include/rpc/auth.h: Likewise.
674         * include/rpc/auth_des.h: Likewise.
675         * include/rpc/clnt.h: Likewise.
676         * include/rpc/rpc.h: Likewise.
677         * include/rpc/svc.h: Likewise.
678         * include/rpc/svc_auth.h: Likewise.
680         * include/rpc/des_crypt.h: New file.
682         * malloc/memusagestat.c (main): Use return instead of exit to
683         avoid warning.
684         * io/pwd.c (main): Likewise.
685         * iconvdata/tst-table-from.c (main): Likewise.
686         * ctype/test_ctype.c (main): Likewise.
687         * setjmp/tst-setjmp.c (main): Likewise.
688         * signal/tst-signal.c (main): Likewise.
689         * stdlib/tst-strtol.c (main): Likewise.
690         * stdlib/tst-strtod.c (main): Likewise.
691         * stdlib/tst-strtoll.c (main): Likewise.
692         * stdlib/tst-xpg-basename.c (main): Likewise.
693         * dirent/tst-seekdir.c (main): Likewise.
694         * grp/testgrp.c (main): Likewise.
695         * inet/test_ifindex.c (main): Likewise.
696         * io/test-utime.c (main): Likewise.
697         * posix/test-vfork.c (main): Likewise.
698         * posix/testfnm.c (main): Likewise.
699         * stdio-common/temptest.c (main): Likewise.
700         * stdio-common/test_rdwr.c (main): Likewise.
701         * stdio-common/tst-fileno.c (main): Likewise.
702         * stdio-common/tst-sscanf.c (main): Likewise.
703         * stdio-common/tstscanf.c (main): Likewise.
704         * string/bug-strncat1.c (main): Likewise.
705         * string/bug-strpbrk1.c (main): Likewise.
706         * string/bug-strspn1.c (main): Likewise.
707         * string/test-ffs.c (main): Likewise.
708         * string/tst-inlcall.c (main): Likewise.
709         * string/tst-svc.c (main): Likewise.
710         * timezone/test-tz.c (main): Likewise.
711         * wctype/test_wcfuncs.c (main): Likewise.
712         * wctype/test_wctype.c (main): Likewise.
714         * stdlib/tst-random.c: Add attribute noreturn to fail.
716 2000-12-28  Wolfram Gloger  <wg@malloc.de>
718         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
719         destination overlap.  Assume dest is always below source if
720         overlapping.
722 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
724         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
725         object was not yet initialized.
727 2000-12-28  H.J. Lu  <hjl@gnu.org>
729         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
730         is always consistent even if its dependency is failed.
732         * elf/dl-open.c (_dl_open): Increment the open count before
733         calling _dl_close () in case of failure.
735         * elf/neededtest4.c: New file.
736         * elf/neededobj5.c: New file.
737         * elf/neededobj6.c: New file.
739         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
740         (tests): Add neededtest4.
741         (modules-names): Add neededobj5 and neededobj6.
742         ($(objpfx)neededobj6.so): New target.
743         ($(objpfx)neededtest4): New target.
744         ($(objpfx)neededtest4.out): New target.
746 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
748         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
749         * stdlib/monetary.h: Add strfmon format attributes.
751 2000-12-28  Roland McGrath  <roland@frob.com>
753         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
754         __mempcpy does it for us.
756 2000-12-28  Andreas Jaeger  <aj@suse.de>
758         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
760         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
761         __new_setrlimit.
763         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
764         __old_getrlimit64.
766         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
767         __new_getrlimit.
769         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
770         __chown_is_lchown and __real_chown.
772         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
773         _dl_reloc_bad_type.
775         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
776         up GCC's warning about "deprecated use of label at end of compound
777         statement."
778         * sunrpc/rpc_cout.c (emit_inline): Likewise.
780         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
781         prototypes.
782         Remove struct bb and __bb_head since those are declared by
783         sys/gmon.h.
785 2000-12-22  Ben Collins  <bcollins@debian.org>
787         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
789         * manual/argp.texi: Document argp_domain as part of struct argp.
791 2000-12-28  Andreas Jaeger  <aj@suse.de>
793         * catgets/Makefile (generated): Add sample.SJIS.cat.
795         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
797         * elf/dl-minimal.c: Add prototypes.
799         * include/locale.h: Add internal prototypes.
800         * include/sys/gmon.h: Likewise.
802         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
804 2000-12-27  Ben Collins  <bcollins@debian.org>
806         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
807         when reallocating the error strings.
808         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
810 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
812         * dlfcn/Makefile (tests): Add errmsg1.
813         (modules-names): Add errmsg1mod.
814         Add rules to run errmsg1.
815         * dlfcn/errmsg1.c: New file.
816         * dlfcn/errmsg1mod.c: New file.
818         * dlfcn/dlerror.c (dlerror): Always create output string which
819         includes object file name.
821         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
822         if we would go through it only once.
823         Patch by Rick Gorton <rick.gorton@api-networks.com>.
825         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
826         Patch by Richard Henderson <rth@redhat.com>.
828 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
830         * malloc/malloc.c (memmove): Add prototypes.
831         (MALLOC_MEMMOVE): Define.
832         (chunk_realloc): Use it instead of MALLOC_COPY if source and
833         destination might overlap.
835 2000-12-27  Andreas Jaeger  <aj@suse.de>
837         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
838         function.
839         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
840         * locale/programs/locale.c (show_locale_vars): Likewise.
841         (show_info): Likewise.
842         * locale/programs/ld-collate.c (collate_output): Likewise.
843         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
844         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
845         * stdlib/rpmatch.c (rpmatch): Likewise.
847         * setjmp/tst-setjmp.c: Make local functions static.
848         * setjmp/jmpbug.c: Likewise.
849         * signal/tst-signal.c: Likewise.
850         * stdio-common/tfformat.c: Likewise.
851         * string/tst-svc.c: Likewise.
852         * time/clocktest.c: Likewise.
853         * time/tst-getdate.c: Likewise.
854         * dirent/list.c: Likewise.
855         * dirent/opendir-tst1.c: Likewise.
856         * posix/runtests.c: Likewise.
857         * posix/tst-getaddrinfo.c: Likewise.
858         * posix/tst-chmod.c: Likewise.
859         * posix/wordexp-test.c: Likewise.
860         * misc/tst-efgcvt.c: Likewise.
861         * timezone/tst-timezone.c: Likewise.
862         * rt/tst-clock.c: Likewise.
863         * rt/tst-shm.c: Likewise.
864         * rt/tst-aio2.c: Likewise.
865         * rt/tst-aio3.c: Likewise.
866         * rt/tst-aio4.c: Likewise.
867         * rt/tst-aio5.c: Likewise.
869         * dlfcn/failtest.c: Add prototype for foo.
871         * dlfcn/glrefmain.c: Add prototype for do_test.
873         * dlfcn/tst-dladdr.c: Add prototype for do_test.
875         * string/test-ffs.c (main): Add prototype for nested function.
877         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
879         * nss/XXX-lookup.c: Add prototype to shut up GCC.
881         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
882         setetherent prototype.
883         Add internal interfaces.
885         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
886         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
888         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
890         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
892         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
893         prototypes, remove struct etherent since it's declared in ether.h.
894         Fix ntohost declaration.
896         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
898         * include/getopt.h: Add internal interfaces.
899         * include/termios.h: Likewise.
900         * include/resolv.h: Likewise.
901         * include/netdb.h: Likewise.
902         * include/grp.h: Likewise.
903         * include/pwd.h: Likewise.
904         * include/shadow.h: Likewise.
905         * include/rpc/netdb.h: Likewise.
906         * include/setjmp.h: Likewise.
908         * include/stdio.h: Add prototypes for compatibility functions.
909         * include/grp.h: Likewise.
910         * include/pwd.h: Likewise.
911         * include/shadow.h: Likewise.
913         * include/fenv.h: Define internal interfaces.
915 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
917         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
918         argument case separately.
919         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
921 2000-12-27  Andreas Jaeger  <aj@suse.de>
923         * include/sys/wait.h: Add some prototypes.
924         * Rules (dummy.c): Create also prototype to shut up GCC.
926 2000-12-27  Andreas Jaeger  <aj@suse.de>
928         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
929         it's not needed at the moment.
930         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
931         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
933 2000-12-26  Andreas Jaeger  <aj@suse.de>
935         * libio/getc_u.c: Include stdio.h via system path to get internal
936         prototypes.
937         * libio/getwc_u.c: Likewise.
939         * stdlib/strfmon.c: Fix prototype of __printf_fp.
941         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
942         __printf_fp prototypes to ...
943         * include/printf.h: ...here.
945         * include/stdio.h: Add some internal prototypes to shut up GCC.
946         * include/stdlib.h: Likewise.
948         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
949         declaration.
951         * include/signal.h: Add prototypes for internal sigpause
952         interfaces.
954 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
956         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
957         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
959         * string/Makefile (tests): Add tst-bswap.
960         * string/tst-bswap.c: New file.
962 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
964         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
966 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
968         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
969         Patch by Ed Connell <Ed.Connell@sas.com>.
971 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
973         * locale/iso-639.def: Correct one entry.  Add two missing entries.
975         * locale/iso-4217.def: Change entry for Eritrea.
976         Reported by Daniel Yacob <yacob@geez.org>.
978 2000-12-23  Ben Collins  <bcollins@debian.org>
980         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
981         description.
983         * manual/stdio.texi (Dynamic Output): Document the return value of
984         asprintf.  Also make the asprintf/snprintf examples a little
985         better (check for some error returns).
987 2000-12-22  Andreas Jaeger  <aj@suse.de>
989         * include/stdio.h: Add __ftrylockfile prototype.
991 2000-12-21  H.J. Lu  <hjl@gnu.org>
993         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
994         Make sign_exponent element signed.
996         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
997         Fix a typo.
999         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
1001 2000-12-21  Andreas Jaeger  <aj@suse.de>
1003         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
1004         * inet/ether_hton.c: Likewise
1005         * inet/ether_ntoh.c: Likewise.
1007         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
1008         declaration to match prototype.
1010         * include/netinet/ether.h (struct etherent): Declare here so that
1011         all implementations use the same struct.
1013         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
1014         prototypes.
1015         (struct ether): Removed.
1016         Use struct etherent instead of ether everywhere.
1018         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
1020         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
1022         * sunrpc/publickey.c: Include auth_des.h for prototypes.
1024 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
1026         * math/test-misc.c: Add more tests for nextafter functions.
1028         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
1029         normal correctly.  Correct test for sign.
1030         Based on a patch by HJ Lu.
1032 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
1034         * Makeconfig (preprocess-version): Add -traditional to gcc call.
1035         Cleanup sed calls.
1037 2000-12-19  Andreas Jaeger  <aj@suse.de>
1039         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
1041         * nis/nis_intern.h: Add prototype for __do_niscall3.
1043         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
1044         match prototype.
1046         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
1048         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
1050         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
1052 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
1054         * math/test-misc.c: Add more tests for nextafter.
1055         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
1056         * sysdeps/ieee754/ldbl-96/math_ldbl.h
1057         (ieee_long_double_shape_type): Make sign_exponent element signed.
1059         * manual/message.texi: Add Estonian to plural overview list.
1060         Correct rule for Slavic languages.
1061         Patch by Stanislav Brabec <utx@penguin.cz>.
1063         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
1065 2000-12-18  Andreas Jaeger  <aj@suse.de>
1067         * test-skeleton.c: Use temp_name_list instead of name_list to
1068         avoid collision with name_list from inet/netgroup.h.
1070         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
1072         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
1073         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
1074         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
1075         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
1077         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
1078         declaration to match prototype.
1079         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
1080         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
1081         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
1082         Likewise.
1083         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
1084         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
1085         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
1086         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
1087         (_nss_nis_getservbyport_r): Likewise.
1088         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
1089         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
1090         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
1091         (_nss_nis_setnetent): Likewise
1092         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1093         (_nss_nis_endnetgrent): Likewise.
1094         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
1095         Likewise.
1096         (_nss_nisplus_setnetgrent): Likewise.
1097         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
1098         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
1099         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
1100         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
1101         Likewise.
1102         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
1103         Likewise.
1104         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
1105         Likewise.
1106         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
1107         Likewise.
1108         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
1109         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
1110         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
1111         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1112         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
1113         (_nss_dns_getnetbyaddr_r): Likewise.
1115 2000-12-17  Andreas Jaeger  <aj@suse.de>
1117         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
1118         parameter.
1120         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
1121         unused attribute to shut up gcc warnings.
1123         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
1124         * sysdeps/generic/k_tanl.c: Likewise.
1125         * sysdeps/generic/k_cosl.c: Likewise.
1126         * sysdeps/generic/e_j0l.c: Likewise.
1127         * sysdeps/generic/e_j1l.c: Likewise.
1128         * sysdeps/generic/e_jnl.c: Likewise.
1129         * sysdeps/generic/e_lgammal_r.c: Likewise.
1131         * elf/vismain.c: Move prototypes for functions in vismod*.c to
1132         vismod.h.
1133         * elf/vismod.h: New file.
1134         * elf/Makefile (distribute): Add vismod.h.
1135         * elf/vismod1.c: Include vismod.h.
1136         * elf/vismod2.c: Likewise.
1137         * elf/vismod3.c: Likewise.
1139         * elf/constload3.c: Add prototype declarations to shut up gcc.
1140         * elf/failobj.c: Likewise.
1141         * elf/nodelmod3.c: Likewise.
1142         * elf/filtmod1.c: Likewise.
1143         * elf/filtmod2.c: Likewise.
1144         * elf/reldepmod1.c: Likewise.
1145         * elf/reldepmod2.c: Likewise.
1146         * elf/reldepmod3.c: Likewise.
1147         * elf/reldepmod4.c: Likewise.
1148         * elf/unload2dep.c: Likewise.
1149         * elf/unload2mod.c: Likewise.
1150         * elf/ltglobmod1.c: Likewise.
1151         * elf/pathoptobj.c: Likewise.
1152         * elf/neededobj1.c: Likewise.
1153         * elf/neededobj2.c: Likewise.
1154         * elf/neededobj3.c: Likewise.
1155         * elf/neededobj4.c: Likewise.
1156         * elf/nextmod1.c: Likewise.
1157         * elf/nextmod2.c: Likewise.
1159         * locale/programs/ld-collate.c (collate_finish): Don't use labels
1160         at end of compound statement.
1161         * locale/programs/locale.c (show_info): Likewise.
1162         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1164 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
1166         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
1167         with a pointer not returned by obstack_ functions.
1169 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
1171         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
1172         version.
1173         (struct stat64): Likewise.
1174         Reported by Michael Keezer <mkeezer@redhat.com>.
1176         * timezone/asia: Update from tzdata2000h.
1177         * timezone/australasia: Likewise.
1178         * timezone/backward: Likewise.
1179         * timezone/europe: Likewise.
1180         * timezone/northamerica: Likewise.
1181         * timezone/southamerica: Likewise.
1182         * timezone/zone.tab: Likewise.
1184 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
1186         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
1187         and dir.stream is NULL, only free dir.content.
1188         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
1189         * io/ftwtest-sh: Test with --early-exit.
1191 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
1193         * misc/efgcvt.c (FCVT_MAXDIG): Define.
1194         (FCVT_BUFPTR): New variable.
1195         (fcvt): If fcvt_r returns -1 on the static short buffer,
1196         try to malloc a sufficiently large one and retry.
1197         (free_mem): New function.
1198         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
1199         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
1201 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
1203         * misc/dirname.c (dirname): Fix search for second to last slash.
1205 2000-12-13  Andreas Jaeger  <aj@suse.de>
1207         * misc/tst-dirname.c (main): Fix typo in test to really use
1208         the examples from Unix98.
1209         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1211 2000-12-09  H.J. Lu  <hjl@gnu.org>
1213         * sysdeps/ia64/fpu/s_fabs.S: New file.
1214         * sysdeps/ia64/fpu/s_fabsf.S: New file.
1215         * sysdeps/ia64/fpu/s_fabsl.S: New file.
1217 2000-12-15  Andreas Jaeger  <aj@suse.de>
1219         * stdio-common/scanf9.c (main): Reformat and change to avoid
1220         warnings.
1222         * stdio-common/tstdiomisc.c: Make local functions static.
1223         * stdio-common/tst-printf.c: Likewise.
1225         * elf/constload2.c: Add prototype declarations to shut up gcc.
1226         * elf/dep1.c: Likewise.
1227         * elf/dep2.c: Likewise.
1228         * elf/dep3.c: Likewise.
1229         * elf/dep4.c: Likewise.
1230         * elf/ltglobmod2.c: Likewise.
1232         * libio/fmemopen.c: Make local functions static.
1234         * elf/Makefile (distribute): Added testobj.h.
1236         * elf/testobj.h: New file.
1238         * elf/testobj1.c: Include testobj.h and move prototype
1239         declarations to testobj.h.
1240         * elf/testobj2.c: Likewise.
1241         * elf/testobj3.c: Likewise.
1242         * elf/testobj4.c: Likewise.
1243         * elf/testobj5.c: Likewise.
1244         * elf/testobj6.c: Likewise.
1245         * elf/testobj1_1.c: Likewise.
1246         * elf/preloadtest.c: Likewise.
1248 2000-12-15  Ben Collins  <bcollins@debian.org>
1250         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
1251         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
1253 2000-12-14  H.J. Lu  <hjl@gnu.org>
1255         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
1256         field in a float is 8 bits, not 11 bits.
1258 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
1260         * math/test-misc.c (main): Adjust m for IEEE quad long double.
1262 2000-12-13  Andreas Jaeger  <aj@suse.de>
1264         * manual/message.texi (Using gettextized software): Fix typo.
1266         * manual/charset.texi (Converting a Character): Fix mbstouwcs
1267         program to compile.
1268         Patch by Martin Buchholz <martin@xemacs.org>.
1270         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
1271         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1273 2000-12-11  Andreas Jaeger  <aj@suse.de>
1275         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
1276         kernel_sigset_t and use it.
1277         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
1279 2000-12-10  Richard Henderson  <rth@redhat.com>
1281         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
1282         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
1283         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
1285 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
1287         * sysdeps/alpha/htonl.S: Fix a typo.
1289 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
1291         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
1293 2000-12-10  Andreas Jaeger  <aj@suse.de>
1295         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
1296         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
1297         Drepper <drepper@redhat.com>.
1299 2000-12-09  Andreas Jaeger  <aj@suse.de>
1301         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
1303         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
1304         generic version.
1305         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
1307         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
1308         string.
1310         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
1311         format string.
1313         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
1314         * nscd/connections.c (handle_request): Likewise.
1315         * nscd/pwdcache.c (addpwbyname): Likewise.
1316         * nscd/grpcache.c (addgrbyname): Likewise.
1318         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
1320 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
1322         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
1324         * Makeconfig (default_cflags): Make -O2 the default for stable
1325         releases.
1327 2000-12-08  H.J. Lu  <hjl@gnu.org>
1329         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
1330         * sysdeps/ia64/fpu/s_isinf.S: This.
1331         Add a .pred.rel.mutex note to avoid false report.
1333         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
1334         * sysdeps/ia64/fpu/s_isnan.S: This.
1336         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
1337         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
1338         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
1339         * sysdeps/ia64/fpu/s_isinff.S: New file.
1340         * sysdeps/ia64/fpu/s_isinfl.S: New file.
1341         * sysdeps/ia64/fpu/s_isnanf.S: New file.
1342         * sysdeps/ia64/fpu/s_isnanl.S: New file.
1343         * sysdeps/ia64/fpu/s_finite.S: New file.
1344         * sysdeps/ia64/fpu/s_finitef.S: New file.
1345         * sysdeps/ia64/fpu/s_finitel.S: New file.
1346         * sysdeps/ia64/fpu/s_signbit.S: New file.
1347         * sysdeps/ia64/fpu/s_signbitf.S: New file.
1348         * sysdeps/ia64/fpu/s_signbitl.S: New file.
1349         * sysdeps/ia64/fpu/s_copysign.S: New file.
1350         * sysdeps/ia64/fpu/s_copysignf.S: New file.
1351         * sysdeps/ia64/fpu/s_copysignl.S: New file.
1353 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
1355         * math/libm-test.inc (main): Fix typos in messages.
1357         * string/stratcliff.c: Add test for rawmemchr.
1359 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
1361         * elf/dl-open.c (_dl_open): If objname points right after errstring,
1362         allocate it together with errstring using alloca.
1363         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
1364         to "", because it might point to local stack.
1366 2000-12-05  H.J. Lu  <hjl@gnu.org>
1368         * nss/Makefile (routines): Add getnssent and getnssent_r.
1369         * nss/nsswitch.h (__nss_setent): New internal NSS function.
1370         (__nss_endent): Likewise.
1371         (__nss_getent_r): Likewise.
1372         (__nss_getent): Likewise.
1373         * nss/getnssent_r.c: New file.
1374         * nss/getnssent.c: New file.
1375         * nss/getXXent.c (H_ERRNO_VAR): Updated.
1376         (GETFUNC_NAME): Updated to call __nss_getent ().
1377         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
1378         (STAYOPEN_TMPVAR): Updated.
1379         (STAYOPEN_VAR): Updated.
1380         (SETFUNC_NAME): Updated to call __nss_setent ().
1381         (ENDFUNC_NAME): Updated to call __nss_endent ().
1382         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
1384 2000-12-08  Andreas Jaeger  <aj@suse.de>
1386         * nscd/dbg_log.h (dbg_log): Correct attribute.
1388 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
1390         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
1391         cp + len.  Compute where from dirname.
1392         Reported by <jreiser@BitWagon.com>.
1394 2000-12-08  Richard Henderson  <rth@twiddle.net>
1396         * sysdeps/alpha/_mcount.S: Fix typo.
1397         * sysdeps/alpha/strncpy.S: Likewise.
1399         * sysdeps/alpha/alphaev6/Implies: New file.
1400         * sysdeps/alpha/alphaev67/Implies: New file.
1401         * sysdeps/alpha/alphaev67/ffs.S: New file.
1402         * sysdeps/alpha/alphaev67/ffsll.S: New file.
1403         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
1404         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
1405         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
1406         * sysdeps/alpha/rawmemchr.S: New file.
1407         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
1408         * sysdeps/alpha/strcpy.S: Likewise.
1410         From GMP 3.1.1:
1411         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
1413         From rick.gorton@alpha-processor.com:
1414         * sysdeps/alpha/alphaev6/memchr.S: New file.
1415         * sysdeps/alpha/alphaev6/memcpy.S: New file.
1416         * sysdeps/alpha/alphaev6/memset.S: New file.
1417         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
1418         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
1419         * sysdeps/alpha/alphaev67/strcat.S: New file.
1420         * sysdeps/alpha/alphaev67/strchr.S: New file.
1421         * sysdeps/alpha/alphaev67/strlen.S: New file.
1422         * sysdeps/alpha/alphaev67/strncat.S: New file.
1423         * sysdeps/alpha/htonl.S: Use a shorter sequence.
1425 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
1427         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
1428         Reported by <pspencer@fields.utoronto.ca>.
1430 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
1432         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
1433         Pointed out by Hans Boehm.
1435 2000-12-07  H.J. Lu  <hjl@gnu.org>
1437         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
1439 2000-12-07  Andreas Jaeger  <aj@suse.de>
1441         * misc/error.c: Add format attributes for __error and __error_at_line.
1443         * nscd/dbg_log.h: Add format attribute.
1445 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
1447         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
1448         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1450 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
1452         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
1454 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
1456         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
1457         (sysdep_routines): Add uitrunc.
1458         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
1459         Patches by Michael Keezer <mkeezer@redhat.com>.
1461 2000-12-06  Roland McGrath  <roland@frob.com>
1463         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
1464         argument data, since it will be used to copy out too (for INOUT).
1465         Reported by Marcus Brinkmann <marcus@gnu.org>.
1467         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
1468         (__ioctl): Use uintptr_t instead of unsigned long int.
1470 2000-12-06  Jim Wilson  <wilson@redhat.com>
1472         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
1474 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
1476         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
1477         x.5 rounding correctly.
1479 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
1481         * stdio-common/perror.c (perror): Conditionalize code dealing with
1482         wide-oriented streams on USE_IN_LIBIO.
1484 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
1486         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
1487         as internal_function.
1489 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
1491         * sysdeps/alpha/elf/start.S (__data_start): Define.
1493 2000-12-05  H.J. Lu  <hjl@gnu.org>
1495         * nss/getXXent_r.c (setup): Change the return type to int.
1497 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
1499         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
1500         (sysdep_routines): Add restf and savef.
1501         * sysdeps/unix/sysv/aix/restf.c: New file.
1502         * sysdeps/unix/sysv/aix/savef.c: New file.
1503         Patches by Michael Keezer <mkeezer@redhat.com>.
1505         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
1506         if O_DIRECTORY is not defined.
1507         Patch by Michael Keezer <mkeezer@redhat.com>.
1509         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
1510         Patch by Michael Keezer <mkeezer@redhat.com>.
1512         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
1513         than 4 bytes in escape sequence.
1514         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1516 2000-12-05  Andreas Jaeger  <aj@suse.de>
1518         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
1519         set mips2.
1521         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
1523         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
1525         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
1526         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1528         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
1529         internal_function.
1530         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
1531         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
1533         * sysdeps/generic/dl-cache.c: Remove declaration of
1534         _dl_sysdep_read_whole_file.
1536         * elf/dl-load.c (_dl_map_object): Remove declaration of
1537         _dl_load_cache_lookup.
1539         * sysdeps/generic/ldsodefs.h: Add declarations of
1540         _dl_load_cache_lookup, _dl_unload_cache,
1541         _dl_sysdep_read_whole_file, _dl_sysdep_start and
1542         _dl_sysdep_start_cleanup.
1544         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
1545         now.
1547         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
1548         * sysdeps/generic/dl-environ.c: Likewise.
1550         * stdio-common/printf_fp.c: Include <gmp.h> instead of
1551         <stdlib/gmp.h>.
1552         * math/atest-exp.c: Likewise.
1553         * math/atest-exp2.c: Likewise.
1554         * math/atest-sincos.c: Likewise.
1555         * stdio-common/_itoa.c: Likewise.
1556         * stdio-common/_itowa.c: Likewise.
1558         * include/gmp.h: New file with internal prototypes.
1560         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
1561         here to...
1562         * include/setjmp.h: ...here.
1564         * locale/Makefile (routines): Remove codeset_name since it's not
1565         needed anywhere.
1567         * locale/codeset_name.c: Removed.
1569 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
1571         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
1573 2000-12-05  Andreas Jaeger  <aj@suse.de>
1575         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
1577 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1579         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
1580         available.
1582 2000-12-05  Andreas Jaeger  <aj@suse.de>
1584         * nss/test-netdb.c: Mark local functions as static to avoid
1585         warnings.
1586         (main): Use return to silence warning.
1588         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
1590         * stdio-common/test-popen.c: Mark local functions as static to
1591         avoid warnings.
1592         (main): Use return to silence warning.
1594         * stdlib/testsort.c (compare): Mark as static to avoid warning.
1596         * assert/test-assert.c: Mark local functions as static to avoid
1597         warnings.
1598         * assert/test-assert-perr.c: Likewise.
1600         * math/libm-test.inc (main): Use return to silence warnings.
1602 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
1604         * math/fenv.h: Fix typo in comment.
1606         * math/test-misc.c (main): Add a few more over and underflow tests
1607         for scalb.
1609         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
1610         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1611         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1612         * math/w_scalb.c: Don't use matherr except in SVID mode.
1613         * math/w_scalbf.c: Likewise.
1614         * math/w_scalbl.c: Likewise.
1615         * math/test-misc.c: Add test for NaN and scalbl.
1616         Reported by Fred J. Tydeman <tydeman@tybor.com>.
1618 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
1620         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
1621         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
1622         * include/libc-symbols.h (strong_alias): Define special version
1623         for HAVE_ASM_GLOBAL_DOT_NAME.
1624         (weak_alias): Likewise.
1625         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
1626         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
1627         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
1628         getutxline, pututxline, and utmpxname.
1629         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
1630         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
1631         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
1632         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
1633         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
1634         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
1635         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
1636         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
1637         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
1638         Patches by Michael Keezer <mkeezer@redhat.com>.
1640 2000-12-04  H.J. Lu  <hjl@gnu.org>
1642         * configure.in: Change --with-oldest-abi=ABI to
1643         --enable-oldest-abi=ABI.
1645 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
1647         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
1648         fwprintf instead of fprintf.
1650 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
1652         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
1653         DECIMAL_DIG definitions.
1654         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
1655         * sysdeps/generic/bits/mathdef.h: Likewise
1656         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
1657         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
1658         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
1659         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
1660         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
1661         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
1663 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
1665         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
1667         * math/atest-exp.c: Mark local functions as static to avoid warnings.
1668         * math/atest-exp2.c: Likewise.
1669         * math/atest-sincos.c: Likewise.
1671         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
1672         Reported by Fred J. Tydeman <tydeman@tybor.com>.
1674         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
1675         the handling of denormalized numbers.
1677         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
1678         numbers on x86.
1679         * sysdeps/i386/fpu/fpclassifyl.c: New file.
1681         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
1682         pseudo denormal representation of LDBL_MIN.
1684         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
1685         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
1687         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
1688         * iconvdata/jis0208.c: Likewise.
1689         * iconvdata/jis0212.c: Likewise.
1690         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1692         * math/test-misc.c (main): More tests for frexp and some for
1693         fpclassify and isnormal.
1695         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
1696         test for subnormal.
1697         Reported by Fred J. Tydeman <tydeman@tybor.com>.
1699         * math/test-misc.c (main): Add tests for frexp.
1700         Reported by Fred J. Tydeman <tydeman@tybor.com>.
1701         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
1703 2000-12-02  H.J. Lu  <hjl@gnu.org>
1705         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
1706         '\0' to wcschr.
1708 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
1710         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
1711         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1712         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1714         * sysdeps/generic/glob.c: Adjust types of several variables to
1715         avoid warnings.
1717 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
1719         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
1721 2000-11-30  Roland McGrath  <roland@frob.com>
1723         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
1724         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
1725         allow multiple instances using the same function name in one file.
1727 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
1729         * configure.in: Correct test for pserver CVS access.
1731 2000-11-28  H.J. Lu  <hjl@gnu.org>
1733         * libio/libio.h: Remove extra "#if ... #endif".
1735 2000-11-29  H.J. Lu  <hjl@gnu.org>
1737         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
1739 2000-12-01  H.J. Lu  <hjl@gnu.org>
1741         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
1742         * nss/getXXent_r.c: Likewise.
1743         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1745 2000-11-30  H.J. Lu  <hjl@gnu.org>
1747         * scripts/abi-versions.awk (oldest_abi): New variable.
1748         Handle the oldest ABI supported.
1750         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
1751         for scripts/abi-versions.awk.
1753         * configure.in: Add --with-oldest-abi=ABI.
1754         * configure: Rebuild.
1756         * config.make.in (oldest-abi): New.
1758         * config.h.in (GLIBC_OLDEST_ABI): New.
1760         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
1762 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
1764         * locale/setlocale.c (setname): Free for all categories, not just
1765         LC_ALL.
1766         (setlocale): Store a copy of string passed by user, not the string
1767         itself.
1769 2000-11-30  Roland McGrath  <roland@frob.com>
1771         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
1772         rather than _hurd_fd_subinit, so it happens after it's safe to use
1773         libc facilities like malloc.
1775 2000-11-28  Andreas Jaeger  <aj@suse.de>
1777         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
1778         declaration, adjust declaration of __syscall_getdents to match
1779         kernel.
1781 2000-11-29  H.J. Lu  <hjl@gnu.org>
1783         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
1785 2000-11-29  Andreas Jaeger  <aj@suse.de>
1787         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
1789 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
1791         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
1792         * dlfcn/defaultmod2.c: Likewise.
1793         * dlfcn/dlopen.c: Likewise.
1794         * dlfcn/dlopenold.c: Likewise.
1795         * dlfcn/failtestmod.c: Likewise.
1796         * dlfcn/glreflib1.c: Likewise.
1797         * dlfcn/glreflib2.c: Likewise.
1798         * dlfcn/eval.c: Likewise.  Add attributes.
1800         * ctype/ctype-extn.c: Define isblank and not __isblank.
1802         * time/strftime.c: Add const where necessary to avoid warnings.
1803         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
1805 2000-11-22  Paul Eggert  <eggert@twinsun.com>
1807         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
1808         size of (size_t) -1; it's not portable.
1810 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
1812         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
1813         crappy i486 FPU.
1814         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
1816 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
1818         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
1820         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
1821         _mcount is required by profiled binaries.
1823         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
1824         * sysdeps/ia64/machine-gmon.h: ...here.
1826 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
1828         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
1829         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
1830         and ibm1129.h.
1831         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
1832         IBM1129.
1833         * iconvdata/ibm922.c: New file.
1834         * iconvdata/ibm922.h: New file.
1835         * iconvdata/ibm1124.c: New file.
1836         * iconvdata/ibm1124.h: New file.
1837         * iconvdata/ibm1129.c: New file.
1838         * iconvdata/ibm1129.h: New file.
1839         * iconvdata/testdata/IBM922: New file.
1840         * iconvdata/testdata/IBM922..UTF8: New file.
1841         * iconvdata/testdata/IBM1124: New file.
1842         * iconvdata/testdata/IBM1124..UTF8: New file.
1843         * iconvdata/testdata/IBM1129: New file.
1844         * iconvdata/testdata/IBM1129..UTF8: New file.
1846 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
1848         * catgets/gencat.c (normalize_line): Take extra parameter with escape
1849         character.  Change callers.
1850         (open_conversion): Determine mapping of 0x5c as wchar_t value.
1851         * catgets/Makefile: Add rules to build and run test-gencat.
1852         * catgets/sample.SJIS: New file.
1853         * catgets/test-gencat.c: New file.
1854         * catgets/test-gencat.sh: New file.
1855         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1857 2000-11-28  Andreas Jaeger  <aj@suse.de>
1859         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
1860         Linux version.
1862 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
1864         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
1866 2000-11-28  Andreas Jaeger  <aj@suse.de>
1868         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
1869         __flexarr.
1870         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
1871         Likewise.
1873 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
1875         * misc/getusershell.c: Make strings in okshells array const.
1876         * misc/regexp.c: Add const to cast to avoid warnings.
1877         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
1878         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
1879         __setresuid.
1880         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
1881         setresgid.
1882         * misc/error.c: Add prototypes for __error and __error_at_line.
1883         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
1884         statement to avoid warning.
1885         * test-skeleton.c: Mark timeout_handler with noreturn.
1886         * iconv/skeleton.c (get16u): Add const to cast.
1887         (get32u): Likewise.
1888         * iconvdata/gb18030.c: Likewise.
1889         * iconvdata/iso-2022-cn-ext.c: Likewise.
1890         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
1891         * iconvdata/big5.c: Likewise.
1892         * iconvdata/big5hkscs.c: Likewise.
1893         * iconvdata/iso_6937.c: Likewise.
1894         * iconvdata/iso_6937-2.c: Likewise.
1895         * iconvdata/t.61.c: Likewise.
1896         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
1897         * iconvdata/unicode.c: Likewise.
1898         * iconvdata/utf-16.c: Likewise.
1899         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
1900         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
1901         with little code shuffling.
1903         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
1904         the problems introduced when the user selects -O3.
1906         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
1907         * misc/sys/cdefs.h: Define __flexarr.
1908         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
1910         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
1911         * iconv/skeleton.c: Likewise.
1912         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
1913         * iconv/loop.c (get16): Add const to cast.
1914         (get32): Likewise.
1916 2000-11-27  Andreas Jaeger  <aj@suse.de>
1918         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
1919         to avoid warning.
1920         * login/programs/utmpdump.c (print_entry): Likewise.
1922 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
1924         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
1925         in a single asm as they may be used to access other stored
1926         registers.
1927         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1929 2000-11-27  Andreas Jaeger  <aj@suse.de>
1931         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
1932         * rt/tst-aio64.c: Likewise.
1934 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
1936         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
1937         for gencat run.
1938         (libc.cat): Likewise.
1939         * catgets/gencat.c: Implement handling of message catalogs encoded
1940         with stateful character sets.
1941         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1943 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
1945         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
1947         * inet/getnameinfo.c: Adjust casts to avoid warnings.
1948         * inet/rcmd.c: Likewise.
1949         * inet/ruserpass.c: Likewise.
1950         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
1951         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
1952         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
1953         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
1954         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
1955         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
1956         * include/aliases.h: Add prototypes for internal __getalias* functions.
1957         * include/netdb.h: Add prototypes for __old_gethostent_r,
1958         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
1959         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
1960         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
1961         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
1962         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
1963         __old_getrpcbynumber_r, __old_getrpcent_r.
1965         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
1966         __getrpcent_r prototypes.
1968 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
1970         * string/strcoll.c: Add casts to avoid warnings.
1971         * string/strnlen.c: Likewise.
1972         * string/strxfrm.c: Likewise.
1973         * sysdeps/generic/_strerror.c: Likewise.
1974         * sysdeps/generic/memrchr.c: Likewise.
1975         * sysdeps/generic/strcasestr.c: Likewise.
1976         * sysdeps/generic/strstr.c: Likewise.
1978         * locale/weight.h (findidx): Add const to cast to avoid warning.
1980         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
1981         * elf/loadtest.c: Likewise.
1982         * elf/multiload.c: Likewise.
1983         * elf/next.c: Likewise.
1984         * elf/nodelete.c: Likewise.
1985         * elf/noload.c: Likewise.
1986         * elf/order.c: Likewise.
1987         * elf/origtest.c: Likewise.
1988         * elf/preloadtest.c: Likewise.
1989         * elf/restest1.c: Likewise.
1991         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
1992         parameter of asm must be in %ecx.
1994         * string/tester.c: Mark test functions as static to avoid warnings.
1996         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
1997         preserve value over different gconv-modules files.
1999 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
2001         * locale/findlocale.c: Add casts to avoid warnings.
2002         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
2003         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
2004         to avoid warnings.
2005         * misc/tsearch.c (const_node): New type.
2006         (trecurse): Correct casts to avoid warnings.
2007         (__twalk): Likewise.
2008         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
2009         LONG_BIT.
2011         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
2013         * test-skeleton.c: Mark local functions as static to avoid warnings.
2015 2000-11-23  H.J. Lu  <hjl@gnu.org>
2017         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
2018         support the background job.
2019         Fix a typo.
2021 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
2023         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
2024         has same names but lower cost.
2026 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
2028         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
2029         which never occur during bootstrap.
2030         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2032 2000-11-23  Andreas Jaeger  <aj@suse.de>
2034         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
2036         * nss/Versions: Remove _nss_files_getipnodebyname_r.
2038         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
2040 2000-11-18  Martin Buchholz  <martin@xemacs.org>
2042         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
2043         (called++) return;'
2045 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
2047         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
2049         * csu/abi-note.S: Correct comment for operating system number.
2051 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
2053         * Versions.def: Add GLIBC_2.2.1 for glibc.
2055 2000-11-22  Andreas Schwab  <schwab@suse.de>
2057         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
2058         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
2060 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
2062         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
2063         absolute time for pthread_cond_timedwait call.
2064         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
2066         * rt/Makefile (tests): Add tst-aio6.
2067         * rt/tst-aio6.c: New file.
2069 2000-11-23  Andreas Jaeger  <aj@suse.de>
2071         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
2073 2000-11-22  Andreas Jaeger  <aj@suse.de>
2075         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
2077 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2079         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
2081 2000-11-21  Andreas Schwab  <schwab@suse.de>
2083         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
2084         * sysdeps/arm/setjmp.S: Likewise.
2085         * sysdeps/arm/fpu/setjmp.S: Likewise.
2086         * sysdeps/i386/setjmp.S: Likewise.
2087         * sysdeps/i386/elf/setjmp.S: Likewise.
2088         * sysdeps/s390/setjmp.S: Likewise.
2089         * sysdeps/s390/elf/setjmp.S: Likewise.
2090         * sysdeps/sh/sh3/setjmp.S: Likewise.
2091         * sysdeps/sh/sh4/setjmp.S: Likewise.
2092         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
2093         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2094         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
2095         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
2097 2000-11-21  Andreas Jaeger  <aj@suse.de>
2099         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
2100         NORETURN, fix parameter list.
2102         * string/bug-strncat1.c (main): Fix typo.
2103         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
2105 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
2107         * configure.in: Add --enable-all-warnings.
2108         * config.make.in (all-warnings): New variable.
2109         * Makeconfig (+gccwarn): Define with many more warnings if
2110         all-warnings is yes.
2112 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
2114         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
2115         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
2116         * malloc/tst-valloc.c (main): Cast valloc return value to long.
2117         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
2118         * math/test-fpucw.c (main): Use %lx in format string, cast
2119         control words to long.
2120         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
2121         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
2122         large that it is unsigned warning.
2124         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
2125         it to long on sparc64.
2127 2000-11-20  Andreas Jaeger  <aj@suse.de>
2129         * nscd/nscd.h (termination_handler): Add noreturn attribute.
2130         (receiv_print_stats): Likewise.
2132         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
2134 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
2136         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
2138         * csu/gmon-start.c: Always have prototype for __gmon_start.
2139         * csu/version.c: Add prototypes for __libc_print_version and
2140         __libc_main.
2141         * iconv/gconv.c: Include gconv_int.h and gconv.h.
2142         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
2143         and __to_name.
2144         * iconv/gconv_builtin.h: Add ASCII module definitions.
2145         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
2146         (add_module): Add cast to avoid warning.  Rework construction of
2147         strings for new module.
2148         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
2149         (derivation_compare): Likewise.
2150         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
2151         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
2152         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
2153         (struct gconv_alias): Remove const from fromname and toname.
2154         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
2155         for loop functions.
2156         (internal_ucs4_loop): Use correct const-ness.
2157         (ucs4_internal_loop): Likewise.
2158         (internal_ucs4le_loop): Likewise.
2159         (ucs4le_internal_loop_single): Likewise.
2160         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
2161         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
2162         assignments appropriately.
2163         (struct known_trans): Remove const from fname.
2164         (trans_compare): Make s1 and s2 const.
2165         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
2166         avoid warning.
2167         * iconv/skeleton.c: Remove cast in calls of loop functions.
2168         * iconvdata/gconv-modules: Remove US-ASCII definitions.
2169         * iconvdata/iso646.c: Remove US_ASCII support.
2170         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
2171         * include/unistd.h: Add __libc_check_standard_fds prototype.
2172         * string/bits/string2.h (__mempcpy_args): Add const to casts.
2173         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
2174         _fini.
2175         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
2176         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
2177         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
2178         warning.
2179         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
2180         __libc_init_first and _dl_start.
2181         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
2182         (DCIGETTEXT): Make domaindata variable const.
2183         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
2184         to avoid warning.
2186 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
2188         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
2190         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
2191         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
2192         __unused? members.
2194         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
2195         value defined in /usr/include/asm-mips/fcntl.h.
2197 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
2199         * stdio-common/Makefile (tests): Add test-vfprintf.
2200         (test-vfprintf-ENV): New variable.
2201         * stdio-common/test-vfprintf.c: New file.
2203         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
2205         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
2206         (tst-mbrtowc-ENV): New variable.
2207         (tst-wcrtomb-ENV): New variable.
2208         * wcsmbs/tst-mbrtowc.c: New file.
2209         * wcsmbs/tst-wcrtomb.c: New file.
2211 2000-11-16  Andreas Jaeger  <aj@suse.de>
2213         * manual/install.texi (Tools for Compilation): Update
2214         documentation for GCC 2.95.2.
2216 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
2218         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
2219         if IPv4 and IPv6 requests timed out.
2221 2000-11-18  Akim Demaille  <akim@epita.fr>
2223         * malloc/obstack.h: Formatting changes.
2224         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
2225         prevents type checking.
2226         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
2227         cast the value to (void *): assigning a `foo *' to a `void *'
2228         variable is valid.
2229         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
2231 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
2233         * scripts/config.guess: Update from upstream maintainer.
2234         * scripts/config.sub: Likewise.
2236 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
2238         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
2239         * libio/freopen64.c (freopen64): Likewise.
2240         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2242         * libio/Makefile: Add rules to build and run test-freopen.
2243         * libio/test-freopen.c: New file.
2244         * libio/test-freopen.sh: New file.
2246 2000-11-15  H.J. Lu  <hjl@gnu.org>
2248         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
2249         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
2250         (DL_DT_FINI_ADDRESS): Likewise.
2252         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
2253         return type to ElfW(Addr).
2254         (_dl_function_address): New prototype.
2255         (DL_FUNCTION_ADDRESS): Defined.
2256         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
2257         (DL_DT_FINI_ADDRESS): Likewise.
2259         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
2261         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
2262         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
2264         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
2265         (_dl_function_address): This.
2267         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
2268         function pointer for DT_FINI.
2269         * elf/dl-close.c (_dl_close): Likewise.
2271         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
2272         function pointer for DT_INIT.
2274 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
2276         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
2277         end of wexpbuf buffer.
2279 2000-11-16  Andreas Jaeger  <aj@suse.de>
2281         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
2282         definition of F_GETLK, F_SETLK, F_SETLKW.
2284 2000-11-16  Andreas Jaeger  <aj@suse.de>
2286         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
2287         it's not defined.
2289 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
2291         * dlfcn/default.c (main): Add test for dladdr of main returning
2292         argv[0] in dli_fname field.
2294 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
2296         * Makeconfig (run-program-prefix): Move test-static test into the
2297         variable.
2299         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
2300         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
2301         schedule instructions.
2302         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
2303         schedule instructions, fix a bug in copying auxiliary data.
2305 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
2307         * manual/startup.texi (Program Arguments): Fix type of main's envp
2308         parameter.
2309         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
2311         * iconvdata/gconv-modules: Add CP950 alias.
2313 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
2315         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
2316         syscall-list.h goal.
2317         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
2319 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
2321         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
2323         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
2324         output of program.
2326         * intl/tst-gettext2.c: Set C locale if setting other locale
2327         failed.  Use gettext() not _().
2329         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
2330         successfully loaded a new locale.
2332 2000-11-13  Andreas Jaeger  <aj@suse.de>
2334         * configure.in: Require gcc 2.95 or newer.
2336 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
2338         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
2339         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
2341 2000-11-11  Jim Meyering  <meyering@lucent.com>
2343         * string/strndup.c (strndup): Cast return value to `char *'.
2345 2000-11-15  Jim Meyering  <meyering@ascend.com>
2347         * sysdeps/generic/memchr.c: Remove some useless parentheses.
2348         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
2349         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
2350         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
2351         Also #undef __memchr.
2352         Use `weak_alias' only if it's defined.
2354 2000-11-10  H.J. Lu  <hjl@gnu.org>
2356         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
2358 2000-11-15  Andreas Jaeger  <aj@suse.de>
2360         * elf/chroot_canon.c: Include <stdint.h>.
2362         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
2363         (print_entry): Likewise.
2364         (add_to_cache): Likewise.
2366         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
2368         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
2369         (path_hwcap): Likewise.
2370         (search_dir): Likewise.
2372         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
2374         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
2376         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
2377         (_dl_platform_string): New.
2378         (_DL_HWCAP_PLATFORM): New.
2379         (_dl_string_platform): New.
2380         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2382         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
2383         (_dl_string_platform): New.
2384         (_DL_HWCAP_PLATFORM): New.
2385         (_dl_platform_string): New.
2387         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
2388         recognition.
2389         (_DL_HWCAP_COUNT): New.
2390         (_dl_string_platform): New.
2391         (_DL_HWCAP_PLATFORM): New.
2392         (_dl_platform_string): New.
2394 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
2396         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
2398 2000-11-14  Andreas Jaeger  <aj@suse.de>
2400         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
2402 2000-11-13  Roland McGrath  <roland@frob.com>
2404         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
2406 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
2408         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
2409         underrun and make sure the result is null terminated even if there
2410         is no trailing newline.
2412 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
2414         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2416 2000-11-10  H.J. Lu  <hjl@gnu.org>
2418         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
2420 2000-11-10  Andreas Jaeger  <aj@suse.de>
2422         * elf/ldconfig.c (create_links): Fix alloca calculation.
2423         Patch by Ben Collins <bcollins@debian.org>.
2425 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
2427         * inet/getnameinfo.c (getnameinfo): Use correct destination
2428         parameter for if_indextoname.
2429         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
2431 2000-11-09  H.J. Lu  <hjl@gnu.org>
2433         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
2434         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
2435         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
2436         xdr_keystatus.
2438         * time/Versions (GLIBC_2.1): Move getitimer to...
2439         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
2441 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
2443         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
2444         "make install", to work around a binary incompatibility between
2445         glibc 2.1 and glibc 2.2 gconv modules.
2447 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
2449         * intl/locale.alias: Add thai.
2450         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
2452 2000-11-07  Akim Demaille  <akim@epita.fr>
2454         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
2455         argument `data' for consistency with the prototypes.
2456         Qualify it `const'.
2457         (obstack_copy, obstack_copy0): Rename the second argument as
2458         `address' for consistency.  Qualify it `const'.
2459         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
2460         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
2461         `const' their input argument (`data' or `address').
2462         Adjust the corresponding macros to include `const' in casts.
2464 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2466         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
2467         target family.
2469 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2471         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
2472         socket creation.
2474 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2476         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
2477         ai_protocol by internal table if service was not given.
2479 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2481         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
2482         numerical port was specified with protocol without socktype.
2484 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2486         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
2488 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2490         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
2492 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2494         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
2495         sin6_scope_id field.
2497 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2499         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
2501 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2503         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
2505 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
2507         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
2508         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
2510 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
2512         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
2513         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
2515 2000-11-09  H.J. Lu  <hjl@gnu.org>
2517         * io/Versions (GLIBC_2.1.1): Remove lockf64.
2520 See ChangeLog.11 for earlier changes.