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