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