Update.
[glibc.git] / ChangeLog
blobc18c837a8162c420385eb2e3734c187feda44a64
1 1999-07-28  Andeas Schwab  <schwab@suse.de>
3         * iconvdata/Makefile: Don't try to run iconv tests when cross
4         compiling.
6 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
8         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
9         for the hinted protocol.
11 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
13         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
15 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
17         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
18         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
19         * elf/dl-load.c (_dl_map_object): Likewise.
20         * elf/do-lookup.h (do_lookup*): Likewise.
21         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
22         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
23         as uint64_t.
24         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
26 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
28         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
29         * sysdeps/generic/getpgrp.c: Likewise.
30         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
31         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
32         Patch by John Tobey <jtobey@banta-im.com>.
34         * sysdeps/posix/wait3.c: Help compiling in presence of
35         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
37 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
39         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
40         as much as possible. Declare them using .register pseudo-op if they
41         are still used.
42         * sysdeps/sparc/sparc64/lshift.S: Likewise.
43         * sysdeps/sparc/sparc64/memchr.S: Likewise.
44         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
45         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46         * sysdeps/sparc/sparc64/memset.S: Likewise.
47         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
48         * sysdeps/sparc/sparc64/rshift.S: Likewise.
49         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
50         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
51         * sysdeps/sparc/sparc64/strcat.S: Likewise.
52         * sysdeps/sparc/sparc64/strchr.S: Likewise.
53         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
54         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
55         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
56         * sysdeps/sparc/sparc64/strlen.S: Likewise.
57         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
58         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
59         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
60         * sysdeps/sparc/sparc64/strspn.S: Likewise.
61         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
62         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
63         Optimize trampoline code for .plt4-.plt32767.
64         Fix trampolines for .plt32768+.
66 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
68         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
69         -mcpu=v8.
70         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
71         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
72         libc's private use (as assembly routine clobber it anyway).
74 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
76         * README.template (configurations): The crypt add-on has a new
77         ftp site.
78         * manual/install.texi (Installation): Likewise.
80 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
82         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
83         requires to have a full definition but we wait for a bug report
84         based on the test suite.
86         * sysdeps/generic/clock_getres.c: New file.
87         * sysdeps/generic/clock_gettime.c: New file.
88         * sysdeps/generic/clock_settime.c: New file.
89         * sysdeps/generic/timer_create.c: New file.
90         * sysdeps/generic/timer_delete.c: New file.
91         * sysdeps/generic/timer_getoverr.c: New file.
92         * sysdeps/generic/timer_gettime.c: New file.
93         * sysdeps/generic/timer_settime.c: New file.
95         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
96         CLOCK_REALTIME, and TIMER_ABSTIME.
97         * sysdeps/mach/hurd/bits/time.h: Likewise.
98         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
99         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
101         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
103         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
104         si_timer2.
106         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
108         * time/Makefile (routines): Add clock_getres, clock_gettime,
109         clock_setres, timer_create, timer_delete, timer_getoverr,
110         timer_gettime, and timer_settime.
112         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
113         POSIX.1b.  Add prototypes for clock and timer functions.
115 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
117         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
118         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
120 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
122         * stdlib/wcstombs.c: Do not use global state.
123         Reported by Bruno Haible <haible@ilog.fr>.
125         * wcsmbs/wctob.c: Avoid sign extension when returning character.
126         Reported by Bruno Haible <haible@ilog.fr>.
128         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
129         of wide characters to convert do it right and don't overestimate
130         by multiplying with MB_CUR_MAX.
131         Reported by Bruno Haible <haible@ilog.fr>.
133 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
135         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
136         (__stpcpy_small): Likewise.
137         Union has no __uc member but __c.
139 1999-07-26  Andreas Schwab  <schwab@suse.de>
141         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
143 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
145         * libio/iofclose.c (_IO_new_fclose): Only fall back on
146         _IO_old_fclose if doing versioning.
148         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
149         them appropriately.
150         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
152         * misc/mntent_r.c: Allow spaces and tabs in entry names by
153         encoding these characters.
154         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
156         * string/bits/string2.h: Fix aliasing problems.
157         * sysdeps/i386/i486/bits/string.h: Likewise.
158         * sysdeps/i386/bits/string.h: Likewise.
160 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
162         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
163         * elf/rtld.c (dl_main): Don't call malloc() between
164         re-relocating the dynamic linker and running the application's crt0.
166 1999-07-21  Paul D. Smith  <psmith@gnu.org>
168         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
169         glob.h to get __P() macro.
171         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
172         not ANSI.
173         (__strchrnul): This won't exist outside GLIBC, so create one.
175 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
177         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
178         __ino64_t should be 32bit unsigned type on sparc32.
179         Define __off64_t to __quad_t instead of __int64_t.
180         Make __pic_pid_t unsigned on sparc32.
182 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
184         * localedata/tst-rpmatch.sh: Use "&" instead of "ยง" to avoid a bug
185         in bash 2.03.
187 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
189         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
190         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
192 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
194         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
195         accesses.
197         * resolv/res_send.c: Add locks for res_send and res_close use.
199         * elf/Makefile (dl-routines): Add preinit.
200         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
201         * elf/link.h (struct link_map): Add new field l_preinitcount.
202         * elf/dl-preinit.c: New file.
203         * elf/dynamic-link.h: Initialize l_preinitcount.
204         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
206         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
207         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
208         and l_initcount.
209         * elf/dl-init.c: Handle DT_INIT_ARRAY.
210         * elf/dynamic-link.h: Change parameters.  Now only get link_map
211         pointer.  Calculate l_initcount.
213         * elf/link.h (struct link_map): Add l_runpath_dirs.
214         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
215         * elf/dl-load.c: Pretty print.
216         (decompose_rpath): Take new parameter with info from where the path
217         comes.  Pass it the fillin_rpath.
218         (_dl_init_paths): Initialize l_runpath_dirs.
219         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
220         Search using RUNPATH after LD_LIBRARY_PATH.
221         * elf/dl-support.c: Adjust comment.
222         * elf/rtld.c: Adjust help message.
224 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
226         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
227         interface.
229 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
231         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
232         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
233         ever used this, so I'm not going to worry about compatibility.
234         [__USE_GNU] (IUCLC, OLCUC): New macros.
236 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
238         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
240         * elf/elf.h: Add ET_LOOS and ET_HIOS.
241         Add various EM_* constants.
242         Add SHN_LOOS and SHN_HIOS.
243         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
244         Add SHF_MERGE and SHF_STRINGS.
245         (ElfXX_Sym): Update description of st_other field.
246         Add STT_COMMON.
247         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
248         Add STV_* macros.
249         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
250         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
251         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
253         * posix/unistd.h: Move declaration of __libc_enable_secure to...
254         * include/unistd.h: ...here.
256         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
257         * elf/dl-deps.c (expand_dst): Likewise.
259         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
260         based on DT_FLAGS value.
262         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
263         Add test for symbols marked STV_HIDDEN.
264         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
265         add undef_map.  Compute reference_name locally.  Update call to
266         do_lookup.
267         (_dl_lookup_symbol_skip): Likewise.
268         (_dl_lookup_versioned_symbol): Likewise.
269         (_dl_lookup_versioned_symbol_skip): Likewise.
270         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
271         * elf/dl-runtime.c: Likewise.
272         * elf/dl-sym.c: Likewise.
273         * elf/dl-symbol.c: Likewise.
274         * elf/ldsodefs.h: Adjust prototypes.
276         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
277         handle appropriately.  Add comment about DT_TEXTREL.
278         * elf/dl-runtime.c: Likewise.
280 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
282         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
283         * elf/ldsodefs.h: Declare it.
284         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
285         instead of assert.
286         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
287         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
288         (elf_machine_lazy_rel): Likewise.
289         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
290         (elf_machine_lazy_rel): Likewise.
291         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
292         (elf_machine_lazy_rel): Likewise.
293         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
294         (elf_machine_lazy_rel): Likewise.
295         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
296         (elf_machine_lazy_rel): Likewise.
297         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
298         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
299         (elf_machine_lazy_rel): Likewise.
300         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
301         (elf_machine_lazy_rel): Likewise.
302         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
303         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
304         _dl_reloc_bad_type instead of _dl_signal_error.
305         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
307 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
309         * sysdeps/mach/_strerror.c: Include <libintl.h>.
311 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
313         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
314         hurd_signal_preemptor matches but its `preemptor' field is null, use
315         its `handler' field directly.  This is to comply with behavior
316         documented in <hurd/sigpreempt.h>.
318 1999-07-21  Andreas Schwab  <schwab@suse.de>
320         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
321         when reading from write-only stream.
322         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
323         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
325 1999-07-21  Andreas Schwab  <schwab@suse.de>
327         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
328         NULL.
330 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
332         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
333         <hurd/fd.h>.
334         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
335         <hurd/fd.h>.
336         (__libc_write): Call __pwrite instead of __pread.
338 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
340         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
341         __vm_allocate calls.
343         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
344         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
346         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
347         _hurd_fd_read with new OFFSET argument set to -1.
348         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
349         to -1.
351 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
353         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
354         descriptor table sent in the RPC.
356 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
358         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
359         bill@taniwha.org [PR libc/1211].
361 1999-07-19  Andreas Schwab  <schwab@suse.de>
363         * libio/Makefile (routines): Add fwprintf.
365         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
366         * math/w_sqrt.c: Moved to ...
367         * sysdeps/generic/w_sqrt.c: ... here.
368         * math/w_sqrtf.c: Moved to ...
369         * sysdeps/generic/w_sqrtf.c: ... here.
371         * Make-dist (generic-dirs): New variable.
372         (try-sysdeps, +sysdep-names): Use it.
373         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
374         instead of $(lib)-routines.
375         * elf/Makefile (distribute): Add dl-cache.h.
376         * db2/Makefile (distribute): Add all new files.
377         * iconvdata/Makefile (distribute): Don't distribute CVS
378         directory.
379         * math/Makefile (distribute): Remove machine/endian.h, add
380         math_ldbl.h.
381         * stdio-common/Makefile (distribute): Add _itowa.h.
382         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
383         * sysdeps/gnu/Dist: Add eval.c
384         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
385         dlfcn]: Add to this instead of libdl-routines.
386         * sysdeps/ieee754/ldbl-128/Dist: New file.
387         * sysdeps/mach/hurd/Dist: Add siglist.h
388         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
390 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
392         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
394         * inet/Makefile (routines): Add getipnodebyad and freehostent.
395         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
396         * inet/freehostent.c: New file.
397         * inet/getipnodebyad.c: New file.
398         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
399         and getipnodebyname.  The latter comes soon.
400         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
401         Add support for getipnode* functions.
403         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
404         Set h_aliases to NULL and not to a pointer to an array with a NULL
405         pointer following XNS 5.2.
407         * posix/sched.h: Remove internal interfaces.
408         * include/sched.h: Add internal interfaces.
410         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
412         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
414         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
415         and return an error in this case.
416         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
417         available.
419 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
421         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
422         1999-07-17 and adjust len parameter.
423         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
424         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
425         * manual/socket.texi (Host Names): Likewise.
426         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
427         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
428         Likewise.
429         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
430         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
431         (ht_gethostbyaddr): Likewise.
432         (_gethtbyaddr): Likewise.
434 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
436         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
437         gethostbyaddr_r.
438         * include/netdb.h: Likewise.
439         * inet/gethstbyad.c: Correct type of len parameter.
440         * inet/gethstbyad_r.c: Likewise.
442         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
444 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
446         * include/libc-symbol.h: Clean up definitions of weak_alias,
447         strong_alias, symbol_version, etc. etc.
448         * posix/getopt.h: Use ctype.h to get features.h included, and don't
449         include it at all if __GNU_LIBRARY__ is already defined.
451 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
453         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
455         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
457         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
458         type for tv_usec element.
459         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise
460         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
461         * sysdeps/generic/bits/time.h: Likewise.
462         * sysdeps/mach/hurd/bits/time.h: Likewise.
463         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
464         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
465         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
466         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
467         * sysdeps/generic/bits/types.h: Likewise.
468         * posix/sys/types.h: Define suseconds_t for X/Open.
470 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
472         * stdio-common/bug1.c: Avoid memory leak.
474         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
475         program deterministic.
476         * sysdeps/i386/fpu/e_powf.S: Likewise.
477         * sysdeps/i386/fpu/e_powl.S: Likewise.
479 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
481         * math/Makefile: Add t_sincosl and k_sincosl support routines.
482         * math/math_private.h (__kernel_sincosl): New declaration.
483         * sysdeps/generic/t_sincosl.c: New file.
484         * sysdeps/generic/k_sincosl.c: New file.
485         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
486         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
487         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
488         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
489         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
490         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
491         __kernel_sincosl.
492         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
493         definition.
495 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
497         * posix/unistd.h: Use __PMT for exit.
499 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
501         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
502         _outw, _outl): Added to GLIBC_2.1.2.
504 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
506         * posix/fnmatch.h: Use __name instead of __string in prototype to
507         allow use outside glibc.
509 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
511         * time/tst-strptime.c (main): Add one more test case.  Produce
512         output even when result is ok.
514         * time/strptime.c (get_number): Handle number parsing more
515         consistent with strftime.  Only parse a given number of digits.
516         (get_alt_number):  Fix implementation.  Was broken.
517         (strptime_internal): Add third parameter to get_number and
518         get_alt_number calls.
520 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
522         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
523         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
524         try both 32bit and 64bit dynamic linker.
525         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
526         script on all sparc targets.
528 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
530         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
531         to int.
533 1999-07-13  Andreas Schwab  <schwab@suse.de>
535         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
536         inlining.  Fixes PR libc/1198.
538 1999-07-14  Andreas Schwab  <schwab@suse.de>
540         * Makerules (common-generated): Don't prepend $(common-objpfx).
542 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
544         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
545         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
546         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
547         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
548         macro.
549         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
550         instead of ieee754.
551         * sysdeps/arm/Implies: Likewise.
552         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
553         ieee754/ldbl-96 instead of ieee754.
554         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
555         * sysdeps/generic/e_atanhl.c: New file.
556         * sysdeps/generic/e_coshl.c: New file.
557         * sysdeps/generic/e_sinhl.c: New file.
558         * sysdeps/generic/e_gammal_r.c: New file.
559         * sysdeps/generic/e_hypotl.c: New file.
560         * sysdeps/generic/s_cbrtl.c: New file.
561         * sysdeps/generic/s_asinhl.c: New file.
562         * sysdeps/generic/s_tanhl.c: New file.
563         * sysdeps/generic/w_expl.c: New file.
564         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
565         instead of ieee754.
566         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
567         ieee754/ldbl-96 instead of ieee754.
568         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
569         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
570         printf_fphex.
571         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
572         instead of ieee754.
573         * sysdeps/mips/mips64/Implies: Likewise.
574         * sysdeps/powerpc/Implies: Likewise.
575         * sysdeps/sparc/Implies: Remove.
576         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
577         ieee754/dbl-64.
578         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
579         and ieee754/ldbl-128.
581         * sysdeps/sparc/bits/wordsize.h: Remove.
582         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
583         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
584         only for sparc32.
585         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
586         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
587         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
588         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
589         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
590         support.
592         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
593         of carries. Optimize.
595         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
596         * sysdeps/generic/e_exp10.c: ...here.
597         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
598         * sysdeps/generic/e_exp10f.c: ...here.
599         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
600         * sysdeps/generic/e_exp10l.c: ...here.
601         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
602         * sysdeps/generic/e_scalb.c: ...here.
603         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
604         * sysdeps/generic/e_scalbf.c: ...here.
605         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
606         * sysdeps/generic/e_scalbl.c: ...here.
607         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
608         * sysdeps/generic/s_cacos.c: ...here.
609         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
610         * sysdeps/generic/s_cacosf.c: ...here.
611         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
612         * sysdeps/generic/s_cacosh.c: ...here.
613         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
614         * sysdeps/generic/s_cacoshf.c: ...here.
615         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
616         * sysdeps/generic/s_cacoshl.c: ...here.
617         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
618         * sysdeps/generic/s_cacosl.c: ...here.
619         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
620         * sysdeps/generic/s_casin.c: ...here.
621         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
622         * sysdeps/generic/s_casinf.c: ...here.
623         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
624         * sysdeps/generic/s_casinh.c: ...here.
625         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
626         * sysdeps/generic/s_casinhf.c: ...here.
627         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
628         * sysdeps/generic/s_casinhl.c: ...here.
629         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
630         * sysdeps/generic/s_casinl.c: ...here.
631         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
632         * sysdeps/generic/s_catan.c: ...here.
633         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
634         * sysdeps/generic/s_catanf.c: ...here.
635         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
636         * sysdeps/generic/s_catanh.c: ...here.
637         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
638         * sysdeps/generic/s_catanhf.c: ...here.
639         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
640         * sysdeps/generic/s_catanhl.c: ...here.
641         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
642         * sysdeps/generic/s_catanl.c: ...here.
643         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
644         * sysdeps/generic/s_ccos.c: ...here.
645         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
646         * sysdeps/generic/s_ccosf.c: ...here.
647         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
648         * sysdeps/generic/s_ccosh.c: ...here.
649         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
650         * sysdeps/generic/s_ccoshf.c: ...here.
651         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
652         * sysdeps/generic/s_ccoshl.c: ...here.
653         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
654         * sysdeps/generic/s_ccosl.c: ...here.
655         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
656         * sysdeps/generic/s_cexp.c: ...here.
657         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
658         * sysdeps/generic/s_cexpf.c: ...here.
659         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
660         * sysdeps/generic/s_cexpl.c: ...here.
661         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
662         * sysdeps/generic/s_clog.c: ...here.
663         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
664         * sysdeps/generic/s_clog10.c: ...here.
665         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
666         * sysdeps/generic/s_clog10f.c: ...here.
667         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
668         * sysdeps/generic/s_clog10l.c: ...here.
669         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
670         * sysdeps/generic/s_clogf.c: ...here.
671         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
672         * sysdeps/generic/s_clogl.c: ...here.
673         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
674         * sysdeps/generic/s_cpow.c: ...here.
675         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
676         * sysdeps/generic/s_cpowf.c: ...here.
677         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
678         * sysdeps/generic/s_cpowl.c: ...here.
679         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
680         * sysdeps/generic/s_cproj.c: ...here.
681         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
682         * sysdeps/generic/s_cprojf.c: ...here.
683         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
684         * sysdeps/generic/s_cprojl.c: ...here.
685         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
686         * sysdeps/generic/s_csin.c: ...here.
687         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
688         * sysdeps/generic/s_csinf.c: ...here.
689         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
690         * sysdeps/generic/s_csinh.c: ...here.
691         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
692         * sysdeps/generic/s_csinhf.c: ...here.
693         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
694         * sysdeps/generic/s_csinhl.c: ...here.
695         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
696         * sysdeps/generic/s_csinl.c: ...here.
697         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
698         * sysdeps/generic/s_csqrt.c: ...here.
699         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
700         * sysdeps/generic/s_csqrtf.c: ...here.
701         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
702         * sysdeps/generic/s_csqrtl.c: ...here.
703         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
704         * sysdeps/generic/s_ctan.c: ...here.
705         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
706         * sysdeps/generic/s_ctanf.c: ...here.
707         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
708         * sysdeps/generic/s_ctanh.c: ...here.
709         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
710         * sysdeps/generic/s_ctanhf.c: ...here.
711         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
712         * sysdeps/generic/s_ctanhl.c: ...here.
713         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
714         * sysdeps/generic/s_ctanl.c: ...here.
715         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
716         * sysdeps/generic/s_fdim.c: ...here.
717         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
718         * sysdeps/generic/s_fdimf.c: ...here.
719         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
720         * sysdeps/generic/s_fdiml.c: ...here.
721         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
722         * sysdeps/generic/s_fma.c: ...here.
723         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
724         * sysdeps/generic/s_fmaf.c: ...here.
725         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
726         * sysdeps/generic/s_fmal.c: ...here.
727         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
728         * sysdeps/generic/s_fmax.c: ...here.
729         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
730         * sysdeps/generic/s_fmaxf.c: ...here.
731         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
732         * sysdeps/generic/s_fmaxl.c: ...here.
733         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
734         * sysdeps/generic/s_fmin.c: ...here.
735         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
736         * sysdeps/generic/s_fminf.c: ...here.
737         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
738         * sysdeps/generic/s_fminl.c: ...here.
739         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
740         * sysdeps/generic/s_ldexp.c: ...here.
741         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
742         * sysdeps/generic/s_ldexpf.c: ...here.
743         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
744         * sysdeps/generic/s_ldexpl.c: ...here.
745         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
746         * sysdeps/generic/s_nan.c: ...here.
747         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
748         * sysdeps/generic/s_nanf.c: ...here.
749         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
750         * sysdeps/generic/s_nanl.c: ...here.
751         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
752         * sysdeps/generic/s_significand.c: ...here.
753         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
754         * sysdeps/generic/s_significandf.c: ...here.
755         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
756         * sysdeps/generic/s_significandl.c: ...here.
757         Avoid conversion from int to double and then to long double.
758         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
759         * math/w_acos.c: ...here.
760         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
761         * math/w_acosf.c: ...here.
762         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
763         * math/w_acosh.c: ...here.
764         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
765         * math/w_acoshf.c: ...here.
766         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
767         * math/w_acoshl.c: ...here.
768         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
769         * math/w_acosl.c: ...here.
770         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
771         * math/w_asin.c: ...here.
772         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
773         * math/w_asinf.c: ...here.
774         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
775         * math/w_asinl.c: ...here.
776         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
777         * math/w_atan2.c: ...here.
778         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
779         * math/w_atan2f.c: ...here.
780         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
781         * math/w_atan2l.c: ...here.
782         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
783         * math/w_atanh.c: ...here.
784         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
785         * math/w_atanhf.c: ...here.
786         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
787         * math/w_atanhl.c: ...here.
788         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
789         * math/w_cosh.c: ...here.
790         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
791         * math/w_coshf.c: ...here.
792         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
793         * math/w_coshl.c: ...here.
794         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
795         * math/w_drem.c: ...here.
796         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
797         * math/w_dremf.c: ...here.
798         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
799         * math/w_dreml.c: ...here.
800         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
801         * math/w_exp10.c: ...here.
802         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
803         * math/w_exp10f.c: ...here.
804         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
805         * math/w_exp10l.c: ...here.
806         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
807         * math/w_exp2.c: ...here.
808         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
809         * math/w_exp2f.c: ...here.
810         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
811         * math/w_exp2l.c: ...here.
812         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
813         * math/w_fmod.c: ...here.
814         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
815         * math/w_fmodf.c: ...here.
816         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
817         * math/w_fmodl.c: ...here.
818         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
819         * math/w_hypot.c: ...here.
820         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
821         * math/w_hypotf.c: ...here.
822         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
823         * math/w_hypotl.c: ...here.
824         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
825         * math/w_j0.c: ...here.
826         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
827         * math/w_j0f.c: ...here.
828         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
829         * math/w_j0l.c: ...here.
830         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
831         * math/w_j1.c: ...here.
832         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
833         * math/w_j1f.c: ...here.
834         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
835         * math/w_j1l.c: ...here.
836         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
837         * math/w_jn.c: ...here.
838         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
839         * math/w_jnf.c: ...here.
840         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
841         * math/w_jnl.c: ...here.
842         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
843         * math/w_lgamma.c: ...here.
844         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
845         * math/w_lgamma_r.c: ...here.
846         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
847         * math/w_lgammaf.c: ...here.
848         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
849         * math/w_lgammaf_r.c: ...here.
850         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
851         * math/w_lgammal.c: ...here.
852         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
853         * math/w_lgammal_r.c: ...here.
854         * sysdeps/libm-ieee754/w_log.c: Moved to ...
855         * math/w_log.c: ...here.
856         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
857         * math/w_log10.c: ...here.
858         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
859         * math/w_log10f.c: ...here.
860         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
861         * math/w_log10l.c: ...here.
862         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
863         * math/w_logf.c: ...here.
864         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
865         * math/w_logl.c: ...here.
866         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
867         * math/w_pow.c: ...here.
868         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
869         * math/w_powf.c: ...here.
870         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
871         * math/w_powl.c: ...here.
872         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
873         * math/w_remainder.c: ...here.
874         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
875         * math/w_remainderf.c: ...here.
876         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
877         * math/w_remainderl.c: ...here.
878         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
879         * math/w_scalb.c: ...here.
880         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
881         * math/w_scalbf.c: ...here.
882         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
883         * math/w_scalbl.c: ...here.
884         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
885         * math/w_sinh.c: ...here.
886         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
887         * math/w_sinhf.c: ...here.
888         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
889         * math/w_sinhl.c: ...here.
890         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
891         * math/w_sqrt.c: ...here.
892         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
893         * math/w_sqrtf.c: ...here.
894         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
895         * math/w_sqrtl.c: ...here.
896         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
897         * math/w_tgamma.c: ...here.
898         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
899         * math/w_tgammaf.c: ...here.
900         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
901         * math/w_tgammal.c: ...here.
902         * sysdeps/libm-i387/e_acos.S: Moved to ...
903         * sysdeps/i386/fpu/e_acos.S: ...here.
904         * sysdeps/libm-i387/e_acosf.S: Moved to ...
905         * sysdeps/i386/fpu/e_acosf.S: ...here.
906         * sysdeps/libm-i387/e_acosh.S: Moved to ...
907         * sysdeps/i386/fpu/e_acosh.S: ...here.
908         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
909         * sysdeps/i386/fpu/e_acoshf.S: ...here.
910         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
911         * sysdeps/i386/fpu/e_acoshl.S: ...here.
912         * sysdeps/libm-i387/e_acosl.S: Moved to ...
913         * sysdeps/i386/fpu/e_acosl.S: ...here.
914         * sysdeps/libm-i387/e_asin.S: Moved to ...
915         * sysdeps/i386/fpu/e_asin.S: ...here.
916         * sysdeps/libm-i387/e_asinf.S: Moved to ...
917         * sysdeps/i386/fpu/e_asinf.S: ...here.
918         * sysdeps/libm-i387/e_asinl.S: Moved to ...
919         * sysdeps/i386/fpu/e_asinl.S: ...here.
920         * sysdeps/libm-i387/e_atan2.S: Moved to ...
921         * sysdeps/i386/fpu/e_atan2.S: ...here.
922         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
923         * sysdeps/i386/fpu/e_atan2f.S: ...here.
924         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
925         * sysdeps/i386/fpu/e_atan2l.S: ...here.
926         * sysdeps/libm-i387/e_atanh.S: Moved to ...
927         * sysdeps/i386/fpu/e_atanh.S: ...here.
928         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
929         * sysdeps/i386/fpu/e_atanhf.S: ...here.
930         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
931         * sysdeps/i386/fpu/e_atanhl.S: ...here.
932         * sysdeps/libm-i387/e_exp.S: Moved to ...
933         * sysdeps/i386/fpu/e_exp.S: ...here.
934         * sysdeps/libm-i387/e_exp10.S: Moved to ...
935         * sysdeps/i386/fpu/e_exp10.S: ...here.
936         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
937         * sysdeps/i386/fpu/e_exp10f.S: ...here.
938         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
939         * sysdeps/i386/fpu/e_exp10l.S: ...here.
940         * sysdeps/libm-i387/e_expf.S: Moved to ...
941         * sysdeps/i386/fpu/e_expf.S: ...here.
942         * sysdeps/libm-i387/e_expl.S: Moved to ...
943         * sysdeps/i386/fpu/e_expl.S: ...here.
944         * sysdeps/libm-i387/e_fmod.S: Moved to ...
945         * sysdeps/i386/fpu/e_fmod.S: ...here.
946         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
947         * sysdeps/i386/fpu/e_fmodf.S: ...here.
948         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
949         * sysdeps/i386/fpu/e_fmodl.S: ...here.
950         * sysdeps/libm-i387/e_hypot.S: Moved to ...
951         * sysdeps/i386/fpu/e_hypot.S: ...here.
952         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
953         * sysdeps/i386/fpu/e_hypotf.S: ...here.
954         * sysdeps/libm-i387/e_log.S: Moved to ...
955         * sysdeps/i386/fpu/e_log.S: ...here.
956         * sysdeps/libm-i387/e_log10.S: Moved to ...
957         * sysdeps/i386/fpu/e_log10.S: ...here.
958         * sysdeps/libm-i387/e_log10f.S: Moved to ...
959         * sysdeps/i386/fpu/e_log10f.S: ...here.
960         * sysdeps/libm-i387/e_log10l.S: Moved to ...
961         * sysdeps/i386/fpu/e_log10l.S: ...here.
962         * sysdeps/libm-i387/e_logf.S: Moved to ...
963         * sysdeps/i386/fpu/e_logf.S: ...here.
964         * sysdeps/libm-i387/e_logl.S: Moved to ...
965         * sysdeps/i386/fpu/e_logl.S: ...here.
966         * sysdeps/libm-i387/e_pow.S: Moved to ...
967         * sysdeps/i386/fpu/e_pow.S: ...here.
968         * sysdeps/libm-i387/e_powf.S: Moved to ...
969         * sysdeps/i386/fpu/e_powf.S: ...here.
970         * sysdeps/libm-i387/e_powl.S: Moved to ...
971         * sysdeps/i386/fpu/e_powl.S: ...here.
972         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
973         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
974         * sysdeps/libm-i387/e_remainder.S: Moved to ...
975         * sysdeps/i386/fpu/e_remainder.S: ...here.
976         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
977         * sysdeps/i386/fpu/e_remainderf.S: ...here.
978         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
979         * sysdeps/i386/fpu/e_remainderl.S: ...here.
980         * sysdeps/libm-i387/e_scalb.S: Moved to ...
981         * sysdeps/i386/fpu/e_scalb.S: ...here.
982         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
983         * sysdeps/i386/fpu/e_scalbf.S: ...here.
984         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
985         * sysdeps/i386/fpu/e_scalbl.S: ...here.
986         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
987         * sysdeps/i386/fpu/e_sqrt.S: ...here.
988         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
989         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
990         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
991         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
992         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
993         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
994         * sysdeps/libm-i387/s_asinh.S: Moved to ...
995         * sysdeps/i386/fpu/s_asinh.S: ...here.
996         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
997         * sysdeps/i386/fpu/s_asinhf.S: ...here.
998         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
999         * sysdeps/i386/fpu/s_asinhl.S: ...here.
1000         * sysdeps/libm-i387/s_atan.S: Moved to ...
1001         * sysdeps/i386/fpu/s_atan.S: ...here.
1002         * sysdeps/libm-i387/s_atanf.S: Moved to ...
1003         * sysdeps/i386/fpu/s_atanf.S: ...here.
1004         * sysdeps/libm-i387/s_atanl.S: Moved to ...
1005         * sysdeps/i386/fpu/s_atanl.S: ...here.
1006         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
1007         * sysdeps/i386/fpu/s_cbrt.S: ...here.
1008         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
1009         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
1010         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
1011         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
1012         * sysdeps/libm-i387/s_ceil.S: Moved to ...
1013         * sysdeps/i386/fpu/s_ceil.S: ...here.
1014         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
1015         * sysdeps/i386/fpu/s_ceilf.S: ...here.
1016         * sysdeps/libm-i387/s_ceill.S: Moved to ...
1017         * sysdeps/i386/fpu/s_ceill.S: ...here.
1018         * sysdeps/libm-i387/s_cexp.S: Moved to ...
1019         * sysdeps/i386/fpu/s_cexp.S: ...here.
1020         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
1021         * sysdeps/i386/fpu/s_cexpf.S: ...here.
1022         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
1023         * sysdeps/i386/fpu/s_cexpl.S: ...here.
1024         * sysdeps/libm-i387/s_copysign.S: Moved to ...
1025         * sysdeps/i386/fpu/s_copysign.S: ...here.
1026         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
1027         * sysdeps/i386/fpu/s_copysignf.S: ...here.
1028         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
1029         * sysdeps/i386/fpu/s_copysignl.S: ...here.
1030         * sysdeps/libm-i387/s_cos.S: Moved to ...
1031         * sysdeps/i386/fpu/s_cos.S: ...here.
1032         * sysdeps/libm-i387/s_cosf.S: Moved to ...
1033         * sysdeps/i386/fpu/s_cosf.S: ...here.
1034         * sysdeps/libm-i387/s_cosl.S: Moved to ...
1035         * sysdeps/i386/fpu/s_cosl.S: ...here.
1036         * sysdeps/libm-i387/s_exp2.S: Moved to ...
1037         * sysdeps/i386/fpu/s_exp2.S: ...here.
1038         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
1039         * sysdeps/i386/fpu/s_exp2f.S: ...here.
1040         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
1041         * sysdeps/i386/fpu/s_exp2l.S: ...here.
1042         * sysdeps/libm-i387/s_expm1.S: Moved to ...
1043         * sysdeps/i386/fpu/s_expm1.S: ...here.
1044         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
1045         * sysdeps/i386/fpu/s_expm1f.S: ...here.
1046         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
1047         * sysdeps/i386/fpu/s_expm1l.S: ...here.
1048         * sysdeps/libm-i387/s_fdim.S: Moved to ...
1049         * sysdeps/i386/fpu/s_fdim.S: ...here.
1050         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
1051         * sysdeps/i386/fpu/s_fdimf.S: ...here.
1052         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
1053         * sysdeps/i386/fpu/s_fdiml.S: ...here.
1054         * sysdeps/libm-i387/s_finite.S: Moved to ...
1055         * sysdeps/i386/fpu/s_finite.S: ...here.
1056         * sysdeps/libm-i387/s_finitef.S: Moved to ...
1057         * sysdeps/i386/fpu/s_finitef.S: ...here.
1058         * sysdeps/libm-i387/s_finitel.S: Moved to ...
1059         * sysdeps/i386/fpu/s_finitel.S: ...here.
1060         * sysdeps/libm-i387/s_floor.S: Moved to ...
1061         * sysdeps/i386/fpu/s_floor.S: ...here.
1062         * sysdeps/libm-i387/s_floorf.S: Moved to ...
1063         * sysdeps/i386/fpu/s_floorf.S: ...here.
1064         * sysdeps/libm-i387/s_floorl.S: Moved to ...
1065         * sysdeps/i386/fpu/s_floorl.S: ...here.
1066         * sysdeps/libm-i387/s_fma.S: Moved to ...
1067         * sysdeps/i386/fpu/s_fma.S: ...here.
1068         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
1069         * sysdeps/i386/fpu/s_fmaf.S: ...here.
1070         * sysdeps/libm-i387/s_fmal.S: Moved to ...
1071         * sysdeps/i386/fpu/s_fmal.S: ...here.
1072         * sysdeps/libm-i387/s_fmax.S: Moved to ...
1073         * sysdeps/i386/fpu/s_fmax.S: ...here.
1074         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
1075         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
1076         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
1077         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
1078         * sysdeps/libm-i387/s_fmin.S: Moved to ...
1079         * sysdeps/i386/fpu/s_fmin.S: ...here.
1080         * sysdeps/libm-i387/s_fminf.S: Moved to ...
1081         * sysdeps/i386/fpu/s_fminf.S: ...here.
1082         * sysdeps/libm-i387/s_fminl.S: Moved to ...
1083         * sysdeps/i386/fpu/s_fminl.S: ...here.
1084         * sysdeps/libm-i387/s_frexp.S: Moved to ...
1085         * sysdeps/i386/fpu/s_frexp.S: ...here.
1086         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
1087         * sysdeps/i386/fpu/s_frexpf.S: ...here.
1088         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
1089         * sysdeps/i386/fpu/s_frexpl.S: ...here.
1090         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
1091         * sysdeps/i386/fpu/s_ilogb.S: ...here.
1092         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
1093         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
1094         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
1095         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
1096         * sysdeps/libm-i387/s_llrint.S: Moved to ...
1097         * sysdeps/i386/fpu/s_llrint.S: ...here.
1098         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
1099         * sysdeps/i386/fpu/s_llrintf.S: ...here.
1100         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
1101         * sysdeps/i386/fpu/s_llrintl.S: ...here.
1102         * sysdeps/libm-i387/s_log1p.S: Moved to ...
1103         * sysdeps/i386/fpu/s_log1p.S: ...here.
1104         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
1105         * sysdeps/i386/fpu/s_log1pf.S: ...here.
1106         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
1107         * sysdeps/i386/fpu/s_log1pl.S: ...here.
1108         * sysdeps/libm-i387/s_log2.S: Moved to ...
1109         * sysdeps/i386/fpu/s_log2.S: ...here.
1110         * sysdeps/libm-i387/s_log2f.S: Moved to ...
1111         * sysdeps/i386/fpu/s_log2f.S: ...here.
1112         * sysdeps/libm-i387/s_log2l.S: Moved to ...
1113         * sysdeps/i386/fpu/s_log2l.S: ...here.
1114         * sysdeps/libm-i387/s_logb.S: Moved to ...
1115         * sysdeps/i386/fpu/s_logb.S: ...here.
1116         * sysdeps/libm-i387/s_logbf.S: Moved to ...
1117         * sysdeps/i386/fpu/s_logbf.S: ...here.
1118         * sysdeps/libm-i387/s_logbl.S: Moved to ...
1119         * sysdeps/i386/fpu/s_logbl.S: ...here.
1120         * sysdeps/libm-i387/s_lrint.S: Moved to ...
1121         * sysdeps/i386/fpu/s_lrint.S: ...here.
1122         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
1123         * sysdeps/i386/fpu/s_lrintf.S: ...here.
1124         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
1125         * sysdeps/i386/fpu/s_lrintl.S: ...here.
1126         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
1127         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
1128         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
1129         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
1130         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
1131         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
1132         * sysdeps/libm-i387/s_remquo.S: Moved to ...
1133         * sysdeps/i386/fpu/s_remquo.S: ...here.
1134         * sysdeps/libm-i387/s_remquof.S: Moved to ...
1135         * sysdeps/i386/fpu/s_remquof.S: ...here.
1136         * sysdeps/libm-i387/s_remquol.S: Moved to ...
1137         * sysdeps/i386/fpu/s_remquol.S: ...here.
1138         * sysdeps/libm-i387/s_rint.S: Moved to ...
1139         * sysdeps/i386/fpu/s_rint.S: ...here.
1140         * sysdeps/libm-i387/s_rintf.S: Moved to ...
1141         * sysdeps/i386/fpu/s_rintf.S: ...here.
1142         * sysdeps/libm-i387/s_rintl.S: Moved to ...
1143         * sysdeps/i386/fpu/s_rintl.S: ...here.
1144         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
1145         * sysdeps/i386/fpu/s_scalbn.S: ...here.
1146         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
1147         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
1148         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
1149         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
1150         * sysdeps/libm-i387/s_significand.S: Moved to ...
1151         * sysdeps/i386/fpu/s_significand.S: ...here.
1152         * sysdeps/libm-i387/s_significandf.S: Moved to ...
1153         * sysdeps/i386/fpu/s_significandf.S: ...here.
1154         * sysdeps/libm-i387/s_significandl.S: Moved to ...
1155         * sysdeps/i386/fpu/s_significandl.S: ...here.
1156         * sysdeps/libm-i387/s_sin.S: Moved to ...
1157         * sysdeps/i386/fpu/s_sin.S: ...here.
1158         * sysdeps/libm-i387/s_sincos.S: Moved to ...
1159         * sysdeps/i386/fpu/s_sincos.S: ...here.
1160         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
1161         * sysdeps/i386/fpu/s_sincosf.S: ...here.
1162         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
1163         * sysdeps/i386/fpu/s_sincosl.S: ...here.
1164         * sysdeps/libm-i387/s_sinf.S: Moved to ...
1165         * sysdeps/i386/fpu/s_sinf.S: ...here.
1166         * sysdeps/libm-i387/s_sinl.S: Moved to ...
1167         * sysdeps/i386/fpu/s_sinl.S: ...here.
1168         * sysdeps/libm-i387/s_tan.S: Moved to ...
1169         * sysdeps/i386/fpu/s_tan.S: ...here.
1170         * sysdeps/libm-i387/s_tanf.S: Moved to ...
1171         * sysdeps/i386/fpu/s_tanf.S: ...here.
1172         * sysdeps/libm-i387/s_tanl.S: Moved to ...
1173         * sysdeps/i386/fpu/s_tanl.S: ...here.
1174         * sysdeps/libm-i387/s_trunc.S: Moved to ...
1175         * sysdeps/i386/fpu/s_trunc.S: ...here.
1176         * sysdeps/libm-i387/s_truncf.S: Moved to ...
1177         * sysdeps/i386/fpu/s_truncf.S: ...here.
1178         * sysdeps/libm-i387/s_truncl.S: Moved to ...
1179         * sysdeps/i386/fpu/s_truncl.S: ...here.
1180         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
1181         * sysdeps/ieee754/k_standard.c: ...here.
1182         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
1183         * sysdeps/ieee754/s_lib_version.c: ...here.
1184         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
1185         * sysdeps/ieee754/s_matherr.c: ...here.
1186         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
1187         * sysdeps/ieee754/s_signgam.c: ...here.
1188         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
1189         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
1190         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
1191         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
1192         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
1193         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
1194         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
1195         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
1196         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
1197         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
1198         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
1199         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
1200         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
1201         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
1202         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
1203         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
1204         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
1205         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
1206         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
1207         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
1208         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
1209         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
1210         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
1211         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
1212         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
1213         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
1214         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
1215         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
1216         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
1217         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
1218         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
1219         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
1220         * sysdeps/libm-ieee754/e_log.c: Moved to ...
1221         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
1222         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
1223         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
1224         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
1225         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
1226         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
1227         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
1228         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
1229         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
1230         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
1231         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
1232         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
1233         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
1234         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
1235         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
1236         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
1237         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
1238         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
1239         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
1240         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
1241         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
1242         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
1243         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
1244         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
1245         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
1246         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
1247         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
1248         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
1249         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
1250         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
1251         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
1252         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
1253         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
1254         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
1255         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
1256         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
1257         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
1258         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
1259         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
1260         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
1261         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
1262         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
1263         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
1264         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
1265         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
1266         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
1267         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
1268         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
1269         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
1270         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
1271         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
1272         (__isnan): Comment above function says it returns 0 or 1, but it
1273         used to return 0 or -1.
1274         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
1275         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
1276         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
1277         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
1278         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
1279         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
1280         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
1281         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
1282         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
1283         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
1284         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
1285         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
1286         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
1287         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
1288         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
1289         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
1290         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
1291         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
1292         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
1293         * sysdeps/generic/s_nextafter.c: ...here.
1294         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
1295         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
1296         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
1297         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
1298         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
1299         * sysdeps/libm-ieee754/s_round.c: Moved to ...
1300         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
1301         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
1302         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
1303         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
1304         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
1305         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
1306         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
1307         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
1308         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
1309         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
1310         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
1311         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
1312         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
1313         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
1314         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
1315         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
1316         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
1317         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
1318         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
1319         * sysdeps/ieee754/mpn2flt.c: Moved to ...
1320         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
1321         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
1322         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
1323         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
1324         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
1325         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
1326         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
1327         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
1328         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
1329         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
1330         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
1331         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
1332         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
1333         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
1334         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
1335         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
1336         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
1337         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
1338         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
1339         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
1340         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
1341         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
1342         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
1343         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
1344         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
1345         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
1346         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
1347         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
1348         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
1349         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
1350         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
1351         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
1352         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
1353         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
1354         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
1355         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
1356         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
1357         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
1358         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
1359         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
1360         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
1361         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
1362         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
1363         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
1364         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
1365         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
1366         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
1367         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
1368         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
1369         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
1370         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
1371         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
1372         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
1373         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
1374         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
1375         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
1376         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
1377         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
1378         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
1379         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
1380         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
1381         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
1382         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
1383         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
1384         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
1385         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
1386         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
1387         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
1388         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
1389         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
1390         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
1391         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
1392         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
1393         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
1394         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
1395         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
1396         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
1397         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
1398         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
1399         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
1400         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
1401         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
1402         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
1403         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
1404         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
1405         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
1406         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
1407         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
1408         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
1409         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
1410         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
1411         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
1412         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
1413         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
1414         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
1415         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
1416         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
1417         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
1418         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
1419         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
1420         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
1421         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
1422         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
1423         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
1424         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
1425         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
1426         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
1427         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
1428         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
1429         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
1430         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
1431         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
1432         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
1433         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
1434         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
1435         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
1436         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
1437         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
1438         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
1439         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
1440         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
1441         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
1442         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
1443         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
1444         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
1445         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
1446         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
1447         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
1448         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
1449         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
1450         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
1451         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
1452         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
1453         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
1454         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
1455         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
1456         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
1457         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
1458         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
1459         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
1460         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
1461         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
1462         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
1463         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
1464         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
1465         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
1466         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
1467         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
1468         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
1469         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
1470         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
1471         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
1472         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
1473         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
1474         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
1475         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
1476         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
1477         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
1478         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
1479         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
1480         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
1481         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
1482         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
1483         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
1484         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
1485         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
1486         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
1487         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
1488         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
1489         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
1490         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
1491         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
1492         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
1493         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
1494         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
1495         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
1496         INSERT_WORDS.
1497         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
1498         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
1499         (__nearbyintl): Fix for exponents 2^30.
1500         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
1501         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
1502         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
1503         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
1504         (__rintl): Fix for exponents 2^30.
1505         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
1506         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
1507         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
1508         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
1509         (__scalbnl): Fix exponent for subnormal result.
1510         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
1511         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
1512         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
1513         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
1514         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
1515         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
1516         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
1517         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
1518         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
1519         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
1520         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
1521         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
1522         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
1523         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
1524         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
1525         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
1526         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
1527         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
1528         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
1529         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
1530         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
1531         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
1532         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
1533         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
1534         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
1535         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
1536         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
1537         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
1538         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
1539         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
1540         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
1541         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
1542         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
1543         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
1544         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
1545         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
1546         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
1547         * sysdeps/i386/fpu/s_scalbln.c: ...here.
1548         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
1549         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
1550         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
1551         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
1552         * sysdeps/libm-i387/t_exp.c: Moved to ...
1553         * sysdeps/i386/fpu/t_exp.c: ...here.
1554         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
1555         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
1556         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
1557         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
1558         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
1559         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
1560         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
1561         * sysdeps/i386/fpu/s_isinfl.c: ...here.
1562         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
1563         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
1564         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
1565         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
1566         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
1567         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
1568         Fix exponent for subnormal result.
1569         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
1570         * sysdeps/generic/s_nexttowardl.c: ...here.
1571         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
1572         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
1573         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
1574         * sysdeps/i386/fpu/s_isnanl.c: ...here.
1575         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
1576         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
1577         Comment above function says it returns 0 or 1, but it used to return
1578         0 or -1.
1579         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
1580         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
1581         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
1582         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
1583         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
1584         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
1585         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
1586         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
1587         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
1588         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
1589         Cannot compare exponents with different biases without adjusting.
1590         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
1591         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
1592         Cannot compare exponents with different biases without adjusting.
1593         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
1594         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
1595         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
1596         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
1597         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
1598         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
1599         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
1600         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
1601         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
1602         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
1603         * sysdeps/libm-ieee754/Dist: Split into ...
1604         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
1605         * sysdeps/ieee754/flt-32/Dist: ...this file.
1607         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
1608         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
1609         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
1610         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
1611         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
1612         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
1613         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
1614         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
1615         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
1616         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
1617         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
1618         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
1619         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
1620         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
1621         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
1622         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
1623         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
1624         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
1625         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
1626         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
1627         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
1628         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
1629         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
1630         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
1631         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
1632         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
1633         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
1634         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
1635         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
1636         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
1637         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
1638         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
1639         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
1640         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
1641         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
1642         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
1643         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
1644         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
1645         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
1646         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
1647         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
1648         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
1649         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
1650         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
1651         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
1652         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
1653         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
1655         * sysdeps/generic/math_ldbl.h: New file.
1656         * sysdeps/generic/s_nexttowardf.c: New file.
1657         * sysdeps/generic/strtold.c: New file.
1658         * sysdeps/generic/ldbl2mpn.c: New file.
1660         * math/machine/endian.h: Remove.
1661         * sysdeps/i386/fpu/Implies: Remove.
1662         * sysdeps/ieee754/Implies: Remove.
1664         * math/math_private.h: Move long double macros to math_ldbl.h
1665         header.
1667 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
1669         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
1670         connections without a hostname set address to localhost address.
1672 1999-07-11  H.J. Lu  <hjl@gnu.org>
1674         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
1675         nscd's own strong version of the get[a-z]*_r function.
1676         * nscd/hstcache.c: Likewise.
1677         * nscd/pwdcache.c: Likewise.
1679 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
1681         * configure.in: Recognize 2.95 as gcc version number.
1682         Patch by Joel Klecker <jk@espy.org>.
1684 1999-07-12  Andreas Schwab  <schwab@suse.de>
1686         * elf/rtld.c (dl_main): When putting back the interpreter object
1687         handle the case where a missing object might occur in the list of
1688         objects but not in the search list when in trace mode.
1690 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
1692         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
1693         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
1694         _nss_hesiod_initgroups.
1696 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
1698         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
1699         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
1700         Initialize it from &__data_start if defined, or else &_end.
1702 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
1704         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
1705         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
1707 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
1709         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
1711 1999-07-09  H.J. Lu  <hjl@gnu.org>
1713         * Versions.def (GLIBC_2.1.2): Added.
1715         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
1716         old one as GLIBC_2.0.
1717         * nss/getXXbyYY_r.c: Likewise.
1719         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
1720         GLIBC_2.1.2.
1721         * inet/Versions (getaliasbyname_r, getaliasent_r,
1722         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
1723         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
1724         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
1725         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
1726         getservbyname_r): Likewise.
1727         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
1728         * shadow/Versions (getspent_r, getspnam_r): Likewise.
1730 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
1732         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
1733         compilers.
1734         (__memset_cc): Likewise.
1736         * sysdeps/generic/libc-start.c: For SUID binaries check whether
1737         the standard file descriptors are open.
1738         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
1740         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
1741         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
1742         range of mmap.  If not fail.
1743         Patches by Daniel Jacobowitz <dan@debian.org>.
1745         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
1746         before the relocation happened.
1747         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1749         * Versions.def (libnsl): Add GLIBC_2.2.
1750         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
1752 1999-07-08  Cristian Gafton  <gafton@redhat.com>
1754         * nis/yp_xdr.c (xdr_ypall): New function.
1756 1999-07-09  Andreas Schwab  <schwab@suse.de>
1758         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
1760         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
1762 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
1764         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
1765         * hesiod/hesiod-grp.c: Add initgroups support.
1766         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
1768 1999-07-08  Andreas Schwab  <schwab@suse.de>
1770         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
1772         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
1773         negative numbers.
1775         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
1776         EOF.
1777         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
1779 1999-07-08  Andreas Schwab  <schwab@suse.de>
1781         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
1783 1999-07-08  Andreas Schwab  <schwab@suse.de>
1785         * libio/fileno.c: Return -1 instead of EOF and set errno if the
1786         stream is not a real file stream.
1788 1999-07-08  Andreas Schwab  <schwab@suse.de>
1790         * manual/charset.texi: Fix typos.
1792 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
1794         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
1796 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
1798         * dlfcn: New directory.  Move the following files from elf:
1799         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
1800         dlopenold.c, dlsym.c, dlvsym.c.
1801         * dlfcn/Makefile: New file.
1802         * dlfcn/Versions: New file.
1803         * dlfcn/dlsym.c: All ELF-specific code split out to new
1804         function _dl_sym.
1805         * dlfcn/dlvsym.c: All ELF-specific code split out to new
1806         function _dl_vsym.
1807         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
1808         implemented here.
1810         * dlfcn/dladdr.c: Remove all references to ELF data structures
1811         or headers.
1812         * dlfcn/dlclose.c: Likewise.
1813         * dlfcn/dlerror.c: Likewise.
1814         * dlfcn/dlopen.c: Likewise.
1815         * dlfcn/dlopenold.c: Likewise.
1817         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
1818         yes, empty otherwise.
1819         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
1820         depending on build-shared.
1821         (subdirs): Add $(dlfcn).
1822         (rpath-dirs): Add dlfcn.
1823         * elf/Makefile: Remove all references to libdl or its
1824         components, except the ones relating to the test cases.
1825         (routines): Add dl-sym.
1826         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
1827         (libdl): Delete.
1829         * elf/dl-close.c (_dl_close): Change argument to void *.
1830         * elf/dl-open.c (_dl_open): Change return type to void *.
1831         * elf/eval.c: Removed.
1832         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
1833         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
1834         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
1835         _CALL_DL_FCT macro.
1836         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
1837         Include real header from dlfcn directory.
1838         * include/ldsodefs.h: Removed.
1840         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
1841         * nss/getXXbyYY_r.c: Likewise.
1842         * nss/getXXent_r.c: Likewise.
1843         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
1844         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
1845         * iconv/skeleton.c: Don't include ldsodefs.h.
1846         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
1848 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
1850         * sysdeps/generic/setenv.c: Describe problem.
1852         * malloc/malloc.c (request2size): Also set errno if failing.
1854         * malloc/malloc.c (request2size): Take care of overflow in
1855         addition.
1857         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
1858         (NULL, != 0) correctly.
1860         * elf/dl-load.c: Use a few more __builtin_expect.
1862         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
1863         is large enough.
1865 1999-07-07  Andreas Schwab  <schwab@suse.de>
1867         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
1868         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
1869         (_PATH_DEVPTMX): Use _PATH_DEV.
1871 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1873         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
1874         * malloc/Makefile (tests): Add tst-malloc.
1876 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
1878         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
1879         convention.
1881         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
1882         motherboards.
1883         Patch by Jay Estabrook.
1885         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
1886         ldd for SPARC.
1887         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
1888         Patch by Cristian Gafton.
1890 1999-07-02  Cristian Gafton  <gafton@redhat.com>
1892         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
1893         instead of "return NULL" to make C++ happy.
1895 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
1897         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
1898         allowed by the file access mode of the open file.
1900 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
1902         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
1903         macros defined.
1905 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
1907         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
1908         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
1909         * sysdeps/sparc/sparc64/rshift.S: Likewise.
1910         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
1912 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
1914         * malloc/malloc.c (request2size): Check for overflow and return
1915         NULL whenever it is encountered.
1917 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
1919         * sysdeps/posix/tempname.c (__gen_tempname):   Add
1920         ability to create directories.  Replace OPENIT and LARGEFILE
1921         args with a single flags parameter.
1922         * sysdeps/generic/tempname.c: Likewise.
1923         * include/stdio.h: Adjust prototype of __gen_tempname to
1924         match.  Define symbolic constants for second argument.
1926         * misc/mkdtemp.c: New file, provides new function mkdtemp().
1927         * stdlib/stdlib.h: Prototype it.
1928         * misc/Versions: Export it.
1929         * misc/Makefile (routines): Add mktemp.
1930         * manual/filesys.texi: Document it.
1932         * misc/mktemp.c: Adjust call of __gen_tempname to match new
1933         convention.
1934         * misc/mkstemp.c: Likewise.
1935         * stdio-common/tempnam.c: Likewise.
1936         * stdio-common/tmpfile.c: Likewise.
1937         * stdio-common/tmpfile64.c: Likewise.
1938         * stdio-common/tmpnam.c: Likewise.
1939         * stdio-common/tmpnam_r.c: Likewise.
1941 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
1943         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
1944         R_SPARC_OLO10 relocations.
1945         * elf/elf.h (R_SPARC_OLO10): Fix comment.
1947 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
1949         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
1950         doesn't belong in the tests, but in the wordexp implementation.
1952         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
1953         split fields.
1955 1999-07-01  Cristian Gafton  <gafton@redhat.com>
1957         * time/strptime.c (strptime): Initialize the tm struct first to avoid
1958         returning bogus results on incomplete data.
1959         (strptime_internal): day_of_the_week() requres bith tm_mon and
1960         tm_mday to be initializaed.
1961         Computer them first if they are not given.
1962         (strptime_internal): (have_mon, have_mday): New variables.
1964 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1966         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
1968 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1970         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
1971         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1973 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1975         * posix/wordexp.c (parse_tilde): Handle failing call to
1976         get.*_r functions correctly for non-existing entry.
1977         * sysdeps/posix/cuserid.c (cuserid): Likewise.
1978         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
1980 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
1982         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
1983         getxxbyYY_r functions correctly for non-existing entry.
1984         * sunrpc/getrpcport.c: Likewise.
1985         * sunrpc/clnt_simp.c: Likewise.
1986         * inet/rexec.c: Likewise.
1987         * sunrpc/clnt_gen.c: Likewise.
1988         * inet/rcmd.c: Likewise.
1989         * sysdeps/generic/glob.c: Likewise.
1991 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1993         * pwd/Makefile (tests): Add rules for tst-getpw.
1995         * pwd/tst-getpw.c: New program to test getpw.
1997 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1999         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
2000         correctly.
2002 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2004         * manual/arith.texi (System V Number Conversion): Fix the
2005         description which confused pointer and value to pointer.
2006         Reported by Andries.Brouwer@cwi.nl.
2008 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2010         * pwd/getpw.c (__getpw): Check for NULL result pointer.
2012 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2014         * manual/users.texi (Lookup User): Document POSIX return
2015         semantics for getpwuid_r and getgrgid_r.
2017         * manual/socket.texi (Host Names): Document that the result
2018         pointer is null in case of error or host not found and fix a
2019         typo.  Give a small example.
2021 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
2023         * pwd/getpw.c: Add warning since no buffer size is given and
2024         therefore no overrun tests are possible.
2026 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2028         * pwd/pwd.h: Add getpw prototype declaration.
2030 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
2032         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
2033         * wcsmbs/wcschr.c: Likewise.
2035 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
2037         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
2038         returns.
2039         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
2040         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
2041         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
2043         * elf/dl-dst.h: Fix typo.
2044         * elf/dl-open.c: Likewise.
2046 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
2048         * elf/dl-libc.c: New file, provides three functions:
2049         __libc_dlopen, __libc_dlclose, __libc_dlsym.
2050         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
2051         * elf/Makefile (routines): Add dl-libc.c.
2052         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
2053         argument to void *.
2054         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
2056         * iconv/gconv.c: Include dlfcn.h.
2057         * iconv/gconv_db.c: Likewise.
2058         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
2060         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
2061         `handle' to a void *.
2062         (__gconv_find_func): Delete prototype.
2064         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
2065         dlerror_run and related functions and structs.  Use
2066         __libc_dlopen, __libc_dlsym, __libc_dlclose.
2067         * nss/nsswitch.c: Likewise.
2069 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
2071         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
2072         function correctly.
2074         * sunrpc/getrpcport.c: Test for gethostbyname_r function
2075         correctly.
2077         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
2079         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
2080         functions correctly.
2082         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
2084         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
2085         file reading a bit.
2087         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
2089 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2091         * manual/string.texi (Copying and Concatenation): Mention that
2092         strndup is a GNU extension.
2094 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2096         * pwd/getpw.c (__getpw): Fix check for error return.
2098 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2100         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
2101         occurence of the aux object start with the current list entry, not
2102         the new one.  Adjust tail pointer in the unique list.  Explain how
2103         the meaning of the variables changes [PR libc/1168].
2105 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2107         * sysdeps/m68k/fpu/Dist: New file.
2109 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2111         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
2112         definitions...
2113         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
2114         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
2115         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
2116         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2117         * sysdeps/m68k/fpu/e_pow.c: Likewise.
2118         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2119         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
2120         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
2121         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
2122         * sysdeps/m68k/fpu/s_csin.c: Likewise.
2123         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
2124         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2125         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
2126         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
2127         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
2128         * sysdeps/m68k/fpu/s_modf.c: Likewise.
2130 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
2132         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
2133         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
2134         _EXTERN_INLINE, use a macro specific to each file,
2135         _HURD_FD_H_EXTERN_INLINE and the like.
2136         * hurd/Makefile (inline-headers): New variable.
2137         (routines): Remove hurdinline.  Add $(inlines).
2138         (inlines): New variable.
2139         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
2140         (generated): Append those here.
2141         * hurd/hurdinline.c: File removed.
2143         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
2145         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
2147 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2149         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
2151 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
2153         * string/bits/string2.h (strnlen): Remove extra prototype.
2155 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2157         * manual/filesys.texi (Working on Directory Trees): Fix typos.
2158         Reported by Andries.Brouwer@cwi.nl.
2160 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
2162         * nscd/connections.c (handle_request): Use correct type for optlen
2163         variable.
2165         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
2166         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
2168 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
2170         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
2171         * nscd/pwdcache.c: Likewise.
2172         * nscd/hstcache.c: Likewise.
2174 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
2176         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
2178         * posix/getopt.h: Include stdio.h.
2180         * manual/arith.texi: Document restriction of ndigit parameter of
2181         ecvt and friends.
2182         * misc/efgcvt.c: Define NDIGIT_MAX.
2183         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
2184         Do not dynamically allocate the static buffers.  They are small enough.
2185         * misc/efgcvt_r.c: Define NDIGIT_MAX.
2186         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
2187         * misc/qefgcvt.c: Define NDIGIT_MAX.
2188         * misc/qefgcvt_r.c: Likewise.
2189         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
2191 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
2193         * libio/stdio.h: Define stdin, stdout, stderr as macros.
2194         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
2195         These are *pragmas* not macros.
2196         * wcsmbs/wchar.h: Fix comment.
2198         * grp/grp.h: Use __foo_t_defined convention to typedef things
2199         only once.
2200         * io/sys/stat.h: Likewise.
2201         * libio/stdio.h: Likewise.
2202         * posix/unistd.h: Likewise.
2203         * posix/sys/types.h: Likewise.
2204         * posix/sys/wait.h: Likewise.
2205         * pwd/pwd.h: Likewise.
2206         * signal/signal.h: Likewise.
2207         * sysdeps/generic/stdint.h: Likewise.
2208         * sysdeps/gnu/utmpx.h: Likewise.
2209         * termios/termios.h: Likewise.
2211 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
2213         * stdio/fputc.c: Don't define alias if fputc is defined as a
2214         macro.
2215         * stdio/putc.c: Define weak alias here since it is not done
2216         anymore in fputc.c.
2218 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2220         * assert/assert.h: Don't produce `defined' as part of macro
2221         expansion.
2223 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
2225         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
2226         OFFSET argument of (off_t) -1.
2227         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
2228         OFFSET argument of (off_t) -1.
2230         * sysdeps/mach/hurd/pwrite.c: New file.
2231         * sysdeps/mach/hurd/pread.c: New file.
2233         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
2234         pass it in the RPC instead of always -1.
2235         * hurd/fd-write.c (_hurd_fd_write): Likewise.
2236         * hurd/hurd/fd.h: Update decls.
2238 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2240         * libio/wscanf.c: Include <wchar.h> for prototype.
2242 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
2244         * manual/io.texi. Fix typos.
2245         * manual/stdio.texi: Likewise.
2246         Patches by Brian Youmans <3diff@gnu.org>.
2248 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
2250         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
2251         bits of two words differ.
2253 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2255         * libio/Makefile (routines): Add putwchar and putwchar_u.
2257         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
2258         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
2259         stdout.  Fix parameter name.
2261         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
2262         * libio/getchar_u.c: Likewise.
2264         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
2266 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2268         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
2269         macro expansion---it's undefined.  Properly parenthesize
2270         substituted parameters.
2271         (__GLIBC_PREREQ): Likewise.
2273 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
2275         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
2276         weird effects.
2278         * stdlib/longlong.h: Provide __P definition if not already
2279         defined.
2281         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
2283 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
2285         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
2287 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2289         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
2291 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2293         * stdio-common/vfprintf.c (group_member): Make parameters and
2294         return types pointers to CHAR_T instead of UCHAR_T.
2295         (vfprintf): Change type of work_buffer, workend and string to
2296         CHAR_T pointer/array.
2297         (process_arg, process_string_arg): Adjust/remove casts.  Add
2298         missing use of L_ macro.
2299         (printf_unknown): Add missing uses of L_ macro.
2301 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2303         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
2304         warning.
2306 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2308         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
2309         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
2310         (__wunderflow): Likewise.
2311         (_IO_switch_to_wget_mode): Likewise.
2312         (_IO_init_wmarker): Likewise.
2314         * libio/wfileops.c (_IO_wfile_seekoff): Call
2315         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
2316         (_IO_wfile_jumps): Fix pbackfail entry.
2318         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
2319         function if the stream is currently unoriented.
2321 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
2323         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
2324         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
2325         __gnuc_va_list in v*w(printf|scanf) prototypes.
2327 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2329         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
2330         1999-03-29 to iopopen also here.
2331         Reported by Richard Braakman <dark@xs4all.nl>.
2333 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2335         * include/features.h: Use __GNUC_PREREQ.
2336         * sysdeps/i386/fpu/bits/mathinline.h: Likewise
2338 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2340         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
2341         Change EOF to WEOF and remove cast.
2342         (UNGETC): Remove macro.
2343         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
2344         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
2345         Change ISASCII to isascii and MBRLEN to mbrlen.
2346         (parse_one_spec): Compare info.spec always against wchar_t
2347         values.
2348         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
2349         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
2350         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
2352 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2354         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
2355         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
2356         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
2357         oldiofsetpos64 only if doing versioning.
2359 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
2361         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
2363 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2365         * libio/libio.h: Fix last patch.
2367 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
2369         * libio/libio.h (_IO_putwc): Correct type of first argument.
2370         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
2371         putwc_unlocked, putwchar_unlocked): Likewise.
2372         * libio/fputwc.c: Likewise.
2373         * libio/fputwc_unlocked.c: Likewise.
2374         * libio/putwc.c: Likewise.
2375         * libio/putwc_unlocked.c: Likewise.
2376         * libio/putwchar.c: Likewise.
2377         * libio/putwchar_unlocked.c: Likewise.
2379 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
2381         * sysdeps/gnu/siglist.h: File moved to ...
2382         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
2383         any platform, since it just associates the SIG* macros with text names
2384         and descriptions. For any signal macros do not exist on every
2385         platform, we can use #ifdef tests here and still use this single
2386         common file for all platforms.
2387         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
2388         should be usable for all platforms after the binary compatibility
2389         stuff in the current sysdeps/gnu version is no longer required.
2390         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
2391         * sysdeps/generic/make_siglist.c: File removed.
2392         * sysdeps/mach/hurd/siglist.h: Use #include_next.
2393         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
2395 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
2397         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
2398         * sysdeps/gnu/siglist.c: ... here.
2399         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
2400         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
2401         * sysdeps/gnu/siglist.h: New file, contents from linux version.
2402         Add entry for SIGLOST protected by #ifdef.
2403         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
2404         and define OLD_SIGLIST_SIZE_STR.
2405         * sysdeps/mach/hurd/siglist.h: New file, likewise.
2407 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
2409         * include/features.h: Define new macros __GNUC_PREREQ and
2410         __GLIBC_PREREQ which can be used to test the version of gcc
2411         and glibc respectively.
2413         * assert/assert.h: Use __GNUC_PREREQ.
2414         * intl/libintl.h: Likewise.
2415         * math/complex.h: Likewise.
2416         * math/tgmath.h: Likewise.
2417         * misc/sys/cdefs.h: Likewise.
2418         * posix/sys/types.h: Likewise.
2419         * socket/sys/socket.h: Likewise.
2420         * string/bits/string2.h: Likewise.
2421         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
2422         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2424 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
2426         * include/libintl.h: Declare _libc_intl_domainname here.
2427         Define _ and N_ here.
2428         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
2429         define _ and N_.  Don't declare _libc_intl_domainname.
2430         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
2432         * db2/config.h: Don't include sys/stat.h or define
2433         HAVE_ST_BLKSIZE here...
2434         * db2/compat.h: ...do it here.
2436         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
2437         other headers.
2438         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
2439         * iconv/iconv.c: Include stddef.h for NULL.
2440         * malloc/malloc.h: Include features.h.
2441         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
2443         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
2444         into the generated file.
2445         * sysdeps/gnu/errlist.awk: Likewise.
2446         * sysdeps/gnu/errlist.c: Rebuilt.
2448         * assert/assert-perr.c: Include libintl.h.
2449         * assert/assert.c: Likewise.
2450         * elf/dl-open.c: Likewise.
2451         * elf/dlsym.c: Likewise.
2452         * elf/dlvsym.c: Likewise.
2453         * iconv/iconv_prog.c: Likewise.
2454         * inet/rcmd.c: Likewise.
2455         * inet/ruserpass.c: Likewise.
2456         * locale/programs/charset.c: Likewise.
2457         * locale/programs/ld-collate.c: Likewise.
2458         * locale/programs/ld-ctype.c: Likewise.
2459         * locale/programs/ld-messages.c: Likewise.
2460         * locale/programs/ld-monetary.c: Likewise.
2461         * locale/programs/ld-numeric.c: Likewise.
2462         * locale/programs/ld-time.c: Likewise.
2463         * locale/programs/locfile.c: Likewise.
2464         * locale/programs/repertoire.c: Likewise.
2465         * login/programs/database.c: Likewise.
2466         * login/programs/request.c: Likewise.
2467         * malloc/mcheck.c: Likewise.
2468         * misc/error.c: Likewise.
2469         * nis/nis_call.c: Likewise.
2470         * nis/nis_callback.c: Likewise.
2471         * nis/nis_error.c: Likewise.
2472         * nis/nis_local_names.c: Likewise.
2473         * nis/nis_print.c: Likewise.
2474         * nis/nis_print_group_entry.c: Likewise.
2475         * nis/ypclnt.c: Likewise.
2476         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2477         * nscd/cache.c: Likewise.
2478         * nscd/connections.c: Likewise.
2479         * nscd/grpcache.c: Likewise.
2480         * nscd/hstcache.c: Likewise.
2481         * nscd/nscd_conf.c: Likewise.
2482         * nscd/nscd_stat.c: Likewise.
2483         * nscd/pwdcache.c: Likewise.
2484         * posix/id.c: Likewise.
2485         * resolv/herror.c: Likewise.
2486         * stdio-common/psignal.c: Likewise.
2487         * string/strsignal.c: Likewise.
2488         * sunrpc/auth_unix.c: Likewise.
2489         * sunrpc/clnt_perr.c: Likewise.
2490         * sunrpc/clnt_raw.c: Likewise.
2491         * sunrpc/clnt_tcp.c: Likewise.
2492         * sunrpc/clnt_udp.c: Likewise.
2493         * sunrpc/clnt_unix.c: Likewise.
2494         * sunrpc/get_myaddr.c: Likewise.
2495         * sunrpc/pm_getmaps.c: Likewise.
2496         * sunrpc/pmap_clnt.c: Likewise.
2497         * sunrpc/pmap_rmt.c: Likewise.
2498         * sunrpc/rpc_main.c: Likewise.
2499         * sunrpc/rpc_scan.c: Likewise.
2500         * sunrpc/svc_run.c: Likewise.
2501         * sunrpc/svc_simple.c: Likewise.
2502         * sunrpc/svc_tcp.c: Likewise.
2503         * sunrpc/svc_udp.c: Likewise.
2504         * sunrpc/svc_unix.c: Likewise.
2505         * sunrpc/xdr_rec.c: Likewise.
2506         * sunrpc/xdr_ref.c: Likewise.
2507         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
2508         * sysdeps/posix/gai_strerror.c: Likewise.
2509         * sysdeps/unix/siglist.c: Likewise.
2510         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
2511         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
2512         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
2513         * timezone/zic.c: Likewise.
2515 1999-06-18  H.J. Lu  <hjl@gnu.org>
2517         * localedata/Makefile (charmaps): Exclude SCCS.
2518         (locales): Likewise.
2519         (repertoiremaps): Likewise.
2521 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
2523         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
2524         * sysdeps/generic/bsd-setjmp.c: Likewise.
2526         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
2528         * iconv/gconv_open.c: Include string.h for memset prototype.
2530         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
2531         definitions.
2533         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
2534         assignment to avoid warning on 64bit platforms.
2536 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
2538         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
2540         * nss/getXXbyYY_r.c: Return error code not -1.
2541         * nss/getXXent_r.c: Likewise.
2542         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
2543         small.
2544         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
2545         value > 0 for error.
2546         * nscd/nscd_gethst_r.c: Likewise.
2547         * nscd/nscd_getpw_r.c: Likewise.
2549 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2551         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
2552         disciplines.
2554 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2556         * nscd/nscd_nischeck.c: Fix typos.
2558 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
2560         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
2561         always when oact is NULL.
2562         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
2564 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2566         * math/libm-test.c (jn_test): Adjust delta.
2568 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2570         * libio/vwprintf.c: Include <wchar.h> for prototypes.
2571         * libio/wprintf.c: Likewise.
2573 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2575         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
2576         to not write beyond allocated memory.
2577         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
2579 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
2581         * malloc/mtrace.c: Keep lock while printing output lines.
2582         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
2584 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
2586         * configure.in: Add warnings about broken code.
2588         * Versions.def: Add GLIBC_2.2 for libc.
2590         * iconv/gconv.h: Make header suitable for inclusion in public header
2591         by protecting all names with __.
2592         * iconv/gconv.c: Adapt for symbol name changes.
2593         * iconv/gconv.h: Likewise.
2594         * iconv/gconv_builtin.c: Likewise.
2595         * iconv/gconv_close.c: Likewise.
2596         * iconv/gconv_db.c: Likewise.
2597         * iconv/gconv_dl.c: Likewise.
2598         * iconv/gconv_int.h: Likewise.
2599         * iconv/gconv_open.c: Likewise.
2600         * iconv/gconv_simple.c: Likewise.
2601         * iconv/iconv.c: Likewise.
2602         * iconv/iconv_close.c: Likewise.
2603         * iconv/iconv_open.c: Likewise.
2604         * iconv/loop.c: Likewise.
2605         * iconv/skeleton.c: Likewise.
2606         * iconvdata/8bit-gap.c: Likewise.
2607         * iconvdata/8bit-generic.c: Likewise.
2608         * iconvdata/ansi_x3.110.c: Likewise.
2609         * iconvdata/big5.c: Likewise.
2610         * iconvdata/cns11643.h: Likewise.
2611         * iconvdata/cns11643l1.h: Likewise.
2612         * iconvdata/euc-cn.c: Likewise.
2613         * iconvdata/euc-jp.c: Likewise.
2614         * iconvdata/euc-kr.c: Likewise.
2615         * iconvdata/euc-tw.c: Likewise.
2616         * iconvdata/gb2312.h: Likewise.
2617         * iconvdata/iso-2022-jp.c: Likewise.
2618         * iconvdata/iso-2022-kr.c: Likewise.
2619         * iconvdata/iso646.c: Likewise.
2620         * iconvdata/iso8859-1.c: Likewise.
2621         * iconvdata/iso_6937-2.c: Likewise.
2622         * iconvdata/iso_6937.c: Likewise.
2623         * iconvdata/jis0201.h: Likewise.
2624         * iconvdata/jis0208.h: Likewise.
2625         * iconvdata/jis0212.h: Likewise.
2626         * iconvdata/johab.c: Likewise.
2627         * iconvdata/ksc5601.h: Likewise.
2628         * iconvdata/sjis.c: Likewise.
2629         * iconvdata/t.61.c: Likewise.
2630         * iconvdata/uhc.c: Likewise.
2631         * stdlib/mblen.c: Likewise.
2632         * stdlib/mbtowc.c: Likewise.
2633         * stdlib/wctomb.c: Likewise.
2634         * wcsmbs/btowc.c: Likewise.
2635         * wcsmbs/mbrtowc.c: Likewise.
2636         * wcsmbs/mbsnrtowcs.c: Likewise.
2637         * wcsmbs/mbsrtowcs.c: Likewise.
2638         * wcsmbs/wchar.h: Likewise.
2639         * wcsmbs/wcrtomb.c: Likewise.
2640         * wcsmbs/wcsmbsload.c: Likewise.
2641         * wcsmbs/wcsmbsload.h: Likewise.
2642         * wcsmbs/wcsnrtombs.c: Likewise.
2643         * wcsmbs/wcsrtombs.c: Likewise.
2644         * wcsmbs/wctob.c: Likewise.
2646         * include/limits.h (MB_LEN_MAX): Increase to 16.
2648         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
2649         _G_iconv_t.
2650         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
2651         * include/wchar.h: Change mbstate_t to __mbstate_t.
2653         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
2654         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
2655         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
2656         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
2657         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
2658         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
2659         and iofwide.
2660         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
2661         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
2662         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
2663         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
2664         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
2665         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
2666         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
2667         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
2668         GLIBC_2.2 for libc.
2669         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
2670         Extend _IO_file contain pointer to codecvt, widedata and mode.
2671         (_IO_getwc_unlocked): New macro.
2672         (_IO_putwc_unlocked): New macro.
2673         (_IO_fwide): New macro.
2674         * libio/libioP.h: Add new prototypes and adjust existing declarations.
2675         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
2676         buffers based on mode.
2677         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
2678         oriented.
2679         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
2680         flag to be enough to signal unallocated buffer.  For wide oriented
2681         stream don't make it linebuffered.  Don't use _IO_do_flush, use
2682         _IO_new_do_write directly.
2683         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
2684         (_IO_file_seek): Likewise.
2685         * libio/genops.c (_IO_least_marker): Make global.
2686         (__underflow): Orient stream if not already done.
2687         (__uflow): Likewise.
2688         (_IO_default_seekpos): Change to type _IO_off64_t.
2689         (_IO_default_seekoff): Likewise.
2690         (_IO_default_seek): Likewise.
2691         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
2692         in initialization.
2693         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
2694         to use _IO_off64_t.
2695         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
2696         char stream.
2697         * libio/ftello64.c: Likewise.
2698         * libio/ioftell.c: Likewise.
2699         * libio/iofopncook.c: Likewise.
2700         * libio/ioseekoff.c: Likewise.
2701         * libio/ioseekpos.c: Likewise.
2702         * libio/oldfileops.c: Likewise.
2703         * libio/iofgetpos.c: Store state of conversion if necessary.
2704         * libio/iofgetpos64.c: Likewise.
2705         * libio/iofsetpos.c: Restore conversion state if necessary.
2706         * libio/iofsetpos64.c: Likewise.
2707         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
2708         * libio/iofopen.c: Likewise.
2709         * libio/iofopen64.c: Likewise.
2710         * libio/iopopen.c: Likewise.
2711         * libio/iovdprintf.c: Likewise.
2712         * libio/iovsprintf.c: Likewise.
2713         * libio/iovsscanf.c: Likewise.
2714         * libio/memstream.c: Likewise.
2715         * libio/obprintf.c: Likewise.
2716         * libio/iofputs.c: Orient stream if not already happened.
2717         * libio/iofputs_u.c: Likewise.
2718         * libio/iofwrite.c: Likewise.
2719         * libio/iofwrite_u.c: Likewise.
2720         * libio/ioputs.c: Likewise.
2721         * libio/iosetbuffer.c: Handle not yet oriented stream.
2722         * libio/iosetvbuf.c: Likewise.
2723         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
2724         * libio/stdfiles.c: Likewise.
2725         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
2726         failed allocation.
2727         (_IO_str_seekoff): Use _IO_off64_t.
2728         * libio/vasprintf.c: Pre-orient stream.
2729         * libio/vsnprintf.c: Likewise.
2730         * libio/fputwc.c: New file.
2731         * libio/fputwc_u.c: New file.
2732         * libio/fwprintf.c: New file.
2733         * libio/fwscanf.c: New file.
2734         * libio/getwc.c: New file.
2735         * libio/getwc_u.c: New file.
2736         * libio/getwchar.c: New file.
2737         * libio/getwchar_u.c: New file.
2738         * libio/iofgetws.c: New file.
2739         * libio/iofgetws_u.c: New file.
2740         * libio/iofputws.c: New file.
2741         * libio/iofputws_u.c: New file.
2742         * libio/iofwide.c: New file.
2743         * libio/iogetwline.c: New file.
2744         * libio/ioungetwc.c: New file.
2745         * libio/iovswscanf.c: New file.
2746         * libio/iowpadn.c: New file.
2747         * libio/oldiofgetpos.c: New file.
2748         * libio/oldiofgetpos64.c: New file.
2749         * libio/oldiofsetpos.c: New file.
2750         * libio/oldiofsetpos64.c: New file.
2751         * libio/putwc.c: New file.
2752         * libio/putwc_u.c: New file.
2753         * libio/putwchar.c: New file.
2754         * libio/putwchar_u.c: New file.
2755         * libio/swprintf.c: New file.
2756         * libio/swscanf.c: New file.
2757         * libio/tst_swprintf.c: New file.
2758         * libio/tst_swscanf.c: New file.
2759         * libio/tst_wprintf.c: New file.
2760         * libio/tst_wscanf.c: New file.
2761         * libio/tst_wscanf.input: New file.
2762         * libio/vswprintf.c: New file.
2763         * libio/vwprintf.c: New file.
2764         * libio/vwscanf.c: New file.
2765         * libio/wfiledoalloc.c: New file.
2766         * libio/wfileops.c: New file.
2767         * libio/wgenops.c: New file.
2768         * libio/wprintf.c: New file.
2769         * libio/wscanf.c: New file.
2770         * libio/wstrops.c: New file.
2771         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
2772         vfwprintf, and vfwscanf.
2773         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
2774         make global.
2775         * stdio-common/_itowa.c: New file.
2776         * stdio-common/_itowa.h: New file.
2777         * stdio-common/itoa-digits.c: Minimal optimization.
2778         * stdio-common/itowa-digits.c: New file.
2779         * stdio-common/printf-parse.h: Allow use in wide character context.
2780         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
2781         * stdio-common/printf.h (printf_info): Add wide bit.
2782         * stdio-common/printf_fp.c: Determine from wide bit whether stream
2783         is wide oriented or not.
2784         * stdio-common/printf_size.c: Likewise.
2785         * sysdeps/generic/printf_fphex.c: Likewise.
2786         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
2787         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
2788         context.
2789         * stdio-common/vfscand.c: Likewise.
2790         * stdio-common/vfwprintf.c: New file.
2791         * stdio-common/vfwscanf.c: New file.
2793         * time/Makefile (routines): Add wcsftime.
2794         (tests): Add tst_wcsftime.
2795         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
2796         * time/strftime.c: Make usable as wcsftime.
2797         * time/wcsftime.c: New file.
2798         * time/tst_wcsftime.c: New file.
2800         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
2801         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
2802         * wcsmbs/wcschrnul.c: New file.
2803         * wcsmbs/wmemcpy.c: New file.
2804         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
2805         * wcsmbs/wmemmove.c: Likewise for wmemmove.
2807         * manual/stdio.texi: Document is_char and wide element if printf_info.
2809         * manual/time.texi: Document wcsftime.
2811         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
2812         __wmemmove, __wcschrnul, and __vfwscanf.
2814         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
2815         * locale/C-time.c: Adapt for above change.
2816         * locale/categories.def: Likewise.
2817         * locale/localeinfo.h: Likewise.
2818         * localedata/Makefile: Don't run tests for now.
2820         * manual/errno.texi: Fix typos.
2821         * manual/memory.texi: Likewise.
2822         * manual/ctype.texi: Likewise.
2823         Patches by Brian Youmans <3diff@gnu.org>.
2825 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2827         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
2829 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2831         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
2832         word order.
2833         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
2834         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
2836 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2838         * db2/db/db.c: Restore __nss_db_open alias.
2839         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
2840         include.
2841         * db2/os/os_rw.c (__os_write): Maintain const correctness.
2842         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
2844 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
2846         * stdio-common/printf-parse.h (parse_one_spec): Don't set
2847         is_longlong if not necessary.
2849 1999-06-15  H.J. Lu  <hjl@gnu.org>
2851         * Make-dist (sysdep_dirs): Exclude SCCS.
2852         * MakeTAGS (sysdep_dirs): Likewise.
2854 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
2856         * posix/regex.c (re_error_msgid): Remove extra commas.
2858 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
2860         * stdlib/tst-strtoll.c: New file.
2861         * stdlib/Makefile (tests): Add tst-strtoll.c
2862         * stdlib/strtol.c: It is not generally true that if
2863         (unsigned)a*(unsigned)b overflows, then the result is
2864         less than 'a'.
2866 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
2868         * nscd/connections.c (handle_request): Only root is allowed to
2869         send GETSTAT request in non secure mode.
2870         * nscd/nscd.c: Print error message if other then root try to
2871         use getstat.
2873 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2875         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
2877 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2879         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
2880         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
2882 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2884         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
2885         for character to search, to help the compiler.
2886         * sysdeps/generic/strchrnul.c: Likewise.
2887         * sysdeps/generic/memchr.c: Likewise.
2888         * sysdeps/generic/memccpy.c: Likewise.
2889         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
2891 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2893         * sysdeps/m68k/memchr.S: New file.
2894         * sysdeps/m68k/rawmemchr.S: New file.
2895         * sysdeps/m68k/strchr.S: New file.
2896         * sysdeps/m68k/strchrnul.S: New file.
2898 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
2900         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
2901         add `memory' clobber; optimise for constant `val'.
2902         (atomic_add): Likewise.
2903         (test_and_set): Remove `volatile'; add `memory' clobber; be more
2904         like the original `test_and_set'.
2905         (compare_and_swap): Remove `volatile'; add `memory' clobber;
2906         optimise for constant `oldval'.
2907         (always_swap): Remove `volatile'; add `memory' clobber.
2909 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2911         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
2912         functions for gcc <= 2.7.x.
2914 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
2916         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
2917         change.
2919 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
2921         * db2/Makefile (distribute): Remove files which do not exist
2922         anymore.
2924         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
2925         definitions to calm down gcc.
2927         * db2/db.h: Update from db 2.7.5.
2928         * db2/db_185.h: Likewise.
2929         * db2/db_int.h: Likewise.
2930         * db2/btree/bt_compare.c: Likewise.
2931         * db2/btree/bt_conv.c: Likewise.
2932         * db2/btree/bt_curadj.c: Likewise.
2933         * db2/btree/bt_cursor.c: Likewise.
2934         * db2/btree/bt_delete.c: Likewise.
2935         * db2/btree/bt_open.c: Likewise.
2936         * db2/btree/bt_page.c: Likewise.
2937         * db2/btree/bt_put.c: Likewise.
2938         * db2/btree/bt_rec.c: Likewise.
2939         * db2/btree/bt_recno.c: Likewise.
2940         * db2/btree/bt_rsearch.c: Likewise.
2941         * db2/btree/bt_search.c: Likewise.
2942         * db2/btree/bt_split.c: Likewise.
2943         * db2/btree/bt_stat.c: Likewise.
2944         * db2/btree/btree_auto.c: Likewise.
2945         * db2/common/db_appinit.c: Likewise.
2946         * db2/common/db_apprec.c: Likewise.
2947         * db2/common/db_err.c: Likewise.
2948         * db2/common/db_region.c: Likewise.
2949         * db2/common/db_salloc.c: Likewise.
2950         * db2/db/db.c: Likewise.
2951         * db2/db/db.src: Likewise.
2952         * db2/db/db_am.c: Likewise.
2953         * db2/db/db_auto.c: Likewise.
2954         * db2/db/db_dispatch.c: Likewise.
2955         * db2/db/db_dup.c: Likewise.
2956         * db2/db/db_iface.c: Likewise.
2957         * db2/db/db_join.c: Likewise.
2958         * db2/db/db_overflow.c: Likewise.
2959         * db2/db/db_pr.c: Likewise.
2960         * db2/db/db_rec.c: Likewise.
2961         * db2/db/db_ret.c: Likewise.
2962         * db2/db185/db185.c: Likewise.
2963         * db2/dbm/dbm.c: Likewise.
2964         * db2/hash/hash.c: Likewise.
2965         * db2/hash/hash_auto.c: Likewise.
2966         * db2/hash/hash_dup.c: Likewise.
2967         * db2/hash/hash_page.c: Likewise.
2968         * db2/hash/hash_rec.c: Likewise.
2969         * db2/hash/hash_stat.c: Likewise.
2970         * db2/include/btree.h: Likewise.
2971         * db2/include/btree_ext.h: Likewise.
2972         * db2/include/clib_ext.h: Likewise.
2973         * db2/include/common_ext.h: Likewise.
2974         * db2/include/db_am.h: Likewise.
2975         * db2/include/db_auto.h: Likewise.
2976         * db2/include/db_cxx.h: Likewise.
2977         * db2/include/db_ext.h: Likewise.
2978         * db2/include/db_join.h: Likewise.
2979         * db2/include/db_page.h: Likewise.
2980         * db2/include/hash.h: Likewise.
2981         * db2/include/hash_ext.h: Likewise.
2982         * db2/include/lock.h: Likewise.
2983         * db2/include/lock_ext.h: Likewise.
2984         * db2/include/log.h: Likewise.
2985         * db2/include/log_ext.h: Likewise.
2986         * db2/include/mp.h: Likewise.
2987         * db2/include/mp_ext.h: Likewise.
2988         * db2/include/os.h: Likewise.
2989         * db2/include/os_ext.h: Likewise.
2990         * db2/include/os_func.h: Likewise.
2991         * db2/include/txn.h: Likewise.
2992         * db2/include/txn_auto.h: Likewise.
2993         * db2/include/txn_ext.h: Likewise.
2994         * db2/include/xa.h: Likewise.
2995         * db2/include/xa_ext.h: Likewise.
2996         * db2/lock/lock.c: Likewise.
2997         * db2/lock/lock_conflict.c: Likewise.
2998         * db2/lock/lock_deadlock.c: Likewise.
2999         * db2/lock/lock_region.c: Likewise.
3000         * db2/lock/lock_util.c: Likewise.
3001         * db2/log/log.c: Likewise.
3002         * db2/log/log_archive.c: Likewise.
3003         * db2/log/log_auto.c: Likewise.
3004         * db2/log/log_findckp.c: Likewise.
3005         * db2/log/log_get.c: Likewise.
3006         * db2/log/log_put.c: Likewise.
3007         * db2/log/log_rec.c: Likewise.
3008         * db2/log/log_register.c: Likewise.
3009         * db2/mp/mp_bh.c: Likewise.
3010         * db2/mp/mp_fget.c: Likewise.
3011         * db2/mp/mp_fopen.c: Likewise.
3012         * db2/mp/mp_fput.c: Likewise.
3013         * db2/mp/mp_fset.c: Likewise.
3014         * db2/mp/mp_open.c: Likewise.
3015         * db2/mp/mp_pr.c: Likewise.
3016         * db2/mp/mp_region.c: Likewise.
3017         * db2/mp/mp_sync.c: Likewise.
3018         * db2/mutex/mutex.c: Likewise.
3019         * db2/mutex/uts4_cc.s: Likewise.
3020         * db2/os/os_abs.c: Likewise.
3021         * db2/os/os_alloc.c: Likewise.
3022         * db2/os/os_config.c: Likewise.
3023         * db2/os/os_dir.c: Likewise.
3024         * db2/os/os_fid.c: Likewise.
3025         * db2/os/os_fsync.c: Likewise.
3026         * db2/os/os_map.c: Likewise.
3027         * db2/os/os_oflags.c: Likewise.
3028         * db2/os/os_open.c: Likewise.
3029         * db2/os/os_rw.c: Likewise.
3030         * db2/os/os_seek.c: Likewise.
3031         * db2/os/os_sleep.c: Likewise.
3032         * db2/os/os_spin.c: Likewise.
3033         * db2/os/os_stat.c: Likewise.
3034         * db2/os/os_tmpdir.c: Likewise.
3035         * db2/os/os_unlink.c: Likewise.
3036         * db2/progs/db_archive/db_archive.c: Likewise.
3037         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
3038         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
3039         * db2/progs/db_dump/db_dump.c: Likewise.
3040         * db2/progs/db_load/db_load.c: Likewise.
3041         * db2/progs/db_printlog/README: Likewise.
3042         * db2/progs/db_printlog/commit.awk: Likewise.
3043         * db2/progs/db_printlog/count.awk: Likewise.
3044         * db2/progs/db_printlog/db_printlog.c: Likewise.
3045         * db2/progs/db_printlog/pgno.awk: Likewise.
3046         * db2/progs/db_printlog/range.awk: Likewise.
3047         * db2/progs/db_printlog/status.awk: Likewise.
3048         * db2/progs/db_printlog/txn.awk: Likewise.
3049         * db2/progs/db_recover/db_recover.c: Likewise.
3050         * db2/progs/db_stat/db_stat.c: Likewise.
3051         * db2/txn/txn.c: Likewise.
3052         * db2/txn/txn.src: Likewise.
3053         * db2/txn/txn_auto.c: Likewise.
3054         * db2/txn/txn_rec.c: Likewise.
3055         * db2/xa/xa.c: Likewise.
3056         * db2/xa/xa_db.c: Likewise.
3057         * db2/xa/xa_map.c: Likewise.
3059         * db2/btree/bt_close.c: Removed.
3060         * db2/db/db_thread.c: Likewise.
3061         * db2/hash/hash_debug.c: Likewise.
3062         * db2/include/db.h.src: Likewise.
3063         * db2/include/db_int.h.src: Likewise.
3064         * db2/include/os_jump.h: Likewise.
3065         * db2/mutex/alpha.dec: Likewise.
3066         * db2/mutex/alpha.gcc: Likewise.
3067         * db2/mutex/parisc.hp: Likewise.
3068         * db2/mutex/uts4.cc.s: Likewise.
3070         * db2/Makefile: Add new routines, remove old for 2.7.5.
3071         * db2/Versions: Add internal function names for the helper programs.
3072         * db2/makedb.c: Update for new cursor callback.
3073         * Versions.def: Define versions for libdb.
3075 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
3077         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
3078         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
3079         * nscd/nscd_nischeck.c: New file.
3080         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
3082 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3084         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
3085         MSG_* flags from Linux 2.2.9.
3087 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
3089         * Makeconfig (static-start-installed-name): Set to
3090         $(start-installed-name) if not defined.
3091         (+link-static): Use $(static-start-installed-name) instead of
3092         $(start-installed-name).
3093         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
3094         Set to crt0.o.
3096 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
3098         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
3099         inserting a send right into the child instead of unconditionally
3100         copying the send right.
3102 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
3104         * locale/lc-time.c: Add free_mem function to free if necessary
3105         statically allocated memory.
3107 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
3109         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
3110         bias from the raw exponent.
3112 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
3114         * inet/arpa/tftp.h: Move attribute declaration in right position.
3116 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
3118         * nscd/nscd.c: Add -S options for separate caching of data for
3119         every user. So one user couldn't see the data another user
3120         has gotten with his credentials.
3121         * nscd/nscd.h: Add new prototypes.
3122         * nscd/cache.c: Compare owner of cache entry if in secure mode.
3123         * nscd/connections.c: Check on shutdown if caller really was root.
3124         In secure mode get uid of caller.
3125         * nscd/grpcache.c: Add support for new secure group mode.
3126         * nscd/hstcache.c: Add support for new secure hosts mode.
3127         * nscd/pwdcache.c: Add support for new secure passwd mode.
3129 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
3131         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
3132         of user-provided buffer.
3134 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
3136         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
3137         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
3139 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
3141         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
3142         and A format.
3144         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
3145         returning after last entry.
3146         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3148 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
3150         * misc/sysexits.h: Remove advertising clause of copyright.
3151         * resolv/getnetnamadr.c: Likewise.
3152         * sysdeps/vax/bcopy.s: Likewise.
3153         * sysdeps/vax/bzero.s: Likewise.
3154         * sysdeps/vax/ffs.s: Likewise.
3155         * sysdeps/vax/memchr.s: Likewise.
3156         * sysdeps/vax/memcmp.s: Likewise.
3157         * sysdeps/vax/memmove.s: Likewise.
3158         * sysdeps/vax/memset.s: Likewise.
3159         * sysdeps/vax/strcat.s: Likewise.
3160         * sysdeps/vax/strchr.s: Likewise.
3161         * sysdeps/vax/strcmp.s: Likewise.
3162         * sysdeps/vax/strcpy.s: Likewise.
3163         * sysdeps/vax/strcspn.s: Likewise.
3164         * sysdeps/vax/strlen.s: Likewise.
3165         * sysdeps/vax/strncat.s: Likewise.
3166         * sysdeps/vax/strncmp.s: Likewise.
3167         * sysdeps/vax/strncpy.s: Likewise.
3168         * sysdeps/vax/strpbrk.s: Likewise.
3169         * sysdeps/vax/strrchr.s: Likewise.
3170         * sysdeps/vax/strsep.s: Likewise.
3171         * sysdeps/vax/strspn.s: Likewise.
3172         * sysdeps/vax/strstr.s: Likewise.
3174         * libio/iofopncook.c: Adjust for renaming of structure elements.
3175         * libio/libio.h: Define cookie functions with all the names.
3177         * pwd/fgetpwent_r.c: Set errno in the correct way.
3178         * shadow/fgetspent_r.c: Likewise.
3179         * pwd/fgetpwent.c: Handle long lines correctly.  Little
3180         optimizations.  Free static buffer when debugging memory handling.
3181         * shadow/fgetspent.c: Likewise.
3183         * grp/fgetgrent.c: Little optimization in loop.
3185 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3187         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
3188         in a different way.
3190 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
3192         * stdlib/longlong.h: gas changed sethi handling when without
3193         %hi(). Fix assembly.
3194         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
3195         port specific cache id checks.
3196         * sysdeps/generic/dl-cache.h: New file.
3197         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
3199 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
3201         * gmon/gmon.c: Remove advertising clause of copyright.
3202         * gmon/mcount.c: Likewise.
3203         * gmon/sys/gmon.h: Likewise.
3204         * inet/arpa/ftp.h: Likewise.
3205         * inet/arpa/telnet.h: Likewise.
3206         * inet/arpa/tftp.h: Likewise.
3207         * inet/inet_lnaof.c: Likewise.
3208         * inet/inet_mkadr.c: Likewise.
3209         * inet/inet_net.c: Likewise.
3210         * inet/inet_netof.c: Likewise.
3211         * inet/protocols/routed.h: Likewise.
3212         * inet/protocols/rwhod.h: Likewise.
3213         * inet/protocols/talkd.h: Likewise.
3214         * inet/protocols/timed.h: Likewise.
3215         * inet/rcmd.c: Likewise.
3216         * inet/rexec.c: Likewise.
3217         * inet/ruserpass.c: Likewise.
3218         * io/fts.c: Likewise.
3219         * io/fts.h: Likewise.
3220         * login/login_tty.c: Likewise.
3221         * misc/fstab.h: Likewise.
3222         * misc/getttyent.c: Likewise.
3223         * misc/getusershell.c: Likewise.
3224         * misc/sys/queue.h: Likewise.
3225         * misc/sys/syslog.h: Likewise.
3226         * misc/syslog.c: Likewise.
3227         * misc/ttyent.h: Likewise.
3228         * misc/ttyslot.c: Likewise.
3229         * resolv/arpa/nameser.h: Likewise.
3230         * resolv/gethnamaddr.c: Likewise.
3231         * resolv/herror.c: Likewise.
3232         * resolv/inet_addr.c: Likewise.
3233         * resolv/mapv4v6addr.h: Likewise.
3234         * resolv/mapv4v6hostent.h: Likewise
3235         * resolv/nss_dns/dns-host.c: Likewise.
3236         * resolv/nss_dns/dns-network.c: Likewise.
3237         * resolv/res_comp.c: Likewise.
3238         * resolv/res_data.c: Likewise.
3239         * resolv/res_debug.c: Likewise.
3240         * resolv/res_init.c: Likewise.
3241         * resolv/res_mkquery.c: Likewise.
3242         * resolv/res_query.c: Likewise.
3243         * resolv/res_send.c: Likewise.
3244         * resolv/resolv.h: Likewise.
3245         * sysdeps/generic/div.c: Likewise.
3246         * sysdeps/generic/netinet/ip.h: Likewise.
3247         * sysdeps/generic/netinet/tcp.h: Likewise.
3248         * sysdeps/generic/paths.h: Likewise.
3249         * sysdeps/generic/prof-freq.c: Likewise.
3250         * sysdeps/generic/sys/ttydefaults.h: Likewise.
3251         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3252         * sysdeps/gnu/netinet/tcp.h: Likewise.
3253         * sysdeps/ieee754/support.c: Likewise.
3254         * sysdeps/mach/hurd/sys/param.h: Likewise.
3255         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
3256         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
3257         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
3258         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
3259         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
3260         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
3261         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
3262         * sysdeps/unix/sysv/linux/paths.h: Likewise.
3263         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
3264         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
3265         * sysdeps/vax/DEFS.h: Likewise.
3266         * termios/sys/ttychars.h: Likewise.
3267         * misc/daemon.c: Likewise.  Call fork.
3269         * grp/fgetgrent.c (buffer): Make file local variable.
3270         (free_mem): New function.  Call for malloc debugging.
3272         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
3274 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3276         * grp/Makefile: Add rules for tst_fgetgrent.
3278         * grp/tst_fgetgrent.c: Rewritten to read only one file.
3280         * grp/tst_fgetgrent.sh: New file.
3282 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
3284         * grp/Makefile (tests): Add tst_fgetgrent.
3285         * grp/tst_fgetgrent.c: New file.
3286         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
3288 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
3290         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
3291         be POSIX compliant.  Prior definition was broken for Hurd.
3292         Reported by Mark Kettenis <kettenis@gnu.org>.
3294 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
3296         * ctype/ctype.h: Protect __tobody code by __extension__.
3298 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
3300         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
3301         reading and reset in case the buffer was too small.
3303         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
3304         of EOF.
3306 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3308         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
3309         another SIOGIFNAME typo.
3311 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
3313         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
3315         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
3316         bit.
3318 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3320         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
3321         the precision if the mantissa is zero.
3323 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3325         * manual/lang.texi (Floating Point Parameters): GCC already
3326         supports long double for a long time.
3328 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3330         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
3331         yn_test): Increase some epsilons.
3333 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
3335         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
3336         parameters.
3338 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
3340         * sysdeps/unix/sysv/linux/kernel-features.h: Define
3341         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
3342         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
3343         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
3345         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
3346         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
3347         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
3348         * sysdeps/libm-ieee754/w_j1.c: Likewise.
3349         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
3350         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
3351         * sysdeps/libm-ieee754/w_jn.c: Likewise.
3352         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
3353         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
3355         * stdio-common/vfprintf.c: Correct typos.
3357         * math/libm-test.c (jn_test): Adjust delta.
3358         (y1_test): Likewise.
3359         (yn_test): Likewise.
3361         * elf/do-lookup.h: It should never happen that if we expect a versioned
3362         symbol from a file the file has no version table.  This should have
3363         been checked in dl-version.c.
3364         * elf/dl-lookup.c: Include assert.h.
3366         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
3367         function handling.
3369         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
3371 1999-06-06  Andi Kleen  <ak@muc.de>
3373         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
3374         SA_RESTORER flag.
3376 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3378         * math/libm-test.c (yn_test): Change one delta.
3379         (jn_test): Likewise.
3380         (j1_test): Likewise.
3381         (y0_test): Likewise.
3383 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
3385         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
3386         avoid multiple calls to getpagesize() which might be a syscall.
3388 1999-06-06  Philip Blundell  <philb@gnu.org>
3390         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
3392 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3394         * manual/install.texi (Running make install): Correct typo in
3395         dynamic linker invocation.
3397 1999-06-05  Philip Blundell  <philb@gnu.org>
3399         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
3400         problems with GOT addressing.
3402 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3404         * malloc/malloc.c (check_action): Change into bitmap so that both
3405         diagnostic and abort can be requested by setting it to 3.
3406         (mALLOC_SET_STATe): Disable malloc checking if necessary.
3408 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
3410         * configure.in: Few changes for HPUX.
3412         * scripts/config.guess: Update from latest version.
3413         * scripts/config.sub: Likewise.
3415 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3417         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
3418         map files.  Closes PR libc/1147.
3420 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3422         * math/libm-test.c (main): Add new test functions.
3423         (jn_test): New tests.
3424         (j1_test): Add some more tests.
3425         (j0_test): Add some more tests.
3426         (y0_test): Add some more tests.
3427         (y1_test): Add some more tests.
3429 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3431         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
3432         Patch by mhagger@dera.gov.uk [PR libc/1145].
3434         * math/libm-test.c (y1_test): New tests.
3435         (y0_test): Likewise.
3436         (j1_test): Likewise.
3437         (j0_test): Likewise.
3438         (main): Added new tests.
3440 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
3442         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
3443         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
3444         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
3445         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
3446         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
3447         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
3449 1999-06-02  David S. Miller  <davem@redhat.com>
3451         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
3452         pointers properly.
3454 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
3456         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
3457         and elide compatibility code if possible.
3459 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
3461         * manual/llio.texi: Remove menu entry for removed section.
3463 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3465         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
3466         variables.
3468 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3470         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
3471         (from Linux 2.3.4).
3473 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
3475         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
3477 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3479         * manual/stdio.texi: Fix some typos.
3481 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3483         * malloc/malloc.h: Properly handle future GCC versions.
3485 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3487         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
3488         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
3489         text of error message.
3491         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
3493 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
3495         * manual/filesys.texi: Extend (f)truncate documentation.
3496         * manual/llio.texi: Remove duplicate (f)truncate definition.
3498 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3500         * manual/stdio.texi (Formatted Output Functions): Mention
3501         semantics of snprintf in glibc 2.0.
3502         Reported by Ben Pfaff <pfaffben@msu.edu>.
3504 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
3506         * include/features.h (__GLIBC_MINOR__): Bump to 2.
3508 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
3510         * math/libm-test.c: Adjust a few more deltas for the poor ARM
3511         FPU emulator.
3513 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3515         * configure.in: Fix typo.
3517 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3519         * manual/socket.texi (Host Names): Remove statement that h_errno
3520         needs to be declared since this isn't true anymore.
3521         Closes PR libc/1138.
3523 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
3525         * config.h.in: Add __LINUX_KERNEL_VERSION.
3526         * configure.in: Recognize --enable-kernel.
3527         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
3528         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
3529         appropriately.
3530         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
3531         given perform runtime test.
3533         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
3534         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
3535         minimal supported kernel is known to have the feature.
3536         * sysdeps/unix/sysv/linux/poll.c: Likewise.
3537         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3538         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3539         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3540         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3541         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
3542         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3543         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3544         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3545         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3546         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3547         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
3548         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
3549         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
3550         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
3552         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
3554 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
3556         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
3558 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
3560         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
3561         Optimized sparc64 routines.
3563 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
3565         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
3566         they are the same as ints.
3567         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
3569         * version.h (VERSION): Bump to 2.1.90.
3570         (RELEASE): Mark as development.
3572         * stdio-common/vfprintf.c (vfprintf): Don't implement special
3573         handling for long long if it is the same as long.
3574         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
3576         * stdlib/strtol.c: Moved to ...
3577         * sysdeps/generic/strtol.c: ...here.
3578         * stdlib/strtoul.c: Moved to ...
3579         * sysdeps/generic/strtoul.c: ...here.
3580         * stdlib/strtoll.c: Moved to ...
3581         * sysdeps/generic/strtoll.c: ...here.
3582         * stdlib/strtoull.c: Moved to ...
3583         * sysdeps/generic/strtoull.c: ...here.
3584         * stdlib/strtol_l.c: Moved to ...
3585         * sysdeps/generic/strtol_l.c: ...here.
3586         * stdlib/strtoul_l.c: Moved to ...
3587         * sysdeps/generic/strtoul_l.c: ...here.
3588         * stdlib/strtoll_l.c: Moved to ...
3589         * sysdeps/generic/strtoll_l.c: ...here.
3590         * stdlib/strtoull_l.c: Moved to ...
3591         * sysdeps/generic/strtoull_l.c: ...here.
3593         * sysdeps/wordsize-64/strtol.c: New file.
3594         * sysdeps/wordsize-64/strtoul.c: New file.
3595         * sysdeps/wordsize-64/strtoll.c: New file.
3596         * sysdeps/wordsize-64/strtoull.c: New file.
3597         * sysdeps/wordsize-64/strtol_l.c: New file.
3598         * sysdeps/wordsize-64/strtoul_l.c: New file.
3599         * sysdeps/wordsize-64/strtoll_l.c: New file.
3600         * sysdeps/wordsize-64/strtoull_l.c: New file.
3602         * wcsmbs/wcstol.c: Moved to ...
3603         * sysdeps/generic/wcstol.c: ...here.
3604         * wcsmbs/wcstoul.c: Moved to ...
3605         * sysdeps/generic/wcstoul.c: ...here.
3606         * wcsmbs/wcstoll.c: Moved to ...
3607         * sysdeps/generic/wcstoll.c: ...here.
3608         * wcsmbs/wcstoull.c: Moved to ...
3609         * sysdeps/generic/wcstoull.c: ...here.
3610         * wcsmbs/wcstol_l.c: Moved to ...
3611         * sysdeps/generic/wcstol_l.c: ...here.
3612         * wcsmbs/wcstoul_l.c: Moved to ...
3613         * sysdeps/generic/wcstoul_l.c: ...here.
3614         * wcsmbs/wcstoll_l.c: Moved to ...
3615         * sysdeps/generic/wcstoll_l.c: ...here.
3616         * wcsmbs/wcstoull_l.c: Moved to ...
3617         * sysdeps/generic/wcstoull_l.c: ...here.
3619         * sysdeps/wordsize-64/wcstol.c: New file.
3620         * sysdeps/wordsize-64/wcstoul.c: New file.
3621         * sysdeps/wordsize-64/wcstoll.c: New file.
3622         * sysdeps/wordsize-64/wcstoull.c: New file.
3623         * sysdeps/wordsize-64/wcstol_l.c: New file.
3624         * sysdeps/wordsize-64/wcstoul_l.c: New file.
3625         * sysdeps/wordsize-64/wcstoll_l.c: New file.
3626         * sysdeps/wordsize-64/wcstoull_l.c: New file.
3628 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
3630         * sysdeps/sparc/bits/wordsize.h: New file.
3631         * sysdeps/sparc/fpu/bits/fenv.h: New file.
3632         * sysdeps/sparc/fpu/fpu_control.h: New file.
3633         * sysdeps/sparc/gmp-mparam.h: New file.
3635         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
3636         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
3637         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
3638         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
3639         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
3640         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
3642         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
3643         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
3644         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
3645         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
3647         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
3648         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
3649         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
3650         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
3651         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
3653 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
3655         * login/openpty.c (openpty): Make sure pty does not because
3656         controlling TTY.
3658         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
3660 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
3662         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
3663         Do proper error return.
3665 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3667         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
3668         of __P in the rest of glibc; define __MALLOC_PMT and use it.
3669         Reported by Stephan Kulow <coolo@kde.org>.
3671 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
3673         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
3675         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
3677 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3679         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
3680         names to protect from user's macro namespace.
3681         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
3682         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
3683         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
3684         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
3685         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
3686         Adapted.
3687         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
3688         sysdeps/arm/fpu/fesetenv.c: Likewise.
3689         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
3690         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
3691         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3692         * sysdeps/mips/fesetenv.c: Likewise.
3694 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
3696         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
3698 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
3700         * configure.in: Recognize and allow gcc 2.95.
3702 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
3704         * sysdeps/generic/bits/elfclass.h: Version common to
3705         wordsize-32 and wordsize-64.
3706         * sysdeps/generic/bits/environments.h: Ditto.
3707         * sysdeps/generic/stdint.h: Ditto.
3708         * sysdeps/generic/inttypes.h: Ditto.
3710         * sysdeps/generic/bits/wordsize.h: New file.
3711         * stdlib/Makefile: Add bits/wordsize.h to headers.
3713         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
3715         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
3716         headers to be used for 32bit and 64bit ABI compilations.
3717         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
3718         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
3719         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
3720         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
3721         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
3723         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
3724         * sysdeps/wordsize-64/bits/environments.h: Remove.
3725         * sysdeps/wordsize-64/stdint.h: Remove.
3726         * sysdeps/wordsize-64/inttypes.h: Remove.
3727         * sysdeps/wordsize-64/bits/wordsize.h: New file.
3729         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
3730         * sysdeps/wordsize-32/bits/environments.h: Remove.
3731         * sysdeps/wordsize-32/stdint.h: Remove.
3732         * sysdeps/wordsize-32/inttypes.h: Remove.
3733         * sysdeps/wordsize-32/bits/wordsize.h: New file.
3735 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
3737         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
3738         __align_cpy_16): New functions.
3739         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
3741         * sysdeps/sparc/sparc32/Versions: New file.
3742         * sysdeps/sparc/sparc64/Versions: New file.
3743         * sysdeps/sparc/Versions: Remove.
3745 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
3747         * sysdeps/unix/sysv/linux/configure.in:
3748         On sparc64-*-linux*, set slibdir to /lib64 if prefix
3749         is /usr, plus set libdir to ${exec_prefix}/lib64.
3750         * sysdeps/unix/sysv/linux/configure: Regenerated.
3751         * config.make.in: Propagate libdir settings from configure
3752         to the Makefiles.
3753         * shlib-versions: sparc64-*-linux* dynamic linker is
3754         /lib64/ld-linux.so.2.
3756 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
3758         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
3759         RPC connection.
3761 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
3763         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
3764         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
3766         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
3767         contains garbage in bits 8-63.
3768         * sysdeps/sparc/sparc64/memset.S: Ditto.
3769         * sysdeps/sparc/sparc64/strchr.S: Ditto.
3771 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
3773         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
3775 1999-05-17  David S. Miller  <davem@redhat.com>
3777         * sysdeps/sparc/sparc32/atomicity.h: New file.
3778         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
3779         * sysdeps/sparc/sparc64/atomicity.h: New file.
3780         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
3781         sysdep-CFLAGS.
3783 1999-05-18  Richard Henderson  <rth@twiddle.net>
3785         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
3787 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3789         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
3790         posix/sys/types.h: Handle the case of __GNUC__=3,
3791         __GNUC_MINOR__=(anything).
3793 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3795         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
3796         if _FORCE_INLINES.
3798 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
3800         * elf/Makefile (distribute): Remove dl-origin.h.
3801         Add dl-dst.h and gen-trusted-dirs.awk.
3803 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3805         * sysdeps/i386/i486/Versions: New file with inline functions from
3806         sysdeps/i386/i486/bits/string.h for now.
3808         * sysdeps/i386/Versions: Add inline functions from
3809         sysdeps/i386/bits/string.h.
3811         * string/Versions: Add inline functions from <bits/string2.h>.
3813         * string/Makefile (routines): Add string-inlines.
3814         * string/string-inlines.c: New file, used for implementation of
3815         extern inline functions.
3817         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
3818         non inlined versions of functions.
3819         * string/bits/string2.h: Likewise.
3820         * sysdeps/i386/bits/string.h: Likewise.
3822 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
3824         * inet/arpa/tftp.h: Add second packed attribute.
3826 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3828         * malloc/malloc.c: Cleanup to bring in line with released
3829         stand-alone version `ptmalloc'.  Update some comments.
3830         (internal_function): Move fallback definition so that the source
3831         compiles outside of libc, and use it in more places.
3832         (malloc_atfork): Fix when malloc_check is in use.
3834 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3836         * stdlib/tst-strtod.c: Fix typo.
3838 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3840         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
3841         const incorrectness.
3843 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
3845         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
3847 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
3849         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
3850         * sunrpc/key_call.c: Fix memory leak, close file handle.
3851         * nis/nis_creategroup.c: Use malloc instead of calloc,
3852         set ctime and mtime.
3853         * nis/nis_subr.c: Check for realloc result.
3854         * nis/nis_file.c: Fix memory leak.
3855         * nis/nis_table.c: Pretty print.
3856         * nis/nis_getservlist.c: Likewise.
3857         * nis/nis_ismember.c: Likewise.
3858         * nis/nis_lookup.c: Likewise.
3859         * nis/nis_ping.c: Likewise.
3860         * nis/nis_removemember.c: Likewise.
3861         * nis/nis_util.c: Likewise, check calloc result.
3863 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
3865         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
3866         * sysdeps/generic/sys/socketvar.h: ... here.
3867         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
3868         * sysdeps/generic/netinet/in_systm.h: ... here.
3869         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
3870         sys/socketvar.h.
3871         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
3872         * inet/Makefile (headers): Add netinet/in_systm.h here.
3873         * socket/Makefile (headers): Add sys/socketvar.h here.
3875 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
3877         * stdlib/strtol.c: Optimize inner loop of long long versions.
3879         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
3880         Unix98.  Add forward declaration of struct utmp.
3882 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
3884         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
3885         calloc.
3887         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
3888         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
3889         memory allocation results.
3891 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
3893         * sysdeps/generic/getutmp.c: Include <string.h>
3894         (getutmp): Rewrite to only copy those members that are really
3895         present in `struct utmp'.
3896         * sysdeps/generic/getutmpx.c: Likewise.
3898 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
3900         * nss/getXXbyYY.c: Add free_mem function which disposes all
3901         statically allocated memory when debugging.
3902         * nss/getXXent.c: Likewise.
3903         * nss/nsswitch.c: Likewise.
3905 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
3907         * sysdeps/gnu/getutmpx.c: New file.
3908         * sysdeps/gnu/getutmp.c: New file.
3910 1999-05-13  H.J. Lu  <hjl@gnu.org>
3912         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
3913         (getutmp): Likewise.
3915         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
3916         getutmpx for login.
3918         * sysdeps/gnu/utmpx.h (getutmp): Added.
3919         (getutmpx): Likewise.
3921         * sysdeps/generic/getutmp.c: New file.
3923         * sysdeps/generic/getutmpx.c: New file.
3925 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3927         * glibcbug.in (BUGGLIBC): Change address to
3928         libc-alpha@sourceware.cygnus.com.
3930 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3932         * resolv/arpa/nameser.h: Add C++ protectors.
3934 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3936         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
3937         Elad Tsur <eladts@post.tau.ac.il>.
3939 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
3941         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
3942         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
3943         lazily if LD_BIND_NOW is not set.
3944         * elf/dl-support.c (_dl_lazy): New variable.
3945         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
3946         * elf/rtld.c (_dl_lazy): new global variable.
3947         ( dl_main): Remove lazy, replace it by _dl_lazy.
3949 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3951         * locale/setlocale.c (new_composite_name): Check also whether the
3952         first category name differs.
3954 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3956         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
3957         the generic one.
3959 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
3961         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
3962         structure; storage suitable for any socket address.
3963         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
3964         Likewise.
3965         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
3966         sockaddr_storage): Likewise.
3968         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
3969         platform.
3971 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
3973         * hesiod/Versions: Change _nss_hesiod_getpwuid and
3974         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
3975         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
3977 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
3979         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
3980         if the file is empty.
3982 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
3984         * elf/do-lookup.h: Fix typo in comment.
3986         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
3987         f_bsize to help some broken programs.
3989         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
3991         * stdio-common/vfprintf.c: Fix typo.
3993 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
3995         * elf/link.h (struct link_map): New field l_phdr_allocated.
3996         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
3997         the program header being part of any loaded segment.  If it is not
3998         allocate memory and set l_phdr_allocated flag.
3999         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
4001         * nss/digits_dots.c: Correct return value interpretation of
4002         inet_ntoa.  Fix PR libc/1109.
4004 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
4006         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
4008 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
4010         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
4011         * stdlib/fpioconst.c: Move #endif before end of struct.
4013 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
4015         * Versions.def (ld.so): Add GLIBC_2.1.1.
4016         * elf/Makefile (routines): Add dl-origin.
4017         (tests): Add origtest.  Add dependencies for the program.
4018         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
4019         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
4020         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
4021         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
4022         DT_AUXILIARY, and DT_FILTER filenames.
4023         * elf/dl-load.c (expand_dynamic_string_token): Explode into
4024         two functions and three macros.
4025         (_dl_dst_count, _dl_dst_substitute): New functions.
4026         * elf/dl-dst.h: New file.
4027         * elf/dl-open.c (_dl_open): Take extra parameter with address of
4028         caller.  Pass address in args structure.
4029         (dl_open_worker): Recognize and expand DSTs in filename.
4030         * elf/ldsodefs.h (_dl_open): Adapt prototype.
4031         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
4032         (__dlopen_check): Pass caller address to dlopen_doit in args.
4033         * elf/dlopendoit.c: Likewise.
4034         * iconv/gconv_dl.c: Adapt call of _dl_open.
4035         * nss/nsswitch.c: Likewise.
4036         * elf/origtest.c: New file.
4037         * sysdeps/generic/dl-origin.h: Moved to...
4038         * sysdeps/generic/dl-origin.c: ...here.
4039         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
4040         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
4042         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
4043         with specific bases and only few bits set in second word.
4045         * timezone/Makefile (install-others): Create target directory
4046         before creating tzfiles.
4048 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
4050         * nis/nis_file.c (readColdStartFile): Allocate memory only after
4051         the file is opened successfully.
4053         * nis/nis_table.c: Fix some memory leaks.
4055 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
4057         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
4058         variable.
4060         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
4061         around DST.  Correctly ignore ORIGIN IN SUID binaries.
4063 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
4065         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
4066         * sysdeps/generic/strtok.c: Likewise.
4068         * string/tester.c: Add test of rawmemchr.
4070         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
4071         specification.  It's not necessary.
4073         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
4074         * elf/gen-trusted-dirs.awk: New file.
4075         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
4076         from SYSTEM_DIRS macro.
4077         (system_dirs_len): New variable.  Contains lengths of system_dirs
4078         strings.
4079         (fillin_rpath): Rewrite for systems_dirs being a simple string.
4080         Improve string comparisons.  Change parameter trusted to be a flag.
4081         Change all callers.
4082         (_dt_init_paths): Improve using new format for system_dirs.
4084         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
4085         $ORIGIN for SUID binaries.
4087         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
4089 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4091         * sunrpc/Makefile: Generate dependencies for all flavors of
4092         librpcsvc objects.
4093         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
4094         invocations.
4096 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4098         * elf/dlopenold.c: Move #if down after includes to get
4099         dependencies right.
4101 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4103         * sysdeps/generic/bzero.c: Undefine __bzero.
4105 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
4107         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
4108         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
4109         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
4110         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
4112         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
4113         parameter to struct gaih_servtuple *.  Adapt appropriately.
4114         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
4115         This fixes a memory leak.
4116         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
4118         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
4119         and fpregset_t definition.  They are defined in ucontext.h.
4121 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
4123         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
4124         and struct ether_header must be packed on the ARM.  The default
4125         alignment constraints add padding to the end of the structures.
4127 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
4129         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
4130         default alignment constraints add padding to the end of the
4131         structure and between members.
4133 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
4135         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
4136         _dl_cache_libcmp instead of strcmp.
4138         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
4139         fails on a file.
4140         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
4142 1998-03-30  Joel Klecker  <espy@debian.org>
4144         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
4145         (sysdep-others,install-bin): Add lddlibc4.
4147 1999-05-02  H.J. Lu  <hjl@gnu.org>
4149         * timezone/zic.c (dolink): Remove the symlink destination first.
4151         * catgets/open_catalog.c (__open_catalog): Set catalog->status
4152         to "nonexisting" if failed to open the file.
4154 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
4156         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
4157         gcc3.
4159         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
4160         Prevent warnings from multiplication with 0x01010101 by another cast.
4162 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4164         * string/bits/string2.h (memset): Revert to previous version if
4165         unaligned writes are not available.
4167 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
4169         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
4170         better code in presence of the asm.
4172 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4174         * stdlib/fmtmsg.c (keywords): Increase array size for faster
4175         indexing.
4177         * locale/localeinfo.h (_nl_category_names): Increase array element
4178         size for faster indexing.
4179         * locale/setlocale.c (_nl_category_names): Adjusted.
4181 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4183         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
4185 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4187         * sysdeps/m68k/stackinfo.h: New file.
4189 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
4191         * string/tester.c (test_strchrnul): New function.
4192         (test_memset): Test one more special case.
4194         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
4195         25% of all cases.
4197         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
4198         base types.
4200         * string/bits/string2.h: Fix bugs I introduced in last change.
4202         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
4203         register stall.
4204         Extend memset optimization.
4205         Correct i686 version of memchr.
4207 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
4209         * sysdeps/i386/bzero.c: Add #undef __bzero.
4211         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
4212         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
4213         exec server simulated a SIGTRAP before we even started up, so gdb is
4214         already happy.
4216 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
4218         * nss/digits_dots.c: Always initialize not_ok.
4220 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
4222         * string/bits/string2.h (memset): Avoid arithmetic overflow at
4223         compile time, which produces obnoxious warnings.  If GCCv2 is
4224         in use, map __bzero to __builtin_memset to enable that
4225         optimization.
4227 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
4229         * string/bits/string2.h: Add more memset optimizations.
4231         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
4233         * resolv/inet_pton.c (inet_pton4): Little optimizations.
4234         (inet_pton6): Likewise.
4236         * nss/getXXbyYY_r.c: Include assert.h.
4237         * nss/getXXbyYY.c: Likewise.
4239 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4241         * termios/tcgetsid.c (tcgetsid): Rename variable to
4242         tiocgsid_does_not_work.
4244 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
4246         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
4248 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4250         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
4251         This allows e.g. gethostbyname to accept "10.1234".
4252         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
4254         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
4255         non quad IPv4 numbers.
4257 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4259         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
4261 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
4263         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
4264         * argp/argp-parse.c (_argp_hang): Likewise.
4265         * argp/argp-pv.c (argp_program_version): Likewise.
4266         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
4267         * inet/ether_hton.c (ether_hton, startp): Likewise.
4268         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
4269         * inet/getnetgrent_r.c (setup, startp): Likewise.
4270         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
4271         * intl/localealias.c (string_space, string_space_act, string_space_max,
4272         nmap, maxmap): Likewise.
4273         * libio/iopopen.c (proc_file_chain): Likewise.
4274         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
4275         * locale/lc-collate.c (__collate_table, __collate_extra,
4276         __collate_element_hash, __collate_element_strings,
4277         __collate_element_values): Likewise.
4278         * malloc/mcheck.c (mcheck_used): Likewise.
4279         * malloc/mtrace.c (added_atexit_handler): Likewise.
4280         * malloc/set-freeres.c (already_called): Likewise.
4281         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
4282         * misc/syslog.c (LogStat, LogTag): Likewise.
4283         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
4284         * nss/getXXbyYY_r.c (startp): Likewise.
4285         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
4286         * posix/regex.c (init_syntax_once) [done]: Likewise.
4287         (debug): Likewise.
4288         * string/strfry.c (init): Likewise.
4289         * sunrpc/svc_run.c (svc_top): Likewise.
4290         * posix/euidaccess.c (have_ids): Likewise.
4291         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
4292         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
4293         * time/getdate.c (getdate_err): Likewise.
4294         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
4295         Likewise.
4296         * time/tzset.c (old_tz, is_initialized): Likewise.
4298         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
4299         of static data with zero.
4300         * signal/allocrtsig.c (init): Likewise.
4302         * string/Makefile (routines): Add strchrnul.
4303         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
4304         * string/string.c: Add strchrnul prototype.
4305         * include/string.h: Add __strchrnul prototype.
4306         * sysdeps/generic/strchrnul.c: New file.
4307         * sysdeps/i386/strchrnul.S: New file.
4308         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
4309         * sysdeps/i386/i486/bits/string.c: Likewise.
4310         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
4311         * inet/ether_line.c (ether_line): Likewise.
4312         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
4313         * nss/nsswitch.c (nss_parse_file): Likewise.
4314         * posix/execvp.c (execvp): Likewise.
4315         * posix/fnmatch.c (internal_fnmatch): Likewise.
4316         * resolv/res_hconf.c (_res_hconv_init): Likewise.
4317         * resolv/res_init.c (res_init): Likewise.
4318         * stdlib/fmtmsg.c (init): Likewise.
4319         * stdlib/getsubopt.c (getsubopt): Likewise.
4321         * catgets/catgets.c (catopen): Only allocate one memory block.
4322         (catclose): Only one free call necessary.
4324         * catgets/open_catalog.c (__open_catalog): Simplify handling of
4325         file descriptor.
4327         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
4328         of real functions.  Simplify _tolower and _toupper.
4330         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
4331         variable.
4333         * iconv/gconv.h (struct gconv_info): Change data element from pointer
4334         to array of size 0.
4335         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
4336         * iconv/gconv_close.c (__gconv_close): Don't free data.
4338         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
4339         insert new alias.
4341         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
4342         for error while inserting in tree.
4344         * include/time.h: Pretty print.
4346         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
4347         in table and lots of relocations.
4348         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
4349         string pointers in table and lots of relocations.
4351         * intl/finddomain.c: Remove definition of strchr macro.
4353         * io/ftw.c (nftw_arr, ftw_arr): Make const.
4355         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
4357         * locale/localeinfo.h (_nl_category_names): Change into an array with
4358         fixed width char string elements.
4359         * locale/setlocale.c (_nl_category_names): Likewise.
4360         (_nl_current): Make global.
4361         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
4363         * malloc/Makefile (distribute): Add stackinfo.h.
4364         * sysdeps/generic/stackinfo.h: New file.
4365         * sysdeps/i386/stackinfo.h: New file.
4366         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
4367         * posix/execle.c: Likewise.
4368         * posix/execlp.c: Likewise.
4370         * nis/nis_table.c (__create_ib_request): Always use realloc.
4372         * posix/execvp.c (execute): Rename to script_execute and keep only
4373         code to execute using shell.
4374         (execvp): Call execv directly and only fall back on script_execute.
4376         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
4377         and always use xdigits instead.
4379         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
4380         where appropriate.
4382         * stdlib/fpioconst.h (__tens): New declaration.
4383         (struct mp_power): Remove array, add arrayoff element.
4384         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
4385         __tens array and add in _fpioconst_pow10 offsets into __tens.
4386         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
4387         * stdlib/strtod.c: Likewise.
4389         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
4391         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
4392         of the list.
4393         * stdlib/atexit.c (__exit_funcs): Don't initialize.
4395         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
4397         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
4398         a single and an array with offsets.
4400         * sunrpc/des_soft.c (partab): Make it const.
4402         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
4403         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
4404         (__key_decryptsession_pk_LOCAL): Likewise.
4405         (__key_gendes_LOCAL): Likewise.
4406         (MESSENGER): Mark const.
4407         (key_call_private_main): Don't initialize with 0.
4408         (use_keyenvoy): Don't initialize with 0.
4409         (key_call): Rewrite to reverse logic of use_doors variable.
4411         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
4412         (startp): Don't initialize with zero.
4414         * sunrpc/openchild.c (_openchild): Make first argument const.
4416         * sunrpc/pmap_rmt.c (timeout): Mark const.
4417         * sunrpc/xcrypt.c (hex): Likewise.
4419         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
4420         initialization of global variables.
4421         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
4422         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4423         * termios/tcgetsid.c: Likewise.
4425         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
4426         fxsr to osfxsr.
4428         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
4429         block.  Add function to free memory if wanted.
4430         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
4432         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
4434         * wcsmbs/wmemset.c: Little code optimization.
4436 1999-04-23  Paul Eggert  <eggert@twinsun.com>
4438         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
4439         ifdef _LIBC.
4441 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
4443         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
4444         implementation and just always fail with ENOSYS.  This entry point is
4445         obsolete.  Add link warning to that effect.
4447 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
4449         * hurd/get-host.c: Include <hurd/lookup.h>.
4451 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
4453         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
4454         is != NULL.
4456 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4458         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
4459         ISO C9x and Unix98.
4461 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
4463         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
4464         Patch by Peter Miller <millerp@canb.auug.org.au>.
4466 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
4468         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
4469         prefers loopback device.
4471 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
4473         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
4474         no_leading_period change.
4476         * posix/testfnm.c: More test cases.
4478 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
4480         * include/dirent.h: Remove __getdirentries declaration, add __getdents
4481         and __getdents64.
4482         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
4483         * sysdeps/unix/readdir_r.c: Likewise.
4484         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4485         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
4486         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
4487         __getdirentries.  Remove fourth argument.
4488         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
4489         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
4490         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
4491         Add getdirentries and getdirentries64.
4492         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
4494         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
4495         pointer in case of an invalid [[: expression.
4497         * posix/testfnm.c: Add more test cases.
4499 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
4501         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
4502         set, pass EXEC_SIGTRAP flag in exec RPC.
4504 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
4506         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
4507         extra parameter.  Fix several more bugs involving wildcard and
4508         ranges.
4509         (fnmatch): New function.  Call internal_fnmatch.
4511         * posix/testfnm.c: More test cases.
4513 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4515         * manual/install.texi (Configuring and compiling): Explain that
4516         files are changed in the source directory.
4517         Closes PR libc/981.
4518         (Configuring and compiling): Explain situation with PARALLELMFLAGS
4519         in the source directory.
4521 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4523         * locale/programs/ld-ctype.c: Spelling fixes.
4524         (ctype_finish): Fix argument of error message format.
4525         * locale/programs/ld-messages.c: Spelling fixes.
4526         * locale/programs/ld-monetary.c: Spelling fixes.
4527         * locale/programs/ld-time.c (time_finish): Make sure that name and
4528         format of era_entries are adjacent.
4529         (time_output): Reduce the size of the io vector.
4531 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4533         * manual/filesys.texi (Attribute Meanings): Move a misplaced
4534         paragraph.
4536 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4538         * locale/programs/ld-collate.c (collate_output): Convert
4539         undefined_offset to an array index.  Fix computation of other
4540         endian extra table.
4542 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
4544         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
4545         return success with empty value.
4547 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
4549         * posix/fnmatch.c: Include string.h also for glibc.
4550         (fnmatch, case '?'): Optimize if cascades a bit.
4551         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
4553         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
4555 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
4557         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
4558         * iconv/gconv_int.h: Declare UTF16 functions.
4559         * iconv/gconv_simple.c: Add UTF16 conversion functions.
4561 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4563         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
4564         be used correctly as parameter for parse_dollars/parse_tilde.
4566 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4568         * manual/conf.texi (Utility Limits): Remove duplicate description
4569         of BC_DIM_MAX.
4571 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
4573         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
4574         outbufend for dst==NULL.
4576 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
4578         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
4579         for dst==NULL.
4580         Fixes PR libc/1084.
4582         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
4583         Fixes PR libc/1083.
4585 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
4587         * sunrpc/Makefile: Remove special handling of bootparam.x,
4588         add rpcsvc/bootparam.h to headers.
4589         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
4590         * sunrpc/rpcsvc/bootparam.x: Renamed to...
4591         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
4593 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
4595         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
4596         detect and handle invalid descriptors.
4598 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
4600         * timezone/zic.c (dolink): Append complete path not only filename
4601         to ../ list.
4603 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4605         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
4607 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
4609         * iconvdata/gconv-modules: Rename CP874 to IBM874.
4610         * iconvdata/Makefile: Likewise.
4611         * iconvdata/cp874.h: Removed.
4612         * iconvdata/cp874.c: Renamed to...
4613         * iconvdata/ibm874.c: ...this.
4615 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
4617         * sysdeps/unix/sysv/linux/bits/types.h: Correct
4618         signed/unsigned-ness of blkcnt and fsblkcnt.
4619         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4620         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4622         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
4623         SOL_AAL, and SOL_IRDA.
4625 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4627         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
4628         include "linux_fsinfo.h".
4629         Based on a patch by H.J. Lu <hjl@gnu.org>.
4631 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
4633         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
4635 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
4637         * nscd/cache.c (prune_cache): Only disable file checking for
4638         future if the file does not exist.
4639         Update file_mtime if cache was flushed.
4641 1999-04-15  David S. Miller  <davem@redhat.com>
4643         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
4644         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
4646 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
4648         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
4649         compilation of file.
4651 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
4653         * Versions.def: Add GLIBC_2.1.1 to libpthread.
4655         * iconvdata/Makefile (modules): Add KOI8-U.
4656         (distribute): Add koi8-u.c.
4657         (gen-8bit-gap-modules): Add koi8-u.
4658         * iconvdata/gconv-modules: Add KOI8-U entries.
4659         * iconvdata/koi8-u.c: New file.
4661 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
4663         * sunrpc/auth_des.c: 64bit fixes, security fixes.
4664         * sunrpc/auth_none.c: Pretty print.
4665         * sunrpc/auth_unix.c: Likewise.
4666         * sunrpc/authdes_prot.c: Likewise.
4667         * sunrpc/authuxprot.c: Likewise.
4668         * sunrpc/bindrsvprt.c: Likewise.
4669         * sunrpc/clnt_gen.c: Likewise.
4670         * sunrpc/rpc/xdr.h: Likewise.
4671         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
4672         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
4673         * sunrpc/rtime.c: Use new rpc_timeval.
4674         * sunrpc/svc_authux.c: Don't use *long pointers.
4675         * sunrpc/svcauth_des.c: Likewise + security fixes.
4676         * sunrpc/xdr_mem.c: Don't use *long pointers.
4677         * sunrpc/xdr_rec.c: Likewise.
4678         * sunrpc/xdr_sizeof.c: Likewise.
4679         * sunrpc/xdr_stdio.c: Likewise.
4681 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
4683         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
4684         so that it is redone for each sending.
4686 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4688         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
4690 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
4692         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
4693         known to not exist don't try to load shared objects.
4694         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
4696         * nscd/cache.c (prune_cache): The table might not be unused.  In
4697         this case do nothing.
4699         * catgets/gencat.c (read_input_file): Don't drop white spaces
4700         between number/identifier and string.
4701         Patch by Dima Barsky <dima@pwd.hp.com>.
4702         If no white space at all follows number/identifier remove existing
4703         message with the number/identifier.
4705 1999-04-14  H.J. Lu  <hjl@gnu.org>
4707         * sunrpc/clnt_udp.c (is_network_up): New function.
4708         (clntudp_call): Call is_network_up () to check if any network
4709         interface is up in case of timeout.
4711 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4713         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
4714         * wctype/Makefile (tests): Add test_wcfuncs.
4716 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
4718         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
4719         architectures.
4720         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
4721         instead of CFLAGS.
4722         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
4723         instead of CFLAGS. For gnulib and string directories use
4724         -Wa,-Av9a gcc ASFLAGS.
4725         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
4726         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
4727         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
4728         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
4729         the same way as sparc-*.
4731 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
4733         * locale/programs/locfile.c (locfile_read): Fix typo.
4734         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
4736 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
4738         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
4739         restarted after being interrupted by a signal.  The parameters on
4740         the stack were corrupted by the signal handler.
4742         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
4743         restarted after being interrupted by a signal.  The parameters on
4744         the stack were corrupted by the signal handler.
4746 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4748         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
4749         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
4751 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
4753         * posix/wordexp-test.c: In field-splitting test cases where
4754         subshells were involved, unset IFS first: some shells (ash) use
4755         IFS even when no expansion is performed.
4757 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4759         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
4760         the real end of the chunk, not some random point inbetween.
4761         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
4762         obstack when growing.  Use fast version of obstack_blank when
4763         shrinking.
4764         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
4765         allocating the vtable pointer.
4766         (_IO_obstack_vprintf): Adjust for above change and avoid
4767         unnecessary casts.  Use fast version of obstack_blank when
4768         shrinking.
4769         Fixes PR libc/1075.
4771 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
4773         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
4774         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
4776 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
4778         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
4779         is seen, as well as fixing semantics.  Don't reset the word count
4780         to zero when an invalid character is seen, but leave it as it was
4781         (this makes a difference with WRDE_APPEND).
4783         * posix/wordexp-test.c: More test cases.
4785         * posix/wordexp.c (parse_param): In words like ${var#pattern},
4786         always expand pattern when it is needed.  Also, handle quoting in
4787         pattern properly.
4789 1999-04-12  Philip Blundell  <philb@gnu.org>
4791         * elf/elf.h: Update ARM definitions to match current gas2.
4793         * sysdeps/arm/bits/endian.h: Support big endian operation.
4795         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
4796         Don't bother range checking the port number.
4798         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
4800         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
4801         the syscall name in assembler output for ease of debugging.
4803         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
4804         compiler behaviour.
4805         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
4806         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
4807         (sysdep_routines): Add sigrestorer.
4809         * string/tester.c (test_strcpy): Add new tests for unaligned
4810         arguments.
4811         * sysdeps/arm/bits/string.h: Delete inline implementations of
4812         strcpy and stpcpy.
4814 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
4816         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
4818 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
4820         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
4822 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
4824         * iconvdata/Makefile (modules): Add TIS-620.
4825         (distribute): Add tis-620.c.
4826         (gen-8bit-gap-modules): tis-620.
4827         * iconvdata/tis-620.c: New file.
4828         * iconvdata/gconv-modules: Add TIS-620 entries.
4830         * iconvdata/asmo_449.c: Correct comment.
4832 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4834         * manual/install.texi (Configuring and compiling): Comment out
4835         description of --disable-static since this doesn't work currently
4836         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
4838 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
4840         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
4841         use binary search.
4842         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
4844 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4846         * scripts/test-installation.pl (installation_problem): Skip
4847         libnss1_* libraries from glibc-compat add-on.
4849 1999-04-07  H.J. Lu  <hjl@gnu.org>
4851         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
4852         libstdc++ 2.7.2.
4853         * posix/Versions (__waitpid): Likewise.
4855 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4857         * manual/install.texi (Reporting Bugs): Add section about reported
4858         bugs and correct email address of glibcbug script.
4860 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
4862         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
4863         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
4864         xdr_u_longlong_t. Based on patch from Dan Shechter
4865         <damageboy@isdn.net.il>.
4866         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
4867         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
4869         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
4871 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4873         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
4874         directly if getdents returns with error set.
4876 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4878         * locale/langinfo.h (THOUSEP): Rename second occurence of
4879         THOUSANDS_SEP to THOUSEP.
4880         Reported by Roman Belenov <roman@nstl.nnov.ru>.
4882 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
4884         * hurd/STATUS: File removed.  Moved items that are still relevant into
4885         TODO list in hurd source.
4887 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
4889         * sysdeps/mach/hurd/bits/time.h: New file.
4890         * sysdeps/mach/hurd/getrusage.c: New file.
4891         * sysdeps/mach/hurd/clk_tck.c: New file.
4892         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
4893         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
4894         (sysdep_routines): Add clk_tck.
4895         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
4896         implemented.
4898 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
4900         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
4901         (closelog): But instead here.
4902         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
4904 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4906         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
4907         the source directory.  Fixes PR libc/1059.
4909 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4911         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
4912         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4914 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
4916         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
4917         * iconvdata/testdata/ISO-8859-14: New file.
4918         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
4919         * iconvdata/testdata/ISO-8859-15: New file.
4920         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
4922 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
4924         * iconvdata/testdata/CP1258: New file.
4925         * iconvdata/testdata/CP1258..UTF8: New file.
4926         * iconvdata/TESTS: Add CP1258 entry.
4928         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
4930         * timezone/africa: Update from tzdata1999d.
4931         * timezone/europe: Likewise.
4932         * timezone/northamerica: Likewise.
4934 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
4936         * login/programs/pt_chown.c (main): Save effective user ID before
4937         dropping priviliges and use this to check if the program is
4938         properly installed.
4940 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
4942         * iconvdata/testdata/CP1254: Update for charmap changes.
4943         * iconvdata/testdata/CP1254..UTF8: Likewise.
4944         * iconvdata/testdata/CP1255: Likewise.
4945         * iconvdata/testdata/CP1255..UTF8: Likewise.
4946         * iconvdata/testdata/CP1256: Likewise.
4947         * iconvdata/testdata/CP1256..UTF8: Likewise.
4948         * iconvdata/testdata/CP1257: Likewise.
4949         * iconvdata/testdata/CP1257..UTF8: Likewise.
4951         * iconvdata/Makefile (distribute): Remove cp1258.h.
4952         (gen-8bit-gap-modules): Add cp1258.
4953         * iconvdata/cp1258.h: Removed.
4955 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
4957         * timezone/tst-timezone.c (tests): Add more cases.
4958         (check_tzvars): Mark errors clearer.
4959         (main): Likewise.
4961 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4963         * login/programs/pt_chown.c: Drop privileges if invoked with
4964         arguments.  Don't close the master pty.
4966 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
4968         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
4969         Minor optimization.
4971 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
4973         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
4974         relocation for SUID binaries.
4976 1999-03-29  Paul Eggert  <eggert@twinsun.com>
4978         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
4979         while in child process.
4981 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
4983         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
4984         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
4985         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
4986         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
4987         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
4989         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
4990         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
4991         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
4992         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
4993         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
4994         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
4995         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
4996         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
4997         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
4998         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
4999         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
5000         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
5001         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
5002         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
5003         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
5004         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
5005         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
5006         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
5007         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
5008         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
5009         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
5010         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
5011         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
5012         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
5013         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
5014         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
5016         * sysdeps/sparc/sparc32/bcopy.c: New file.
5017         * sysdeps/sparc/sparc32/bzero.c: New file.
5018         * sysdeps/sparc/sparc32/memchr.S: New file.
5019         * sysdeps/sparc/sparc32/memcpy.S: New file.
5020         * sysdeps/sparc/sparc32/memmove.c: New file.
5021         * sysdeps/sparc/sparc32/memset.S: New file.
5022         * sysdeps/sparc/sparc32/stpcpy.S: New file.
5023         * sysdeps/sparc/sparc32/strchr.S: New file.
5024         * sysdeps/sparc/sparc32/strrchr.c: New file.
5025         * sysdeps/sparc/sparc32/strcpy.S: New file.
5026         * sysdeps/sparc/sparc32/strlen.S: New file.
5027         * sysdeps/sparc/sparc32/strcat.S: New file.
5028         * sysdeps/sparc/sparc32/strcmp.S: New file.
5030         * sysdeps/sparc/sparc64/bcopy.c: New file.
5031         * sysdeps/sparc/sparc64/bzero.c: New file.
5032         * sysdeps/sparc/sparc64/memchr.S: New file.
5033         * sysdeps/sparc/sparc64/memcmp.S: New file.
5034         * sysdeps/sparc/sparc64/memcpy.S: New file.
5035         * sysdeps/sparc/sparc64/memset.S: New file.
5036         * sysdeps/sparc/sparc64/stpcpy.S: New file.
5037         * sysdeps/sparc/sparc64/strcat.S: New file.
5038         * sysdeps/sparc/sparc64/strchr.S: New file.
5039         * sysdeps/sparc/sparc64/strcmp.S: New file.
5040         * sysdeps/sparc/sparc64/strcpy.S: New file.
5041         * sysdeps/sparc/sparc64/strcspn.S: New file.
5042         * sysdeps/sparc/sparc64/strlen.S: New file.
5043         * sysdeps/sparc/sparc64/strncpy.S: New file.
5044         * sysdeps/sparc/sparc64/strpbrk.S: New file.
5045         * sysdeps/sparc/sparc64/strrchr.c: New file.
5046         * sysdeps/sparc/sparc64/strspn.S: New file.
5047         * sysdeps/sparc/sparc64/stpncpy.S: New file.
5048         * sysdeps/sparc/sparc64/strncmp.S: New file.
5050         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
5051         Append -fPIC, don't replace.
5053         * configure.in: Recognize sparcv8plus / sparcv9.
5055 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5057         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
5058         char * to avoid C++ warning.
5059         Patch by yasushi@cs.washington.edu [PR libc/1035].
5061 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5063         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
5064         declared in stdlib.h, correct return value of mkstemp.
5065         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
5067         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
5068         from Linux 2.2.5.
5070 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5072         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
5073         C++ warning.
5075         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
5076         inline functions.  Closes PR libc/1049.
5078 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5080         * timezone/README: Update from tzdata1999c and tzcode1999c.
5082         * timezone/africa: Update from tzdata1999c.
5083         * timezone/antarctica: Likewise.
5084         * timezone/asia: Likewise.
5085         * timezone/australasia: Likewise.
5086         * timezone/europe: Likewise.
5087         * timezone/northamerica: Likewise.
5088         * timezone/southamerica: Likewise.
5089         * timezone/zone.tab: Likewise.
5091         * timezone/zic.c: Update from tzcode1999c.
5093 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5095         * Makerules: Add $(common-objpfx)Versions.all to common-generated
5096         outside of ifndef avoid-generated.
5098         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
5099         in iofdopen.c.
5100         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
5101         iofopen.c.
5102         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
5103         in iofclose.c.
5104         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
5105         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
5107 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
5109         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
5110         if we build the profiled library.
5112 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5114         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
5115         Jaeger <aj@arthur.rhein-neckar.de>
5117 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
5119         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
5120         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
5121         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
5123 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
5125         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
5126         works properly in subdirs.
5128 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
5130         * sysdeps/mach/hurd/Makefile: Undo last change.
5131         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
5132         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
5134         * mach/Machrules (+preinit, +postinit, +interp,
5135         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
5136         linked just like other shared libraries.
5137         (interface.so): Fix typo in defn, so it works.
5138         ($(objpfx)$(interface.so)): Make it depend on libc.so.
5140 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
5142         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
5143         $(link-rpcuserlibs).
5145 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5147         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
5148         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
5149         targets if not building shared libraries.
5151 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5153         * configure.in: Also look in $PATH when searching for
5154         install-info.  Remove autoconf bug workaround and require autoconf
5155         2.13.
5157 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5159         * db/Makefile: Don't try to install shared library link if not
5160         building with shared libs.
5162 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5164         * rt/Makefile: Link against static library if no shared lib is
5165         available.
5167         * localedata/Makefile: The shells scripts implementing the test
5168         require the dynamic linker which is not available with
5169         --disable-shared.  Skip the test if --disable-shared is given.
5171         * linuxthreads/Makefile: Link test against static libpthread if no
5172         shared lib is available.
5174         * iconvdata/Makefile (tests): Run iconv-test only if we're
5175         building shared libraries.
5176         * elf/Makefile (tests): Likewise for elf tests.
5178         * posix/Makefile: The test frameworks globtest and wordexp-test
5179         require the dynamic linker which is not available with
5180         --disable-shared.  Skip the test if --disable-shared is given.
5182         * grp/Makefile (otherlibs): For static nss build link against
5183         necessary libs.
5185 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5187         * debug/Makefile (install-bin): Install and build catchsegv only
5188         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
5189         libc/965].
5191 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5193         * time/tzfile.c (__tzfile_read): Handle the case where there are
5194         transitions but no DST.
5196 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
5198         * mach/Machrules (extra-libs-others): Add $(interface-library) here
5199         too, so it gets built in the others pass rather than the lib pass.
5200         This is necessary since the RPC libraries need to be linked against
5201         libc.
5203 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
5205         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
5206         _itoa_word decl.
5208         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
5209         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
5210         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
5211         versions of lib{mach,hurd}user.so without reference to libc.so,
5212         then link libc.so against that to get deps and symbol versions, then
5213         finally link real lib*user.so against libc.so.
5215         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
5216         Support whole-file locking (only) by using the file_lock RPC.  This
5217         has very wrong semantics, but is better than nothing for the time
5218         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
5219         protocols that will be somewhat hairy to specify.)
5221 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
5223         * sysdeps/mach/hurd/ptsname.c: New file.
5225 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5227         * timezone/asia: Fix rule in Asia/Nicosia entry.
5229 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5231         * manual/getopt.texi (Using Getopt): Explain "::" in option
5232         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
5234 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
5236         * sunrpc/clnt_unix.c: Fix creation of parameters for
5237         sendmsg/recvmsg on non intel platforms.
5238         * sunrpc/svc_unix.c: Likewise.
5240 1999-03-18  Philip Blundell  <philb@gnu.org>
5242         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
5243         implementation.
5245 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5247         * timezone/africa: Update from tzdata1999b.
5248         * timezone/asia: Likewise.
5249         * timezone/australasia: Likewise.
5250         * timezone/europe: Likewise.
5251         * timezone/northamerica: Likewise.
5252         * timezone/southamerica: Likewise.
5253         * timezone/zone.tab: Likewise.
5255         * timezone/README: Mention tzdata1999b.
5257 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
5259         * sysdeps/generic/segfault.c (write_strsignal): New function.
5260         (catch_segfault): Use it instead of calling strsignal.
5262 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5264         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
5265         char to avoid warning.
5267 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
5269         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
5271         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
5272         outbuf to unsigned char to avoid warning.
5274 1999-03-11  David S. Miller  <davem@redhat.com>
5276         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
5277         masks.
5278         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
5280 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
5282         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
5283         `unsigned char'.
5284         (gconv_step_data): Likewise.
5285         * iconv/gconv_int.h (__gconv): Likewise.
5286         (__BUILINT_TRANS): Likewise.
5287         * iconv/gconv.c (__gconv): Likewise.
5288         * iconv/iconv.c (iconv): Add casts for call of __gconv.
5289         * iconv/skeleton.c: Change local parameters and variable from `char' to
5290         `unsigned char'.  Remove casts from calls into modules.
5291         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
5292         `char' to `unsigned char'.
5293         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
5294         * wcsmbs/mbrtowc.c: Likewise.
5295         * wcsmbs/mbsnrtowcs.c: Likewise.
5296         * wcsmbs/mbsrtowcs.c: Likewise.
5297         * wcsmbs/wcrtomb.c: Likewise.
5298         * wcsmbs/wcsnrtombs.c: Likewise.
5299         * wcsmbs/wcsrtombs.c: Likewise.
5300         * wcsmbs/wctob.c: Likewise.
5302 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
5304         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
5305         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
5306         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
5307         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
5308         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
5309         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
5311 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
5313         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
5314         _hurd_select if TIMEMOUT is -1.
5316 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
5318         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
5320 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
5322         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
5323         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
5325 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5327         * manual/libc.texinfo: Undo last change for now.
5329 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
5331         * intl/locale.alias: Add entries for Croatian.
5332         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
5334 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
5336         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
5337         if the opened master pty really is a pty.  `isatty' checks for
5338         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
5339         if we are out of pty's.
5341 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
5343         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
5344         opened file is closed on exec.
5345         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
5346         opened socket.
5348 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5350         * manual/llio.texi (File Position Primitive): Reformat @end
5351         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
5353 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
5355         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
5356         entry is found.
5357         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5358         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
5360         * locale/programs/localedef.c (main): Initialize `cat' to please
5361         the compiler.
5363 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
5365         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
5366         check for root-owned symlinks and reject them too.
5368 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5370         * stdio-common/printf_fphex.c: Move to ...
5371         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
5372         extended precision number.
5373         * sysdeps/m68k/printf_fphex.c: New file.
5375 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5377         * manual/stdio.texi: Fix typos.
5379 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
5381         * version.h (VERSION): Bump to 2.1.1.
5383 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
5385         * nis/ypclnt.c: Try only twice to connect to NIS server.
5387 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
5389         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
5391 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5393         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
5394         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
5395         * stdlib/strtold.c: Moved to ...
5396         * sysdeps/generic/strtold.c: ... here.
5397         * sysdeps/m68k/strtold.c: New file.
5399 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5401         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
5402         point if the precision is zero, even if the mantissa is non-zero.
5404 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
5406         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
5407         arguments into the request message buffer inside `send_rpc'
5408         subfunction.  We must repeat the marshalling when retrying the RPC
5409         after a SIGTTOU delivery.
5411         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
5412         path when there is no ctty port.
5413         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
5414         Move sigstate check inside loop so we recheck after handling a signal.
5416 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5418         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
5419         O_EXLOCK are BSD extensions.
5420         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
5422 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
5424         * manual/signal.texi (Termination in Handler): Correct example.
5425         Install default handler before reraising the signal.
5426         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
5428 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
5430         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
5431         null, in which case send an empty string.
5433 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
5435         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
5436         backward compatibility EH functions to be linked when using
5437         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
5439 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5441         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
5442         /dev/pts status may change during runtime.
5444 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5446         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
5447         change.  /dev/pts status can change during runtime.
5449 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
5451         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
5452         poll reports error.
5453         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
5454         add some more sanity checks.
5455         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
5456         parser prototype.
5458 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
5460         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
5461         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
5462         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
5463         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
5464         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
5465         for x_getint32.
5466         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
5467         * nis/nis_print.c: Fix ctime argument for platforms where
5468         sizeof (time_t) != sizeof (int).
5470 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
5472         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
5473         CLOCKS_PER_SEC instead of CLK_TCK.
5475 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
5477         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
5478         whether /dev/pts is available.
5479         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
5480         dev_pts_available.
5482         * posix/globtest.sh: Make common_objpfx path absolute and and db2
5483         and hesiod directory to library path [PR libc/1007].
5485 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5487         * resolv/inet_addr.c (inet_aton): Don't allow componets >
5488         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
5490 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
5492         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
5493         DT_PLTGOT has already been relocated.
5494         (__elf_machine_fixup_plt): Likewise.
5495         Minor cleanups.
5497 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
5499         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
5501 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
5503         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
5504         and fold string to uppercase [PR libc/1005].
5506 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5508         * elf/dl-load.c (lose): Fix return type.
5510 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
5512         * sysdeps/mach/hurd/bits/fcntl.h
5513         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
5514         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
5515         set O_NOTRANS as well.
5516         (__hurd_file_name_lookup_retry): At successful end of lookup,
5517         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
5518         it is a translated node not owned by root.
5519         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
5520         on the file name passed to LOOKUP.
5522 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
5524         * manual/time.texi (High Resolution Timer): Correct computation in
5525         example.  Reported by jjf@devel.cemsys.com.
5527 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
5529         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
5530         entry is already relocated.
5532 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5534         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
5535         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
5537 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5539         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
5540         uc_link which is the right name according to Unix98.
5541         Reported by Craig Metz [PR libc/1001].
5542         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
5543         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
5544         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
5545         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
5546         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
5547         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
5549 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5551         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
5552         @ifinfo.
5554 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5556         * iconvdata/Makefile: Always include iconv-rules, but disable rule
5557         to regenerate it if avoid-generated.
5559         * Makeconfig: Always include sys-dirs, but disable rule to
5560         regenerate it when avoid-generated.
5562         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
5563         rule to generate sysd-syscalls.
5565         * elf/Makefile (generated): Remove $(objpfx) from names.
5567 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
5569         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
5570         actual length if the adress length is smaller than the input
5571         value.  Change type of *LEN paramater to socklen_t.
5572         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
5573         * sysdeps/mach/hurd/accept.c (accept): Likewise.
5574         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
5575         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
5576         paramater to socklen_t.
5578 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
5580         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
5581         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
5582         with the RPC.
5584 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
5586         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
5587         __get_phys_pages): Cast &HBI to silence warning.
5589         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
5590         * hurd/hurdchdir.c: New file.
5591         * hurd/hurdfchdir.c: New file.
5592         * sysdeps/mach/hurd/chroot.c: Call
5593         _hurd_change_directory_port_from_name to do the work.
5594         * sysdeps/mach/hurd/chdir.c: Likewise.
5595         * sysdeps/mach/hurd/fchdir.c: Call
5596         _hurd_change_directory_port_from_fd to do the work.
5597         * hurd/fchroot.c: Likewise.
5598         * hurd/hurd.h: Declare them.
5600 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
5602         * elf/dl-load.c (lose): Add more comments to explain the `why'.
5603         (_dl_map_object): Remove redundant test.
5605 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
5607         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
5608         try to _hurd_port_free a lower-numbered descriptor that was not in any
5609         fd_set.
5611 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5613         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
5614         declaration for ____wcstod_l_internal.
5616         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
5617         __strtod_internal prototype.
5618         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
5619         (____strtold_l_internal): Add prototype declaration.
5620         (__strtold_l): Call correct function.
5622 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
5624         * elf/elf.h: Add 32bit HPPA definitions.
5626 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5628         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
5629         non-checked heap is restored when malloc checking was requested by
5630         the user.
5631         (struct malloc_state): Add using_malloc_checking.
5632         (MALLOC_STATE_VERSION): Increment minor.
5633         (using_malloc_checking, disallow_malloc_check): New variables.
5634         (__malloc_check_init): Use them.
5635         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
5636         that it can the chunk is properly instrumented when malloc
5637         checking is enabled.  Set the new using_malloc_checking field.
5638         (malloc_hook_ini): Correct signature when _LIBC is not defined.
5640 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5642         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
5643         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
5644         time.
5646         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
5647         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
5648         if ld.so is the main program.
5650 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
5652         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
5653         large for work_buffer, allocate new buffer.
5654         (printf_unknown): Likewise.  [PR libc/988]
5656 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
5658         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
5659         instead of stat and fstat.
5660         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5662 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5664         * elf/dl-error.c (_dl_signal_cerror): New function.
5665         (_dl_signal_error): Don't call receiver function.
5666         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
5667         instead of _dl_signal_error when reporting references to undefined
5668         symbols or versions.
5669         (_dl_lookup_versioned_symbol): Likewise.
5670         (_dl_lookup_versioned_symbol_skip): Likewise.
5671         * elf/dl-version.c (match_symbol): Likewise.
5673         * elf/ldsodefs.h: Declare _dl_signal_cerror.
5675 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
5677         * misc/getttyent.c (getttyent): Release lock on stream later to
5678         also protect global variable zapchar.
5680         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
5681         __times [PR libc/990].
5683 1999-02-21  David S. Miller  <davem@redhat.com>
5685         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
5686         parentheses in Feb 2 changes.
5687         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
5689 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5691         * sysdeps/generic/glob.c (glob): Save previous errno.
5693 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
5695         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
5696         lookup functions if it is too small.
5698 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
5700         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
5701         for tracing to the scope lists.
5702         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
5703         DT_SYMTAB is always available according to ELF spec.
5705         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
5706         call test whether there is any scope left.
5707         (_dl_lookup_versioned_symbol_skip): Likewise.
5709         * elf/Makefile (distribute): Add do-lookup.h.
5710         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
5711         * elf/dl-lookup.c: Move do_lookup function in separate file and
5712         include the file twice, for handling versioning and without it.
5714         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
5715         entry is already relocated.
5716         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
5717         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
5718         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
5719         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
5720         Likewise.
5721         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
5722         Likewise.
5723         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
5724         Likewise.
5726         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
5727         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
5728         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
5729         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
5730         rel and rela relocations can both happen and skip one test if this
5731         is not possible.
5732         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
5733         appropriately.
5734         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
5735         already relocated.
5736         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
5737         relocated.
5738         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
5739         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
5740         (_dl_map_object): DT_STRTAB entry is already relocated.
5741         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
5742         already relocated.
5743         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
5744         relocated.
5745         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
5746         DT_VERSYM entries are already relocated.
5747         (profile_fixup): Likewise.
5748         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
5749         all users.
5750         (match_symbol): DT_STRTAB entry is already relocated.
5751         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
5752         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
5753         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
5754         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
5755         (find_needed): DT_STRTAB entry is already relocated.
5756         (dl_main): Pass extra argument to elf_get_dynamic_info.
5757         DT_STRTAB entry is already relocated.
5758         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
5759         DT_PLTGOT entries are already relocated.
5760         (elf_machine_rela): Likewise for DT_SYMTAB.
5761         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
5762         relocated.
5763         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5764         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
5765         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5766         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5767         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
5768         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
5769         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
5770         * sysdeps/mips/mips64/dl-machine.h: Likewise.
5772         * grp/initgroups.c (initgroups): If function in current module was
5773         successful don't stop but continue to process to get all the groups.
5775         * elf/dl-load.c (_dl_map_object_from_fd): Use global
5776         _dl_pf_to_proot array to convert p_flags value.
5777         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5779         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
5780         loop to clear `info'.
5782         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
5783         do the work and don't use inline assembler.
5785 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
5787         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
5788         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
5789         noreturn, and prevent it from being inlined.
5790         Define LOSE appropriately.
5791         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
5792         Optimize decoding of p_flags for certain platforms.
5794 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
5796         * Makeconfig (link-libc): When doing a static link, make sure that
5797         libgcc.a is included both before and after libc.a.
5799 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
5801         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
5802         sp_warn, sp_inact, sp_expire and sp_flag.
5804 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
5806         * elf/link.h (link_map): Add l_dev and l_ino.
5807         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
5808         loaded shared object with all loaded objects.  Initialize l_ino
5809         and l_dev in case it's new.
5810         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
5811         object.
5812         * elf/Makefile: Compile and run new test.
5813         * elf/multiload.c: New file.
5815         * nss/nsswitch.h (service_user): Change name field from const char *
5816         to char[0].
5817         (name_database_entry): Likewise.
5818         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
5819         for change of `service_user'.
5820         (nss_getline): Adjust memory allocation for change of
5821         `name_database_entry'.
5823         * catgets/catgets.c: Correctly handle NLSPATH from environment
5824         [PR libc/980].
5826         * io/Makefile (routines): Add lock64.
5827         * io/Versions: Add lockf64 for GLIBC_2.1.1.
5828         * sysdeps/generic/lockf64.c: New file.
5830 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
5832         * string/bits/string2.h: Only use strncmp optimization if count
5833         argument is constant.
5835 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
5837         * sysdeps/mach/hurd/revoke.c: New file.
5839 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
5841         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
5842         int to avoid warning about `ISO C restricts enumerator values to
5843         range of `int''.
5845 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5847         * elf/dlfcn.h: Fix typo.
5848         * sysdeps/generic/bits/dlfcn.h: Likewise.
5849         * sysdeps/mips/bits/dlfcn.h: Likewise.
5851 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
5853         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
5854         for the case N == 0.
5856         * db2/Makefile (distribute): Add LICENSE.
5858 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
5860         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
5861         generated files.
5863         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
5865 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
5867         * time/mktime.c: Use ISO C form for function definitions and
5868         remove unnecessary prototypes.
5870         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
5872         * time/time.h: Avoid unneccesary #ifdef.
5874 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
5876         * stdio-common/_itoa.c (_itoa): Correct parameters to
5877         udiv_qrnnd_preinv.
5879 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5881         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
5882         before (e.g. in glob.h).
5883         Closes PR libc/959.
5885 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5887         * sysdeps/mips/fpu_control.h: Fix typo.
5888         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
5889         Remove __setfpucw.
5891 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
5893         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
5894         the "unused" ends of the sockets.  Let pipes be bidirectional.
5896 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
5898         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
5899         invalid ai_flags.
5901 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5903         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
5904         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
5906         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
5907         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
5909 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
5911         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
5913 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5915         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
5916         check for priority mask.
5918 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
5920         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
5921         Reported by Craig Metz <cmetz@inner.net> .
5923 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5925         * stdio-common/Makefile (tests): tllformat added.
5927         * stdio-common/tllformat.c: New program, based on tiformat.c with
5928         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
5930 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5932         * posix/test-vfork.c: Fix exit status test.
5934 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5936         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
5937         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
5939 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5941         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
5942         of separare explicit comparisons.
5944 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5946         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
5947         defined.
5949         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
5950         defined.
5952 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
5954         * po/el.po: Update from translation team.
5956 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5958         * intl/locale.alias: Fix slovenian entry [PR libc/948].
5960 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5962         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
5963         * inet/ruserpass.c: Likewise.
5964         * locale/programs/stringtrans.c: Likewise.
5965         * locale/programs/localedef.c: Likewise.
5966         * nscd/grpcache.c: Likewise.
5967         * nss/nss_files/files-XXX.c: Likewise.
5968         * stdlib/canonicalize.c: Likewise.
5969         * sysdeps/posix/sigwait.c: Likewise.
5971 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5973         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
5974         even on 64 bit platforms.
5976         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
5977         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
5979 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
5981         * intl/dcgettext.c: Include locale.h is available.
5983 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
5985         * po/nl.po: Update from translation team.
5987         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
5989         * Makefile: Allow calling goals for po subdir.
5991         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
5992         signal definitions.
5994         * po/el.po: New file.
5996 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5998         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
5999         when processing DT_SYMBOLIC objects.
6001 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6003         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
6004         program headers without PT_PHDR only require that they are
6005         contained within one of the loaded segments.  Don't use assert,
6006         since that would be a bug in the object, not the dynamic linker.
6008 1999-02-08  Richard Henderson  <rth@cygnus.com>
6010         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
6011         restore all call-clobbered fp regs.
6013 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
6015         * po/cs.po: New file.
6017         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
6018         SUID binaries.
6020 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
6022         * signal/signal.h: Don't declare __libc_allocate_rtsig.
6023         * include/signal.h: Declare __libc_allocate_rtsig here.
6025         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
6026         point functions, not do_lookup since the later can be called more
6027         than once.
6029 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
6031         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
6032         macro, so that architectures which need to add some special
6033         offset to stack pointer can share this file.
6035         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
6036         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
6037         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
6038         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
6040         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
6041         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
6042         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
6043         between sparc32 and sparc64.
6045         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
6046         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
6047         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
6048         between sparc32 and sparc64.
6050         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
6051         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
6052         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
6053         between sparc32 and sparc64.
6055         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
6056         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
6057         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
6058         between sparc32 and sparc64.
6060 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
6062         * Versions.def: New version GLIBC_2.1.1 for libc.
6063         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
6064         * stdlib/labs.c: Moved to...
6065         * sysdeps/generic/labs.c: ...here.
6066         * stdlib/llabs.c: Moved to...
6067         * sysdeps/generic/llabs.c: ...here.
6068         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
6069         header.  Declare _Exit.
6070         * sysdeps/generic/_exit.c: Add alias _Exit.
6071         * sysdeps/mach/hurd/_exit.c: Likewise.
6072         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
6073         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
6074         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
6075         * sysdeps/unix/_exit.c: Likewise.
6076         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
6077         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
6078         * sysdeps/wordsize-64/inttypes.h: Likewise.
6079         * sysdeps/wordsize-32/llabs.c: New file.
6080         * sysdeps/wordsize-32/lldiv.c: New file.
6081         * sysdeps/wordsize-64/labs.c: New file.
6082         * sysdeps/wordsize-64/ldiv.c: New file.
6083         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
6084         * manual/startup.texi: Document _Exit.
6086 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6088         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
6090 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
6092         * Versions.def: Add versions for ld.so.
6093         * csu/Versions: Remove __libc_stack_end here.
6094         * elf/Versions: Split libc definitions in libc and ld.so definitions.
6095         * elf/Makefile (ld-map): Change to ld.so.map.
6096         * scripts/versions.awk: Recognize dot in library names.
6098         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
6099         Don't use __tolower and __toupper in inline functions.
6100         Add optimizing macros for tolower and toupper.
6101         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
6102         (_toupper): Don't use __toupper.
6103         * ctype/ctype.c (tolower): Don't use __tolower.
6104         (toupper): Don't use toupper.
6106         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
6108         * resolv/Versions (libresolv): Export __ns_name_unpack and
6109         __ns_name_ntop.
6110         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
6111         make it global.  Change all users.  Similar for ns_name_ntop.
6112         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
6113         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
6114         directly to detect too small buffer.
6115         * resolv/nss_dns/dns-network.c: Likewise.
6117         * stdio-common/Makefile (tests): Add scanf12.
6118         * stdio-common/scanf12.c: New file.
6119         * stdio-common/scanf12.input: New file.
6120         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
6121         floating-point correctly if the number is invalid.
6123         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
6124         functions.
6125         * stdio-common/printf_fp.c: Likewise.
6126         * stdio-common/printf_fphex.c: Likewise.
6127         * stdio-common/vfprintf.c: Likewise.
6130 See ChangeLog.9 for earlier changes.