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