Update.
[kopensolaris-gnu/glibc.git] / ChangeLog
1 1999-07-29  H.J. Lu  <hjl@gnu.org>
2
3         * stdlib/mbtowc.c: Include <string.h>.
4         * stdlib/wctomb.c: Likewise.
5         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
6         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
7
8         * misc/mntent_r.c: Include <alloca.h>.
9         * elf/dl-runtime.c: Likewise.
10
11 1999-07-29  Andreas Schwab  <schwab@suse.de>
12
13         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
14         all floating point formats supported by gcc.  Error out for
15         unhandled precisions.
16         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
17         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
18         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
19
20 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
21
22         * sysdeps/generic/setenv.c: Move setenv code in new function
23         __add_to_environ.  Add new parameter specifying already
24         constructed string for the environment.
25         (setenv): Call __add_to_environ with new parameter set to NULL.
26         (unsetenv): Really test all elements for duplicated name.  Missed those
27         cases where the two are following each other.
28         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
29         * include/stdlib.h: Add prototype of __add_to_environ.
30         * stdlib/tst-environ.c: New file.
31         * stdlib/Makefile (tests): Add tst-environ.
32
33         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
34
35         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
36         argument in realloc call.
37         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
38         Likewise.
39         Reported by Danny Braniss <danny@cs.huji.ac.il>.
40
41 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
42
43         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
44         to print.
45         * misc/efgcvt_r.c: Likewise.
46         * misc/qefgcvt.c: Likewise.
47         * misc/qefgcvt_r.c: Likewise.
48         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
49         anymore.
50
51 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
52
53         * manual/math.texi (FP Function Optimization): Mention drawbacks.
54
55 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
56
57         * stdlib/mblen.c: Use static state.
58         Reported by Bruno Haible <haible@ilog.fr>.
59
60         * stdlib/mbtowc.c: Reset state for s == NULL.
61         * stdlib/wctomb.c: Likewise.
62         Reported by Bruno Haible <haible@ilog.fr>.
63
64         * stdlib/mbstowcs.c: Do not use global state.
65         Reported by Bruno Haible <haible@ilog.fr>.
66
67 1999-07-28  Andeas Schwab  <schwab@suse.de>
68
69         * iconvdata/Makefile: Don't try to run iconv tests when cross
70         compiling.
71
72 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
73
74         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
75         assembler code to switch stacks and call init1 outside this
76         function.  Inside `init' the code was optimized away by gcc
77         2.95 since it was "clearly" unreachable.
78         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
79         Do something similar for the trampoline code.
80
81 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
82
83         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
84         for the hinted protocol.
85
86 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
87
88         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
89
90 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
91
92         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
93         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
94         * elf/dl-load.c (_dl_map_object): Likewise.
95         * elf/do-lookup.h (do_lookup*): Likewise.
96         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
97         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
98         as uint64_t.
99         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
100
101 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
102
103         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
104         * sysdeps/generic/getpgrp.c: Likewise.
105         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
106         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
107         Patch by John Tobey <jtobey@banta-im.com>.
108
109         * sysdeps/posix/wait3.c: Help compiling in presence of
110         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
111
112 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
113
114         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
115         as much as possible. Declare them using .register pseudo-op if they
116         are still used.
117         * sysdeps/sparc/sparc64/lshift.S: Likewise.
118         * sysdeps/sparc/sparc64/memchr.S: Likewise.
119         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
120         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
121         * sysdeps/sparc/sparc64/memset.S: Likewise.
122         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
123         * sysdeps/sparc/sparc64/rshift.S: Likewise.
124         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
125         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
126         * sysdeps/sparc/sparc64/strcat.S: Likewise.
127         * sysdeps/sparc/sparc64/strchr.S: Likewise.
128         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
129         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
130         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
131         * sysdeps/sparc/sparc64/strlen.S: Likewise.
132         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
133         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
134         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
135         * sysdeps/sparc/sparc64/strspn.S: Likewise.
136         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
137         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
138         Optimize trampoline code for .plt4-.plt32767.
139         Fix trampolines for .plt32768+.
140
141 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
142
143         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
144         -mcpu=v8.
145         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
146         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
147         libc's private use (as assembly routine clobber it anyway).
148
149 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
150
151         * README.template (configurations): The crypt add-on has a new
152         ftp site.
153         * manual/install.texi (Installation): Likewise.
154
155 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
156
157         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
158         requires to have a full definition but we wait for a bug report
159         based on the test suite.
160
161         * sysdeps/generic/clock_getres.c: New file.
162         * sysdeps/generic/clock_gettime.c: New file.
163         * sysdeps/generic/clock_settime.c: New file.
164         * sysdeps/generic/timer_create.c: New file.
165         * sysdeps/generic/timer_delete.c: New file.
166         * sysdeps/generic/timer_getoverr.c: New file.
167         * sysdeps/generic/timer_gettime.c: New file.
168         * sysdeps/generic/timer_settime.c: New file.
169
170         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
171         CLOCK_REALTIME, and TIMER_ABSTIME.
172         * sysdeps/mach/hurd/bits/time.h: Likewise.
173         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
174         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
175
176         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
177
178         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
179         si_timer2.
180
181         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
182
183         * time/Makefile (routines): Add clock_getres, clock_gettime,
184         clock_setres, timer_create, timer_delete, timer_getoverr,
185         timer_gettime, and timer_settime.
186
187         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
188         POSIX.1b.  Add prototypes for clock and timer functions.
189
190 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
191
192         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
193         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
194
195 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
196
197         * stdlib/wcstombs.c: Do not use global state.
198         Reported by Bruno Haible <haible@ilog.fr>.
199
200         * wcsmbs/wctob.c: Avoid sign extension when returning character.
201         Reported by Bruno Haible <haible@ilog.fr>.
202
203         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
204         of wide characters to convert do it right and don't overestimate
205         by multiplying with MB_CUR_MAX.
206         Reported by Bruno Haible <haible@ilog.fr>.
207
208 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
209
210         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
211         (__stpcpy_small): Likewise.
212         Union has no __uc member but __c.
213
214 1999-07-26  Andreas Schwab  <schwab@suse.de>
215
216         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
217
218 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
219
220         * libio/iofclose.c (_IO_new_fclose): Only fall back on
221         _IO_old_fclose if doing versioning.
222
223         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
224         them appropriately.
225         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
226
227         * misc/mntent_r.c: Allow spaces and tabs in entry names by
228         encoding these characters.
229         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
230
231         * string/bits/string2.h: Fix aliasing problems.
232         * sysdeps/i386/i486/bits/string.h: Likewise.
233         * sysdeps/i386/bits/string.h: Likewise.
234
235 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
236
237         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
238         * elf/rtld.c (dl_main): Don't call malloc() between
239         re-relocating the dynamic linker and running the application's crt0.
240
241 1999-07-21  Paul D. Smith  <psmith@gnu.org>
242
243         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
244         glob.h to get __P() macro.
245
246         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
247         not ANSI.
248         (__strchrnul): This won't exist outside GLIBC, so create one.
249
250 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
251
252         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
253         __ino64_t should be 32bit unsigned type on sparc32.
254         Define __off64_t to __quad_t instead of __int64_t.
255         Make __pic_pid_t unsigned on sparc32.
256
257 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
258
259         * localedata/tst-rpmatch.sh: Use "&" instead of "ยง" to avoid a bug
260         in bash 2.03.
261
262 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
263
264         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
265         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
266
267 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
268
269         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
270         accesses.
271
272         * resolv/res_send.c: Add locks for res_send and res_close use.
273
274         * elf/Makefile (dl-routines): Add preinit.
275         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
276         * elf/link.h (struct link_map): Add new field l_preinitcount.
277         * elf/dl-preinit.c: New file.
278         * elf/dynamic-link.h: Initialize l_preinitcount.
279         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
280
281         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
282         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
283         and l_initcount.
284         * elf/dl-init.c: Handle DT_INIT_ARRAY.
285         * elf/dynamic-link.h: Change parameters.  Now only get link_map
286         pointer.  Calculate l_initcount.
287
288         * elf/link.h (struct link_map): Add l_runpath_dirs.
289         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
290         * elf/dl-load.c: Pretty print.
291         (decompose_rpath): Take new parameter with info from where the path
292         comes.  Pass it the fillin_rpath.
293         (_dl_init_paths): Initialize l_runpath_dirs.
294         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
295         Search using RUNPATH after LD_LIBRARY_PATH.
296         * elf/dl-support.c: Adjust comment.
297         * elf/rtld.c: Adjust help message.
298
299 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
300
301         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
302         interface.
303
304 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
305
306         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
307         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
308         ever used this, so I'm not going to worry about compatibility.
309         [__USE_GNU] (IUCLC, OLCUC): New macros.
310
311 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
312
313         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
314
315         * elf/elf.h: Add ET_LOOS and ET_HIOS.
316         Add various EM_* constants.
317         Add SHN_LOOS and SHN_HIOS.
318         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
319         Add SHF_MERGE and SHF_STRINGS.
320         (ElfXX_Sym): Update description of st_other field.
321         Add STT_COMMON.
322         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
323         Add STV_* macros.
324         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
325         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
326         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
327
328         * posix/unistd.h: Move declaration of __libc_enable_secure to...
329         * include/unistd.h: ...here.
330
331         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
332         * elf/dl-deps.c (expand_dst): Likewise.
333
334         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
335         based on DT_FLAGS value.
336
337         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
338         Add test for symbols marked STV_HIDDEN.
339         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
340         add undef_map.  Compute reference_name locally.  Update call to
341         do_lookup.
342         (_dl_lookup_symbol_skip): Likewise.
343         (_dl_lookup_versioned_symbol): Likewise.
344         (_dl_lookup_versioned_symbol_skip): Likewise.
345         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
346         * elf/dl-runtime.c: Likewise.
347         * elf/dl-sym.c: Likewise.
348         * elf/dl-symbol.c: Likewise.
349         * elf/ldsodefs.h: Adjust prototypes.
350
351         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
352         handle appropriately.  Add comment about DT_TEXTREL.
353         * elf/dl-runtime.c: Likewise.
354
355 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
356
357         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
358         * elf/ldsodefs.h: Declare it.
359         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
360         instead of assert.
361         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
362         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
363         (elf_machine_lazy_rel): Likewise.
364         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
365         (elf_machine_lazy_rel): Likewise.
366         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
367         (elf_machine_lazy_rel): Likewise.
368         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
369         (elf_machine_lazy_rel): Likewise.
370         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
371         (elf_machine_lazy_rel): Likewise.
372         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
373         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
374         (elf_machine_lazy_rel): Likewise.
375         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
376         (elf_machine_lazy_rel): Likewise.
377         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
378         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
379         _dl_reloc_bad_type instead of _dl_signal_error.
380         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
381
382 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
383
384         * sysdeps/mach/_strerror.c: Include <libintl.h>.
385
386 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
387
388         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
389         hurd_signal_preemptor matches but its `preemptor' field is null, use
390         its `handler' field directly.  This is to comply with behavior
391         documented in <hurd/sigpreempt.h>.
392
393 1999-07-21  Andreas Schwab  <schwab@suse.de>
394
395         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
396         when reading from write-only stream.
397         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
398         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
399
400 1999-07-21  Andreas Schwab  <schwab@suse.de>
401
402         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
403         NULL.
404
405 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
406
407         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
408         <hurd/fd.h>.
409         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
410         <hurd/fd.h>.
411         (__libc_write): Call __pwrite instead of __pread.
412
413 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
414
415         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
416         __vm_allocate calls.
417
418         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
419         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
420
421         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
422         _hurd_fd_read with new OFFSET argument set to -1.
423         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
424         to -1.
425
426 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
427
428         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
429         descriptor table sent in the RPC.
430
431 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
432
433         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
434         bill@taniwha.org [PR libc/1211].
435
436 1999-07-19  Andreas Schwab  <schwab@suse.de>
437
438         * libio/Makefile (routines): Add fwprintf.
439
440         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
441         * math/w_sqrt.c: Moved to ...
442         * sysdeps/generic/w_sqrt.c: ... here.
443         * math/w_sqrtf.c: Moved to ...
444         * sysdeps/generic/w_sqrtf.c: ... here.
445
446         * Make-dist (generic-dirs): New variable.
447         (try-sysdeps, +sysdep-names): Use it.
448         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
449         instead of $(lib)-routines.
450         * elf/Makefile (distribute): Add dl-cache.h.
451         * db2/Makefile (distribute): Add all new files.
452         * iconvdata/Makefile (distribute): Don't distribute CVS
453         directory.
454         * math/Makefile (distribute): Remove machine/endian.h, add
455         math_ldbl.h.
456         * stdio-common/Makefile (distribute): Add _itowa.h.
457         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
458         * sysdeps/gnu/Dist: Add eval.c
459         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
460         dlfcn]: Add to this instead of libdl-routines.
461         * sysdeps/ieee754/ldbl-128/Dist: New file.
462         * sysdeps/mach/hurd/Dist: Add siglist.h
463         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
464
465 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
466
467         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
468
469         * inet/Makefile (routines): Add getipnodebyad and freehostent.
470         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
471         * inet/freehostent.c: New file.
472         * inet/getipnodebyad.c: New file.
473         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
474         and getipnodebyname.  The latter comes soon.
475         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
476         Add support for getipnode* functions.
477
478         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
479         Set h_aliases to NULL and not to a pointer to an array with a NULL
480         pointer following XNS 5.2.
481
482         * posix/sched.h: Remove internal interfaces.
483         * include/sched.h: Add internal interfaces.
484
485         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
486
487         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
488
489         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
490         and return an error in this case.
491         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
492         available.
493
494 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
495
496         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
497         1999-07-17 and adjust len parameter.
498         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
499         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
500         * manual/socket.texi (Host Names): Likewise.
501         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
502         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
503         Likewise.
504         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
505         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
506         (ht_gethostbyaddr): Likewise.
507         (_gethtbyaddr): Likewise.
508
509 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
510
511         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
512         gethostbyaddr_r.
513         * include/netdb.h: Likewise.
514         * inet/gethstbyad.c: Correct type of len parameter.
515         * inet/gethstbyad_r.c: Likewise.
516
517         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
518
519 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
520
521         * include/libc-symbol.h: Clean up definitions of weak_alias,
522         strong_alias, symbol_version, etc. etc.
523         * posix/getopt.h: Use ctype.h to get features.h included, and don't
524         include it at all if __GNU_LIBRARY__ is already defined.
525
526 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
527
528         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
529
530         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
531
532         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
533         type for tv_usec element.
534         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise
535         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
536         * sysdeps/generic/bits/time.h: Likewise.
537         * sysdeps/mach/hurd/bits/time.h: Likewise.
538         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
539         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
540         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
541         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
542         * sysdeps/generic/bits/types.h: Likewise.
543         * posix/sys/types.h: Define suseconds_t for X/Open.
544
545 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
546
547         * stdio-common/bug1.c: Avoid memory leak.
548
549         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
550         program deterministic.
551         * sysdeps/i386/fpu/e_powf.S: Likewise.
552         * sysdeps/i386/fpu/e_powl.S: Likewise.
553
554 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
555
556         * math/Makefile: Add t_sincosl and k_sincosl support routines.
557         * math/math_private.h (__kernel_sincosl): New declaration.
558         * sysdeps/generic/t_sincosl.c: New file.
559         * sysdeps/generic/k_sincosl.c: New file.
560         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
561         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
562         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
563         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
564         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
565         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
566         __kernel_sincosl.
567         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
568         definition.
569
570 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
571
572         * posix/unistd.h: Use __PMT for exit.
573
574 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
575
576         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
577         _outw, _outl): Added to GLIBC_2.1.2.
578
579 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
580
581         * posix/fnmatch.h: Use __name instead of __string in prototype to
582         allow use outside glibc.
583
584 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
585
586         * time/tst-strptime.c (main): Add one more test case.  Produce
587         output even when result is ok.
588
589         * time/strptime.c (get_number): Handle number parsing more
590         consistent with strftime.  Only parse a given number of digits.
591         (get_alt_number):  Fix implementation.  Was broken.
592         (strptime_internal): Add third parameter to get_number and
593         get_alt_number calls.
594
595 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
596
597         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
598         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
599         try both 32bit and 64bit dynamic linker.
600         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
601         script on all sparc targets.
602
603 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
604
605         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
606         to int.
607
608 1999-07-13  Andreas Schwab  <schwab@suse.de>
609
610         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
611         inlining.  Fixes PR libc/1198.
612
613 1999-07-14  Andreas Schwab  <schwab@suse.de>
614
615         * Makerules (common-generated): Don't prepend $(common-objpfx).
616
617 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
618
619         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
620         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
621         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
622         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
623         macro.
624         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
625         instead of ieee754.
626         * sysdeps/arm/Implies: Likewise.
627         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
628         ieee754/ldbl-96 instead of ieee754.
629         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
630         * sysdeps/generic/e_atanhl.c: New file.
631         * sysdeps/generic/e_coshl.c: New file.
632         * sysdeps/generic/e_sinhl.c: New file.
633         * sysdeps/generic/e_gammal_r.c: New file.
634         * sysdeps/generic/e_hypotl.c: New file.
635         * sysdeps/generic/s_cbrtl.c: New file.
636         * sysdeps/generic/s_asinhl.c: New file.
637         * sysdeps/generic/s_tanhl.c: New file.
638         * sysdeps/generic/w_expl.c: New file.
639         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
640         instead of ieee754.
641         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
642         ieee754/ldbl-96 instead of ieee754.
643         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
644         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
645         printf_fphex.
646         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
647         instead of ieee754.
648         * sysdeps/mips/mips64/Implies: Likewise.
649         * sysdeps/powerpc/Implies: Likewise.
650         * sysdeps/sparc/Implies: Remove.
651         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
652         ieee754/dbl-64.
653         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
654         and ieee754/ldbl-128.
655
656         * sysdeps/sparc/bits/wordsize.h: Remove.
657         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
658         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
659         only for sparc32.
660         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
661         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
662         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
663         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
664         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
665         support.
666
667         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
668         of carries. Optimize.
669
670         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
671         * sysdeps/generic/e_exp10.c: ...here.
672         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
673         * sysdeps/generic/e_exp10f.c: ...here.
674         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
675         * sysdeps/generic/e_exp10l.c: ...here.
676         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
677         * sysdeps/generic/e_scalb.c: ...here.
678         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
679         * sysdeps/generic/e_scalbf.c: ...here.
680         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
681         * sysdeps/generic/e_scalbl.c: ...here.
682         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
683         * sysdeps/generic/s_cacos.c: ...here.
684         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
685         * sysdeps/generic/s_cacosf.c: ...here.
686         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
687         * sysdeps/generic/s_cacosh.c: ...here.
688         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
689         * sysdeps/generic/s_cacoshf.c: ...here.
690         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
691         * sysdeps/generic/s_cacoshl.c: ...here.
692         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
693         * sysdeps/generic/s_cacosl.c: ...here.
694         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
695         * sysdeps/generic/s_casin.c: ...here.
696         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
697         * sysdeps/generic/s_casinf.c: ...here.
698         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
699         * sysdeps/generic/s_casinh.c: ...here.
700         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
701         * sysdeps/generic/s_casinhf.c: ...here.
702         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
703         * sysdeps/generic/s_casinhl.c: ...here.
704         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
705         * sysdeps/generic/s_casinl.c: ...here.
706         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
707         * sysdeps/generic/s_catan.c: ...here.
708         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
709         * sysdeps/generic/s_catanf.c: ...here.
710         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
711         * sysdeps/generic/s_catanh.c: ...here.
712         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
713         * sysdeps/generic/s_catanhf.c: ...here.
714         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
715         * sysdeps/generic/s_catanhl.c: ...here.
716         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
717         * sysdeps/generic/s_catanl.c: ...here.
718         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
719         * sysdeps/generic/s_ccos.c: ...here.
720         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
721         * sysdeps/generic/s_ccosf.c: ...here.
722         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
723         * sysdeps/generic/s_ccosh.c: ...here.
724         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
725         * sysdeps/generic/s_ccoshf.c: ...here.
726         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
727         * sysdeps/generic/s_ccoshl.c: ...here.
728         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
729         * sysdeps/generic/s_ccosl.c: ...here.
730         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
731         * sysdeps/generic/s_cexp.c: ...here.
732         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
733         * sysdeps/generic/s_cexpf.c: ...here.
734         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
735         * sysdeps/generic/s_cexpl.c: ...here.
736         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
737         * sysdeps/generic/s_clog.c: ...here.
738         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
739         * sysdeps/generic/s_clog10.c: ...here.
740         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
741         * sysdeps/generic/s_clog10f.c: ...here.
742         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
743         * sysdeps/generic/s_clog10l.c: ...here.
744         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
745         * sysdeps/generic/s_clogf.c: ...here.
746         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
747         * sysdeps/generic/s_clogl.c: ...here.
748         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
749         * sysdeps/generic/s_cpow.c: ...here.
750         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
751         * sysdeps/generic/s_cpowf.c: ...here.
752         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
753         * sysdeps/generic/s_cpowl.c: ...here.
754         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
755         * sysdeps/generic/s_cproj.c: ...here.
756         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
757         * sysdeps/generic/s_cprojf.c: ...here.
758         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
759         * sysdeps/generic/s_cprojl.c: ...here.
760         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
761         * sysdeps/generic/s_csin.c: ...here.
762         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
763         * sysdeps/generic/s_csinf.c: ...here.
764         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
765         * sysdeps/generic/s_csinh.c: ...here.
766         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
767         * sysdeps/generic/s_csinhf.c: ...here.
768         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
769         * sysdeps/generic/s_csinhl.c: ...here.
770         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
771         * sysdeps/generic/s_csinl.c: ...here.
772         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
773         * sysdeps/generic/s_csqrt.c: ...here.
774         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
775         * sysdeps/generic/s_csqrtf.c: ...here.
776         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
777         * sysdeps/generic/s_csqrtl.c: ...here.
778         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
779         * sysdeps/generic/s_ctan.c: ...here.
780         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
781         * sysdeps/generic/s_ctanf.c: ...here.
782         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
783         * sysdeps/generic/s_ctanh.c: ...here.
784         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
785         * sysdeps/generic/s_ctanhf.c: ...here.
786         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
787         * sysdeps/generic/s_ctanhl.c: ...here.
788         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
789         * sysdeps/generic/s_ctanl.c: ...here.
790         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
791         * sysdeps/generic/s_fdim.c: ...here.
792         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
793         * sysdeps/generic/s_fdimf.c: ...here.
794         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
795         * sysdeps/generic/s_fdiml.c: ...here.
796         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
797         * sysdeps/generic/s_fma.c: ...here.
798         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
799         * sysdeps/generic/s_fmaf.c: ...here.
800         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
801         * sysdeps/generic/s_fmal.c: ...here.
802         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
803         * sysdeps/generic/s_fmax.c: ...here.
804         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
805         * sysdeps/generic/s_fmaxf.c: ...here.
806         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
807         * sysdeps/generic/s_fmaxl.c: ...here.
808         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
809         * sysdeps/generic/s_fmin.c: ...here.
810         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
811         * sysdeps/generic/s_fminf.c: ...here.
812         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
813         * sysdeps/generic/s_fminl.c: ...here.
814         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
815         * sysdeps/generic/s_ldexp.c: ...here.
816         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
817         * sysdeps/generic/s_ldexpf.c: ...here.
818         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
819         * sysdeps/generic/s_ldexpl.c: ...here.
820         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
821         * sysdeps/generic/s_nan.c: ...here.
822         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
823         * sysdeps/generic/s_nanf.c: ...here.
824         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
825         * sysdeps/generic/s_nanl.c: ...here.
826         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
827         * sysdeps/generic/s_significand.c: ...here.
828         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
829         * sysdeps/generic/s_significandf.c: ...here.
830         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
831         * sysdeps/generic/s_significandl.c: ...here.
832         Avoid conversion from int to double and then to long double.
833         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
834         * math/w_acos.c: ...here.
835         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
836         * math/w_acosf.c: ...here.
837         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
838         * math/w_acosh.c: ...here.
839         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
840         * math/w_acoshf.c: ...here.
841         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
842         * math/w_acoshl.c: ...here.
843         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
844         * math/w_acosl.c: ...here.
845         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
846         * math/w_asin.c: ...here.
847         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
848         * math/w_asinf.c: ...here.
849         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
850         * math/w_asinl.c: ...here.
851         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
852         * math/w_atan2.c: ...here.
853         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
854         * math/w_atan2f.c: ...here.
855         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
856         * math/w_atan2l.c: ...here.
857         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
858         * math/w_atanh.c: ...here.
859         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
860         * math/w_atanhf.c: ...here.
861         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
862         * math/w_atanhl.c: ...here.
863         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
864         * math/w_cosh.c: ...here.
865         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
866         * math/w_coshf.c: ...here.
867         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
868         * math/w_coshl.c: ...here.
869         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
870         * math/w_drem.c: ...here.
871         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
872         * math/w_dremf.c: ...here.
873         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
874         * math/w_dreml.c: ...here.
875         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
876         * math/w_exp10.c: ...here.
877         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
878         * math/w_exp10f.c: ...here.
879         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
880         * math/w_exp10l.c: ...here.
881         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
882         * math/w_exp2.c: ...here.
883         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
884         * math/w_exp2f.c: ...here.
885         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
886         * math/w_exp2l.c: ...here.
887         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
888         * math/w_fmod.c: ...here.
889         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
890         * math/w_fmodf.c: ...here.
891         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
892         * math/w_fmodl.c: ...here.
893         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
894         * math/w_hypot.c: ...here.
895         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
896         * math/w_hypotf.c: ...here.
897         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
898         * math/w_hypotl.c: ...here.
899         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
900         * math/w_j0.c: ...here.
901         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
902         * math/w_j0f.c: ...here.
903         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
904         * math/w_j0l.c: ...here.
905         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
906         * math/w_j1.c: ...here.
907         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
908         * math/w_j1f.c: ...here.
909         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
910         * math/w_j1l.c: ...here.
911         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
912         * math/w_jn.c: ...here.
913         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
914         * math/w_jnf.c: ...here.
915         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
916         * math/w_jnl.c: ...here.
917         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
918         * math/w_lgamma.c: ...here.
919         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
920         * math/w_lgamma_r.c: ...here.
921         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
922         * math/w_lgammaf.c: ...here.
923         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
924         * math/w_lgammaf_r.c: ...here.
925         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
926         * math/w_lgammal.c: ...here.
927         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
928         * math/w_lgammal_r.c: ...here.
929         * sysdeps/libm-ieee754/w_log.c: Moved to ...
930         * math/w_log.c: ...here.
931         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
932         * math/w_log10.c: ...here.
933         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
934         * math/w_log10f.c: ...here.
935         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
936         * math/w_log10l.c: ...here.
937         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
938         * math/w_logf.c: ...here.
939         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
940         * math/w_logl.c: ...here.
941         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
942         * math/w_pow.c: ...here.
943         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
944         * math/w_powf.c: ...here.
945         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
946         * math/w_powl.c: ...here.
947         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
948         * math/w_remainder.c: ...here.
949         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
950         * math/w_remainderf.c: ...here.
951         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
952         * math/w_remainderl.c: ...here.
953         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
954         * math/w_scalb.c: ...here.
955         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
956         * math/w_scalbf.c: ...here.
957         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
958         * math/w_scalbl.c: ...here.
959         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
960         * math/w_sinh.c: ...here.
961         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
962         * math/w_sinhf.c: ...here.
963         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
964         * math/w_sinhl.c: ...here.
965         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
966         * math/w_sqrt.c: ...here.
967         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
968         * math/w_sqrtf.c: ...here.
969         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
970         * math/w_sqrtl.c: ...here.
971         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
972         * math/w_tgamma.c: ...here.
973         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
974         * math/w_tgammaf.c: ...here.
975         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
976         * math/w_tgammal.c: ...here.
977         * sysdeps/libm-i387/e_acos.S: Moved to ...
978         * sysdeps/i386/fpu/e_acos.S: ...here.
979         * sysdeps/libm-i387/e_acosf.S: Moved to ...
980         * sysdeps/i386/fpu/e_acosf.S: ...here.
981         * sysdeps/libm-i387/e_acosh.S: Moved to ...
982         * sysdeps/i386/fpu/e_acosh.S: ...here.
983         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
984         * sysdeps/i386/fpu/e_acoshf.S: ...here.
985         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
986         * sysdeps/i386/fpu/e_acoshl.S: ...here.
987         * sysdeps/libm-i387/e_acosl.S: Moved to ...
988         * sysdeps/i386/fpu/e_acosl.S: ...here.
989         * sysdeps/libm-i387/e_asin.S: Moved to ...
990         * sysdeps/i386/fpu/e_asin.S: ...here.
991         * sysdeps/libm-i387/e_asinf.S: Moved to ...
992         * sysdeps/i386/fpu/e_asinf.S: ...here.
993         * sysdeps/libm-i387/e_asinl.S: Moved to ...
994         * sysdeps/i386/fpu/e_asinl.S: ...here.
995         * sysdeps/libm-i387/e_atan2.S: Moved to ...
996         * sysdeps/i386/fpu/e_atan2.S: ...here.
997         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
998         * sysdeps/i386/fpu/e_atan2f.S: ...here.
999         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
1000         * sysdeps/i386/fpu/e_atan2l.S: ...here.
1001         * sysdeps/libm-i387/e_atanh.S: Moved to ...
1002         * sysdeps/i386/fpu/e_atanh.S: ...here.
1003         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
1004         * sysdeps/i386/fpu/e_atanhf.S: ...here.
1005         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
1006         * sysdeps/i386/fpu/e_atanhl.S: ...here.
1007         * sysdeps/libm-i387/e_exp.S: Moved to ...
1008         * sysdeps/i386/fpu/e_exp.S: ...here.
1009         * sysdeps/libm-i387/e_exp10.S: Moved to ...
1010         * sysdeps/i386/fpu/e_exp10.S: ...here.
1011         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
1012         * sysdeps/i386/fpu/e_exp10f.S: ...here.
1013         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
1014         * sysdeps/i386/fpu/e_exp10l.S: ...here.
1015         * sysdeps/libm-i387/e_expf.S: Moved to ...
1016         * sysdeps/i386/fpu/e_expf.S: ...here.
1017         * sysdeps/libm-i387/e_expl.S: Moved to ...
1018         * sysdeps/i386/fpu/e_expl.S: ...here.
1019         * sysdeps/libm-i387/e_fmod.S: Moved to ...
1020         * sysdeps/i386/fpu/e_fmod.S: ...here.
1021         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
1022         * sysdeps/i386/fpu/e_fmodf.S: ...here.
1023         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
1024         * sysdeps/i386/fpu/e_fmodl.S: ...here.
1025         * sysdeps/libm-i387/e_hypot.S: Moved to ...
1026         * sysdeps/i386/fpu/e_hypot.S: ...here.
1027         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
1028         * sysdeps/i386/fpu/e_hypotf.S: ...here.
1029         * sysdeps/libm-i387/e_log.S: Moved to ...
1030         * sysdeps/i386/fpu/e_log.S: ...here.
1031         * sysdeps/libm-i387/e_log10.S: Moved to ...
1032         * sysdeps/i386/fpu/e_log10.S: ...here.
1033         * sysdeps/libm-i387/e_log10f.S: Moved to ...
1034         * sysdeps/i386/fpu/e_log10f.S: ...here.
1035         * sysdeps/libm-i387/e_log10l.S: Moved to ...
1036         * sysdeps/i386/fpu/e_log10l.S: ...here.
1037         * sysdeps/libm-i387/e_logf.S: Moved to ...
1038         * sysdeps/i386/fpu/e_logf.S: ...here.
1039         * sysdeps/libm-i387/e_logl.S: Moved to ...
1040         * sysdeps/i386/fpu/e_logl.S: ...here.
1041         * sysdeps/libm-i387/e_pow.S: Moved to ...
1042         * sysdeps/i386/fpu/e_pow.S: ...here.
1043         * sysdeps/libm-i387/e_powf.S: Moved to ...
1044         * sysdeps/i386/fpu/e_powf.S: ...here.
1045         * sysdeps/libm-i387/e_powl.S: Moved to ...
1046         * sysdeps/i386/fpu/e_powl.S: ...here.
1047         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
1048         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
1049         * sysdeps/libm-i387/e_remainder.S: Moved to ...
1050         * sysdeps/i386/fpu/e_remainder.S: ...here.
1051         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
1052         * sysdeps/i386/fpu/e_remainderf.S: ...here.
1053         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
1054         * sysdeps/i386/fpu/e_remainderl.S: ...here.
1055         * sysdeps/libm-i387/e_scalb.S: Moved to ...
1056         * sysdeps/i386/fpu/e_scalb.S: ...here.
1057         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
1058         * sysdeps/i386/fpu/e_scalbf.S: ...here.
1059         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
1060         * sysdeps/i386/fpu/e_scalbl.S: ...here.
1061         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
1062         * sysdeps/i386/fpu/e_sqrt.S: ...here.
1063         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
1064         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
1065         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
1066         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
1067         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
1068         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
1069         * sysdeps/libm-i387/s_asinh.S: Moved to ...
1070         * sysdeps/i386/fpu/s_asinh.S: ...here.
1071         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
1072         * sysdeps/i386/fpu/s_asinhf.S: ...here.
1073         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
1074         * sysdeps/i386/fpu/s_asinhl.S: ...here.
1075         * sysdeps/libm-i387/s_atan.S: Moved to ...
1076         * sysdeps/i386/fpu/s_atan.S: ...here.
1077         * sysdeps/libm-i387/s_atanf.S: Moved to ...
1078         * sysdeps/i386/fpu/s_atanf.S: ...here.
1079         * sysdeps/libm-i387/s_atanl.S: Moved to ...
1080         * sysdeps/i386/fpu/s_atanl.S: ...here.
1081         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
1082         * sysdeps/i386/fpu/s_cbrt.S: ...here.
1083         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
1084         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
1085         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
1086         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
1087         * sysdeps/libm-i387/s_ceil.S: Moved to ...
1088         * sysdeps/i386/fpu/s_ceil.S: ...here.
1089         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
1090         * sysdeps/i386/fpu/s_ceilf.S: ...here.
1091         * sysdeps/libm-i387/s_ceill.S: Moved to ...
1092         * sysdeps/i386/fpu/s_ceill.S: ...here.
1093         * sysdeps/libm-i387/s_cexp.S: Moved to ...
1094         * sysdeps/i386/fpu/s_cexp.S: ...here.
1095         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
1096         * sysdeps/i386/fpu/s_cexpf.S: ...here.
1097         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
1098         * sysdeps/i386/fpu/s_cexpl.S: ...here.
1099         * sysdeps/libm-i387/s_copysign.S: Moved to ...
1100         * sysdeps/i386/fpu/s_copysign.S: ...here.
1101         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
1102         * sysdeps/i386/fpu/s_copysignf.S: ...here.
1103         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
1104         * sysdeps/i386/fpu/s_copysignl.S: ...here.
1105         * sysdeps/libm-i387/s_cos.S: Moved to ...
1106         * sysdeps/i386/fpu/s_cos.S: ...here.
1107         * sysdeps/libm-i387/s_cosf.S: Moved to ...
1108         * sysdeps/i386/fpu/s_cosf.S: ...here.
1109         * sysdeps/libm-i387/s_cosl.S: Moved to ...
1110         * sysdeps/i386/fpu/s_cosl.S: ...here.
1111         * sysdeps/libm-i387/s_exp2.S: Moved to ...
1112         * sysdeps/i386/fpu/s_exp2.S: ...here.
1113         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
1114         * sysdeps/i386/fpu/s_exp2f.S: ...here.
1115         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
1116         * sysdeps/i386/fpu/s_exp2l.S: ...here.
1117         * sysdeps/libm-i387/s_expm1.S: Moved to ...
1118         * sysdeps/i386/fpu/s_expm1.S: ...here.
1119         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
1120         * sysdeps/i386/fpu/s_expm1f.S: ...here.
1121         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
1122         * sysdeps/i386/fpu/s_expm1l.S: ...here.
1123         * sysdeps/libm-i387/s_fdim.S: Moved to ...
1124         * sysdeps/i386/fpu/s_fdim.S: ...here.
1125         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
1126         * sysdeps/i386/fpu/s_fdimf.S: ...here.
1127         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
1128         * sysdeps/i386/fpu/s_fdiml.S: ...here.
1129         * sysdeps/libm-i387/s_finite.S: Moved to ...
1130         * sysdeps/i386/fpu/s_finite.S: ...here.
1131         * sysdeps/libm-i387/s_finitef.S: Moved to ...
1132         * sysdeps/i386/fpu/s_finitef.S: ...here.
1133         * sysdeps/libm-i387/s_finitel.S: Moved to ...
1134         * sysdeps/i386/fpu/s_finitel.S: ...here.
1135         * sysdeps/libm-i387/s_floor.S: Moved to ...
1136         * sysdeps/i386/fpu/s_floor.S: ...here.
1137         * sysdeps/libm-i387/s_floorf.S: Moved to ...
1138         * sysdeps/i386/fpu/s_floorf.S: ...here.
1139         * sysdeps/libm-i387/s_floorl.S: Moved to ...
1140         * sysdeps/i386/fpu/s_floorl.S: ...here.
1141         * sysdeps/libm-i387/s_fma.S: Moved to ...
1142         * sysdeps/i386/fpu/s_fma.S: ...here.
1143         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
1144         * sysdeps/i386/fpu/s_fmaf.S: ...here.
1145         * sysdeps/libm-i387/s_fmal.S: Moved to ...
1146         * sysdeps/i386/fpu/s_fmal.S: ...here.
1147         * sysdeps/libm-i387/s_fmax.S: Moved to ...
1148         * sysdeps/i386/fpu/s_fmax.S: ...here.
1149         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
1150         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
1151         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
1152         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
1153         * sysdeps/libm-i387/s_fmin.S: Moved to ...
1154         * sysdeps/i386/fpu/s_fmin.S: ...here.
1155         * sysdeps/libm-i387/s_fminf.S: Moved to ...
1156         * sysdeps/i386/fpu/s_fminf.S: ...here.
1157         * sysdeps/libm-i387/s_fminl.S: Moved to ...
1158         * sysdeps/i386/fpu/s_fminl.S: ...here.
1159         * sysdeps/libm-i387/s_frexp.S: Moved to ...
1160         * sysdeps/i386/fpu/s_frexp.S: ...here.
1161         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
1162         * sysdeps/i386/fpu/s_frexpf.S: ...here.
1163         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
1164         * sysdeps/i386/fpu/s_frexpl.S: ...here.
1165         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
1166         * sysdeps/i386/fpu/s_ilogb.S: ...here.
1167         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
1168         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
1169         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
1170         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
1171         * sysdeps/libm-i387/s_llrint.S: Moved to ...
1172         * sysdeps/i386/fpu/s_llrint.S: ...here.
1173         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
1174         * sysdeps/i386/fpu/s_llrintf.S: ...here.
1175         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
1176         * sysdeps/i386/fpu/s_llrintl.S: ...here.
1177         * sysdeps/libm-i387/s_log1p.S: Moved to ...
1178         * sysdeps/i386/fpu/s_log1p.S: ...here.
1179         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
1180         * sysdeps/i386/fpu/s_log1pf.S: ...here.
1181         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
1182         * sysdeps/i386/fpu/s_log1pl.S: ...here.
1183         * sysdeps/libm-i387/s_log2.S: Moved to ...
1184         * sysdeps/i386/fpu/s_log2.S: ...here.
1185         * sysdeps/libm-i387/s_log2f.S: Moved to ...
1186         * sysdeps/i386/fpu/s_log2f.S: ...here.
1187         * sysdeps/libm-i387/s_log2l.S: Moved to ...
1188         * sysdeps/i386/fpu/s_log2l.S: ...here.
1189         * sysdeps/libm-i387/s_logb.S: Moved to ...
1190         * sysdeps/i386/fpu/s_logb.S: ...here.
1191         * sysdeps/libm-i387/s_logbf.S: Moved to ...
1192         * sysdeps/i386/fpu/s_logbf.S: ...here.
1193         * sysdeps/libm-i387/s_logbl.S: Moved to ...
1194         * sysdeps/i386/fpu/s_logbl.S: ...here.
1195         * sysdeps/libm-i387/s_lrint.S: Moved to ...
1196         * sysdeps/i386/fpu/s_lrint.S: ...here.
1197         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
1198         * sysdeps/i386/fpu/s_lrintf.S: ...here.
1199         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
1200         * sysdeps/i386/fpu/s_lrintl.S: ...here.
1201         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
1202         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
1203         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
1204         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
1205         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
1206         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
1207         * sysdeps/libm-i387/s_remquo.S: Moved to ...
1208         * sysdeps/i386/fpu/s_remquo.S: ...here.
1209         * sysdeps/libm-i387/s_remquof.S: Moved to ...
1210         * sysdeps/i386/fpu/s_remquof.S: ...here.
1211         * sysdeps/libm-i387/s_remquol.S: Moved to ...
1212         * sysdeps/i386/fpu/s_remquol.S: ...here.
1213         * sysdeps/libm-i387/s_rint.S: Moved to ...
1214         * sysdeps/i386/fpu/s_rint.S: ...here.
1215         * sysdeps/libm-i387/s_rintf.S: Moved to ...
1216         * sysdeps/i386/fpu/s_rintf.S: ...here.
1217         * sysdeps/libm-i387/s_rintl.S: Moved to ...
1218         * sysdeps/i386/fpu/s_rintl.S: ...here.
1219         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
1220         * sysdeps/i386/fpu/s_scalbn.S: ...here.
1221         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
1222         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
1223         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
1224         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
1225         * sysdeps/libm-i387/s_significand.S: Moved to ...
1226         * sysdeps/i386/fpu/s_significand.S: ...here.
1227         * sysdeps/libm-i387/s_significandf.S: Moved to ...
1228         * sysdeps/i386/fpu/s_significandf.S: ...here.
1229         * sysdeps/libm-i387/s_significandl.S: Moved to ...
1230         * sysdeps/i386/fpu/s_significandl.S: ...here.
1231         * sysdeps/libm-i387/s_sin.S: Moved to ...
1232         * sysdeps/i386/fpu/s_sin.S: ...here.
1233         * sysdeps/libm-i387/s_sincos.S: Moved to ...
1234         * sysdeps/i386/fpu/s_sincos.S: ...here.
1235         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
1236         * sysdeps/i386/fpu/s_sincosf.S: ...here.
1237         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
1238         * sysdeps/i386/fpu/s_sincosl.S: ...here.
1239         * sysdeps/libm-i387/s_sinf.S: Moved to ...
1240         * sysdeps/i386/fpu/s_sinf.S: ...here.
1241         * sysdeps/libm-i387/s_sinl.S: Moved to ...
1242         * sysdeps/i386/fpu/s_sinl.S: ...here.
1243         * sysdeps/libm-i387/s_tan.S: Moved to ...
1244         * sysdeps/i386/fpu/s_tan.S: ...here.
1245         * sysdeps/libm-i387/s_tanf.S: Moved to ...
1246         * sysdeps/i386/fpu/s_tanf.S: ...here.
1247         * sysdeps/libm-i387/s_tanl.S: Moved to ...
1248         * sysdeps/i386/fpu/s_tanl.S: ...here.
1249         * sysdeps/libm-i387/s_trunc.S: Moved to ...
1250         * sysdeps/i386/fpu/s_trunc.S: ...here.
1251         * sysdeps/libm-i387/s_truncf.S: Moved to ...
1252         * sysdeps/i386/fpu/s_truncf.S: ...here.
1253         * sysdeps/libm-i387/s_truncl.S: Moved to ...
1254         * sysdeps/i386/fpu/s_truncl.S: ...here.
1255         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
1256         * sysdeps/ieee754/k_standard.c: ...here.
1257         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
1258         * sysdeps/ieee754/s_lib_version.c: ...here.
1259         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
1260         * sysdeps/ieee754/s_matherr.c: ...here.
1261         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
1262         * sysdeps/ieee754/s_signgam.c: ...here.
1263         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
1264         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
1265         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
1266         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
1267         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
1268         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
1269         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
1270         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
1271         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
1272         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
1273         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
1274         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
1275         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
1276         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
1277         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
1278         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
1279         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
1280         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
1281         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
1282         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
1283         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
1284         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
1285         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
1286         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
1287         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
1288         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
1289         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
1290         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
1291         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
1292         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
1293         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
1294         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
1295         * sysdeps/libm-ieee754/e_log.c: Moved to ...
1296         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
1297         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
1298         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
1299         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
1300         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
1301         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
1302         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
1303         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
1304         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
1305         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
1306         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
1307         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
1308         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
1309         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
1310         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
1311         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
1312         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
1313         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
1314         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
1315         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
1316         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
1317         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
1318         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
1319         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
1320         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
1321         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
1322         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
1323         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
1324         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
1325         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
1326         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
1327         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
1328         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
1329         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
1330         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
1331         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
1332         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
1333         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
1334         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
1335         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
1336         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
1337         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
1338         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
1339         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
1340         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
1341         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
1342         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
1343         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
1344         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
1345         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
1346         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
1347         (__isnan): Comment above function says it returns 0 or 1, but it
1348         used to return 0 or -1.
1349         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
1350         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
1351         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
1352         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
1353         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
1354         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
1355         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
1356         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
1357         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
1358         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
1359         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
1360         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
1361         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
1362         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
1363         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
1364         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
1365         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
1366         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
1367         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
1368         * sysdeps/generic/s_nextafter.c: ...here.
1369         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
1370         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
1371         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
1372         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
1373         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
1374         * sysdeps/libm-ieee754/s_round.c: Moved to ...
1375         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
1376         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
1377         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
1378         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
1379         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
1380         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
1381         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
1382         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
1383         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
1384         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
1385         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
1386         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
1387         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
1388         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
1389         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
1390         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
1391         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
1392         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
1393         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
1394         * sysdeps/ieee754/mpn2flt.c: Moved to ...
1395         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
1396         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
1397         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
1398         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
1399         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
1400         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
1401         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
1402         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
1403         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
1404         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
1405         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
1406         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
1407         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
1408         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
1409         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
1410         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
1411         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
1412         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
1413         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
1414         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
1415         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
1416         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
1417         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
1418         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
1419         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
1420         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
1421         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
1422         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
1423         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
1424         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
1425         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
1426         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
1427         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
1428         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
1429         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
1430         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
1431         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
1432         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
1433         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
1434         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
1435         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
1436         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
1437         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
1438         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
1439         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
1440         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
1441         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
1442         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
1443         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
1444         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
1445         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
1446         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
1447         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
1448         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
1449         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
1450         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
1451         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
1452         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
1453         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
1454         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
1455         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
1456         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
1457         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
1458         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
1459         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
1460         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
1461         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
1462         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
1463         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
1464         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
1465         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
1466         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
1467         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
1468         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
1469         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
1470         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
1471         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
1472         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
1473         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
1474         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
1475         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
1476         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
1477         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
1478         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
1479         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
1480         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
1481         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
1482         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
1483         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
1484         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
1485         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
1486         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
1487         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
1488         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
1489         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
1490         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
1491         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
1492         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
1493         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
1494         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
1495         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
1496         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
1497         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
1498         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
1499         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
1500         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
1501         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
1502         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
1503         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
1504         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
1505         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
1506         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
1507         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
1508         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
1509         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
1510         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
1511         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
1512         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
1513         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
1514         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
1515         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
1516         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
1517         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
1518         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
1519         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
1520         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
1521         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
1522         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
1523         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
1524         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
1525         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
1526         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
1527         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
1528         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
1529         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
1530         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
1531         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
1532         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
1533         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
1534         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
1535         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
1536         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
1537         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
1538         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
1539         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
1540         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
1541         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
1542         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
1543         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
1544         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
1545         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
1546         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
1547         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
1548         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
1549         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
1550         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
1551         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
1552         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
1553         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
1554         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
1555         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
1556         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
1557         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
1558         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
1559         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
1560         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
1561         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
1562         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
1563         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
1564         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
1565         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
1566         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
1567         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
1568         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
1569         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
1570         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
1571         INSERT_WORDS.
1572         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
1573         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
1574         (__nearbyintl): Fix for exponents 2^30.
1575         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
1576         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
1577         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
1578         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
1579         (__rintl): Fix for exponents 2^30.
1580         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
1581         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
1582         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
1583         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
1584         (__scalbnl): Fix exponent for subnormal result.
1585         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
1586         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
1587         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
1588         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
1589         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
1590         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
1591         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
1592         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
1593         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
1594         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
1595         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
1596         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
1597         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
1598         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
1599         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
1600         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
1601         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
1602         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
1603         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
1604         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
1605         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
1606         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
1607         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
1608         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
1609         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
1610         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
1611         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
1612         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
1613         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
1614         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
1615         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
1616         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
1617         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
1618         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
1619         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
1620         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
1621         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
1622         * sysdeps/i386/fpu/s_scalbln.c: ...here.
1623         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
1624         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
1625         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
1626         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
1627         * sysdeps/libm-i387/t_exp.c: Moved to ...
1628         * sysdeps/i386/fpu/t_exp.c: ...here.
1629         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
1630         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
1631         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
1632         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
1633         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
1634         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
1635         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
1636         * sysdeps/i386/fpu/s_isinfl.c: ...here.
1637         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
1638         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
1639         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
1640         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
1641         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
1642         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
1643         Fix exponent for subnormal result.
1644         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
1645         * sysdeps/generic/s_nexttowardl.c: ...here.
1646         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
1647         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
1648         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
1649         * sysdeps/i386/fpu/s_isnanl.c: ...here.
1650         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
1651         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
1652         Comment above function says it returns 0 or 1, but it used to return
1653         0 or -1.
1654         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
1655         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
1656         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
1657         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
1658         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
1659         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
1660         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
1661         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
1662         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
1663         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
1664         Cannot compare exponents with different biases without adjusting.
1665         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
1666         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
1667         Cannot compare exponents with different biases without adjusting.
1668         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
1669         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
1670         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
1671         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
1672         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
1673         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
1674         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
1675         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
1676         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
1677         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
1678         * sysdeps/libm-ieee754/Dist: Split into ...
1679         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
1680         * sysdeps/ieee754/flt-32/Dist: ...this file.
1681
1682         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
1683         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
1684         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
1685         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
1686         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
1687         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
1688         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
1689         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
1690         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
1691         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
1692         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
1693         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
1694         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
1695         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
1696         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
1697         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
1698         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
1699         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
1700         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
1701         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
1702         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
1703         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
1704         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
1705         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
1706         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
1707         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
1708         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
1709         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
1710         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
1711         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
1712         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
1713         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
1714         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
1715         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
1716         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
1717         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
1718         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
1719         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
1720         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
1721         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
1722         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
1723         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
1724         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
1725         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
1726         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
1727         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
1728         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
1729
1730         * sysdeps/generic/math_ldbl.h: New file.
1731         * sysdeps/generic/s_nexttowardf.c: New file.
1732         * sysdeps/generic/strtold.c: New file.
1733         * sysdeps/generic/ldbl2mpn.c: New file.
1734
1735         * math/machine/endian.h: Remove.
1736         * sysdeps/i386/fpu/Implies: Remove.
1737         * sysdeps/ieee754/Implies: Remove.
1738
1739         * math/math_private.h: Move long double macros to math_ldbl.h
1740         header.
1741
1742 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
1743
1744         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
1745         connections without a hostname set address to localhost address.
1746
1747 1999-07-11  H.J. Lu  <hjl@gnu.org>
1748
1749         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
1750         nscd's own strong version of the get[a-z]*_r function.
1751         * nscd/hstcache.c: Likewise.
1752         * nscd/pwdcache.c: Likewise.
1753
1754 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
1755
1756         * configure.in: Recognize 2.95 as gcc version number.
1757         Patch by Joel Klecker <jk@espy.org>.
1758
1759 1999-07-12  Andreas Schwab  <schwab@suse.de>
1760
1761         * elf/rtld.c (dl_main): When putting back the interpreter object
1762         handle the case where a missing object might occur in the list of
1763         objects but not in the search list when in trace mode.
1764
1765 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
1766
1767         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
1768         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
1769         _nss_hesiod_initgroups.
1770
1771 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
1772
1773         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
1774         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
1775         Initialize it from &__data_start if defined, or else &_end.
1776
1777 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
1778
1779         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
1780         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
1781
1782 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
1783
1784         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
1785
1786 1999-07-09  H.J. Lu  <hjl@gnu.org>
1787
1788         * Versions.def (GLIBC_2.1.2): Added.
1789
1790         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
1791         old one as GLIBC_2.0.
1792         * nss/getXXbyYY_r.c: Likewise.
1793
1794         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
1795         GLIBC_2.1.2.
1796         * inet/Versions (getaliasbyname_r, getaliasent_r,
1797         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
1798         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
1799         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
1800         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
1801         getservbyname_r): Likewise.
1802         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
1803         * shadow/Versions (getspent_r, getspnam_r): Likewise.
1804
1805 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
1806
1807         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
1808         compilers.
1809         (__memset_cc): Likewise.
1810
1811         * sysdeps/generic/libc-start.c: For SUID binaries check whether
1812         the standard file descriptors are open.
1813         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
1814
1815         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
1816         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
1817         range of mmap.  If not fail.
1818         Patches by Daniel Jacobowitz <dan@debian.org>.
1819
1820         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
1821         before the relocation happened.
1822         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1823
1824         * Versions.def (libnsl): Add GLIBC_2.2.
1825         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
1826
1827 1999-07-08  Cristian Gafton  <gafton@redhat.com>
1828
1829         * nis/yp_xdr.c (xdr_ypall): New function.
1830
1831 1999-07-09  Andreas Schwab  <schwab@suse.de>
1832
1833         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
1834
1835         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
1836
1837 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
1838
1839         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
1840         * hesiod/hesiod-grp.c: Add initgroups support.
1841         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
1842
1843 1999-07-08  Andreas Schwab  <schwab@suse.de>
1844
1845         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
1846
1847         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
1848         negative numbers.
1849
1850         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
1851         EOF.
1852         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
1853
1854 1999-07-08  Andreas Schwab  <schwab@suse.de>
1855
1856         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
1857
1858 1999-07-08  Andreas Schwab  <schwab@suse.de>
1859
1860         * libio/fileno.c: Return -1 instead of EOF and set errno if the
1861         stream is not a real file stream.
1862
1863 1999-07-08  Andreas Schwab  <schwab@suse.de>
1864
1865         * manual/charset.texi: Fix typos.
1866
1867 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
1868
1869         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
1870
1871 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
1872
1873         * dlfcn: New directory.  Move the following files from elf:
1874         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
1875         dlopenold.c, dlsym.c, dlvsym.c.
1876         * dlfcn/Makefile: New file.
1877         * dlfcn/Versions: New file.
1878         * dlfcn/dlsym.c: All ELF-specific code split out to new
1879         function _dl_sym.
1880         * dlfcn/dlvsym.c: All ELF-specific code split out to new
1881         function _dl_vsym.
1882         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
1883         implemented here.
1884
1885         * dlfcn/dladdr.c: Remove all references to ELF data structures
1886         or headers.
1887         * dlfcn/dlclose.c: Likewise.
1888         * dlfcn/dlerror.c: Likewise.
1889         * dlfcn/dlopen.c: Likewise.
1890         * dlfcn/dlopenold.c: Likewise.
1891
1892         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
1893         yes, empty otherwise.
1894         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
1895         depending on build-shared.
1896         (subdirs): Add $(dlfcn).
1897         (rpath-dirs): Add dlfcn.
1898         * elf/Makefile: Remove all references to libdl or its
1899         components, except the ones relating to the test cases.
1900         (routines): Add dl-sym.
1901         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
1902         (libdl): Delete.
1903
1904         * elf/dl-close.c (_dl_close): Change argument to void *.
1905         * elf/dl-open.c (_dl_open): Change return type to void *.
1906         * elf/eval.c: Removed.
1907         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
1908         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
1909         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
1910         _CALL_DL_FCT macro.
1911         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
1912         Include real header from dlfcn directory.
1913         * include/ldsodefs.h: Removed.
1914
1915         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
1916         * nss/getXXbyYY_r.c: Likewise.
1917         * nss/getXXent_r.c: Likewise.
1918         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
1919         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
1920         * iconv/skeleton.c: Don't include ldsodefs.h.
1921         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
1922
1923 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
1924
1925         * sysdeps/generic/setenv.c: Describe problem.
1926
1927         * malloc/malloc.c (request2size): Also set errno if failing.
1928
1929         * malloc/malloc.c (request2size): Take care of overflow in
1930         addition.
1931
1932         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
1933         (NULL, != 0) correctly.
1934
1935         * elf/dl-load.c: Use a few more __builtin_expect.
1936
1937         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
1938         is large enough.
1939
1940 1999-07-07  Andreas Schwab  <schwab@suse.de>
1941
1942         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
1943         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
1944         (_PATH_DEVPTMX): Use _PATH_DEV.
1945
1946 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1947
1948         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
1949         * malloc/Makefile (tests): Add tst-malloc.
1950
1951 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
1952
1953         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
1954         convention.
1955
1956         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
1957         motherboards.
1958         Patch by Jay Estabrook.
1959
1960         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
1961         ldd for SPARC.
1962         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
1963         Patch by Cristian Gafton.
1964
1965 1999-07-02  Cristian Gafton  <gafton@redhat.com>
1966
1967         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
1968         instead of "return NULL" to make C++ happy.
1969
1970 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
1971
1972         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
1973         allowed by the file access mode of the open file.
1974
1975 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
1976
1977         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
1978         macros defined.
1979
1980 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
1981
1982         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
1983         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
1984         * sysdeps/sparc/sparc64/rshift.S: Likewise.
1985         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
1986
1987 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
1988
1989         * malloc/malloc.c (request2size): Check for overflow and return
1990         NULL whenever it is encountered.
1991
1992 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
1993
1994         * sysdeps/posix/tempname.c (__gen_tempname):   Add
1995         ability to create directories.  Replace OPENIT and LARGEFILE
1996         args with a single flags parameter.
1997         * sysdeps/generic/tempname.c: Likewise.
1998         * include/stdio.h: Adjust prototype of __gen_tempname to
1999         match.  Define symbolic constants for second argument.
2000
2001         * misc/mkdtemp.c: New file, provides new function mkdtemp().
2002         * stdlib/stdlib.h: Prototype it.
2003         * misc/Versions: Export it.
2004         * misc/Makefile (routines): Add mktemp.
2005         * manual/filesys.texi: Document it.
2006
2007         * misc/mktemp.c: Adjust call of __gen_tempname to match new
2008         convention.
2009         * misc/mkstemp.c: Likewise.
2010         * stdio-common/tempnam.c: Likewise.
2011         * stdio-common/tmpfile.c: Likewise.
2012         * stdio-common/tmpfile64.c: Likewise.
2013         * stdio-common/tmpnam.c: Likewise.
2014         * stdio-common/tmpnam_r.c: Likewise.
2015
2016 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
2017
2018         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
2019         R_SPARC_OLO10 relocations.
2020         * elf/elf.h (R_SPARC_OLO10): Fix comment.
2021
2022 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
2023
2024         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
2025         doesn't belong in the tests, but in the wordexp implementation.
2026
2027         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
2028         split fields.
2029
2030 1999-07-01  Cristian Gafton  <gafton@redhat.com>
2031
2032         * time/strptime.c (strptime): Initialize the tm struct first to avoid
2033         returning bogus results on incomplete data.
2034         (strptime_internal): day_of_the_week() requres bith tm_mon and
2035         tm_mday to be initializaed.
2036         Computer them first if they are not given.
2037         (strptime_internal): (have_mon, have_mday): New variables.
2038
2039 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2040
2041         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
2042
2043 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2044
2045         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
2046         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2047
2048 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2049
2050         * posix/wordexp.c (parse_tilde): Handle failing call to
2051         get.*_r functions correctly for non-existing entry.
2052         * sysdeps/posix/cuserid.c (cuserid): Likewise.
2053         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
2054
2055 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
2056
2057         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
2058         getxxbyYY_r functions correctly for non-existing entry.
2059         * sunrpc/getrpcport.c: Likewise.
2060         * sunrpc/clnt_simp.c: Likewise.
2061         * inet/rexec.c: Likewise.
2062         * sunrpc/clnt_gen.c: Likewise.
2063         * inet/rcmd.c: Likewise.
2064         * sysdeps/generic/glob.c: Likewise.
2065
2066 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2067
2068         * pwd/Makefile (tests): Add rules for tst-getpw.
2069
2070         * pwd/tst-getpw.c: New program to test getpw.
2071
2072 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2073
2074         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
2075         correctly.
2076
2077 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2078
2079         * manual/arith.texi (System V Number Conversion): Fix the
2080         description which confused pointer and value to pointer.
2081         Reported by Andries.Brouwer@cwi.nl.
2082
2083 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2084
2085         * pwd/getpw.c (__getpw): Check for NULL result pointer.
2086
2087 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2088
2089         * manual/users.texi (Lookup User): Document POSIX return
2090         semantics for getpwuid_r and getgrgid_r.
2091
2092         * manual/socket.texi (Host Names): Document that the result
2093         pointer is null in case of error or host not found and fix a
2094         typo.  Give a small example.
2095
2096 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
2097
2098         * pwd/getpw.c: Add warning since no buffer size is given and
2099         therefore no overrun tests are possible.
2100
2101 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2102
2103         * pwd/pwd.h: Add getpw prototype declaration.
2104
2105 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
2106
2107         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
2108         * wcsmbs/wcschr.c: Likewise.
2109
2110 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
2111
2112         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
2113         returns.
2114         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
2115         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
2116         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
2117
2118         * elf/dl-dst.h: Fix typo.
2119         * elf/dl-open.c: Likewise.
2120
2121 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
2122
2123         * elf/dl-libc.c: New file, provides three functions:
2124         __libc_dlopen, __libc_dlclose, __libc_dlsym.
2125         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
2126         * elf/Makefile (routines): Add dl-libc.c.
2127         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
2128         argument to void *.
2129         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
2130
2131         * iconv/gconv.c: Include dlfcn.h.
2132         * iconv/gconv_db.c: Likewise.
2133         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
2134
2135         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
2136         `handle' to a void *.
2137         (__gconv_find_func): Delete prototype.
2138
2139         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
2140         dlerror_run and related functions and structs.  Use
2141         __libc_dlopen, __libc_dlsym, __libc_dlclose.
2142         * nss/nsswitch.c: Likewise.
2143
2144 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
2145
2146         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
2147         function correctly.
2148
2149         * sunrpc/getrpcport.c: Test for gethostbyname_r function
2150         correctly.
2151
2152         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
2153
2154         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
2155         functions correctly.
2156
2157         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
2158
2159         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
2160         file reading a bit.
2161
2162         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
2163
2164 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2165
2166         * manual/string.texi (Copying and Concatenation): Mention that
2167         strndup is a GNU extension.
2168
2169 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2170
2171         * pwd/getpw.c (__getpw): Fix check for error return.
2172
2173 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2174
2175         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
2176         occurence of the aux object start with the current list entry, not
2177         the new one.  Adjust tail pointer in the unique list.  Explain how
2178         the meaning of the variables changes [PR libc/1168].
2179
2180 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2181
2182         * sysdeps/m68k/fpu/Dist: New file.
2183
2184 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2185
2186         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
2187         definitions...
2188         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
2189         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
2190         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
2191         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2192         * sysdeps/m68k/fpu/e_pow.c: Likewise.
2193         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2194         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
2195         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
2196         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
2197         * sysdeps/m68k/fpu/s_csin.c: Likewise.
2198         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
2199         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2200         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
2201         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
2202         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
2203         * sysdeps/m68k/fpu/s_modf.c: Likewise.
2204
2205 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
2206
2207         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
2208         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
2209         _EXTERN_INLINE, use a macro specific to each file,
2210         _HURD_FD_H_EXTERN_INLINE and the like.
2211         * hurd/Makefile (inline-headers): New variable.
2212         (routines): Remove hurdinline.  Add $(inlines).
2213         (inlines): New variable.
2214         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
2215         (generated): Append those here.
2216         * hurd/hurdinline.c: File removed.
2217
2218         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
2219
2220         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
2221
2222 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2223
2224         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
2225
2226 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
2227
2228         * string/bits/string2.h (strnlen): Remove extra prototype.
2229
2230 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2231
2232         * manual/filesys.texi (Working on Directory Trees): Fix typos.
2233         Reported by Andries.Brouwer@cwi.nl.
2234
2235 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
2236
2237         * nscd/connections.c (handle_request): Use correct type for optlen
2238         variable.
2239
2240         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
2241         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
2242
2243 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
2244
2245         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
2246         * nscd/pwdcache.c: Likewise.
2247         * nscd/hstcache.c: Likewise.
2248
2249 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
2250
2251         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
2252
2253         * posix/getopt.h: Include stdio.h.
2254
2255         * manual/arith.texi: Document restriction of ndigit parameter of
2256         ecvt and friends.
2257         * misc/efgcvt.c: Define NDIGIT_MAX.
2258         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
2259         Do not dynamically allocate the static buffers.  They are small enough.
2260         * misc/efgcvt_r.c: Define NDIGIT_MAX.
2261         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
2262         * misc/qefgcvt.c: Define NDIGIT_MAX.
2263         * misc/qefgcvt_r.c: Likewise.
2264         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
2265
2266 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
2267
2268         * libio/stdio.h: Define stdin, stdout, stderr as macros.
2269         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
2270         These are *pragmas* not macros.
2271         * wcsmbs/wchar.h: Fix comment.
2272
2273         * grp/grp.h: Use __foo_t_defined convention to typedef things
2274         only once.
2275         * io/sys/stat.h: Likewise.
2276         * libio/stdio.h: Likewise.
2277         * posix/unistd.h: Likewise.
2278         * posix/sys/types.h: Likewise.
2279         * posix/sys/wait.h: Likewise.
2280         * pwd/pwd.h: Likewise.
2281         * signal/signal.h: Likewise.
2282         * sysdeps/generic/stdint.h: Likewise.
2283         * sysdeps/gnu/utmpx.h: Likewise.
2284         * termios/termios.h: Likewise.
2285
2286 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
2287
2288         * stdio/fputc.c: Don't define alias if fputc is defined as a
2289         macro.
2290         * stdio/putc.c: Define weak alias here since it is not done
2291         anymore in fputc.c.
2292
2293 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2294
2295         * assert/assert.h: Don't produce `defined' as part of macro
2296         expansion.
2297
2298 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
2299
2300         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
2301         OFFSET argument of (off_t) -1.
2302         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
2303         OFFSET argument of (off_t) -1.
2304
2305         * sysdeps/mach/hurd/pwrite.c: New file.
2306         * sysdeps/mach/hurd/pread.c: New file.
2307
2308         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
2309         pass it in the RPC instead of always -1.
2310         * hurd/fd-write.c (_hurd_fd_write): Likewise.
2311         * hurd/hurd/fd.h: Update decls.
2312
2313 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2314
2315         * libio/wscanf.c: Include <wchar.h> for prototype.
2316
2317 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
2318
2319         * manual/io.texi. Fix typos.
2320         * manual/stdio.texi: Likewise.
2321         Patches by Brian Youmans <3diff@gnu.org>.
2322
2323 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
2324
2325         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
2326         bits of two words differ.
2327
2328 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2329
2330         * libio/Makefile (routines): Add putwchar and putwchar_u.
2331
2332         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
2333         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
2334         stdout.  Fix parameter name.
2335
2336         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
2337         * libio/getchar_u.c: Likewise.
2338
2339         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
2340
2341 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2342
2343         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
2344         macro expansion---it's undefined.  Properly parenthesize
2345         substituted parameters.
2346         (__GLIBC_PREREQ): Likewise.
2347
2348 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
2349
2350         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
2351         weird effects.
2352
2353         * stdlib/longlong.h: Provide __P definition if not already
2354         defined.
2355
2356         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
2357
2358 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
2359
2360         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
2361
2362 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2363
2364         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
2365
2366 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2367
2368         * stdio-common/vfprintf.c (group_member): Make parameters and
2369         return types pointers to CHAR_T instead of UCHAR_T.
2370         (vfprintf): Change type of work_buffer, workend and string to
2371         CHAR_T pointer/array.
2372         (process_arg, process_string_arg): Adjust/remove casts.  Add
2373         missing use of L_ macro.
2374         (printf_unknown): Add missing uses of L_ macro.
2375
2376 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2377
2378         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
2379         warning.
2380
2381 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2382
2383         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
2384         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
2385         (__wunderflow): Likewise.
2386         (_IO_switch_to_wget_mode): Likewise.
2387         (_IO_init_wmarker): Likewise.
2388
2389         * libio/wfileops.c (_IO_wfile_seekoff): Call
2390         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
2391         (_IO_wfile_jumps): Fix pbackfail entry.
2392
2393         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
2394         function if the stream is currently unoriented.
2395
2396 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
2397
2398         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
2399         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
2400         __gnuc_va_list in v*w(printf|scanf) prototypes.
2401
2402 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2403
2404         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
2405         1999-03-29 to iopopen also here.
2406         Reported by Richard Braakman <dark@xs4all.nl>.
2407
2408 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2409
2410         * include/features.h: Use __GNUC_PREREQ.
2411         * sysdeps/i386/fpu/bits/mathinline.h: Likewise
2412
2413 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2414
2415         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
2416         Change EOF to WEOF and remove cast.
2417         (UNGETC): Remove macro.
2418         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
2419         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
2420         Change ISASCII to isascii and MBRLEN to mbrlen.
2421         (parse_one_spec): Compare info.spec always against wchar_t
2422         values.
2423         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
2424         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
2425         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
2426
2427 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2428
2429         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
2430         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
2431         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
2432         oldiofsetpos64 only if doing versioning.
2433
2434 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
2435
2436         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
2437
2438 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2439
2440         * libio/libio.h: Fix last patch.
2441
2442 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
2443
2444         * libio/libio.h (_IO_putwc): Correct type of first argument.
2445         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
2446         putwc_unlocked, putwchar_unlocked): Likewise.
2447         * libio/fputwc.c: Likewise.
2448         * libio/fputwc_unlocked.c: Likewise.
2449         * libio/putwc.c: Likewise.
2450         * libio/putwc_unlocked.c: Likewise.
2451         * libio/putwchar.c: Likewise.
2452         * libio/putwchar_unlocked.c: Likewise.
2453
2454 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
2455
2456         * sysdeps/gnu/siglist.h: File moved to ...
2457         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
2458         any platform, since it just associates the SIG* macros with text names
2459         and descriptions. For any signal macros do not exist on every
2460         platform, we can use #ifdef tests here and still use this single
2461         common file for all platforms.
2462         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
2463         should be usable for all platforms after the binary compatibility
2464         stuff in the current sysdeps/gnu version is no longer required.
2465         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
2466         * sysdeps/generic/make_siglist.c: File removed.
2467         * sysdeps/mach/hurd/siglist.h: Use #include_next.
2468         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
2469
2470 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
2471
2472         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
2473         * sysdeps/gnu/siglist.c: ... here.
2474         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
2475         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
2476         * sysdeps/gnu/siglist.h: New file, contents from linux version.
2477         Add entry for SIGLOST protected by #ifdef.
2478         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
2479         and define OLD_SIGLIST_SIZE_STR.
2480         * sysdeps/mach/hurd/siglist.h: New file, likewise.
2481
2482 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
2483
2484         * include/features.h: Define new macros __GNUC_PREREQ and
2485         __GLIBC_PREREQ which can be used to test the version of gcc
2486         and glibc respectively.
2487
2488         * assert/assert.h: Use __GNUC_PREREQ.
2489         * intl/libintl.h: Likewise.
2490         * math/complex.h: Likewise.
2491         * math/tgmath.h: Likewise.
2492         * misc/sys/cdefs.h: Likewise.
2493         * posix/sys/types.h: Likewise.
2494         * socket/sys/socket.h: Likewise.
2495         * string/bits/string2.h: Likewise.
2496         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
2497         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2498
2499 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
2500
2501         * include/libintl.h: Declare _libc_intl_domainname here.
2502         Define _ and N_ here.
2503         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
2504         define _ and N_.  Don't declare _libc_intl_domainname.
2505         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
2506
2507         * db2/config.h: Don't include sys/stat.h or define
2508         HAVE_ST_BLKSIZE here...
2509         * db2/compat.h: ...do it here.
2510
2511         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
2512         other headers.
2513         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
2514         * iconv/iconv.c: Include stddef.h for NULL.
2515         * malloc/malloc.h: Include features.h.
2516         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
2517
2518         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
2519         into the generated file.
2520         * sysdeps/gnu/errlist.awk: Likewise.
2521         * sysdeps/gnu/errlist.c: Rebuilt.
2522
2523         * assert/assert-perr.c: Include libintl.h.
2524         * assert/assert.c: Likewise.
2525         * elf/dl-open.c: Likewise.
2526         * elf/dlsym.c: Likewise.
2527         * elf/dlvsym.c: Likewise.
2528         * iconv/iconv_prog.c: Likewise.
2529         * inet/rcmd.c: Likewise.
2530         * inet/ruserpass.c: Likewise.
2531         * locale/programs/charset.c: Likewise.
2532         * locale/programs/ld-collate.c: Likewise.
2533         * locale/programs/ld-ctype.c: Likewise.
2534         * locale/programs/ld-messages.c: Likewise.
2535         * locale/programs/ld-monetary.c: Likewise.
2536         * locale/programs/ld-numeric.c: Likewise.
2537         * locale/programs/ld-time.c: Likewise.
2538         * locale/programs/locfile.c: Likewise.
2539         * locale/programs/repertoire.c: Likewise.
2540         * login/programs/database.c: Likewise.
2541         * login/programs/request.c: Likewise.
2542         * malloc/mcheck.c: Likewise.
2543         * misc/error.c: Likewise.
2544         * nis/nis_call.c: Likewise.
2545         * nis/nis_callback.c: Likewise.
2546         * nis/nis_error.c: Likewise.
2547         * nis/nis_local_names.c: Likewise.
2548         * nis/nis_print.c: Likewise.
2549         * nis/nis_print_group_entry.c: Likewise.
2550         * nis/ypclnt.c: Likewise.
2551         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2552         * nscd/cache.c: Likewise.
2553         * nscd/connections.c: Likewise.
2554         * nscd/grpcache.c: Likewise.
2555         * nscd/hstcache.c: Likewise.
2556         * nscd/nscd_conf.c: Likewise.
2557         * nscd/nscd_stat.c: Likewise.
2558         * nscd/pwdcache.c: Likewise.
2559         * posix/id.c: Likewise.
2560         * resolv/herror.c: Likewise.
2561         * stdio-common/psignal.c: Likewise.
2562         * string/strsignal.c: Likewise.
2563         * sunrpc/auth_unix.c: Likewise.
2564         * sunrpc/clnt_perr.c: Likewise.
2565         * sunrpc/clnt_raw.c: Likewise.
2566         * sunrpc/clnt_tcp.c: Likewise.
2567         * sunrpc/clnt_udp.c: Likewise.
2568         * sunrpc/clnt_unix.c: Likewise.
2569         * sunrpc/get_myaddr.c: Likewise.
2570         * sunrpc/pm_getmaps.c: Likewise.
2571         * sunrpc/pmap_clnt.c: Likewise.
2572         * sunrpc/pmap_rmt.c: Likewise.
2573         * sunrpc/rpc_main.c: Likewise.
2574         * sunrpc/rpc_scan.c: Likewise.
2575         * sunrpc/svc_run.c: Likewise.
2576         * sunrpc/svc_simple.c: Likewise.
2577         * sunrpc/svc_tcp.c: Likewise.
2578         * sunrpc/svc_udp.c: Likewise.
2579         * sunrpc/svc_unix.c: Likewise.
2580         * sunrpc/xdr_rec.c: Likewise.
2581         * sunrpc/xdr_ref.c: Likewise.
2582         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
2583         * sysdeps/posix/gai_strerror.c: Likewise.
2584         * sysdeps/unix/siglist.c: Likewise.
2585         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
2586         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
2587         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
2588         * timezone/zic.c: Likewise.
2589
2590 1999-06-18  H.J. Lu  <hjl@gnu.org>
2591
2592         * localedata/Makefile (charmaps): Exclude SCCS.
2593         (locales): Likewise.
2594         (repertoiremaps): Likewise.
2595
2596 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
2597
2598         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
2599         * sysdeps/generic/bsd-setjmp.c: Likewise.
2600
2601         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
2602
2603         * iconv/gconv_open.c: Include string.h for memset prototype.
2604
2605         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
2606         definitions.
2607
2608         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
2609         assignment to avoid warning on 64bit platforms.
2610
2611 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
2612
2613         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
2614
2615         * nss/getXXbyYY_r.c: Return error code not -1.
2616         * nss/getXXent_r.c: Likewise.
2617         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
2618         small.
2619         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
2620         value > 0 for error.
2621         * nscd/nscd_gethst_r.c: Likewise.
2622         * nscd/nscd_getpw_r.c: Likewise.
2623
2624 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2625
2626         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
2627         disciplines.
2628
2629 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2630
2631         * nscd/nscd_nischeck.c: Fix typos.
2632
2633 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
2634
2635         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
2636         always when oact is NULL.
2637         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
2638
2639 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2640
2641         * math/libm-test.c (jn_test): Adjust delta.
2642
2643 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2644
2645         * libio/vwprintf.c: Include <wchar.h> for prototypes.
2646         * libio/wprintf.c: Likewise.
2647
2648 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2649
2650         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
2651         to not write beyond allocated memory.
2652         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
2653
2654 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
2655
2656         * malloc/mtrace.c: Keep lock while printing output lines.
2657         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
2658
2659 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
2660
2661         * configure.in: Add warnings about broken code.
2662
2663         * Versions.def: Add GLIBC_2.2 for libc.
2664
2665         * iconv/gconv.h: Make header suitable for inclusion in public header
2666         by protecting all names with __.
2667         * iconv/gconv.c: Adapt for symbol name changes.
2668         * iconv/gconv.h: Likewise.
2669         * iconv/gconv_builtin.c: Likewise.
2670         * iconv/gconv_close.c: Likewise.
2671         * iconv/gconv_db.c: Likewise.
2672         * iconv/gconv_dl.c: Likewise.
2673         * iconv/gconv_int.h: Likewise.
2674         * iconv/gconv_open.c: Likewise.
2675         * iconv/gconv_simple.c: Likewise.
2676         * iconv/iconv.c: Likewise.
2677         * iconv/iconv_close.c: Likewise.
2678         * iconv/iconv_open.c: Likewise.
2679         * iconv/loop.c: Likewise.
2680         * iconv/skeleton.c: Likewise.
2681         * iconvdata/8bit-gap.c: Likewise.
2682         * iconvdata/8bit-generic.c: Likewise.
2683         * iconvdata/ansi_x3.110.c: Likewise.
2684         * iconvdata/big5.c: Likewise.
2685         * iconvdata/cns11643.h: Likewise.
2686         * iconvdata/cns11643l1.h: Likewise.
2687         * iconvdata/euc-cn.c: Likewise.
2688         * iconvdata/euc-jp.c: Likewise.
2689         * iconvdata/euc-kr.c: Likewise.
2690         * iconvdata/euc-tw.c: Likewise.
2691         * iconvdata/gb2312.h: Likewise.
2692         * iconvdata/iso-2022-jp.c: Likewise.
2693         * iconvdata/iso-2022-kr.c: Likewise.
2694         * iconvdata/iso646.c: Likewise.
2695         * iconvdata/iso8859-1.c: Likewise.
2696         * iconvdata/iso_6937-2.c: Likewise.
2697         * iconvdata/iso_6937.c: Likewise.
2698         * iconvdata/jis0201.h: Likewise.
2699         * iconvdata/jis0208.h: Likewise.
2700         * iconvdata/jis0212.h: Likewise.
2701         * iconvdata/johab.c: Likewise.
2702         * iconvdata/ksc5601.h: Likewise.
2703         * iconvdata/sjis.c: Likewise.
2704         * iconvdata/t.61.c: Likewise.
2705         * iconvdata/uhc.c: Likewise.
2706         * stdlib/mblen.c: Likewise.
2707         * stdlib/mbtowc.c: Likewise.
2708         * stdlib/wctomb.c: Likewise.
2709         * wcsmbs/btowc.c: Likewise.
2710         * wcsmbs/mbrtowc.c: Likewise.
2711         * wcsmbs/mbsnrtowcs.c: Likewise.
2712         * wcsmbs/mbsrtowcs.c: Likewise.
2713         * wcsmbs/wchar.h: Likewise.
2714         * wcsmbs/wcrtomb.c: Likewise.
2715         * wcsmbs/wcsmbsload.c: Likewise.
2716         * wcsmbs/wcsmbsload.h: Likewise.
2717         * wcsmbs/wcsnrtombs.c: Likewise.
2718         * wcsmbs/wcsrtombs.c: Likewise.
2719         * wcsmbs/wctob.c: Likewise.
2720
2721         * include/limits.h (MB_LEN_MAX): Increase to 16.
2722
2723         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
2724         _G_iconv_t.
2725         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
2726         * include/wchar.h: Change mbstate_t to __mbstate_t.
2727
2728         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
2729         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
2730         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
2731         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
2732         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
2733         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
2734         and iofwide.
2735         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
2736         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
2737         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
2738         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
2739         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
2740         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
2741         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
2742         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
2743         GLIBC_2.2 for libc.
2744         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
2745         Extend _IO_file contain pointer to codecvt, widedata and mode.
2746         (_IO_getwc_unlocked): New macro.
2747         (_IO_putwc_unlocked): New macro.
2748         (_IO_fwide): New macro.
2749         * libio/libioP.h: Add new prototypes and adjust existing declarations.
2750         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
2751         buffers based on mode.
2752         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
2753         oriented.
2754         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
2755         flag to be enough to signal unallocated buffer.  For wide oriented
2756         stream don't make it linebuffered.  Don't use _IO_do_flush, use
2757         _IO_new_do_write directly.
2758         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
2759         (_IO_file_seek): Likewise.
2760         * libio/genops.c (_IO_least_marker): Make global.
2761         (__underflow): Orient stream if not already done.
2762         (__uflow): Likewise.
2763         (_IO_default_seekpos): Change to type _IO_off64_t.
2764         (_IO_default_seekoff): Likewise.
2765         (_IO_default_seek): Likewise.
2766         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
2767         in initialization.
2768         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
2769         to use _IO_off64_t.
2770         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
2771         char stream.
2772         * libio/ftello64.c: Likewise.
2773         * libio/ioftell.c: Likewise.
2774         * libio/iofopncook.c: Likewise.
2775         * libio/ioseekoff.c: Likewise.
2776         * libio/ioseekpos.c: Likewise.
2777         * libio/oldfileops.c: Likewise.
2778         * libio/iofgetpos.c: Store state of conversion if necessary.
2779         * libio/iofgetpos64.c: Likewise.
2780         * libio/iofsetpos.c: Restore conversion state if necessary.
2781         * libio/iofsetpos64.c: Likewise.
2782         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
2783         * libio/iofopen.c: Likewise.
2784         * libio/iofopen64.c: Likewise.
2785         * libio/iopopen.c: Likewise.
2786         * libio/iovdprintf.c: Likewise.
2787         * libio/iovsprintf.c: Likewise.
2788         * libio/iovsscanf.c: Likewise.
2789         * libio/memstream.c: Likewise.
2790         * libio/obprintf.c: Likewise.
2791         * libio/iofputs.c: Orient stream if not already happened.
2792         * libio/iofputs_u.c: Likewise.
2793         * libio/iofwrite.c: Likewise.
2794         * libio/iofwrite_u.c: Likewise.
2795         * libio/ioputs.c: Likewise.
2796         * libio/iosetbuffer.c: Handle not yet oriented stream.
2797         * libio/iosetvbuf.c: Likewise.
2798         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
2799         * libio/stdfiles.c: Likewise.
2800         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
2801         failed allocation.
2802         (_IO_str_seekoff): Use _IO_off64_t.
2803         * libio/vasprintf.c: Pre-orient stream.
2804         * libio/vsnprintf.c: Likewise.
2805         * libio/fputwc.c: New file.
2806         * libio/fputwc_u.c: New file.
2807         * libio/fwprintf.c: New file.
2808         * libio/fwscanf.c: New file.
2809         * libio/getwc.c: New file.
2810         * libio/getwc_u.c: New file.
2811         * libio/getwchar.c: New file.
2812         * libio/getwchar_u.c: New file.
2813         * libio/iofgetws.c: New file.
2814         * libio/iofgetws_u.c: New file.
2815         * libio/iofputws.c: New file.
2816         * libio/iofputws_u.c: New file.
2817         * libio/iofwide.c: New file.
2818         * libio/iogetwline.c: New file.
2819         * libio/ioungetwc.c: New file.
2820         * libio/iovswscanf.c: New file.
2821         * libio/iowpadn.c: New file.
2822         * libio/oldiofgetpos.c: New file.
2823         * libio/oldiofgetpos64.c: New file.
2824         * libio/oldiofsetpos.c: New file.
2825         * libio/oldiofsetpos64.c: New file.
2826         * libio/putwc.c: New file.
2827         * libio/putwc_u.c: New file.
2828         * libio/putwchar.c: New file.
2829         * libio/putwchar_u.c: New file.
2830         * libio/swprintf.c: New file.
2831         * libio/swscanf.c: New file.
2832         * libio/tst_swprintf.c: New file.
2833         * libio/tst_swscanf.c: New file.
2834         * libio/tst_wprintf.c: New file.
2835         * libio/tst_wscanf.c: New file.
2836         * libio/tst_wscanf.input: New file.
2837         * libio/vswprintf.c: New file.
2838         * libio/vwprintf.c: New file.
2839         * libio/vwscanf.c: New file.
2840         * libio/wfiledoalloc.c: New file.
2841         * libio/wfileops.c: New file.
2842         * libio/wgenops.c: New file.
2843         * libio/wprintf.c: New file.
2844         * libio/wscanf.c: New file.
2845         * libio/wstrops.c: New file.
2846         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
2847         vfwprintf, and vfwscanf.
2848         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
2849         make global.
2850         * stdio-common/_itowa.c: New file.
2851         * stdio-common/_itowa.h: New file.
2852         * stdio-common/itoa-digits.c: Minimal optimization.
2853         * stdio-common/itowa-digits.c: New file.
2854         * stdio-common/printf-parse.h: Allow use in wide character context.
2855         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
2856         * stdio-common/printf.h (printf_info): Add wide bit.
2857         * stdio-common/printf_fp.c: Determine from wide bit whether stream
2858         is wide oriented or not.
2859         * stdio-common/printf_size.c: Likewise.
2860         * sysdeps/generic/printf_fphex.c: Likewise.
2861         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
2862         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
2863         context.
2864         * stdio-common/vfscand.c: Likewise.
2865         * stdio-common/vfwprintf.c: New file.
2866         * stdio-common/vfwscanf.c: New file.
2867
2868         * time/Makefile (routines): Add wcsftime.
2869         (tests): Add tst_wcsftime.
2870         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
2871         * time/strftime.c: Make usable as wcsftime.
2872         * time/wcsftime.c: New file.
2873         * time/tst_wcsftime.c: New file.
2874
2875         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
2876         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
2877         * wcsmbs/wcschrnul.c: New file.
2878         * wcsmbs/wmemcpy.c: New file.
2879         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
2880         * wcsmbs/wmemmove.c: Likewise for wmemmove.
2881
2882         * manual/stdio.texi: Document is_char and wide element if printf_info.
2883
2884         * manual/time.texi: Document wcsftime.
2885
2886         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
2887         __wmemmove, __wcschrnul, and __vfwscanf.
2888
2889         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
2890         * locale/C-time.c: Adapt for above change.
2891         * locale/categories.def: Likewise.
2892         * locale/localeinfo.h: Likewise.
2893         * localedata/Makefile: Don't run tests for now.
2894
2895         * manual/errno.texi: Fix typos.
2896         * manual/memory.texi: Likewise.
2897         * manual/ctype.texi: Likewise.
2898         Patches by Brian Youmans <3diff@gnu.org>.
2899
2900 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2901
2902         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
2903
2904 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2905
2906         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
2907         word order.
2908         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
2909         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
2910
2911 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2912
2913         * db2/db/db.c: Restore __nss_db_open alias.
2914         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
2915         include.
2916         * db2/os/os_rw.c (__os_write): Maintain const correctness.
2917         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
2918
2919 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
2920
2921         * stdio-common/printf-parse.h (parse_one_spec): Don't set
2922         is_longlong if not necessary.
2923
2924 1999-06-15  H.J. Lu  <hjl@gnu.org>
2925
2926         * Make-dist (sysdep_dirs): Exclude SCCS.
2927         * MakeTAGS (sysdep_dirs): Likewise.
2928
2929 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
2930
2931         * posix/regex.c (re_error_msgid): Remove extra commas.
2932
2933 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
2934
2935         * stdlib/tst-strtoll.c: New file.
2936         * stdlib/Makefile (tests): Add tst-strtoll.c
2937         * stdlib/strtol.c: It is not generally true that if
2938         (unsigned)a*(unsigned)b overflows, then the result is
2939         less than 'a'.
2940
2941 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
2942
2943         * nscd/connections.c (handle_request): Only root is allowed to
2944         send GETSTAT request in non secure mode.
2945         * nscd/nscd.c: Print error message if other then root try to
2946         use getstat.
2947
2948 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2949
2950         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
2951
2952 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2953
2954         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
2955         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
2956
2957 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2958
2959         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
2960         for character to search, to help the compiler.
2961         * sysdeps/generic/strchrnul.c: Likewise.
2962         * sysdeps/generic/memchr.c: Likewise.
2963         * sysdeps/generic/memccpy.c: Likewise.
2964         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
2965
2966 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2967
2968         * sysdeps/m68k/memchr.S: New file.
2969         * sysdeps/m68k/rawmemchr.S: New file.
2970         * sysdeps/m68k/strchr.S: New file.
2971         * sysdeps/m68k/strchrnul.S: New file.
2972
2973 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
2974
2975         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
2976         add `memory' clobber; optimise for constant `val'.
2977         (atomic_add): Likewise.
2978         (test_and_set): Remove `volatile'; add `memory' clobber; be more
2979         like the original `test_and_set'.
2980         (compare_and_swap): Remove `volatile'; add `memory' clobber;
2981         optimise for constant `oldval'.
2982         (always_swap): Remove `volatile'; add `memory' clobber.
2983
2984 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2985
2986         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
2987         functions for gcc <= 2.7.x.
2988
2989 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
2990
2991         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
2992         change.
2993
2994 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
2995
2996         * db2/Makefile (distribute): Remove files which do not exist
2997         anymore.
2998
2999         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
3000         definitions to calm down gcc.
3001
3002         * db2/db.h: Update from db 2.7.5.
3003         * db2/db_185.h: Likewise.
3004         * db2/db_int.h: Likewise.
3005         * db2/btree/bt_compare.c: Likewise.
3006         * db2/btree/bt_conv.c: Likewise.
3007         * db2/btree/bt_curadj.c: Likewise.
3008         * db2/btree/bt_cursor.c: Likewise.
3009         * db2/btree/bt_delete.c: Likewise.
3010         * db2/btree/bt_open.c: Likewise.
3011         * db2/btree/bt_page.c: Likewise.
3012         * db2/btree/bt_put.c: Likewise.
3013         * db2/btree/bt_rec.c: Likewise.
3014         * db2/btree/bt_recno.c: Likewise.
3015         * db2/btree/bt_rsearch.c: Likewise.
3016         * db2/btree/bt_search.c: Likewise.
3017         * db2/btree/bt_split.c: Likewise.
3018         * db2/btree/bt_stat.c: Likewise.
3019         * db2/btree/btree_auto.c: Likewise.
3020         * db2/common/db_appinit.c: Likewise.
3021         * db2/common/db_apprec.c: Likewise.
3022         * db2/common/db_err.c: Likewise.
3023         * db2/common/db_region.c: Likewise.
3024         * db2/common/db_salloc.c: Likewise.
3025         * db2/db/db.c: Likewise.
3026         * db2/db/db.src: Likewise.
3027         * db2/db/db_am.c: Likewise.
3028         * db2/db/db_auto.c: Likewise.
3029         * db2/db/db_dispatch.c: Likewise.
3030         * db2/db/db_dup.c: Likewise.
3031         * db2/db/db_iface.c: Likewise.
3032         * db2/db/db_join.c: Likewise.
3033         * db2/db/db_overflow.c: Likewise.
3034         * db2/db/db_pr.c: Likewise.
3035         * db2/db/db_rec.c: Likewise.
3036         * db2/db/db_ret.c: Likewise.
3037         * db2/db185/db185.c: Likewise.
3038         * db2/dbm/dbm.c: Likewise.
3039         * db2/hash/hash.c: Likewise.
3040         * db2/hash/hash_auto.c: Likewise.
3041         * db2/hash/hash_dup.c: Likewise.
3042         * db2/hash/hash_page.c: Likewise.
3043         * db2/hash/hash_rec.c: Likewise.
3044         * db2/hash/hash_stat.c: Likewise.
3045         * db2/include/btree.h: Likewise.
3046         * db2/include/btree_ext.h: Likewise.
3047         * db2/include/clib_ext.h: Likewise.
3048         * db2/include/common_ext.h: Likewise.
3049         * db2/include/db_am.h: Likewise.
3050         * db2/include/db_auto.h: Likewise.
3051         * db2/include/db_cxx.h: Likewise.
3052         * db2/include/db_ext.h: Likewise.
3053         * db2/include/db_join.h: Likewise.
3054         * db2/include/db_page.h: Likewise.
3055         * db2/include/hash.h: Likewise.
3056         * db2/include/hash_ext.h: Likewise.
3057         * db2/include/lock.h: Likewise.
3058         * db2/include/lock_ext.h: Likewise.
3059         * db2/include/log.h: Likewise.
3060         * db2/include/log_ext.h: Likewise.
3061         * db2/include/mp.h: Likewise.
3062         * db2/include/mp_ext.h: Likewise.
3063         * db2/include/os.h: Likewise.
3064         * db2/include/os_ext.h: Likewise.
3065         * db2/include/os_func.h: Likewise.
3066         * db2/include/txn.h: Likewise.
3067         * db2/include/txn_auto.h: Likewise.
3068         * db2/include/txn_ext.h: Likewise.
3069         * db2/include/xa.h: Likewise.
3070         * db2/include/xa_ext.h: Likewise.
3071         * db2/lock/lock.c: Likewise.
3072         * db2/lock/lock_conflict.c: Likewise.
3073         * db2/lock/lock_deadlock.c: Likewise.
3074         * db2/lock/lock_region.c: Likewise.
3075         * db2/lock/lock_util.c: Likewise.
3076         * db2/log/log.c: Likewise.
3077         * db2/log/log_archive.c: Likewise.
3078         * db2/log/log_auto.c: Likewise.
3079         * db2/log/log_findckp.c: Likewise.
3080         * db2/log/log_get.c: Likewise.
3081         * db2/log/log_put.c: Likewise.
3082         * db2/log/log_rec.c: Likewise.
3083         * db2/log/log_register.c: Likewise.
3084         * db2/mp/mp_bh.c: Likewise.
3085         * db2/mp/mp_fget.c: Likewise.
3086         * db2/mp/mp_fopen.c: Likewise.
3087         * db2/mp/mp_fput.c: Likewise.
3088         * db2/mp/mp_fset.c: Likewise.
3089         * db2/mp/mp_open.c: Likewise.
3090         * db2/mp/mp_pr.c: Likewise.
3091         * db2/mp/mp_region.c: Likewise.
3092         * db2/mp/mp_sync.c: Likewise.
3093         * db2/mutex/mutex.c: Likewise.
3094         * db2/mutex/uts4_cc.s: Likewise.
3095         * db2/os/os_abs.c: Likewise.
3096         * db2/os/os_alloc.c: Likewise.
3097         * db2/os/os_config.c: Likewise.
3098         * db2/os/os_dir.c: Likewise.
3099         * db2/os/os_fid.c: Likewise.
3100         * db2/os/os_fsync.c: Likewise.
3101         * db2/os/os_map.c: Likewise.
3102         * db2/os/os_oflags.c: Likewise.
3103         * db2/os/os_open.c: Likewise.
3104         * db2/os/os_rw.c: Likewise.
3105         * db2/os/os_seek.c: Likewise.
3106         * db2/os/os_sleep.c: Likewise.
3107         * db2/os/os_spin.c: Likewise.
3108         * db2/os/os_stat.c: Likewise.
3109         * db2/os/os_tmpdir.c: Likewise.
3110         * db2/os/os_unlink.c: Likewise.
3111         * db2/progs/db_archive/db_archive.c: Likewise.
3112         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
3113         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
3114         * db2/progs/db_dump/db_dump.c: Likewise.
3115         * db2/progs/db_load/db_load.c: Likewise.
3116         * db2/progs/db_printlog/README: Likewise.
3117         * db2/progs/db_printlog/commit.awk: Likewise.
3118         * db2/progs/db_printlog/count.awk: Likewise.
3119         * db2/progs/db_printlog/db_printlog.c: Likewise.
3120         * db2/progs/db_printlog/pgno.awk: Likewise.
3121         * db2/progs/db_printlog/range.awk: Likewise.
3122         * db2/progs/db_printlog/status.awk: Likewise.
3123         * db2/progs/db_printlog/txn.awk: Likewise.
3124         * db2/progs/db_recover/db_recover.c: Likewise.
3125         * db2/progs/db_stat/db_stat.c: Likewise.
3126         * db2/txn/txn.c: Likewise.
3127         * db2/txn/txn.src: Likewise.
3128         * db2/txn/txn_auto.c: Likewise.
3129         * db2/txn/txn_rec.c: Likewise.
3130         * db2/xa/xa.c: Likewise.
3131         * db2/xa/xa_db.c: Likewise.
3132         * db2/xa/xa_map.c: Likewise.
3133
3134         * db2/btree/bt_close.c: Removed.
3135         * db2/db/db_thread.c: Likewise.
3136         * db2/hash/hash_debug.c: Likewise.
3137         * db2/include/db.h.src: Likewise.
3138         * db2/include/db_int.h.src: Likewise.
3139         * db2/include/os_jump.h: Likewise.
3140         * db2/mutex/alpha.dec: Likewise.
3141         * db2/mutex/alpha.gcc: Likewise.
3142         * db2/mutex/parisc.hp: Likewise.
3143         * db2/mutex/uts4.cc.s: Likewise.
3144
3145         * db2/Makefile: Add new routines, remove old for 2.7.5.
3146         * db2/Versions: Add internal function names for the helper programs.
3147         * db2/makedb.c: Update for new cursor callback.
3148         * Versions.def: Define versions for libdb.
3149
3150 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
3151
3152         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
3153         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
3154         * nscd/nscd_nischeck.c: New file.
3155         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
3156
3157 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3158
3159         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
3160         MSG_* flags from Linux 2.2.9.
3161
3162 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
3163
3164         * Makeconfig (static-start-installed-name): Set to
3165         $(start-installed-name) if not defined.
3166         (+link-static): Use $(static-start-installed-name) instead of
3167         $(start-installed-name).
3168         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
3169         Set to crt0.o.
3170
3171 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
3172
3173         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
3174         inserting a send right into the child instead of unconditionally
3175         copying the send right.
3176
3177 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
3178
3179         * locale/lc-time.c: Add free_mem function to free if necessary
3180         statically allocated memory.
3181
3182 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
3183
3184         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
3185         bias from the raw exponent.
3186
3187 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
3188
3189         * inet/arpa/tftp.h: Move attribute declaration in right position.
3190
3191 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
3192
3193         * nscd/nscd.c: Add -S options for separate caching of data for
3194         every user. So one user couldn't see the data another user
3195         has gotten with his credentials.
3196         * nscd/nscd.h: Add new prototypes.
3197         * nscd/cache.c: Compare owner of cache entry if in secure mode.
3198         * nscd/connections.c: Check on shutdown if caller really was root.
3199         In secure mode get uid of caller.
3200         * nscd/grpcache.c: Add support for new secure group mode.
3201         * nscd/hstcache.c: Add support for new secure hosts mode.
3202         * nscd/pwdcache.c: Add support for new secure passwd mode.
3203
3204 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
3205
3206         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
3207         of user-provided buffer.
3208
3209 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
3210
3211         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
3212         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
3213
3214 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
3215
3216         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
3217         and A format.
3218
3219         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
3220         returning after last entry.
3221         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3222
3223 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
3224
3225         * misc/sysexits.h: Remove advertising clause of copyright.
3226         * resolv/getnetnamadr.c: Likewise.
3227         * sysdeps/vax/bcopy.s: Likewise.
3228         * sysdeps/vax/bzero.s: Likewise.
3229         * sysdeps/vax/ffs.s: Likewise.
3230         * sysdeps/vax/memchr.s: Likewise.
3231         * sysdeps/vax/memcmp.s: Likewise.
3232         * sysdeps/vax/memmove.s: Likewise.
3233         * sysdeps/vax/memset.s: Likewise.
3234         * sysdeps/vax/strcat.s: Likewise.
3235         * sysdeps/vax/strchr.s: Likewise.
3236         * sysdeps/vax/strcmp.s: Likewise.
3237         * sysdeps/vax/strcpy.s: Likewise.
3238         * sysdeps/vax/strcspn.s: Likewise.
3239         * sysdeps/vax/strlen.s: Likewise.
3240         * sysdeps/vax/strncat.s: Likewise.
3241         * sysdeps/vax/strncmp.s: Likewise.
3242         * sysdeps/vax/strncpy.s: Likewise.
3243         * sysdeps/vax/strpbrk.s: Likewise.
3244         * sysdeps/vax/strrchr.s: Likewise.
3245         * sysdeps/vax/strsep.s: Likewise.
3246         * sysdeps/vax/strspn.s: Likewise.
3247         * sysdeps/vax/strstr.s: Likewise.
3248
3249         * libio/iofopncook.c: Adjust for renaming of structure elements.
3250         * libio/libio.h: Define cookie functions with all the names.
3251
3252         * pwd/fgetpwent_r.c: Set errno in the correct way.
3253         * shadow/fgetspent_r.c: Likewise.
3254         * pwd/fgetpwent.c: Handle long lines correctly.  Little
3255         optimizations.  Free static buffer when debugging memory handling.
3256         * shadow/fgetspent.c: Likewise.
3257
3258         * grp/fgetgrent.c: Little optimization in loop.
3259
3260 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3261
3262         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
3263         in a different way.
3264
3265 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
3266
3267         * stdlib/longlong.h: gas changed sethi handling when without
3268         %hi(). Fix assembly.
3269         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
3270         port specific cache id checks.
3271         * sysdeps/generic/dl-cache.h: New file.
3272         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
3273
3274 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
3275
3276         * gmon/gmon.c: Remove advertising clause of copyright.
3277         * gmon/mcount.c: Likewise.
3278         * gmon/sys/gmon.h: Likewise.
3279         * inet/arpa/ftp.h: Likewise.
3280         * inet/arpa/telnet.h: Likewise.
3281         * inet/arpa/tftp.h: Likewise.
3282         * inet/inet_lnaof.c: Likewise.
3283         * inet/inet_mkadr.c: Likewise.
3284         * inet/inet_net.c: Likewise.
3285         * inet/inet_netof.c: Likewise.
3286         * inet/protocols/routed.h: Likewise.
3287         * inet/protocols/rwhod.h: Likewise.
3288         * inet/protocols/talkd.h: Likewise.
3289         * inet/protocols/timed.h: Likewise.
3290         * inet/rcmd.c: Likewise.
3291         * inet/rexec.c: Likewise.
3292         * inet/ruserpass.c: Likewise.
3293         * io/fts.c: Likewise.
3294         * io/fts.h: Likewise.
3295         * login/login_tty.c: Likewise.
3296         * misc/fstab.h: Likewise.
3297         * misc/getttyent.c: Likewise.
3298         * misc/getusershell.c: Likewise.
3299         * misc/sys/queue.h: Likewise.
3300         * misc/sys/syslog.h: Likewise.
3301         * misc/syslog.c: Likewise.
3302         * misc/ttyent.h: Likewise.
3303         * misc/ttyslot.c: Likewise.
3304         * resolv/arpa/nameser.h: Likewise.
3305         * resolv/gethnamaddr.c: Likewise.
3306         * resolv/herror.c: Likewise.
3307         * resolv/inet_addr.c: Likewise.
3308         * resolv/mapv4v6addr.h: Likewise.
3309         * resolv/mapv4v6hostent.h: Likewise
3310         * resolv/nss_dns/dns-host.c: Likewise.
3311         * resolv/nss_dns/dns-network.c: Likewise.
3312         * resolv/res_comp.c: Likewise.
3313         * resolv/res_data.c: Likewise.
3314         * resolv/res_debug.c: Likewise.
3315         * resolv/res_init.c: Likewise.
3316         * resolv/res_mkquery.c: Likewise.
3317         * resolv/res_query.c: Likewise.
3318         * resolv/res_send.c: Likewise.
3319         * resolv/resolv.h: Likewise.
3320         * sysdeps/generic/div.c: Likewise.
3321         * sysdeps/generic/netinet/ip.h: Likewise.
3322         * sysdeps/generic/netinet/tcp.h: Likewise.
3323         * sysdeps/generic/paths.h: Likewise.
3324         * sysdeps/generic/prof-freq.c: Likewise.
3325         * sysdeps/generic/sys/ttydefaults.h: Likewise.
3326         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3327         * sysdeps/gnu/netinet/tcp.h: Likewise.
3328         * sysdeps/ieee754/support.c: Likewise.
3329         * sysdeps/mach/hurd/sys/param.h: Likewise.
3330         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
3331         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
3332         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
3333         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
3334         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
3335         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
3336         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
3337         * sysdeps/unix/sysv/linux/paths.h: Likewise.
3338         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
3339         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
3340         * sysdeps/vax/DEFS.h: Likewise.
3341         * termios/sys/ttychars.h: Likewise.
3342         * misc/daemon.c: Likewise.  Call fork.
3343
3344         * grp/fgetgrent.c (buffer): Make file local variable.
3345         (free_mem): New function.  Call for malloc debugging.
3346
3347         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
3348
3349 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3350
3351         * grp/Makefile: Add rules for tst_fgetgrent.
3352
3353         * grp/tst_fgetgrent.c: Rewritten to read only one file.
3354
3355         * grp/tst_fgetgrent.sh: New file.
3356
3357 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
3358
3359         * grp/Makefile (tests): Add tst_fgetgrent.
3360         * grp/tst_fgetgrent.c: New file.
3361         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
3362
3363 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
3364
3365         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
3366         be POSIX compliant.  Prior definition was broken for Hurd.
3367         Reported by Mark Kettenis <kettenis@gnu.org>.
3368
3369 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
3370
3371         * ctype/ctype.h: Protect __tobody code by __extension__.
3372
3373 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
3374
3375         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
3376         reading and reset in case the buffer was too small.
3377
3378         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
3379         of EOF.
3380
3381 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3382
3383         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
3384         another SIOGIFNAME typo.
3385
3386 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
3387
3388         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
3389
3390         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
3391         bit.
3392
3393 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3394
3395         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
3396         the precision if the mantissa is zero.
3397
3398 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3399
3400         * manual/lang.texi (Floating Point Parameters): GCC already
3401         supports long double for a long time.
3402
3403 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3404
3405         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
3406         yn_test): Increase some epsilons.
3407
3408 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
3409
3410         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
3411         parameters.
3412
3413 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
3414
3415         * sysdeps/unix/sysv/linux/kernel-features.h: Define
3416         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
3417         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
3418         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
3419
3420         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
3421         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
3422         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
3423         * sysdeps/libm-ieee754/w_j1.c: Likewise.
3424         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
3425         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
3426         * sysdeps/libm-ieee754/w_jn.c: Likewise.
3427         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
3428         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
3429
3430         * stdio-common/vfprintf.c: Correct typos.
3431
3432         * math/libm-test.c (jn_test): Adjust delta.
3433         (y1_test): Likewise.
3434         (yn_test): Likewise.
3435
3436         * elf/do-lookup.h: It should never happen that if we expect a versioned
3437         symbol from a file the file has no version table.  This should have
3438         been checked in dl-version.c.
3439         * elf/dl-lookup.c: Include assert.h.
3440
3441         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
3442         function handling.
3443
3444         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
3445
3446 1999-06-06  Andi Kleen  <ak@muc.de>
3447
3448         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
3449         SA_RESTORER flag.
3450
3451 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3452
3453         * math/libm-test.c (yn_test): Change one delta.
3454         (jn_test): Likewise.
3455         (j1_test): Likewise.
3456         (y0_test): Likewise.
3457
3458 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
3459
3460         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
3461         avoid multiple calls to getpagesize() which might be a syscall.
3462
3463 1999-06-06  Philip Blundell  <philb@gnu.org>
3464
3465         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
3466
3467 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3468
3469         * manual/install.texi (Running make in