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