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