Update.
[glibc.git] / ChangeLog
blobe37c010bbe1564f279e656360b9e1a546dcccaea
1 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
3         * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
4         CFLAGS-memprofstat.c, and LIBGD variables.
5         * config.make.in: Add LIBGD.
6         * malloc/Makefile: Add rules to generate libmemprof.so and
7         memprofstat.
8         * malloc/memprof.c: New file.
9         * malloc/memprofstat.c: New file.
11 1999-10-02  Ulrich Drepper  <drepper@cygnus.com>
13         * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
15         * resolv/inet_ntop.c (inet_ntop4): Little optimization.
16         (inet_ntop6): Likewise.
18         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
19         overruns.
21         * resolv/tst-aton.c (main): Add more tests.
23         * resolv/inet_addr.c (inet_aton): Correct some problems with to
24         large numbers.  Optimize a bit.
26 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
28         * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
29         account for added '0'.
31         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
32         handling of IPv6 tunnel address handling with bind 8.2.1.  Allow
33         len argument to be greater than needed address size.
35 1999-10-01  Andreas Jaeger  <aj@suse.de>
37         * locale/programs/ld-collate.c (insert_value): Add cast to avoid
38         warning.
39         * intl/finddomain.c (_nl_find_domain): Likewise.
41 1999-09-30  Andreas Schwab  <schwab@suse.de>
43         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
45 1999-09-30  Andreas Jaeger  <aj@suse.de>
47         * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
48         * sysdeps/i386/rshift.S: Likewise.
49         * sysdeps/i386/strchrnul.S: Likewise.
50         * sysdeps/i386/strchr.S: Likewise.
51         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
52         PR libc/1339.
54 1999-09-30  Andreas Jaeger  <aj@suse.de>
56         * manual/examples/pipe.c: Close other end of pipe to make example work.
58 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
60         * timezone/checktab.awk: Update from tzcode1999g.
61         * timezone/tzselect.ksh: Likewise.
62         * timezone/africa: Update from tzdata1999g.
63         * timezone/asia: Likewise.
64         * timezone/australasia: Likewise.
65         * timezone/europe: Likewise.
66         * timezone/northamerica: Likewise.
67         * timezone/southamerica: Likewise.
68         * timezone/iso3166.tab: Likewise.
69         * timezone/zone.tab: Likewise.
71 1999-09-27  Andreas Jaeger  <aj@suse.de>
73         * resolv/netdb.h: Remove declaration of getnodebyname.  It has
74         been renamed to getipnodebyname.  Move flags around.
76 1999-09-27  Andreas Schwab  <schwab@suse.de>
78         * manual/message.texi (Locating gettext catalog): Fix typos.
80 1999-09-27  Andreas Jaeger  <aj@suse.de>
82         * manual/socket.texi (Out-of-Band Data): Correct example program,
83         rename some variables for clarity.
84         Reported by James Antill <james@and.org>, close PR libc/1329.
86 1999-09-27  Ulrich Drepper  <drepper@cygnus.com>
88         * locale/programs/ld-collate.c (insert_value): Add hack to not
89         crash in incomplete collate implementation.
91         * locale/programs/ld-collate.c (read_directions): Read new token
92         after accepting sorting rule.
94 1999-09-26  Ulrich Drepper  <drepper@cygnus.com>
96         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
97         error message printing.  Correctly test whether all characters of
98         current token are used.
99         (ctype_read): NUL terminate last_str.
101 1999-09-26  Thorsten Kukuk  <kukuk@suse.de>
103         * nscd/connections.c: Invalidate caches on request.
104         * nscd/nscd-client.h: Add INVALIDATE to request_type.
105         * nscd/nscd.c: Add invalidate cache option.
106         * nscd/nscd.conf: Change log directory to /var/log (FHS).
108 1999-09-24  Ulrich Drepper  <drepper@cygnus.com>
110         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
111         not ovverwrite last group member with NULL pointer.
112         Reported by Thomas Winder <thomas.winder@newlogic.at>.
114 1999-09-24  Andreas Jaeger  <aj@suse.de>
116         * stdio-common/tst-printf.c (main): Add a testcase for large
117         precision.  Reported by Tymm Twillman <tymm@coe.missouri.edu>.
119 1999-09-24  Andreas Schwab  <schwab@suse.de>
121         * math/bits/mathcalls.h: Fix last change.  Also declare __finite.
123 1999-09-24  Andreas Jaeger  <aj@suse.de>
125         * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
126         normalized_codeset.  Reported by Belicky Zsolt <zsolt@prolan.hu>.
128 1999-09-23  Mark Kettenis  <kettenis@gnu.org>
130         * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
131         variable.  Define MORECORE_CLEARS to 2.
133         * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
134         doesn't clear the contents of memory that is reallocated after
135         decrementing the break value first.  Update comment about
136         MORECORE_CLEARS, explaining the meaning of the values it can be
137         set to.
139 1999-09-23  Ulrich Drepper  <drepper@cygnus.com>
141         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
142         one more case.
144         * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
145         (log): Likewise.
146         (log10): Likewise.
147         (log1p): Likewise.
148         (log2): Likewise.
150 1999-09-22  Andreas Jaeger  <aj@suse.de>
152         * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
153         reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
155 1999-09-22  Andreas Schwab  <schwab@suse.de>
157         * stdio-common/vfscanf.c: Fix width handling when scanning floats.
159 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
161         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
162         the source directory.  Fixes PR libc/1059.
164 1999-09-21  Ulrich Drepper  <drepper@cygnus.com>
166         * locale/programs/repertoire.c (repertoire_find_value): Abort if
167         rep parameter is NULL.
168         (repertoire_find_symbol): Likewise.
169         (repertoire_find_seq): Likewise.
171 1999-09-20  Jean-Louis Martineau  <martinea@IRO.UMontreal.CA>
173         * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
174         returned errno value in some cases.
176 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
178         * iconvdata/Makefile (modules): Add GBK.
179         (distribute): Add gbk.c.
180         * iconvdata/gbk.c: New file.
181         * iconvdata/gconv-modules: Add GBK entry.
182         Contributed by Sean Chen <sean.chen@turbolinux.com>.
184         * locale/programs/ld-monetary.c (monetary_output): Remove
185         byte-order code.
187         * locale/programs/ld-time.c (time_output): Correct expected number
188         of iov entries.
190         * manual/filesys.texi (Testing File Access): Correct description of
191         SUID.
193 1999-080-25  H.J. Lu  <hjl@gnu.org>
195         * csu/defs.awk (.end): Only match with leading white spaces.
196         (.align): Likewise.
198 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
200         * stdlib/isomac.c: Add va_copy to allowed macros.
202         * po/pl.po: Updated.
204 1999-09-17  Andreas Schwab  <schwab@suse.de>
206         * Makefile (clean): Also remove $(postclean) files.
208 1999-09-15  Andreas Jaeger  <aj@suse.de>
210         * pwd/Makefile (otherlibs): Add for building with static-nss.
211         * inet/Makefile (otherlibs): Likewise.
213 1999-09-15  Andreas Jaeger  <aj@suse.de>
215         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
216         function definition to avoid a compilation failure.
218 1999-09-15  Andreas Jaeger  <aj@suse.de>
220         * stdlib/tst-environ.c (main): Add getenv regression test for
221         environment variable that's one character long.
223 1999-09-15  Andreas Jaeger  <aj@suse.de>
225         * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
226         signal definitions to let glibc compile with older Linux versions
227         (2.0.10 to 2.1.100 or so).
229 1999-09-18  Roland McGrath  <roland@baalperazim.frob.com>
231         * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
232         return zero to indicate no children died yet (assuming WNOHANG).
234         * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
236 1999-09-17  Roland McGrath  <roland@baalperazim.frob.com>
238         * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
240         * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
241         Return _hurd_pgrp instead of 0.
243 1999-09-19  Roland McGrath  <roland@baalperazim.frob.com>
245         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
246         pages rather than just reprotecting them.  This way we don't hold on
247         to the backing space.
249         * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
250         Use __munmap instead of __vm_deallocate.
252 1999-09-18  Ulrich Drepper  <drepper@cygnus.com>
254         * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
255         returned errno value in some cases.
257 1999-09-17  Andreas Jaeger  <aj@suse.de>
259         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
260         to override user settings.
262 1999-09-17  Andreas Schwab  <schwab@suse.de>
264         * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
265         using a pointer to it.
267 1999-09-16  Ulrich Drepper  <drepper@cygnus.com>
269         * time/getdate.c (__getdate_r): Pass correct year to check_mday.
270         Reported by Vern Staats <staatsvr@asc.hpc.mil>.
272 1999-09-14  Ulrich Drepper  <drepper@cygnus.com>
274         * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
276         * elf/elf.h (PF_MASKOS): New definition.
277         (EM_VAX): New definition.
279 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
281         * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
282         'unsigned char ftype[8]', and 'unsigned int init_flag' to
283         struct user_fp.  These were added in version 2.2.12 of the
284         ARM Linux kernel.
285         * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
286         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
287         The generic procfs.h included <asm/elf.h>.  This causes
288         structure redefinition errors when <sys/user.h> and <sys/procfs.h>
289         are included in the same source file.  Found when building GDB.
291 1999-09-13  Ulrich Drepper  <drepper@cygnus.com>
293         * locale/langinfo.h: Remove byte-order dependent names.
294         * locale/categories.def: Update after removal of byte-order dependent
295         names.
296         * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
297         with magic number in other byte order.
298         * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
299         * locale/C-collate.c: Remove initializers for other byte-order.
300         * locale/C-ctype.c: Likewise.
301         * locale/C-monetary.c: Likewise.
302         * locale/C-paper.c: Likewise.
303         * locale/C-time.c: Likewise.
304         * locale/lc-collate.c: Remove byte-order oriented initialization.
305         * locale/lc-ctype.c: Likewise.
306         * locale/lc-monetary.c: Likewise.
307         * locale/lc-time.c: Likewise.
308         * locale/programs/ld-address.c: Don't generate output in both
309         byte-orders.
310         * locale/programs/ld-ctype.c: Likewise.
311         * locale/programs/ld-paper.c: Likewise.
312         * locale/programs/ld-time.c: Likewise.
313         * time/strftime.c (NLW): Don't use different byte-orders.
314         * wctype/cname-lookup.h (cname_lookup): Likewise.
316         * Makeconfig (localedir): Define using libdir, not datadir.
317         (msgcatdir): New variable.
318         * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
319         * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
320         msgcatdir.
321         * intl/Makefile (install-others): Install locale.alias in msgcatdir.
322         (CPPFLAGS): Define paths using msgcatdir.
323         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
324         * po/Makefile (mo-installed): Define using msgcatdir.
326         * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
328 1999-09-12  Ulrich Drepper  <drepper@cygnus.com>
330         * stdio-common/vfprintf.c: Remove limitation on size of precision
331         for integers.
333         * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
334         glibc by defining internal_function if it isn't already.
336         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
337         fails don't rely on errno value.
338         (getanswer_r): Set *ERRNOP in error cases.
340         * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
341         (gaih_inet_serv): Return EIA_NODATA if name is known but has no
342         associated data.  Test for matching numeric address and family.
343         (getaddrinfo): Remember EAI_NODATA result and return this in case
344         everything fails.
345         Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
347         * locale/programs/ld-address.c: Fix handling of non-existing
348         definitions for this category.  Correctly ignore content of this
349         category is this is necessary.
350         * locale/programs/ld-collate.c: Likewise.
351         * locale/programs/ld-ctype.c: Likewise.
352         * locale/programs/ld-identification.c: Likewise.
353         * locale/programs/ld-measurement.c: Likewise.
354         * locale/programs/ld-messages.c: Likewise.
355         * locale/programs/ld-monetary.c: Likewise.
356         * locale/programs/ld-name.c: Likewise.
357         * locale/programs/ld-numeric.c: Likewise.
358         * locale/programs/ld-paper.c: Likewise.
359         * locale/programs/ld-telephone.c: Likewise.
360         * locale/programs/ld-time.c: Likewise.
361         * locale/programs/locfile.h (handle_copy): Take extra parameter
362         with result pointer.  Fill in name of locale from which to copy.
363         Correctly read token after `END'.
365         * locale/programs/localedef.c (main): Correct handling copy.
366         (add_to_readlist): Take extra parameter which says whether we
367         are supposed to read the file or not.
368         (find_locale): Call add_to_readlist with extra parameter set to 0.
370         * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
371         instead of wrong number in array definitions.
372         (add_to_readlist): Update prototype.
374         * locale/programs/locfile.c (locfile_read): Mark categories not
375         available in source file as read.
376         (write_all_categories): Fix typo.
378         * locale/programs/locales.h: Removed.
380 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
382         * elf/elf.h (SHF_MASKOS): Added.
384         * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
386 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
388         * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
390 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
392         * configure.in: Fix make version test for make 3.77.95 and later
393         versions.
394         Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
396 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
398         * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
400         * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
401         WINT_MAX values.
403         * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
405 1999-09-09  Andreas Schwab  <schwab@suse.de>
407         * elf/link.h: Fix comment.
409 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
411         * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
413         * math/math.h: Pretty print.
415 1999-09-10  Andreas Schwab  <schwab@suse.de>
417         * sysdeps/generic/getenv.c (getenv): Fix lookup for single
418         character variable on bigendian platforms without unaligned memory
419         access.
421 1999-09-07  Cristian Gafton  <gafton@redhat.com>
423         * sysdeps/unix/sysv/linux/sys/raw.h: New file
424         * sysdeps/unix/sysv/linux/Dist: Add raw.h.
425         * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
427 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
429         * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
431         * time/ap.c: Removed.  It was not used.
432         * time/date.c: Likewise.
433         * sysdeps/unix/nlist.c: Likewise.
434         * sysdeps/generic/nlist.c: Likewise.
435         * sysdeps/generic/varargs.h: Likewise.
436         * stdio-common/scanf11.c: Likewise.
437         * stdio-common/scanf6.c: Likewise.
438         * scripts/=__ify: Likewise.
439         * scripts/printsources: Likewise.
440         * resolv/getnetnamadr.c: Likewise.
441         * posix/id.c: Likewise.
442         * misc/ioctltst.c: Likewise.
443         * misc/nlist.h: Likewise.
444         * math/test-math.h: Likewise.
445         * include/nlist.h: Likewise.
447 1999-09-06  Andreas Schwab  <schwab@suse.de>
449         * time/tzset.c (compute_change): Replace slow loop to compute T by
450         simple algorithm.
452 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
454         * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
455         escape sequences out even if the character itself does not fit
456         into the buffer.
458         * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
460 1999-08-31  H.J. Lu  <hjl@gnu.org>
462         * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
464 1999-09-05  Roland McGrath  <roland@baalperazim.frob.com>
466         * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
467         it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
468         (_hurd_priority_which_map):
470 1999-09-04  Ulrich Drepper  <drepper@cygnus.com>
472         * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
474 1999-09-03  Andreas Schwab  <schwab@suse.de>
476         * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
477         fork from __syscall_fork to __libc_fork.
478         * posix/Versions: Add __libc_fork and __vfork to version
479         GLIBC_2.1.2.
481 1999-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
483         * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
484         dependencies in sort.
486 1999-09-01  H.J. Lu  <hjl@gnu.org>
488         * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
490         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
491         <sys/user.h> instead of <asm/user.h>.
493 1999-09-02  Ulrich Drepper  <drepper@cygnus.com>
495         * elf/elf.h: Update PARISC-specific flags and symbolic names.
497 1999-09-01  Ulrich Drepper  <drepper@cygnus.com>
499         * elf/elf.h: Update PARISC relocations.
501 1999-08-31  Scott Bambrough  <scottb@netwinder.org>
503         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
504         #ifdef statement to prevent it from being included twice.
505         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
506         #include <bits/armsigctx.h>.
508 1999-08-31  Andreas Schwab  <schwab@suse.de>
510         * locale/C-collate.c: Add missing initialisations.
511         * locale/C-ctype.c: Likewise.
513 1999-08-31  Ulrich Drepper  <drepper@cygnus.com>
515         * time/strftime.c (my_strftime): Remove unneeded variable len.
517         * time/strptime.c: Undo last change.
519 1999-08-30  Ulrich Drepper  <drepper@cygnus.com>
521         * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
522         Change charset.h to charmap.h.
523         (categories): Add new categories.  Leave out collate for now.
524         Update build rules.
525         * locale/categories.def: Add definitions for new categories.
526         * locale/langinfo.h: Likewise.
527         * locale/locale.h: Likewise.
528         * locale/C-address.c: New file.
529         * locale/C-identification.c: New file.
530         * locale/C-measurement.c: New file.
531         * locale/C-name.c: New file.
532         * locale/C-paper.c: New file.
533         * locale/C-telephone.c: New file.
534         * locale/lc-address.c: Likewise.
535         * locale/lc-identification.c: Likewise.
536         * locale/lc-measurement.c: Likewise.
537         * locale/lc-name.c: Likewise.
538         * locale/lc-paper.c: Likewise.
539         * locale/lc-telephone.c: Likewise.
540         * locale/C-ctype.c: Update for locale rewrite.
541         * locale/C-messages.c: Likewise.
542         * locale/C-monetary.c: Likewise.
543         * locale/C-time.c: Likewise.
544         * locale/lc-collate.c: Likewise.
545         * locale/lc-ctype.c: Likewise.
546         * locale/lc-monetary.c: Likewise.
547         * locale/lc-time.c: Likewise.
548         * locale/localeinfo.h: Likewise.
549         * locale/newlocale.c: Likewise.
550         * locale/setlocale.c: Likewise.
551         * locale/weight.h: Likewise.
552         * locale/findlocale.c: Unconditionally use mmap.
553         Handle new categories.
554         * locale/loadlocale.c: Likewise.
555         * locale/iso-3166.def: New file.
556         * locale/iso-639.def: New file.
557         * locale/programs/charmap-kw.gperf: Add new keywords.
558         * locale/programs/locfile-kw.gperf: Likewise.
559         * locale/programs/locfile-token.h: Define new tokens.
560         * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
561         * locale/programs/charmap.h: New file.
562         * locale/programs/charset.h: Removed.
563         * locale/programs/config.h: Add __LC_LAST.
564         * locale/programs/lc-address.c: New file.
565         * locale/programs/lc-identification.c: New file.
566         * locale/programs/lc-measurement.c: New file.
567         * locale/programs/lc-name.c: New file.
568         * locale/programs/lc-paper.c: New file.
569         * locale/programs/lc-telephone.c: New file.
570         * locale/programs/lc-collate.c: Update for locale rewrite.
571         * locale/programs/lc-ctype.c: Likewise.
572         * locale/programs/lc-messages.c: Likewise.
573         * locale/programs/lc-monetary.c: Likewise.
574         * locale/programs/lc-numeric.c: Likewise.
575         * locale/programs/lc-time.c: Likewise.
576         * locale/programs/locale.c: Likewise.
577         * locale/programs/localedef.c: Likewise.
578         * locale/programs/locfile.c: Likewise.
579         * locale/programs/repertoire.c: Likewise.
580         * locale/programs/repertoire.h: Likewise.
581         * locale/programs/locfile.c: Update prototypes.
582         Update handle_copy definition.
583         * locale/programs/linereader.c: Add handling of wide char strings and
584         new definition file syntax.
585         * locale/programs/linereader.h (struct token): Add elements for wide
586         character strings.
587         * locale/programs/locale-spec.c: Disable handling of collation
588         elements for now.
589         * locale/programs/simple-hash.h: Cleanup.
590         * locale/programs/stringtrans.h: Handle quite of end of line.
591         * string/strcoll.c: Fall back on strcmp for now.
592         * string/strxfrm.c: Fall back on strncpy/strlen for now.
593         * time/strftime.c: Use new wide character data for wcsftime.
594         * time/strptime.c: Remove _nl_C_LC_TIME declaration.
595         * wctype/cname-lookup.h: Update for new LC_CTYPE data.
597         * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
598         compiling for i386 to avoid i686-like GOT pointer computation.
600         * db2/db_int.h: Change tsl_t type to u_int32_t.
601         * db2/mutex/mutex.c: Allow Alpha mutex definitions.
602         * db2/mutex/alpha.h: New file.
603         * db2/mutex/sparc.gcc: Fix store code for v9.  Simplify clear code.
604         * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
605         known.
606         Patches by Richard Henderson.
608         * stdlib/tst-environ.c: Add cast to avoid warning.
609         * timezone/test-tz.c: Use setenv instead of putenv.
611 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
613         * manual/libc.texinfo: Update version and date.
615         * manual/locale.texi (Formatting Numbers): Fix @node pointers.
617         * manual/filesys.texi (Working with Directory Trees): Add missing @code.
618         (File System Interface): Correct entry.
619         (Permission Bits): Add missing commata after @xref.
621 1999-08-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
623         * timezone/tst-timezone.c (main): Don't pass const strings to
624         putenv to avoid warnings.
626         * posix/regexbug1.c: Include <stdio.h> for puts prototype.
628 1999-08-29  Thorsten Kukuk  <kukuk@suse.de>
630         * nis/Versions: Add _nss_*_getipnodebyname_r.
631         * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
632         * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
633         * nss/Versions: Add _nss_files_getipnodebyname_r.
635 1999-08-28  H.J. Lu  <hjl@gnu.org>
637         * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
638         memory for buffer.
640 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
642         * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
643         kernel.
644         * inet/netinet/in.h: Likewise.
645         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
646         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
648 1999-08-28  Ulrich Drepper  <drepper@cygnus.com>
650         * malloc/malloc.c (ptmalloc_init): Don't use variables to set
651         thresholds for SUID binaries.  [PR libc/1277]
653         * posix/regexbug1.c: Add one more similar case.
655 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
657         * manual/install.texi (Running make install): Give examples for
658         timezone and locale installation.
660 1999-08-28  Zack Weinberg  <zack@bitmover.com>
662         * glibcbug.in: Get CCVERSION from autoconf substitution.
663         * configure.in: Calculate and substitute CCVERSION.
665 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
667         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
668         partially reverting a patch from 1998-12-29.  We just can't change
669         the flags, kernels with different flags lead to
670         incompatibilities.
672 1999-08-26  Andreas Schwab  <schwab@suse.de>
674         * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
676 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
678         * inet/rexec.c (rexec): Free memory if strings were allocated in
679         ruserpass.  Reported by Andrew Morton <morton@nortelnetworks.com>.
681 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
683         * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
685         * manual/argp.texi: Fixing language and typos.
686         * manual/conf.texi: Likewise.
687         * manual/contrib.texi: Likewise.
688         * manual/ctype.texi: Likewise.
689         * manual/filesys.texi: Likewise.
690         * manual/install.texi: Likewise.
691         * manual/job.texi: Likewise.
692         * manual/lang.texi: Likewise.
693         * manual/llio.texi: Likewise.
694         * manual/locale.texi: Likewise.
695         * manual/math.texi: Likewise.
696         * manual/nss.texi: Likewise.
697         * manual/pipe.texi: Likewise.
698         * manual/signal.texi: Likewise.
699         * manual/socket.texi: Likewise.
700         * manual/stdio.texi: Likewise.
701         * manual/sysinfo.texi: Likewise.
702         * manual/users.texi: Likewise.
703         Patches by Neil Booth <NeilB@earthling.net>.
705 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
707         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
708         unsigned to avoid warning.  [PR libc/1271].
710         * conform/conformtest.pl: Allow testing regex.h which requires
711         sys/types.h being included.
713         * conform/data/regex.h-data: Allow *_t types.
714         * conform/data/pwd.h-data: Likewise.
715         * conform/data/sched.h-data: Likewise
716         * conform/data/pthread.h-data: Likewise.
717         * conform/data/search.h-data: Likewise.
719         * misc/search.h: Avoid namespace pollution.
721         * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
722         pwd.h, and pthread.h.
723         * conform/data/pthread.h-data: New file.
724         * conform/data/pwd.h-data: New file.
725         * conform/data/regex.h-data: New file.
726         * conform/data/sched.h-data: New file.
727         * conform/data/search.h-data: New file.
729         * NAMESPACE: Add REG_ for regex.h.
731         * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
732         they are removed.
734         * configure.in (libc_cv_asm_global_directive): Indent .text in
735         test code so that the lame HPUX compiler recognizes it.
736         * sysdeps/hppa/bits/endian.h: New file.
737         * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
738         * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
739         * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
740         * sysdeps/unix/sysv/hpux/bits/types.h: New file.
742         * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
743         Patch by John Tobey <jtobey@banta-im.com>.
745         * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
747         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
748         old_siocfifconf definition to toplevel.
749         (__protocol_available): Remove old_siocfifconf definition.
751 1999-08-25  Mark Kettenis  <kettenis@gnu.org>
753         * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
754         really dealing with a master pseudo terminal, and really returning
755         the name of the associated slave pseudo terminal by checking the
756         device number.
757         * sysdeps/unix/sysv/linux/pty-private.h: Removed.
758         * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
760 1999-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
762         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
763         underscore in _llseek entry.
765         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
766         entry.
768         * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
769         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
771         * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
772         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
774 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
776         * inet/Makefile (routines): Add getipnodebynm.
777         * inet/getipnodebynm.c: New file.
778         * nss/digits_dots.c: If HAVE_TYPE is define type contains the
779         interface type.
780         * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
781         EXTRA_ARGS_VALUE is not already done.
782         (internal_getent): Allow extra parameters and pass them to parse_line.
783         (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
784         (_nss_files_get##name##_r): Likewise.
785         * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
786         and EXTRA_ARGS_VALUE to pass flags and type to parser.
787         Add getipnodebyname function.
788         * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
789         EXTRA_ARGS_VALUE is not already done.
790         (parse_line): Add EXTRA_ARGS_DECL to parameter list.
791         * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
792         to parse_line.
793         (_nss_db_get##name##_r): Pass extra parameters to lookup.
794         (_nss_db_get,ENTNAME_r): Likewise.
795         * sysdeps/generic/if_index.c (__protocol_available): New function.
796         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
798 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
800         * login/pty-private.h: Move to...
801         * sysdeps/generic/pty-private.h: ...here.
802         * sysdeps/unix/sysv/linux/pty-private.h: New file.  Linux specific
803         version.
804         * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
805         available.
807         * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
808         of __overflow.
810         * conform/conformtest.pl (@headers): Add monetary.h-data,
811         mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
812         * conform/data/monetary.h-data: New file.
813         * conform/data/mqueue.h-data: New file.
814         * conform/data/ndbm.h-data: New file.
815         * conform/data/nl_types.h.h-data: New file.
816         * conform/data/poll.h-data: New file.
818         * stdio-common/Makefile (test): Add tst-cookie.
819         * stdio-common/tst-cookie.c: New file.
821         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
822         changed in last patch.  Reported by Ralf Baechle.
824 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
826         * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
828         * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
829         Patches by Ralf Baechle <ralf@uni-koblenz.de>
831 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
833         * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
834         Linux 2.3.15.
836 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
838         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
839         syscall.
840         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
842         * misc/libgen.h: Don't take basename macro as taking arguments.
844         * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
845         for gcc >= 2.95.
846         * sysdeps/i386/bits/huge_val.h: Likewise.
847         * sysdeps/i386/bits/huge_val.h: Likewise.
848         * sysdeps/ieee754/bits/huge_val.h: Likewise.
849         * sysdeps/m68k/bits/huge_val.h: Likewise.
850         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
851         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
853         * conform/Makefile: New file.
854         * conform/conformtest.pl: New file.
855         * conform/data/aio.h-data: New file.
856         * conform/data/assert.h-data: New file.
857         * conform/data/cpio.h-data: New file.
858         * conform/data/ctype.h-data: New file.
859         * conform/data/dirent.h-data: New file.
860         * conform/data/dlfcn.h-data: New file.
861         * conform/data/errno.h-data: New file.
862         * conform/data/fcntl.h-data: New file.
863         * conform/data/float.h-data: New file.
864         * conform/data/fmtmsg.h-data: New file.
865         * conform/data/fnmatch.h-data: New file.
866         * conform/data/ftw.h-data: New file.
867         * conform/data/glob.h-data: New file.
868         * conform/data/grp.h-data: New file.
869         * conform/data/iconv.h-data: New file.
870         * conform/data/inttypes.h-data: New file.
871         * conform/data/iso646.h-data: New file.
872         * conform/data/langinfo.h-data: New file.
873         * conform/data/libgen.h-data: New file.
874         * conform/data/locale.h-data: New file.
875         * conform/data/math.h-data: New file.
877 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
879         * posix/execvp.c (execvp): Correct copying of file name.
881 1999-08-23  Mark Kettenis  <kettenis@gnu.org>
883         * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
885 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
887         * stdio-common/Makefile: Move addition to routines to the right place.
889 1999-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
891         * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file.  Neccessary
892         since mips*-linux has ECANCELED.
894 1999-08-23  Andreas Schwab  <schwab@suse.de>
896         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
897         SIGCONTEXT_EXTRA_ARGS.
898         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
899         * sysdeps/generic/sigcontextinfo.h: Likewise.
900         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
901         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
902         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
903         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
904         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
905         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
907 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
909         * posix/regexbug1.c: Make it an error if the test fails.
911 1999-08-23  Andreas Schwab  <schwab@suse.de>
913         * posix/regex.c (re_match_2_internal): Correct check for charset
914         after exactn in loop.
916 1999-08-22  Ulrich Drepper  <drepper@cygnus.com>
918         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
919         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
920         Patch by Joel Klecker.
922         * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
923         (__gconv_find_transform): Update prototype.
924         (__gconv_open): Likewise.
925         * iconv/gconv_open.c: Take extra parameter and pass it to
926         __gconv_find_transform.
927         * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
928         flags.  If GCONV_AVOID_NOCONV flag is set don't return copying
929         transformation.
930         * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
931         * wcsmbs/wcsmbsload.c: Likewise.
932         * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
933         iconv for glibc.
934         * intl/gettextP.h: Likewise.
935         * intl/loadmsgcat.c: Likewise.
937         * posix/regexbug1.c: New file.
938         * posix/Makefile (tests): Add regexbug1.
940 1999-08-22  Mark Kettenis  <kettenis@gnu.org>
942         * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
943         * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
944         installing PORT in the descriptor cell.
946 1999-08-19  Roland McGrath  <roland@baalperazim.frob.com>
948         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
949         TIMEOUT as outputs of the asm to indicate that the signal thread
950         might mutate them.
951         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
952         mach_msg if only sending or only receiving (i.e., not an RPC).  When
953         making an RPC that might get interrupted, save OPTION and the portion
954         of the message buffer that gets clobbered by an EINTR reply message,
955         and properly restore them before attempting to retry the request
956         message send.
958 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
960         * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
961         definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
962         CHAR_T, UCHAR_T and WIN_T to make the code compile again when
963         stdio is used instead of libio.
964         * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
965         definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
966         to make the code compile again when stdio is used instead of
967         libio.
968         (vfprintf): Only check for correct orientation if ORIENT is
969         defined.
970         * stdio-common/Makefile (routines): Only add vfwprintf and
971         vfwscanf if we're using libio.
973 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
975         * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
976         any additional prototype just as we do for libio.
978 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
980         * include/bits/xopen_lim.h: Do not define STREAM_MAX and
981         TZNAME_MAX.  These limits are not X/Open specific.
982         * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
983         is defined.
985 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
987         * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
988         UIO_MAXIOV is left undefined in sys/uio.h.
989         * stdio-common/stdio_lim.h.in: Adapt for change above.
991 1999-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
993         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
994         * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
995         Patches by Ralf Baechle <ralf@uni-koblenz.de>
997 1999-08-21  Ulrich Drepper  <drepper@cygnus.com>
999         * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
1001 1999-08-20  Ulrich Drepper  <drepper@cygnus.com>
1003         * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
1005         * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
1006         call.  It should not be necessary andis harmful for Alpha.
1008         * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
1009         type.  [PR libc/1269]
1011         * posix/execvp.c (execvp): Allocate array name of correct size.
1012         Optimize inner loop.  Use execve directly, not execv.
1014         * elf/elf.h: Corrected SHT_ values from new draft.
1016         * intl/gettextP.h (struct loaded_domain): Add conv element.
1017         * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
1018         Instead of returning found message directly convert it using iconv
1019         if a conversion was found when opening the file.
1020         * intl/loadinfo.h: Protect against multiple inclusion.
1021         Declare _nl_find_msg.
1022         * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
1023         in the message file and if necessary find approrpiate
1024         conversion to match currently selected charset.
1025         * include/libintl.h: Declare __dgettext and __dcgettext.
1026         * include/iconv.h: New file.
1028 1999-08-20  Andreas Schwab  <schwab@suse.de>
1030         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
1032 1999-08-19  Ulrich Drepper  <drepper@cygnus.com>
1034         * sysdeps/unix/sysv/linux/execve.c: New file.  This version terminates
1035         all threads [PR libc/1223].
1037         * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
1038         [PR libc/1165].
1040         * configure.in: Search for programs with prefix gnu* and g* first.
1041         [PR libc/1104].
1043         * dirent/Makefile (routines): Add getdents64.
1044         * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
1045         Remove getdents64.
1046         * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
1047         compiled with _FILE_OFFSET_BITS=64.
1048         * sysdeps/generic/getdents64.c: New file.
1049         * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
1050         __lseek for getdirentries64 definition.
1052         * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
1054         * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
1055         _FILE_OFFSET_BITS=64.
1057         * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
1058         parameter.
1060         * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
1061         after we have the lock.
1063         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
1064         Patch by Richard Henderson.
1066 1999-08-19  Andreas Schwab  <schwab@suse.de>
1068         * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
1069         and call _IO_fwide, to get the wide stream state initialized
1070         correctly.  Don't set _IO_JUMPS.
1071         * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
1072         * libio/vswprintf.c (_IO_vswprintf): Likewise.  Pass
1073         _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
1074         directly.
1076 1999-08-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1078         * math/libm-test.c (jn_test): Fix typo in description.
1079         (erfc_test): Add some more tests.
1080         (erf_test): Add some more tests.
1082 1999-08-19  Andreas Schwab  <schwab@suse.de>
1084         * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
1085         expression using $(exceptions).
1087 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
1089         * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
1091         * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
1092         allocated so far.  [PR libc/1261].
1094         * math/libm-test.c (j0_test): Adjust deltas for m68k.
1095         (jn_test): Likewise.
1097         * dirent/dirent.h: Only define ino64_t if not already done.
1098         * posix/sys/types.h: Likewise.
1100         * ctype/ctype.h: Avoid useless #endif #if pairs.
1102         * dirent/dirent.h: Define ino_t and ino64_t if not done already.
1103         (seekdir): Fix type of second parameter.
1104         * sysdeps/generic/seekdir.c: Likewise.
1105         * sysdeps/mach/hurd/seekdir.c: Likewise.
1106         * sysdeps/unix/seekdir.c: Likewise.
1108         * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
1110 1999-08-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1112         * manual/install.texi (Configuring and compiling): Clarify ix86
1113         situation.
1115 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
1117         * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
1118         * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
1119         * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
1120         stdio_lim.h.  Define LONG_BIT and WORD_BIT.
1122         * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
1124         * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
1126         * misc/search.h: Don't define NULL.
1128         * posix/sys/types.h: Define blksize_t if it hasn't happened.
1129         Only define key_t and blkcnt_t if it hasn't happened before.
1130         Define blksize_t if not happened before.
1131         * io/sys/stat.h: Don't define pid_t.  Define blkcnt_t and blksize_t.
1132         * sysdeps/generic/bits/types.h: Define __blksize_t.
1133         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1134         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1135         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1136         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1137         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1138         * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
1139         st_blksize member.
1140         (struct stat64): Likewise.
1141         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1142         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
1143         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1144         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1145         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1146         * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
1147         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
1149         * stdlib/getsubopt.c: Correct type of second argument.
1150         * stdlib/stdlib.h: Likewise.
1152         * stdlib/monetary.h: Don't include sys/types.h.  Define only size_t
1153         and ssize_t.
1155         * sysdeps/generic/putenv.c: Correct type of parameter.
1156         * stdlib/stdlib.h: Likewise.
1158         * sysdeps/generic/msgsnd.c: Correct type of second parameter.
1159         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1160         * sysvips/sys/msg.h: Likewise.
1162         * sysdeps/generic/semop.c: Correct type of third parameter.
1163         * sysdeps/unix/sysv/linux/semop.c: Likewise.
1164         * sysvipc/sys/sem.h: Likewise.  Don't include sys/types.h, define
1165         size_t.
1167         * sysdeps/generic/shmget.c: Correct type of second parameter.
1168         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1169         * sysvips/sys/shm.h: Likewise.  Don't include unistd.h and sys/types.h.
1170         Declare __getpagesize here.
1172         * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
1173         sys/types.h.
1174         * sysdeps/gnu/bits/ipc.h: Likewise.
1175         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
1176         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1177         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1178         * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
1179         already done.
1181         * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
1183         * debug/versions: Export __cyg_profile_func_enter and
1184         __cyg_profile_func_exit.
1186         * math/bits/mathcalls.h: Pretty print.
1188 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
1190         * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
1191         case for new tzdata.
1193         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
1194         unsigned.
1195         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1196         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1197         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1198         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1200         * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
1202         * sysdeps/generic/ualarm.c (ualarm): Change return value and
1203         parameter type to useconds_t.
1204         * sysdeps/unix/bsd/ualarm.c: Likewise.
1206         * sysdeps/generic/usleep.c (usleep): Change parameter type to
1207         useconds_t.
1208         * sysdeps/unix/sysv/linux/usleep.c: Likewise.
1209         * sysdeps/mach/usleep.c: Likewise.
1211         * locale/weight.h: Include <errno.h>.
1213         * posix/sys/types.h: Define type useconds_t if not done already.
1214         * posix/unistd.h: Likewise.  Use this in ualarm and usleep
1215         declarations.
1216         * sysdeps/generic/bits/types.h: Define type __useconds_t.
1217         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1218         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1219         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1220         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1221         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1223         * dirent/dirent.h (telldir): Change return type to long int.
1224         * sysdeps/generic/telldir.c: Likewise.
1225         * sysdeps/mach/hurd/telldir.c: Likewise.
1226         * sysdeps/unix/telldir.c: Likewise.
1227         * sysdeps/unix/bsd/telldir.c: Likewise.  Fix locking problem.
1229         * locale/weight.h: Set errno if an invalid character is found.
1231 1999-08-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1233         * math/libm-test.c (erfc_test): Add test for example from PR
1234         libc/1259.
1235         (erf_test): Likewise.
1237 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
1239         * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
1240         rewrite.  Patch by Alan Stern <stern@kitsilano.rowland.org>.
1242         * timezone/private.h: Update from tzcode1999e.
1243         * timezone/zic.c: Likewise.
1245         * timezone/africa: Update from tzdata1999e.
1246         * timezone/antarctica: Likewise.
1247         * timezone/asia: Likewise.
1248         * timezone/australasia: Likewise.
1249         * timezone/europe: Likewise.
1250         * timezone/leapseconds: Likewise.
1251         * timezone/northamerica: Likewise.
1252         * timezone/southamerica: Likewise.
1254         * stdio-common/vfprintf.c (process_string_arg): Correct last patch
1255         and write correct number of bytes in case of %ls with precision.
1256         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1258 1999-08-16  Ulrich Drepper  <drepper@cygnus.com>
1260         * nscd/nscd.init: Test for kernel version and make LSB compliant.
1261         Patch by Christian Gafton.
1263         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
1264         O_RSYNC.  Patch by Christian Gafton.
1266         * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
1267         possibly unterminated strings for %ls when a precision is
1268         specified.
1269         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1271         * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
1272         update_conversion_ptrs.
1273         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1275 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
1277         * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
1278         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1280         * wcsmbs/Makefile (tests): Add tst-wcsnlen.
1281         * wcsmbs/tst-wcsnlen.c: New file.
1283 1999-08-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1285         * libio/ioputs.c (_IO_puts): Add missing brace.
1287 1999-07-20  Geoff Keating  <geoffk@cygnus.com>
1289         * math/libm-test.c: Tweak deltas for a clean run on ppc.
1291 1999-08-10  H.J. Lu  <hjl@gnu.org>
1293         * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
1294         (vfprintf): Likewise.
1295         * stdio-common/vfscanf.c (ORIENT): Likewise.
1296         * libio/genops.c (__underflow): Likewise.
1297         (__uflow): Likewise.
1298         * libio/iofputs.c (_IO_fputs): Likewise.
1299         * libio/ioftell.c (_IO_ftell): Likewise.
1300         * libio/iofwrite.c (_IO_fwrite): Likewise.
1301         * libio/ioputs.c (_IO_puts): Likewise.
1302         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
1303         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
1305 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
1307         * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
1309 1999-08-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1311         * manual/job.texi (Process Group Functions): Document getpgid,
1312         getsid.
1314 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
1316         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
1317         initialize si_pid from it.
1318         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
1319         parameter.
1320         * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
1321         * rt/aio_misc.h (struct waitlist): Add caller_pid element.
1322         (struct requestlist): Likewise.
1323         Adjust prototypes of __aio_notify_only and __aio_sigqueue.
1324         * rt/aio_notify.c (__aio_notify_only): Take extra parameter.  Pass it
1325         to __aio_sigqueue.
1326         (__aio_notify): Pass caller PID to __aio_notify_only.
1327         * rt/aio_suspend.c: Initialize caller_pid.
1328         * rt/lio_listio.c: Likewise.
1329         * rt/lio_listio64.c: Likewise.
1331         * rt/lio_listio.c: If nothing has to be done free mutex before
1332         signalling.
1333         * rt/lio_listio64.c: Likewise.
1335 1999-08-10  H.J. Lu  <hjl@gnu.org>
1337         * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
1338         handling.
1340 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
1342         * elf/elf.h: Define ElfXX_Versym.
1343         * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
1344         definition.
1346         * stdio-common/vfprintf.c (process_string_arg): Handle precisions
1347         for string output correctly in the wide character case.
1348         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1350         * intl/locale.alias: Add catalan.
1352 1999-08-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1354         * manual/install.texi (Configuring and compiling): Mention CFLAGS.
1356 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
1358         * po/pt_BR.po: New file.
1360 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1362         * math/libm-test.c (yn_test): Adjust deltas for i386.
1363         (ccosh_test): Likewise.
1364         (jn_test): Likewise.
1366 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
1368         * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
1370 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
1372         * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
1373         problem.
1375 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1377         * configure.in: install-sh lives now in scripts subdir.
1378         PR libc/1255 (bug 4).
1380 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
1382         * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
1383         version.
1385         * po/fr.po: Update.
1387 1999-08-11  Thorsten Kukuk  <kukuk@suse.de>
1389         * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
1391 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
1393         * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
1394         exponent.
1396 1999-08-10  Andreas Schwab  <schwab@suse.de>
1398         * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
1399         header.
1401 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
1403         * elf/elf.h: Added definition of ELFOSABI_ARM.
1404         * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
1405         VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
1406         object's header and ABI values are acceptable.
1407         (VALID_ELF_HEADER): New macro; provide default definition.
1408         (VALID_ELF_OSABI): New macro; provide default definition.
1409         (VALID_ELF_ABIVERSION): New macro; provide default definition.
1410         * sysdeps/arm/dl-machine.h Define ARM specific versions of
1411         VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
1413 1999-08-09  Andreas Schwab  <schwab@suse.de>
1415         * inet/tst-ipnode.c (main): Don't compare integer with NULL.
1417 1999-08-09  Thorsten Kukuk  <kukuk@suse.de>
1419         * sunrpc/svc_run.c (svc_run): Free my_pollfd.
1421 1999-08-09  Andreas Schwab  <schwab@suse.de>
1423         * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
1425 1999-08-08  Ulrich Drepper  <drepper@cygnus.com>
1427         * sysdeps/ieee754/ieee754.h: Handle platforms with special
1428         __FLOAT_WORD_ORDER.  Patch by Joel Klecker <jk@espy.org>.
1430         * string/bits/string2.h: Mark void* operations as extensions.
1431         * sysdeps/i386/i486/bits/string.h: Likewise.
1433         * debug/Makefile (routines): Add noophooks.
1434         (extra-libs): Add libpcprofile.  Add rules to build libpcprofile.
1435         * debug/noophooks.c: New file.
1436         * debug/pcprofile.c: New file.
1438 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
1440         * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
1441         systems which allow using the functions also on non-seekable
1442         devices.
1444         * resolv/res_send.c (res_send): Recompute timeout for poll for
1445         each jump to `wait'.
1447         * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
1448         braces to avoid warnings.
1449         (IN6ADDR_LOOPBACK_INIT): Likewise.
1451         * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
1452         MSG_DONTWAIT).
1454 1999-08-06  H.J. Lu  <hjl@gnu.org>
1456         * malloc/malloc.c: Initialize __libc_pagesize early.
1458 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
1460         * string/string-inlines.c: Undefined __USE_STRING_INLINES before
1461         defining it.
1463         * inet/Makefile (tests): Add tst-ipnode.
1464         * inet/tst-ipnode.c: New file.
1466 1999-08-06  Andreas Schwab  <schwab@suse.de>
1468         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
1469         New definitions.
1470         (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
1471         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
1472         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
1473         New definitions.
1474         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
1475         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
1477 1999-08-06  Jakub Jelinek  <jj@ultra.linux.cz>
1479         * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
1480         * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
1481         * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
1483 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
1485         * resolv/res_send.c (res_send): Don't test file descriptor for
1486         range, we use poll now.  [PR libc/1240]
1488 1999-08-05  Ulrich Drepper  <drepper@cygnus.com>
1490         * libio/genops.c (_IO_flush_all): Don't access elements beyond what
1491         2.0 defined if they are not available.
1493 1999-08-05  Thorsten Kukuk  <kukuk@suse.de>
1495         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
1496         Define.
1498 1999-08-04  Ulrich Drepper  <drepper@cygnus.com>
1500         * rt/aio_read.c: Fix return value.
1501         * rt/aio_read64.c: Likewise.
1502         Reported by Christian Gafton.
1504         * rt/aio_write.c: Fix return value.
1505         * rt/aio_write64.c: Likewise.
1506         * rt/aio_fsync.c: Likewise.
1508         * rt/aio_misc.c: Set errno at correct place.
1510         * rt/aio_fsync.c: Test OP parameter for correct values.
1512         * hesiod/hesiod.c: Avoid emitting rcsid in object file.
1514 1999-08-04  Andreas Schwab  <schwab@suse.de>
1516         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
1517         Initialize result to one.
1518         (GET_NPROCS_CONF_PARSER): Likewise.
1520 1999-08-03  Ulrich Drepper  <drepper@cygnus.com>
1522         * inet/ether_hton.c: Pass errno pointer to NSS function.
1523         * inet/getnetgrent_r.c: Likewise.
1524         Reported by Marty Leisner <leisner@rochester.rr.com>.
1526 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
1528         * nis/nis_callback.c: Fix port problem on big-endian machines
1529         * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
1530         fields are always 32 bit.
1531         Patches from Paul Mackerras <paulus@cs.anu.edu.au>
1533         * nis/nss_nis/nis-service.c: Remove htons, port is always in
1534         network-byte-order.
1535         * nis/nss_nisplus/nisplus-service.c: Rename number to port.
1537 1999-08-03  Andreas Schwab  <schwab@suse.de>
1539         * sysdeps/posix/sigset.c: Unblock the signal after setting its
1540         disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
1541         avoid two calls to sigprocmask.
1543 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
1545         * sysdeps/generic/s_nexttowardf.c: Fix typo.
1547 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
1549         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
1550         Only allow rt signal frames. No SA_SIGINFO signals will have the
1551         siginfo_t just not filled out with SI_NOINFO code.
1552         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
1553         (register_dump): Take the above change into account.
1554         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
1555         (rt_signal_frame): Likewise.
1557         * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
1559 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
1561         * nis/nis_callback.c (internal_nis_do_callback): Use poll()
1562         instead of select().
1564 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
1566         * sysdeps/generic/s_nextafter.c: Define __nexttoward and
1567         nexttoward so something else so that aliasing works.
1569 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
1571         * sysdeps/generic/math_ldbl.h: Fix typo.
1572         * sysdeps/generic/strtold.c: Remove unbalanced #endif.
1573         * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
1575 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
1577         * elf/resolvfail.c: Include stdio.h.  Also test dlerror.
1579 1999-08-01  Ulrich Drepper  <drepper@cygnus.com>
1581         * elf/Makefile (tests): Add resolvfail.  Add rules to build the
1582         program.
1583         * elf/resolvfail.c: New file.
1585         * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
1586         pass it to _dl_lookup_symbol.
1588         * elf/dl-error.c (_dl_signal_error): Optimize string generation a
1589         bit.  Reword message.
1591         * dlfcn/dlerror.c: Make code thread-safe.
1593 1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>
1595         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
1596         initializer in CHECK: a bit size, not the type code repeated!
1598 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
1600         * string/tester.c: Add tests with constant arguments for strcpy
1601         and stpcpy.
1603 1999-07-31  H.J. Lu  <hjl@gnu.org>
1605         * string/bits/string2.h (__strcpy_small): Fix a typo.
1607 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
1609         * Makeconfig (link-libc): Always define it, not only for shared
1610         builds.
1612         * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
1613         * sysdeps/i386/fpu/e_powf.S: Likewise.
1614         * sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].
1616         * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
1617         * sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].
1619 1999-07-30  Andreas Schwab  <schwab@suse.de>
1621         * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
1622         definition.
1623         (__get_nprocs): Use it.
1624         (__get_nprocs_conf): Define as separate function if
1625         GET_NPROCS_CONF_PARSER is defined.
1626         * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
1628         * include/sys/sysinfo.h: New file.
1629         * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
1630         interface.
1631         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
1633 1999-07-30  H.J. Lu  <hjl@gnu.org>
1635         * libio/iofflush.c (fflush_unlocked): Weak aliase if
1636         _IO_MTSAFE_IO is not defined.
1637         * libio/clearerr.c (clearerr_unlocked): Likewise.
1638         * libio/feof.c (feof_unlocked): Likewise.
1639         * libio/ferror.c (ferror_unlocked): Likewise.
1640         * libio/fputc.c (fputc_unlocked): Likewise.
1641         * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
1642         * libio/getchar.c (getchar_unlocked): Likewise.
1643         * libio/putc.c (putc_unlocked): Likewise.
1644         * libio/putchar.c (putchar_unlocked): Likewise.
1646 1999-07-30  Thorsten Kukuk  <kukuk@suse.de>
1648         * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
1649           svc_max_pollfd and svc_pollfd to GLIBC_2.2
1650         * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
1651           for svc_run/poll interface.
1652         * sunrpc/rpc/types.h: Add rpc*_t typedefs.
1653         * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
1654           global variable.
1655         * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
1656           rewrite other svc_getreq* functions to use svc_getreq_common.
1657         * sunrpc/svc_run.c: Use poll().
1659 1999-07-30  Andreas Schwab  <schwab@suse.de>
1661         * Makerules: Put sysd-versions and Versions.all on
1662         postclean-generated instead of common-generated.
1664 1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1666         * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
1667         around and CLOCKS_PER_SEC is 1e6.
1669 1999-07-30  Ulrich Drepper  <drepper@cygnus.com>
1671         * configure.in: Add test for local label subtraction.
1672         * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
1673         * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
1674         labels to reduce number of runtime relocations and move jump
1675         tables in read-only seciton.
1677         * malloc/malloc.c (ptmalloc_init): Correct last patch.  The
1678         assignment cannot be moved.
1680 1999-07-29  H.J. Lu  <hjl@gnu.org>
1682         * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
1683         if no threads are used.
1685         * libio/iofwrite.c: Add weak alias for _unlocked function if not
1686         _IO_MTSAFE_IO.
1687         * libio/iofread.c: Likewise.
1688         * libio/iofgets.c: Likewise.
1689         * libio/iofputs.c: Likewise.
1691         * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
1692         definition.
1694         * stdlib/mbtowc.c: Include <string.h>.
1695         * stdlib/wctomb.c: Likewise.
1696         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
1697         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
1699         * misc/mntent_r.c: Include <alloca.h>.
1700         * elf/dl-runtime.c: Likewise.
1702 1999-07-29  Andreas Schwab  <schwab@suse.de>
1704         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
1705         all floating point formats supported by gcc.  Error out for
1706         unhandled precisions.
1707         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
1708         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
1709         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
1711 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
1713         * sysdeps/generic/setenv.c: Move setenv code in new function
1714         __add_to_environ.  Add new parameter specifying already
1715         constructed string for the environment.
1716         (setenv): Call __add_to_environ with new parameter set to NULL.
1717         (unsetenv): Really test all elements for duplicated name.  Missed those
1718         cases where the two are following each other.
1719         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
1720         * include/stdlib.h: Add prototype of __add_to_environ.
1721         * stdlib/tst-environ.c: New file.
1722         * stdlib/Makefile (tests): Add tst-environ.
1724         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
1726         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
1727         argument in realloc call.
1728         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
1729         Likewise.
1730         Reported by Danny Braniss <danny@cs.huji.ac.il>.
1732 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
1734         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
1735         to print.
1736         * misc/efgcvt_r.c: Likewise.
1737         * misc/qefgcvt.c: Likewise.
1738         * misc/qefgcvt_r.c: Likewise.
1739         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
1740         anymore.
1742 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1744         * manual/math.texi (FP Function Optimization): Mention drawbacks.
1746 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
1748         * stdlib/mblen.c: Use static state.
1749         Reported by Bruno Haible <haible@ilog.fr>.
1751         * stdlib/mbtowc.c: Reset state for s == NULL.
1752         * stdlib/wctomb.c: Likewise.
1753         Reported by Bruno Haible <haible@ilog.fr>.
1755         * stdlib/mbstowcs.c: Do not use global state.
1756         Reported by Bruno Haible <haible@ilog.fr>.
1758 1999-07-28  Andeas Schwab  <schwab@suse.de>
1760         * iconvdata/Makefile: Don't try to run iconv tests when cross
1761         compiling.
1763 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
1765         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
1766         assembler code to switch stacks and call init1 outside this
1767         function.  Inside `init' the code was optimized away by gcc
1768         2.95 since it was "clearly" unreachable.
1769         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1770         Do something similar for the trampoline code.
1772 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
1774         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
1775         for the hinted protocol.
1777 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1779         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
1781 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
1783         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
1784         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
1785         * elf/dl-load.c (_dl_map_object): Likewise.
1786         * elf/do-lookup.h (do_lookup*): Likewise.
1787         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
1788         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
1789         as uint64_t.
1790         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
1792 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
1794         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
1795         * sysdeps/generic/getpgrp.c: Likewise.
1796         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
1797         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
1798         Patch by John Tobey <jtobey@banta-im.com>.
1800         * sysdeps/posix/wait3.c: Help compiling in presence of
1801         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
1803 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
1805         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
1806         as much as possible. Declare them using .register pseudo-op if they
1807         are still used.
1808         * sysdeps/sparc/sparc64/lshift.S: Likewise.
1809         * sysdeps/sparc/sparc64/memchr.S: Likewise.
1810         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1811         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1812         * sysdeps/sparc/sparc64/memset.S: Likewise.
1813         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1814         * sysdeps/sparc/sparc64/rshift.S: Likewise.
1815         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
1816         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1817         * sysdeps/sparc/sparc64/strcat.S: Likewise.
1818         * sysdeps/sparc/sparc64/strchr.S: Likewise.
1819         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
1820         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
1821         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
1822         * sysdeps/sparc/sparc64/strlen.S: Likewise.
1823         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1824         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1825         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
1826         * sysdeps/sparc/sparc64/strspn.S: Likewise.
1827         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
1828         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1829         Optimize trampoline code for .plt4-.plt32767.
1830         Fix trampolines for .plt32768+.
1832 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
1834         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
1835         -mcpu=v8.
1836         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
1837         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
1838         libc's private use (as assembly routine clobber it anyway).
1840 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1842         * README.template (configurations): The crypt add-on has a new
1843         ftp site.
1844         * manual/install.texi (Installation): Likewise.
1846 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
1848         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
1849         requires to have a full definition but we wait for a bug report
1850         based on the test suite.
1852         * sysdeps/generic/clock_getres.c: New file.
1853         * sysdeps/generic/clock_gettime.c: New file.
1854         * sysdeps/generic/clock_settime.c: New file.
1855         * sysdeps/generic/timer_create.c: New file.
1856         * sysdeps/generic/timer_delete.c: New file.
1857         * sysdeps/generic/timer_getoverr.c: New file.
1858         * sysdeps/generic/timer_gettime.c: New file.
1859         * sysdeps/generic/timer_settime.c: New file.
1861         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
1862         CLOCK_REALTIME, and TIMER_ABSTIME.
1863         * sysdeps/mach/hurd/bits/time.h: Likewise.
1864         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1865         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
1867         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
1869         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
1870         si_timer2.
1872         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
1874         * time/Makefile (routines): Add clock_getres, clock_gettime,
1875         clock_setres, timer_create, timer_delete, timer_getoverr,
1876         timer_gettime, and timer_settime.
1878         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
1879         POSIX.1b.  Add prototypes for clock and timer functions.
1881 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
1883         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
1884         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
1886 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
1888         * stdlib/wcstombs.c: Do not use global state.
1889         Reported by Bruno Haible <haible@ilog.fr>.
1891         * wcsmbs/wctob.c: Avoid sign extension when returning character.
1892         Reported by Bruno Haible <haible@ilog.fr>.
1894         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
1895         of wide characters to convert do it right and don't overestimate
1896         by multiplying with MB_CUR_MAX.
1897         Reported by Bruno Haible <haible@ilog.fr>.
1899 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
1901         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
1902         (__stpcpy_small): Likewise.
1903         Union has no __uc member but __c.
1905 1999-07-26  Andreas Schwab  <schwab@suse.de>
1907         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
1909 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
1911         * libio/iofclose.c (_IO_new_fclose): Only fall back on
1912         _IO_old_fclose if doing versioning.
1914         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
1915         them appropriately.
1916         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1918         * misc/mntent_r.c: Allow spaces and tabs in entry names by
1919         encoding these characters.
1920         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
1922         * string/bits/string2.h: Fix aliasing problems.
1923         * sysdeps/i386/i486/bits/string.h: Likewise.
1924         * sysdeps/i386/bits/string.h: Likewise.
1926 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
1928         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
1929         * elf/rtld.c (dl_main): Don't call malloc() between
1930         re-relocating the dynamic linker and running the application's crt0.
1932 1999-07-21  Paul D. Smith  <psmith@gnu.org>
1934         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
1935         glob.h to get __P() macro.
1937         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
1938         not ANSI.
1939         (__strchrnul): This won't exist outside GLIBC, so create one.
1941 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
1943         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
1944         __ino64_t should be 32bit unsigned type on sparc32.
1945         Define __off64_t to __quad_t instead of __int64_t.
1946         Make __pic_pid_t unsigned on sparc32.
1948 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1950         * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
1951         in bash 2.03.
1953 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
1955         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
1956         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
1958 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
1960         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
1961         accesses.
1963         * resolv/res_send.c: Add locks for res_send and res_close use.
1965         * elf/Makefile (dl-routines): Add preinit.
1966         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
1967         * elf/link.h (struct link_map): Add new field l_preinitcount.
1968         * elf/dl-preinit.c: New file.
1969         * elf/dynamic-link.h: Initialize l_preinitcount.
1970         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
1972         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
1973         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
1974         and l_initcount.
1975         * elf/dl-init.c: Handle DT_INIT_ARRAY.
1976         * elf/dynamic-link.h: Change parameters.  Now only get link_map
1977         pointer.  Calculate l_initcount.
1979         * elf/link.h (struct link_map): Add l_runpath_dirs.
1980         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
1981         * elf/dl-load.c: Pretty print.
1982         (decompose_rpath): Take new parameter with info from where the path
1983         comes.  Pass it the fillin_rpath.
1984         (_dl_init_paths): Initialize l_runpath_dirs.
1985         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
1986         Search using RUNPATH after LD_LIBRARY_PATH.
1987         * elf/dl-support.c: Adjust comment.
1988         * elf/rtld.c: Adjust help message.
1990 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1992         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
1993         interface.
1995 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
1997         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
1998         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
1999         ever used this, so I'm not going to worry about compatibility.
2000         [__USE_GNU] (IUCLC, OLCUC): New macros.
2002 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
2004         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
2006         * elf/elf.h: Add ET_LOOS and ET_HIOS.
2007         Add various EM_* constants.
2008         Add SHN_LOOS and SHN_HIOS.
2009         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
2010         Add SHF_MERGE and SHF_STRINGS.
2011         (ElfXX_Sym): Update description of st_other field.
2012         Add STT_COMMON.
2013         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
2014         Add STV_* macros.
2015         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
2016         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
2017         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
2019         * posix/unistd.h: Move declaration of __libc_enable_secure to...
2020         * include/unistd.h: ...here.
2022         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
2023         * elf/dl-deps.c (expand_dst): Likewise.
2025         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
2026         based on DT_FLAGS value.
2028         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
2029         Add test for symbols marked STV_HIDDEN.
2030         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
2031         add undef_map.  Compute reference_name locally.  Update call to
2032         do_lookup.
2033         (_dl_lookup_symbol_skip): Likewise.
2034         (_dl_lookup_versioned_symbol): Likewise.
2035         (_dl_lookup_versioned_symbol_skip): Likewise.
2036         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
2037         * elf/dl-runtime.c: Likewise.
2038         * elf/dl-sym.c: Likewise.
2039         * elf/dl-symbol.c: Likewise.
2040         * elf/ldsodefs.h: Adjust prototypes.
2042         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
2043         handle appropriately.  Add comment about DT_TEXTREL.
2044         * elf/dl-runtime.c: Likewise.
2046 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
2048         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
2049         * elf/ldsodefs.h: Declare it.
2050         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
2051         instead of assert.
2052         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
2053         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2054         (elf_machine_lazy_rel): Likewise.
2055         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
2056         (elf_machine_lazy_rel): Likewise.
2057         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
2058         (elf_machine_lazy_rel): Likewise.
2059         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
2060         (elf_machine_lazy_rel): Likewise.
2061         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2062         (elf_machine_lazy_rel): Likewise.
2063         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
2064         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
2065         (elf_machine_lazy_rel): Likewise.
2066         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
2067         (elf_machine_lazy_rel): Likewise.
2068         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
2069         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
2070         _dl_reloc_bad_type instead of _dl_signal_error.
2071         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
2073 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
2075         * sysdeps/mach/_strerror.c: Include <libintl.h>.
2077 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
2079         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
2080         hurd_signal_preemptor matches but its `preemptor' field is null, use
2081         its `handler' field directly.  This is to comply with behavior
2082         documented in <hurd/sigpreempt.h>.
2084 1999-07-21  Andreas Schwab  <schwab@suse.de>
2086         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
2087         when reading from write-only stream.
2088         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
2089         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2091 1999-07-21  Andreas Schwab  <schwab@suse.de>
2093         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
2094         NULL.
2096 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
2098         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
2099         <hurd/fd.h>.
2100         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
2101         <hurd/fd.h>.
2102         (__libc_write): Call __pwrite instead of __pread.
2104 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
2106         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
2107         __vm_allocate calls.
2109         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
2110         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
2112         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
2113         _hurd_fd_read with new OFFSET argument set to -1.
2114         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
2115         to -1.
2117 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
2119         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
2120         descriptor table sent in the RPC.
2122 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2124         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
2125         bill@taniwha.org [PR libc/1211].
2127 1999-07-19  Andreas Schwab  <schwab@suse.de>
2129         * libio/Makefile (routines): Add fwprintf.
2131         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
2132         * math/w_sqrt.c: Moved to ...
2133         * sysdeps/generic/w_sqrt.c: ... here.
2134         * math/w_sqrtf.c: Moved to ...
2135         * sysdeps/generic/w_sqrtf.c: ... here.
2137         * Make-dist (generic-dirs): New variable.
2138         (try-sysdeps, +sysdep-names): Use it.
2139         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
2140         instead of $(lib)-routines.
2141         * elf/Makefile (distribute): Add dl-cache.h.
2142         * db2/Makefile (distribute): Add all new files.
2143         * iconvdata/Makefile (distribute): Don't distribute CVS
2144         directory.
2145         * math/Makefile (distribute): Remove machine/endian.h, add
2146         math_ldbl.h.
2147         * stdio-common/Makefile (distribute): Add _itowa.h.
2148         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
2149         * sysdeps/gnu/Dist: Add eval.c
2150         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
2151         dlfcn]: Add to this instead of libdl-routines.
2152         * sysdeps/ieee754/ldbl-128/Dist: New file.
2153         * sysdeps/mach/hurd/Dist: Add siglist.h
2154         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
2156 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
2158         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
2160         * inet/Makefile (routines): Add getipnodebyad and freehostent.
2161         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
2162         * inet/freehostent.c: New file.
2163         * inet/getipnodebyad.c: New file.
2164         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
2165         and getipnodebyname.  The latter comes soon.
2166         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
2167         Add support for getipnode* functions.
2169         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
2170         Set h_aliases to NULL and not to a pointer to an array with a NULL
2171         pointer following XNS 5.2.
2173         * posix/sched.h: Remove internal interfaces.
2174         * include/sched.h: Add internal interfaces.
2176         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
2178         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
2180         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
2181         and return an error in this case.
2182         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
2183         available.
2185 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2187         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
2188         1999-07-17 and adjust len parameter.
2189         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
2190         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
2191         * manual/socket.texi (Host Names): Likewise.
2192         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
2193         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
2194         Likewise.
2195         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2196         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2197         (ht_gethostbyaddr): Likewise.
2198         (_gethtbyaddr): Likewise.
2200 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
2202         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
2203         gethostbyaddr_r.
2204         * include/netdb.h: Likewise.
2205         * inet/gethstbyad.c: Correct type of len parameter.
2206         * inet/gethstbyad_r.c: Likewise.
2208         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
2210 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
2212         * include/libc-symbol.h: Clean up definitions of weak_alias,
2213         strong_alias, symbol_version, etc. etc.
2214         * posix/getopt.h: Use ctype.h to get features.h included, and don't
2215         include it at all if __GNU_LIBRARY__ is already defined.
2217 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
2219         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
2221         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
2223         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
2224         type for tv_usec element.
2225         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise
2226         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
2227         * sysdeps/generic/bits/time.h: Likewise.
2228         * sysdeps/mach/hurd/bits/time.h: Likewise.
2229         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2230         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2231         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2232         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2233         * sysdeps/generic/bits/types.h: Likewise.
2234         * posix/sys/types.h: Define suseconds_t for X/Open.
2236 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
2238         * stdio-common/bug1.c: Avoid memory leak.
2240         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
2241         program deterministic.
2242         * sysdeps/i386/fpu/e_powf.S: Likewise.
2243         * sysdeps/i386/fpu/e_powl.S: Likewise.
2245 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
2247         * math/Makefile: Add t_sincosl and k_sincosl support routines.
2248         * math/math_private.h (__kernel_sincosl): New declaration.
2249         * sysdeps/generic/t_sincosl.c: New file.
2250         * sysdeps/generic/k_sincosl.c: New file.
2251         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
2252         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
2253         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
2254         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
2255         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
2256         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
2257         __kernel_sincosl.
2258         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
2259         definition.
2261 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
2263         * posix/unistd.h: Use __PMT for exit.
2265 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
2267         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
2268         _outw, _outl): Added to GLIBC_2.1.2.
2270 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
2272         * posix/fnmatch.h: Use __name instead of __string in prototype to
2273         allow use outside glibc.
2275 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
2277         * time/tst-strptime.c (main): Add one more test case.  Produce
2278         output even when result is ok.
2280         * time/strptime.c (get_number): Handle number parsing more
2281         consistent with strftime.  Only parse a given number of digits.
2282         (get_alt_number):  Fix implementation.  Was broken.
2283         (strptime_internal): Add third parameter to get_number and
2284         get_alt_number calls.
2286 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
2288         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
2289         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
2290         try both 32bit and 64bit dynamic linker.
2291         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
2292         script on all sparc targets.
2294 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
2296         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
2297         to int.
2299 1999-07-13  Andreas Schwab  <schwab@suse.de>
2301         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
2302         inlining.  Fixes PR libc/1198.
2304 1999-07-14  Andreas Schwab  <schwab@suse.de>
2306         * Makerules (common-generated): Don't prepend $(common-objpfx).
2308 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
2310         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
2311         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
2312         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
2313         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
2314         macro.
2315         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
2316         instead of ieee754.
2317         * sysdeps/arm/Implies: Likewise.
2318         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
2319         ieee754/ldbl-96 instead of ieee754.
2320         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
2321         * sysdeps/generic/e_atanhl.c: New file.
2322         * sysdeps/generic/e_coshl.c: New file.
2323         * sysdeps/generic/e_sinhl.c: New file.
2324         * sysdeps/generic/e_gammal_r.c: New file.
2325         * sysdeps/generic/e_hypotl.c: New file.
2326         * sysdeps/generic/s_cbrtl.c: New file.
2327         * sysdeps/generic/s_asinhl.c: New file.
2328         * sysdeps/generic/s_tanhl.c: New file.
2329         * sysdeps/generic/w_expl.c: New file.
2330         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
2331         instead of ieee754.
2332         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
2333         ieee754/ldbl-96 instead of ieee754.
2334         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
2335         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
2336         printf_fphex.
2337         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
2338         instead of ieee754.
2339         * sysdeps/mips/mips64/Implies: Likewise.
2340         * sysdeps/powerpc/Implies: Likewise.
2341         * sysdeps/sparc/Implies: Remove.
2342         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
2343         ieee754/dbl-64.
2344         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
2345         and ieee754/ldbl-128.
2347         * sysdeps/sparc/bits/wordsize.h: Remove.
2348         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
2349         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
2350         only for sparc32.
2351         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
2352         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
2353         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
2354         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
2355         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
2356         support.
2358         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
2359         of carries. Optimize.
2361         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
2362         * sysdeps/generic/e_exp10.c: ...here.
2363         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
2364         * sysdeps/generic/e_exp10f.c: ...here.
2365         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
2366         * sysdeps/generic/e_exp10l.c: ...here.
2367         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
2368         * sysdeps/generic/e_scalb.c: ...here.
2369         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
2370         * sysdeps/generic/e_scalbf.c: ...here.
2371         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
2372         * sysdeps/generic/e_scalbl.c: ...here.
2373         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
2374         * sysdeps/generic/s_cacos.c: ...here.
2375         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
2376         * sysdeps/generic/s_cacosf.c: ...here.
2377         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
2378         * sysdeps/generic/s_cacosh.c: ...here.
2379         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
2380         * sysdeps/generic/s_cacoshf.c: ...here.
2381         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
2382         * sysdeps/generic/s_cacoshl.c: ...here.
2383         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
2384         * sysdeps/generic/s_cacosl.c: ...here.
2385         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
2386         * sysdeps/generic/s_casin.c: ...here.
2387         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
2388         * sysdeps/generic/s_casinf.c: ...here.
2389         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
2390         * sysdeps/generic/s_casinh.c: ...here.
2391         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
2392         * sysdeps/generic/s_casinhf.c: ...here.
2393         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
2394         * sysdeps/generic/s_casinhl.c: ...here.
2395         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
2396         * sysdeps/generic/s_casinl.c: ...here.
2397         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
2398         * sysdeps/generic/s_catan.c: ...here.
2399         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
2400         * sysdeps/generic/s_catanf.c: ...here.
2401         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
2402         * sysdeps/generic/s_catanh.c: ...here.
2403         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
2404         * sysdeps/generic/s_catanhf.c: ...here.
2405         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
2406         * sysdeps/generic/s_catanhl.c: ...here.
2407         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
2408         * sysdeps/generic/s_catanl.c: ...here.
2409         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
2410         * sysdeps/generic/s_ccos.c: ...here.
2411         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
2412         * sysdeps/generic/s_ccosf.c: ...here.
2413         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
2414         * sysdeps/generic/s_ccosh.c: ...here.
2415         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
2416         * sysdeps/generic/s_ccoshf.c: ...here.
2417         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
2418         * sysdeps/generic/s_ccoshl.c: ...here.
2419         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
2420         * sysdeps/generic/s_ccosl.c: ...here.
2421         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
2422         * sysdeps/generic/s_cexp.c: ...here.
2423         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
2424         * sysdeps/generic/s_cexpf.c: ...here.
2425         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
2426         * sysdeps/generic/s_cexpl.c: ...here.
2427         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
2428         * sysdeps/generic/s_clog.c: ...here.
2429         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
2430         * sysdeps/generic/s_clog10.c: ...here.
2431         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
2432         * sysdeps/generic/s_clog10f.c: ...here.
2433         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
2434         * sysdeps/generic/s_clog10l.c: ...here.
2435         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
2436         * sysdeps/generic/s_clogf.c: ...here.
2437         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
2438         * sysdeps/generic/s_clogl.c: ...here.
2439         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
2440         * sysdeps/generic/s_cpow.c: ...here.
2441         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
2442         * sysdeps/generic/s_cpowf.c: ...here.
2443         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
2444         * sysdeps/generic/s_cpowl.c: ...here.
2445         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
2446         * sysdeps/generic/s_cproj.c: ...here.
2447         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
2448         * sysdeps/generic/s_cprojf.c: ...here.
2449         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
2450         * sysdeps/generic/s_cprojl.c: ...here.
2451         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
2452         * sysdeps/generic/s_csin.c: ...here.
2453         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
2454         * sysdeps/generic/s_csinf.c: ...here.
2455         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
2456         * sysdeps/generic/s_csinh.c: ...here.
2457         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
2458         * sysdeps/generic/s_csinhf.c: ...here.
2459         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
2460         * sysdeps/generic/s_csinhl.c: ...here.
2461         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
2462         * sysdeps/generic/s_csinl.c: ...here.
2463         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
2464         * sysdeps/generic/s_csqrt.c: ...here.
2465         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
2466         * sysdeps/generic/s_csqrtf.c: ...here.
2467         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
2468         * sysdeps/generic/s_csqrtl.c: ...here.
2469         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
2470         * sysdeps/generic/s_ctan.c: ...here.
2471         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
2472         * sysdeps/generic/s_ctanf.c: ...here.
2473         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
2474         * sysdeps/generic/s_ctanh.c: ...here.
2475         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
2476         * sysdeps/generic/s_ctanhf.c: ...here.
2477         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
2478         * sysdeps/generic/s_ctanhl.c: ...here.
2479         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
2480         * sysdeps/generic/s_ctanl.c: ...here.
2481         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
2482         * sysdeps/generic/s_fdim.c: ...here.
2483         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
2484         * sysdeps/generic/s_fdimf.c: ...here.
2485         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
2486         * sysdeps/generic/s_fdiml.c: ...here.
2487         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
2488         * sysdeps/generic/s_fma.c: ...here.
2489         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
2490         * sysdeps/generic/s_fmaf.c: ...here.
2491         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
2492         * sysdeps/generic/s_fmal.c: ...here.
2493         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
2494         * sysdeps/generic/s_fmax.c: ...here.
2495         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
2496         * sysdeps/generic/s_fmaxf.c: ...here.
2497         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
2498         * sysdeps/generic/s_fmaxl.c: ...here.
2499         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
2500         * sysdeps/generic/s_fmin.c: ...here.
2501         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
2502         * sysdeps/generic/s_fminf.c: ...here.
2503         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
2504         * sysdeps/generic/s_fminl.c: ...here.
2505         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
2506         * sysdeps/generic/s_ldexp.c: ...here.
2507         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
2508         * sysdeps/generic/s_ldexpf.c: ...here.
2509         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
2510         * sysdeps/generic/s_ldexpl.c: ...here.
2511         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
2512         * sysdeps/generic/s_nan.c: ...here.
2513         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
2514         * sysdeps/generic/s_nanf.c: ...here.
2515         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
2516         * sysdeps/generic/s_nanl.c: ...here.
2517         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
2518         * sysdeps/generic/s_significand.c: ...here.
2519         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
2520         * sysdeps/generic/s_significandf.c: ...here.
2521         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
2522         * sysdeps/generic/s_significandl.c: ...here.
2523         Avoid conversion from int to double and then to long double.
2524         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
2525         * math/w_acos.c: ...here.
2526         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
2527         * math/w_acosf.c: ...here.
2528         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
2529         * math/w_acosh.c: ...here.
2530         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
2531         * math/w_acoshf.c: ...here.
2532         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
2533         * math/w_acoshl.c: ...here.
2534         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
2535         * math/w_acosl.c: ...here.
2536         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
2537         * math/w_asin.c: ...here.
2538         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
2539         * math/w_asinf.c: ...here.
2540         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
2541         * math/w_asinl.c: ...here.
2542         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
2543         * math/w_atan2.c: ...here.
2544         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
2545         * math/w_atan2f.c: ...here.
2546         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
2547         * math/w_atan2l.c: ...here.
2548         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
2549         * math/w_atanh.c: ...here.
2550         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
2551         * math/w_atanhf.c: ...here.
2552         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
2553         * math/w_atanhl.c: ...here.
2554         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
2555         * math/w_cosh.c: ...here.
2556         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
2557         * math/w_coshf.c: ...here.
2558         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
2559         * math/w_coshl.c: ...here.
2560         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
2561         * math/w_drem.c: ...here.
2562         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
2563         * math/w_dremf.c: ...here.
2564         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
2565         * math/w_dreml.c: ...here.
2566         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
2567         * math/w_exp10.c: ...here.
2568         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
2569         * math/w_exp10f.c: ...here.
2570         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
2571         * math/w_exp10l.c: ...here.
2572         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
2573         * math/w_exp2.c: ...here.
2574         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
2575         * math/w_exp2f.c: ...here.
2576         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
2577         * math/w_exp2l.c: ...here.
2578         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
2579         * math/w_fmod.c: ...here.
2580         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
2581         * math/w_fmodf.c: ...here.
2582         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
2583         * math/w_fmodl.c: ...here.
2584         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
2585         * math/w_hypot.c: ...here.
2586         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
2587         * math/w_hypotf.c: ...here.
2588         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
2589         * math/w_hypotl.c: ...here.
2590         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
2591         * math/w_j0.c: ...here.
2592         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
2593         * math/w_j0f.c: ...here.
2594         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
2595         * math/w_j0l.c: ...here.
2596         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
2597         * math/w_j1.c: ...here.
2598         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
2599         * math/w_j1f.c: ...here.
2600         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
2601         * math/w_j1l.c: ...here.
2602         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
2603         * math/w_jn.c: ...here.
2604         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
2605         * math/w_jnf.c: ...here.
2606         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
2607         * math/w_jnl.c: ...here.
2608         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
2609         * math/w_lgamma.c: ...here.
2610         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
2611         * math/w_lgamma_r.c: ...here.
2612         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
2613         * math/w_lgammaf.c: ...here.
2614         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
2615         * math/w_lgammaf_r.c: ...here.
2616         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
2617         * math/w_lgammal.c: ...here.
2618         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
2619         * math/w_lgammal_r.c: ...here.
2620         * sysdeps/libm-ieee754/w_log.c: Moved to ...
2621         * math/w_log.c: ...here.
2622         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
2623         * math/w_log10.c: ...here.
2624         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
2625         * math/w_log10f.c: ...here.
2626         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
2627         * math/w_log10l.c: ...here.
2628         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
2629         * math/w_logf.c: ...here.
2630         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
2631         * math/w_logl.c: ...here.
2632         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
2633         * math/w_pow.c: ...here.
2634         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
2635         * math/w_powf.c: ...here.
2636         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
2637         * math/w_powl.c: ...here.
2638         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
2639         * math/w_remainder.c: ...here.
2640         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
2641         * math/w_remainderf.c: ...here.
2642         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
2643         * math/w_remainderl.c: ...here.
2644         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
2645         * math/w_scalb.c: ...here.
2646         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
2647         * math/w_scalbf.c: ...here.
2648         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
2649         * math/w_scalbl.c: ...here.
2650         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
2651         * math/w_sinh.c: ...here.
2652         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
2653         * math/w_sinhf.c: ...here.
2654         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
2655         * math/w_sinhl.c: ...here.
2656         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
2657         * math/w_sqrt.c: ...here.
2658         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
2659         * math/w_sqrtf.c: ...here.
2660         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
2661         * math/w_sqrtl.c: ...here.
2662         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
2663         * math/w_tgamma.c: ...here.
2664         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
2665         * math/w_tgammaf.c: ...here.
2666         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
2667         * math/w_tgammal.c: ...here.
2668         * sysdeps/libm-i387/e_acos.S: Moved to ...
2669         * sysdeps/i386/fpu/e_acos.S: ...here.
2670         * sysdeps/libm-i387/e_acosf.S: Moved to ...
2671         * sysdeps/i386/fpu/e_acosf.S: ...here.
2672         * sysdeps/libm-i387/e_acosh.S: Moved to ...
2673         * sysdeps/i386/fpu/e_acosh.S: ...here.
2674         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
2675         * sysdeps/i386/fpu/e_acoshf.S: ...here.
2676         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
2677         * sysdeps/i386/fpu/e_acoshl.S: ...here.
2678         * sysdeps/libm-i387/e_acosl.S: Moved to ...
2679         * sysdeps/i386/fpu/e_acosl.S: ...here.
2680         * sysdeps/libm-i387/e_asin.S: Moved to ...
2681         * sysdeps/i386/fpu/e_asin.S: ...here.
2682         * sysdeps/libm-i387/e_asinf.S: Moved to ...
2683         * sysdeps/i386/fpu/e_asinf.S: ...here.
2684         * sysdeps/libm-i387/e_asinl.S: Moved to ...
2685         * sysdeps/i386/fpu/e_asinl.S: ...here.
2686         * sysdeps/libm-i387/e_atan2.S: Moved to ...
2687         * sysdeps/i386/fpu/e_atan2.S: ...here.
2688         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
2689         * sysdeps/i386/fpu/e_atan2f.S: ...here.
2690         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
2691         * sysdeps/i386/fpu/e_atan2l.S: ...here.
2692         * sysdeps/libm-i387/e_atanh.S: Moved to ...
2693         * sysdeps/i386/fpu/e_atanh.S: ...here.
2694         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
2695         * sysdeps/i386/fpu/e_atanhf.S: ...here.
2696         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
2697         * sysdeps/i386/fpu/e_atanhl.S: ...here.
2698         * sysdeps/libm-i387/e_exp.S: Moved to ...
2699         * sysdeps/i386/fpu/e_exp.S: ...here.
2700         * sysdeps/libm-i387/e_exp10.S: Moved to ...
2701         * sysdeps/i386/fpu/e_exp10.S: ...here.
2702         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
2703         * sysdeps/i386/fpu/e_exp10f.S: ...here.
2704         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
2705         * sysdeps/i386/fpu/e_exp10l.S: ...here.
2706         * sysdeps/libm-i387/e_expf.S: Moved to ...
2707         * sysdeps/i386/fpu/e_expf.S: ...here.
2708         * sysdeps/libm-i387/e_expl.S: Moved to ...
2709         * sysdeps/i386/fpu/e_expl.S: ...here.
2710         * sysdeps/libm-i387/e_fmod.S: Moved to ...
2711         * sysdeps/i386/fpu/e_fmod.S: ...here.
2712         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
2713         * sysdeps/i386/fpu/e_fmodf.S: ...here.
2714         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
2715         * sysdeps/i386/fpu/e_fmodl.S: ...here.
2716         * sysdeps/libm-i387/e_hypot.S: Moved to ...
2717         * sysdeps/i386/fpu/e_hypot.S: ...here.
2718         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
2719         * sysdeps/i386/fpu/e_hypotf.S: ...here.
2720         * sysdeps/libm-i387/e_log.S: Moved to ...
2721         * sysdeps/i386/fpu/e_log.S: ...here.
2722         * sysdeps/libm-i387/e_log10.S: Moved to ...
2723         * sysdeps/i386/fpu/e_log10.S: ...here.
2724         * sysdeps/libm-i387/e_log10f.S: Moved to ...
2725         * sysdeps/i386/fpu/e_log10f.S: ...here.
2726         * sysdeps/libm-i387/e_log10l.S: Moved to ...
2727         * sysdeps/i386/fpu/e_log10l.S: ...here.
2728         * sysdeps/libm-i387/e_logf.S: Moved to ...
2729         * sysdeps/i386/fpu/e_logf.S: ...here.
2730         * sysdeps/libm-i387/e_logl.S: Moved to ...
2731         * sysdeps/i386/fpu/e_logl.S: ...here.
2732         * sysdeps/libm-i387/e_pow.S: Moved to ...
2733         * sysdeps/i386/fpu/e_pow.S: ...here.
2734         * sysdeps/libm-i387/e_powf.S: Moved to ...
2735         * sysdeps/i386/fpu/e_powf.S: ...here.
2736         * sysdeps/libm-i387/e_powl.S: Moved to ...
2737         * sysdeps/i386/fpu/e_powl.S: ...here.
2738         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
2739         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
2740         * sysdeps/libm-i387/e_remainder.S: Moved to ...
2741         * sysdeps/i386/fpu/e_remainder.S: ...here.
2742         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
2743         * sysdeps/i386/fpu/e_remainderf.S: ...here.
2744         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
2745         * sysdeps/i386/fpu/e_remainderl.S: ...here.
2746         * sysdeps/libm-i387/e_scalb.S: Moved to ...
2747         * sysdeps/i386/fpu/e_scalb.S: ...here.
2748         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
2749         * sysdeps/i386/fpu/e_scalbf.S: ...here.
2750         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
2751         * sysdeps/i386/fpu/e_scalbl.S: ...here.
2752         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
2753         * sysdeps/i386/fpu/e_sqrt.S: ...here.
2754         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
2755         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
2756         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
2757         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
2758         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
2759         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
2760         * sysdeps/libm-i387/s_asinh.S: Moved to ...
2761         * sysdeps/i386/fpu/s_asinh.S: ...here.
2762         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
2763         * sysdeps/i386/fpu/s_asinhf.S: ...here.
2764         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
2765         * sysdeps/i386/fpu/s_asinhl.S: ...here.
2766         * sysdeps/libm-i387/s_atan.S: Moved to ...
2767         * sysdeps/i386/fpu/s_atan.S: ...here.
2768         * sysdeps/libm-i387/s_atanf.S: Moved to ...
2769         * sysdeps/i386/fpu/s_atanf.S: ...here.
2770         * sysdeps/libm-i387/s_atanl.S: Moved to ...
2771         * sysdeps/i386/fpu/s_atanl.S: ...here.
2772         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
2773         * sysdeps/i386/fpu/s_cbrt.S: ...here.
2774         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
2775         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
2776         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
2777         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
2778         * sysdeps/libm-i387/s_ceil.S: Moved to ...
2779         * sysdeps/i386/fpu/s_ceil.S: ...here.
2780         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
2781         * sysdeps/i386/fpu/s_ceilf.S: ...here.
2782         * sysdeps/libm-i387/s_ceill.S: Moved to ...
2783         * sysdeps/i386/fpu/s_ceill.S: ...here.
2784         * sysdeps/libm-i387/s_cexp.S: Moved to ...
2785         * sysdeps/i386/fpu/s_cexp.S: ...here.
2786         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
2787         * sysdeps/i386/fpu/s_cexpf.S: ...here.
2788         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
2789         * sysdeps/i386/fpu/s_cexpl.S: ...here.
2790         * sysdeps/libm-i387/s_copysign.S: Moved to ...
2791         * sysdeps/i386/fpu/s_copysign.S: ...here.
2792         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
2793         * sysdeps/i386/fpu/s_copysignf.S: ...here.
2794         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
2795         * sysdeps/i386/fpu/s_copysignl.S: ...here.
2796         * sysdeps/libm-i387/s_cos.S: Moved to ...
2797         * sysdeps/i386/fpu/s_cos.S: ...here.
2798         * sysdeps/libm-i387/s_cosf.S: Moved to ...
2799         * sysdeps/i386/fpu/s_cosf.S: ...here.
2800         * sysdeps/libm-i387/s_cosl.S: Moved to ...
2801         * sysdeps/i386/fpu/s_cosl.S: ...here.
2802         * sysdeps/libm-i387/s_exp2.S: Moved to ...
2803         * sysdeps/i386/fpu/s_exp2.S: ...here.
2804         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
2805         * sysdeps/i386/fpu/s_exp2f.S: ...here.
2806         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
2807         * sysdeps/i386/fpu/s_exp2l.S: ...here.
2808         * sysdeps/libm-i387/s_expm1.S: Moved to ...
2809         * sysdeps/i386/fpu/s_expm1.S: ...here.
2810         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
2811         * sysdeps/i386/fpu/s_expm1f.S: ...here.
2812         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
2813         * sysdeps/i386/fpu/s_expm1l.S: ...here.
2814         * sysdeps/libm-i387/s_fdim.S: Moved to ...
2815         * sysdeps/i386/fpu/s_fdim.S: ...here.
2816         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
2817         * sysdeps/i386/fpu/s_fdimf.S: ...here.
2818         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
2819         * sysdeps/i386/fpu/s_fdiml.S: ...here.
2820         * sysdeps/libm-i387/s_finite.S: Moved to ...
2821         * sysdeps/i386/fpu/s_finite.S: ...here.
2822         * sysdeps/libm-i387/s_finitef.S: Moved to ...
2823         * sysdeps/i386/fpu/s_finitef.S: ...here.
2824         * sysdeps/libm-i387/s_finitel.S: Moved to ...
2825         * sysdeps/i386/fpu/s_finitel.S: ...here.
2826         * sysdeps/libm-i387/s_floor.S: Moved to ...
2827         * sysdeps/i386/fpu/s_floor.S: ...here.
2828         * sysdeps/libm-i387/s_floorf.S: Moved to ...
2829         * sysdeps/i386/fpu/s_floorf.S: ...here.
2830         * sysdeps/libm-i387/s_floorl.S: Moved to ...
2831         * sysdeps/i386/fpu/s_floorl.S: ...here.
2832         * sysdeps/libm-i387/s_fma.S: Moved to ...
2833         * sysdeps/i386/fpu/s_fma.S: ...here.
2834         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
2835         * sysdeps/i386/fpu/s_fmaf.S: ...here.
2836         * sysdeps/libm-i387/s_fmal.S: Moved to ...
2837         * sysdeps/i386/fpu/s_fmal.S: ...here.
2838         * sysdeps/libm-i387/s_fmax.S: Moved to ...
2839         * sysdeps/i386/fpu/s_fmax.S: ...here.
2840         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
2841         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
2842         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
2843         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
2844         * sysdeps/libm-i387/s_fmin.S: Moved to ...
2845         * sysdeps/i386/fpu/s_fmin.S: ...here.
2846         * sysdeps/libm-i387/s_fminf.S: Moved to ...
2847         * sysdeps/i386/fpu/s_fminf.S: ...here.
2848         * sysdeps/libm-i387/s_fminl.S: Moved to ...
2849         * sysdeps/i386/fpu/s_fminl.S: ...here.
2850         * sysdeps/libm-i387/s_frexp.S: Moved to ...
2851         * sysdeps/i386/fpu/s_frexp.S: ...here.
2852         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
2853         * sysdeps/i386/fpu/s_frexpf.S: ...here.
2854         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
2855         * sysdeps/i386/fpu/s_frexpl.S: ...here.
2856         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
2857         * sysdeps/i386/fpu/s_ilogb.S: ...here.
2858         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
2859         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
2860         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
2861         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
2862         * sysdeps/libm-i387/s_llrint.S: Moved to ...
2863         * sysdeps/i386/fpu/s_llrint.S: ...here.
2864         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
2865         * sysdeps/i386/fpu/s_llrintf.S: ...here.
2866         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
2867         * sysdeps/i386/fpu/s_llrintl.S: ...here.
2868         * sysdeps/libm-i387/s_log1p.S: Moved to ...
2869         * sysdeps/i386/fpu/s_log1p.S: ...here.
2870         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
2871         * sysdeps/i386/fpu/s_log1pf.S: ...here.
2872         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
2873         * sysdeps/i386/fpu/s_log1pl.S: ...here.
2874         * sysdeps/libm-i387/s_log2.S: Moved to ...
2875         * sysdeps/i386/fpu/s_log2.S: ...here.
2876         * sysdeps/libm-i387/s_log2f.S: Moved to ...
2877         * sysdeps/i386/fpu/s_log2f.S: ...here.
2878         * sysdeps/libm-i387/s_log2l.S: Moved to ...
2879         * sysdeps/i386/fpu/s_log2l.S: ...here.
2880         * sysdeps/libm-i387/s_logb.S: Moved to ...
2881         * sysdeps/i386/fpu/s_logb.S: ...here.
2882         * sysdeps/libm-i387/s_logbf.S: Moved to ...
2883         * sysdeps/i386/fpu/s_logbf.S: ...here.
2884         * sysdeps/libm-i387/s_logbl.S: Moved to ...
2885         * sysdeps/i386/fpu/s_logbl.S: ...here.
2886         * sysdeps/libm-i387/s_lrint.S: Moved to ...
2887         * sysdeps/i386/fpu/s_lrint.S: ...here.
2888         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
2889         * sysdeps/i386/fpu/s_lrintf.S: ...here.
2890         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
2891         * sysdeps/i386/fpu/s_lrintl.S: ...here.
2892         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
2893         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
2894         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
2895         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
2896         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
2897         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
2898         * sysdeps/libm-i387/s_remquo.S: Moved to ...
2899         * sysdeps/i386/fpu/s_remquo.S: ...here.
2900         * sysdeps/libm-i387/s_remquof.S: Moved to ...
2901         * sysdeps/i386/fpu/s_remquof.S: ...here.
2902         * sysdeps/libm-i387/s_remquol.S: Moved to ...
2903         * sysdeps/i386/fpu/s_remquol.S: ...here.
2904         * sysdeps/libm-i387/s_rint.S: Moved to ...
2905         * sysdeps/i386/fpu/s_rint.S: ...here.
2906         * sysdeps/libm-i387/s_rintf.S: Moved to ...
2907         * sysdeps/i386/fpu/s_rintf.S: ...here.
2908         * sysdeps/libm-i387/s_rintl.S: Moved to ...
2909         * sysdeps/i386/fpu/s_rintl.S: ...here.
2910         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
2911         * sysdeps/i386/fpu/s_scalbn.S: ...here.
2912         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
2913         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
2914         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
2915         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
2916         * sysdeps/libm-i387/s_significand.S: Moved to ...
2917         * sysdeps/i386/fpu/s_significand.S: ...here.
2918         * sysdeps/libm-i387/s_significandf.S: Moved to ...
2919         * sysdeps/i386/fpu/s_significandf.S: ...here.
2920         * sysdeps/libm-i387/s_significandl.S: Moved to ...
2921         * sysdeps/i386/fpu/s_significandl.S: ...here.
2922         * sysdeps/libm-i387/s_sin.S: Moved to ...
2923         * sysdeps/i386/fpu/s_sin.S: ...here.
2924         * sysdeps/libm-i387/s_sincos.S: Moved to ...
2925         * sysdeps/i386/fpu/s_sincos.S: ...here.
2926         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
2927         * sysdeps/i386/fpu/s_sincosf.S: ...here.
2928         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
2929         * sysdeps/i386/fpu/s_sincosl.S: ...here.
2930         * sysdeps/libm-i387/s_sinf.S: Moved to ...
2931         * sysdeps/i386/fpu/s_sinf.S: ...here.
2932         * sysdeps/libm-i387/s_sinl.S: Moved to ...
2933         * sysdeps/i386/fpu/s_sinl.S: ...here.
2934         * sysdeps/libm-i387/s_tan.S: Moved to ...
2935         * sysdeps/i386/fpu/s_tan.S: ...here.
2936         * sysdeps/libm-i387/s_tanf.S: Moved to ...
2937         * sysdeps/i386/fpu/s_tanf.S: ...here.
2938         * sysdeps/libm-i387/s_tanl.S: Moved to ...
2939         * sysdeps/i386/fpu/s_tanl.S: ...here.
2940         * sysdeps/libm-i387/s_trunc.S: Moved to ...
2941         * sysdeps/i386/fpu/s_trunc.S: ...here.
2942         * sysdeps/libm-i387/s_truncf.S: Moved to ...
2943         * sysdeps/i386/fpu/s_truncf.S: ...here.
2944         * sysdeps/libm-i387/s_truncl.S: Moved to ...
2945         * sysdeps/i386/fpu/s_truncl.S: ...here.
2946         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
2947         * sysdeps/ieee754/k_standard.c: ...here.
2948         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
2949         * sysdeps/ieee754/s_lib_version.c: ...here.
2950         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
2951         * sysdeps/ieee754/s_matherr.c: ...here.
2952         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
2953         * sysdeps/ieee754/s_signgam.c: ...here.
2954         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
2955         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
2956         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
2957         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
2958         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
2959         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
2960         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
2961         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
2962         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
2963         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
2964         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
2965         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
2966         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
2967         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
2968         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
2969         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
2970         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
2971         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
2972         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
2973         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
2974         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
2975         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
2976         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
2977         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
2978         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
2979         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
2980         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
2981         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
2982         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
2983         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
2984         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
2985         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
2986         * sysdeps/libm-ieee754/e_log.c: Moved to ...
2987         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
2988         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
2989         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
2990         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
2991         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
2992         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
2993         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
2994         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
2995         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
2996         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
2997         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
2998         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
2999         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
3000         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
3001         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
3002         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
3003         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
3004         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
3005         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
3006         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
3007         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
3008         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
3009         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
3010         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
3011         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
3012         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
3013         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
3014         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
3015         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
3016         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
3017         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
3018         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
3019         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
3020         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
3021         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
3022         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
3023         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
3024         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
3025         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
3026         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
3027         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
3028         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
3029         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
3030         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
3031         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
3032         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
3033         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
3034         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
3035         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
3036         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
3037         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
3038         (__isnan): Comment above function says it returns 0 or 1, but it
3039         used to return 0 or -1.
3040         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
3041         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
3042         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
3043         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
3044         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
3045         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
3046         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
3047         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
3048         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
3049         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
3050         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
3051         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
3052         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
3053         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
3054         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
3055         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
3056         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
3057         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
3058         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
3059         * sysdeps/generic/s_nextafter.c: ...here.
3060         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
3061         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
3062         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
3063         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
3064         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
3065         * sysdeps/libm-ieee754/s_round.c: Moved to ...
3066         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
3067         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
3068         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
3069         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
3070         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
3071         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
3072         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
3073         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
3074         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
3075         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
3076         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
3077         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
3078         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
3079         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
3080         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
3081         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
3082         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
3083         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
3084         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
3085         * sysdeps/ieee754/mpn2flt.c: Moved to ...
3086         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
3087         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
3088         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
3089         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
3090         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
3091         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
3092         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
3093         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
3094         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
3095         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
3096         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
3097         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
3098         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
3099         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
3100         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
3101         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
3102         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
3103         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
3104         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
3105         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
3106         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
3107         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
3108         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
3109         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
3110         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
3111         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
3112         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
3113         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
3114         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
3115         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
3116         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
3117         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
3118         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
3119         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
3120         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
3121         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
3122         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
3123         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
3124         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
3125         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
3126         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
3127         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
3128         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
3129         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
3130         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
3131         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
3132         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
3133         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
3134         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
3135         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
3136         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
3137         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
3138         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
3139         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
3140         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
3141         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
3142         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
3143         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
3144         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
3145         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
3146         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
3147         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
3148         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
3149         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
3150         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
3151         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
3152         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
3153         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
3154         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
3155         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
3156         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
3157         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
3158         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
3159         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
3160         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
3161         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
3162         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
3163         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
3164         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
3165         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
3166         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
3167         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
3168         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
3169         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
3170         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
3171         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
3172         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
3173         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
3174         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
3175         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
3176         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
3177         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
3178         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
3179         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
3180         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
3181         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
3182         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
3183         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
3184         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
3185         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
3186         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
3187         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
3188         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
3189         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
3190         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
3191         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
3192         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
3193         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
3194         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
3195         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
3196         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
3197         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
3198         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
3199         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
3200         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
3201         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
3202         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
3203         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
3204         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
3205         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
3206         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
3207         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
3208         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
3209         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
3210         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
3211         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
3212         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
3213         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
3214         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
3215         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
3216         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
3217         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
3218         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
3219         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
3220         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
3221         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
3222         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
3223         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
3224         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
3225         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
3226         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
3227         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
3228         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
3229         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
3230         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
3231         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
3232         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
3233         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
3234         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
3235         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
3236         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
3237         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
3238         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
3239         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
3240         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
3241         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
3242         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
3243         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
3244         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
3245         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
3246         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
3247         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
3248         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
3249         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
3250         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
3251         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
3252         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
3253         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
3254         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
3255         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
3256         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
3257         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
3258         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
3259         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
3260         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
3261         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
3262         INSERT_WORDS.
3263         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
3264         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
3265         (__nearbyintl): Fix for exponents 2^30.
3266         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
3267         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
3268         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
3269         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
3270         (__rintl): Fix for exponents 2^30.
3271         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
3272         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
3273         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
3274         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
3275         (__scalbnl): Fix exponent for subnormal result.
3276         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
3277         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
3278         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
3279         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
3280         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
3281         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
3282         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
3283         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
3284         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
3285         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
3286         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
3287         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
3288         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
3289         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
3290         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
3291         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
3292         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
3293         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
3294         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
3295         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
3296         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
3297         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
3298         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
3299         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
3300         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
3301         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
3302         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
3303         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
3304         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
3305         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
3306         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
3307         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
3308         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
3309         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
3310         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
3311         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
3312         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
3313         * sysdeps/i386/fpu/s_scalbln.c: ...here.
3314         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
3315         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
3316         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
3317         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
3318         * sysdeps/libm-i387/t_exp.c: Moved to ...
3319         * sysdeps/i386/fpu/t_exp.c: ...here.
3320         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
3321         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
3322         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
3323         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
3324         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
3325         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
3326         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
3327         * sysdeps/i386/fpu/s_isinfl.c: ...here.
3328         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
3329         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
3330         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
3331         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
3332         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
3333         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
3334         Fix exponent for subnormal result.
3335         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
3336         * sysdeps/generic/s_nexttowardl.c: ...here.
3337         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
3338         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
3339         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
3340         * sysdeps/i386/fpu/s_isnanl.c: ...here.
3341         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
3342         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
3343         Comment above function says it returns 0 or 1, but it used to return
3344         0 or -1.
3345         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
3346         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
3347         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
3348         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
3349         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
3350         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
3351         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
3352         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
3353         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
3354         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
3355         Cannot compare exponents with different biases without adjusting.
3356         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
3357         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
3358         Cannot compare exponents with different biases without adjusting.
3359         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
3360         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
3361         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
3362         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
3363         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
3364         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
3365         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
3366         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
3367         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
3368         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
3369         * sysdeps/libm-ieee754/Dist: Split into ...
3370         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
3371         * sysdeps/ieee754/flt-32/Dist: ...this file.
3373         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
3374         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
3375         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
3376         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
3377         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
3378         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
3379         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
3380         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
3381         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
3382         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
3383         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
3384         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
3385         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
3386         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
3387         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
3388         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
3389         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
3390         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
3391         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
3392         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
3393         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
3394         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
3395         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
3396         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
3397         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
3398         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
3399         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
3400         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
3401         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
3402         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
3403         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
3404         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
3405         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
3406         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
3407         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
3408         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
3409         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
3410         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
3411         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
3412         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
3413         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
3414         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
3415         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
3416         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
3417         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
3418         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
3419         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
3421         * sysdeps/generic/math_ldbl.h: New file.
3422         * sysdeps/generic/s_nexttowardf.c: New file.
3423         * sysdeps/generic/strtold.c: New file.
3424         * sysdeps/generic/ldbl2mpn.c: New file.
3426         * math/machine/endian.h: Remove.
3427         * sysdeps/i386/fpu/Implies: Remove.
3428         * sysdeps/ieee754/Implies: Remove.
3430         * math/math_private.h: Move long double macros to math_ldbl.h
3431         header.
3433 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
3435         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
3436         connections without a hostname set address to localhost address.
3438 1999-07-11  H.J. Lu  <hjl@gnu.org>
3440         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
3441         nscd's own strong version of the get[a-z]*_r function.
3442         * nscd/hstcache.c: Likewise.
3443         * nscd/pwdcache.c: Likewise.
3445 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
3447         * configure.in: Recognize 2.95 as gcc version number.
3448         Patch by Joel Klecker <jk@espy.org>.
3450 1999-07-12  Andreas Schwab  <schwab@suse.de>
3452         * elf/rtld.c (dl_main): When putting back the interpreter object
3453         handle the case where a missing object might occur in the list of
3454         objects but not in the search list when in trace mode.
3456 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
3458         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
3459         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
3460         _nss_hesiod_initgroups.
3462 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
3464         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
3465         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
3466         Initialize it from &__data_start if defined, or else &_end.
3468 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
3470         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
3471         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
3473 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
3475         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
3477 1999-07-09  H.J. Lu  <hjl@gnu.org>
3479         * Versions.def (GLIBC_2.1.2): Added.
3481         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
3482         old one as GLIBC_2.0.
3483         * nss/getXXbyYY_r.c: Likewise.
3485         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
3486         GLIBC_2.1.2.
3487         * inet/Versions (getaliasbyname_r, getaliasent_r,
3488         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
3489         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
3490         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
3491         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
3492         getservbyname_r): Likewise.
3493         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
3494         * shadow/Versions (getspent_r, getspnam_r): Likewise.
3496 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
3498         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
3499         compilers.
3500         (__memset_cc): Likewise.
3502         * sysdeps/generic/libc-start.c: For SUID binaries check whether
3503         the standard file descriptors are open.
3504         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
3506         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
3507         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
3508         range of mmap.  If not fail.
3509         Patches by Daniel Jacobowitz <dan@debian.org>.
3511         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
3512         before the relocation happened.
3513         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3515         * Versions.def (libnsl): Add GLIBC_2.2.
3516         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
3518 1999-07-08  Cristian Gafton  <gafton@redhat.com>
3520         * nis/yp_xdr.c (xdr_ypall): New function.
3522 1999-07-09  Andreas Schwab  <schwab@suse.de>
3524         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
3526         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
3528 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
3530         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
3531         * hesiod/hesiod-grp.c: Add initgroups support.
3532         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
3534 1999-07-08  Andreas Schwab  <schwab@suse.de>
3536         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
3538         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
3539         negative numbers.
3541         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
3542         EOF.
3543         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
3545 1999-07-08  Andreas Schwab  <schwab@suse.de>
3547         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
3549 1999-07-08  Andreas Schwab  <schwab@suse.de>
3551         * libio/fileno.c: Return -1 instead of EOF and set errno if the
3552         stream is not a real file stream.
3554 1999-07-08  Andreas Schwab  <schwab@suse.de>
3556         * manual/charset.texi: Fix typos.
3558 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
3560         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
3562 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
3564         * dlfcn: New directory.  Move the following files from elf:
3565         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
3566         dlopenold.c, dlsym.c, dlvsym.c.
3567         * dlfcn/Makefile: New file.
3568         * dlfcn/Versions: New file.
3569         * dlfcn/dlsym.c: All ELF-specific code split out to new
3570         function _dl_sym.
3571         * dlfcn/dlvsym.c: All ELF-specific code split out to new
3572         function _dl_vsym.
3573         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
3574         implemented here.
3576         * dlfcn/dladdr.c: Remove all references to ELF data structures
3577         or headers.
3578         * dlfcn/dlclose.c: Likewise.
3579         * dlfcn/dlerror.c: Likewise.
3580         * dlfcn/dlopen.c: Likewise.
3581         * dlfcn/dlopenold.c: Likewise.
3583         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
3584         yes, empty otherwise.
3585         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
3586         depending on build-shared.
3587         (subdirs): Add $(dlfcn).
3588         (rpath-dirs): Add dlfcn.
3589         * elf/Makefile: Remove all references to libdl or its
3590         components, except the ones relating to the test cases.
3591         (routines): Add dl-sym.
3592         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
3593         (libdl): Delete.
3595         * elf/dl-close.c (_dl_close): Change argument to void *.
3596         * elf/dl-open.c (_dl_open): Change return type to void *.
3597         * elf/eval.c: Removed.
3598         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
3599         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
3600         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
3601         _CALL_DL_FCT macro.
3602         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
3603         Include real header from dlfcn directory.
3604         * include/ldsodefs.h: Removed.
3606         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
3607         * nss/getXXbyYY_r.c: Likewise.
3608         * nss/getXXent_r.c: Likewise.
3609         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
3610         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
3611         * iconv/skeleton.c: Don't include ldsodefs.h.
3612         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
3614 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
3616         * sysdeps/generic/setenv.c: Describe problem.
3618         * malloc/malloc.c (request2size): Also set errno if failing.
3620         * malloc/malloc.c (request2size): Take care of overflow in
3621         addition.
3623         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
3624         (NULL, != 0) correctly.
3626         * elf/dl-load.c: Use a few more __builtin_expect.
3628         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
3629         is large enough.
3631 1999-07-07  Andreas Schwab  <schwab@suse.de>
3633         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
3634         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
3635         (_PATH_DEVPTMX): Use _PATH_DEV.
3637 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3639         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
3640         * malloc/Makefile (tests): Add tst-malloc.
3642 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
3644         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
3645         convention.
3647         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
3648         motherboards.
3649         Patch by Jay Estabrook.
3651         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
3652         ldd for SPARC.
3653         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
3654         Patch by Cristian Gafton.
3656 1999-07-02  Cristian Gafton  <gafton@redhat.com>
3658         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
3659         instead of "return NULL" to make C++ happy.
3661 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
3663         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
3664         allowed by the file access mode of the open file.
3666 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
3668         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
3669         macros defined.
3671 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
3673         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
3674         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
3675         * sysdeps/sparc/sparc64/rshift.S: Likewise.
3676         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
3678 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3680         * malloc/malloc.c (request2size): Check for overflow and return
3681         NULL whenever it is encountered.
3683 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
3685         * sysdeps/posix/tempname.c (__gen_tempname):   Add
3686         ability to create directories.  Replace OPENIT and LARGEFILE
3687         args with a single flags parameter.
3688         * sysdeps/generic/tempname.c: Likewise.
3689         * include/stdio.h: Adjust prototype of __gen_tempname to
3690         match.  Define symbolic constants for second argument.
3692         * misc/mkdtemp.c: New file, provides new function mkdtemp().
3693         * stdlib/stdlib.h: Prototype it.
3694         * misc/Versions: Export it.
3695         * misc/Makefile (routines): Add mktemp.
3696         * manual/filesys.texi: Document it.
3698         * misc/mktemp.c: Adjust call of __gen_tempname to match new
3699         convention.
3700         * misc/mkstemp.c: Likewise.
3701         * stdio-common/tempnam.c: Likewise.
3702         * stdio-common/tmpfile.c: Likewise.
3703         * stdio-common/tmpfile64.c: Likewise.
3704         * stdio-common/tmpnam.c: Likewise.
3705         * stdio-common/tmpnam_r.c: Likewise.
3707 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
3709         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
3710         R_SPARC_OLO10 relocations.
3711         * elf/elf.h (R_SPARC_OLO10): Fix comment.
3713 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
3715         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
3716         doesn't belong in the tests, but in the wordexp implementation.
3718         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
3719         split fields.
3721 1999-07-01  Cristian Gafton  <gafton@redhat.com>
3723         * time/strptime.c (strptime): Initialize the tm struct first to avoid
3724         returning bogus results on incomplete data.
3725         (strptime_internal): day_of_the_week() requres bith tm_mon and
3726         tm_mday to be initializaed.
3727         Computer them first if they are not given.
3728         (strptime_internal): (have_mon, have_mday): New variables.
3730 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3732         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
3734 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3736         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
3737         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3739 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3741         * posix/wordexp.c (parse_tilde): Handle failing call to
3742         get.*_r functions correctly for non-existing entry.
3743         * sysdeps/posix/cuserid.c (cuserid): Likewise.
3744         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
3746 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
3748         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
3749         getxxbyYY_r functions correctly for non-existing entry.
3750         * sunrpc/getrpcport.c: Likewise.
3751         * sunrpc/clnt_simp.c: Likewise.
3752         * inet/rexec.c: Likewise.
3753         * sunrpc/clnt_gen.c: Likewise.
3754         * inet/rcmd.c: Likewise.
3755         * sysdeps/generic/glob.c: Likewise.
3757 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3759         * pwd/Makefile (tests): Add rules for tst-getpw.
3761         * pwd/tst-getpw.c: New program to test getpw.
3763 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3765         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
3766         correctly.
3768 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3770         * manual/arith.texi (System V Number Conversion): Fix the
3771         description which confused pointer and value to pointer.
3772         Reported by Andries.Brouwer@cwi.nl.
3774 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3776         * pwd/getpw.c (__getpw): Check for NULL result pointer.
3778 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3780         * manual/users.texi (Lookup User): Document POSIX return
3781         semantics for getpwuid_r and getgrgid_r.
3783         * manual/socket.texi (Host Names): Document that the result
3784         pointer is null in case of error or host not found and fix a
3785         typo.  Give a small example.
3787 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
3789         * pwd/getpw.c: Add warning since no buffer size is given and
3790         therefore no overrun tests are possible.
3792 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3794         * pwd/pwd.h: Add getpw prototype declaration.
3796 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
3798         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
3799         * wcsmbs/wcschr.c: Likewise.
3801 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
3803         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
3804         returns.
3805         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
3806         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
3807         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
3809         * elf/dl-dst.h: Fix typo.
3810         * elf/dl-open.c: Likewise.
3812 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
3814         * elf/dl-libc.c: New file, provides three functions:
3815         __libc_dlopen, __libc_dlclose, __libc_dlsym.
3816         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
3817         * elf/Makefile (routines): Add dl-libc.c.
3818         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
3819         argument to void *.
3820         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
3822         * iconv/gconv.c: Include dlfcn.h.
3823         * iconv/gconv_db.c: Likewise.
3824         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
3826         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
3827         `handle' to a void *.
3828         (__gconv_find_func): Delete prototype.
3830         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
3831         dlerror_run and related functions and structs.  Use
3832         __libc_dlopen, __libc_dlsym, __libc_dlclose.
3833         * nss/nsswitch.c: Likewise.
3835 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
3837         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
3838         function correctly.
3840         * sunrpc/getrpcport.c: Test for gethostbyname_r function
3841         correctly.
3843         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
3845         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
3846         functions correctly.
3848         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
3850         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
3851         file reading a bit.
3853         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
3855 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3857         * manual/string.texi (Copying and Concatenation): Mention that
3858         strndup is a GNU extension.
3860 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3862         * pwd/getpw.c (__getpw): Fix check for error return.
3864 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3866         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
3867         occurence of the aux object start with the current list entry, not
3868         the new one.  Adjust tail pointer in the unique list.  Explain how
3869         the meaning of the variables changes [PR libc/1168].
3871 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3873         * sysdeps/m68k/fpu/Dist: New file.
3875 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3877         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
3878         definitions...
3879         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
3880         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
3881         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
3882         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
3883         * sysdeps/m68k/fpu/e_pow.c: Likewise.
3884         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
3885         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
3886         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
3887         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
3888         * sysdeps/m68k/fpu/s_csin.c: Likewise.
3889         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
3890         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
3891         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
3892         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
3893         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
3894         * sysdeps/m68k/fpu/s_modf.c: Likewise.
3896 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
3898         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
3899         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
3900         _EXTERN_INLINE, use a macro specific to each file,
3901         _HURD_FD_H_EXTERN_INLINE and the like.
3902         * hurd/Makefile (inline-headers): New variable.
3903         (routines): Remove hurdinline.  Add $(inlines).
3904         (inlines): New variable.
3905         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
3906         (generated): Append those here.
3907         * hurd/hurdinline.c: File removed.
3909         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
3911         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
3913 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3915         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
3917 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
3919         * string/bits/string2.h (strnlen): Remove extra prototype.
3921 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3923         * manual/filesys.texi (Working on Directory Trees): Fix typos.
3924         Reported by Andries.Brouwer@cwi.nl.
3926 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
3928         * nscd/connections.c (handle_request): Use correct type for optlen
3929         variable.
3931         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
3932         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
3934 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
3936         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
3937         * nscd/pwdcache.c: Likewise.
3938         * nscd/hstcache.c: Likewise.
3940 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
3942         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
3944         * posix/getopt.h: Include stdio.h.
3946         * manual/arith.texi: Document restriction of ndigit parameter of
3947         ecvt and friends.
3948         * misc/efgcvt.c: Define NDIGIT_MAX.
3949         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
3950         Do not dynamically allocate the static buffers.  They are small enough.
3951         * misc/efgcvt_r.c: Define NDIGIT_MAX.
3952         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
3953         * misc/qefgcvt.c: Define NDIGIT_MAX.
3954         * misc/qefgcvt_r.c: Likewise.
3955         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
3957 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
3959         * libio/stdio.h: Define stdin, stdout, stderr as macros.
3960         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
3961         These are *pragmas* not macros.
3962         * wcsmbs/wchar.h: Fix comment.
3964         * grp/grp.h: Use __foo_t_defined convention to typedef things
3965         only once.
3966         * io/sys/stat.h: Likewise.
3967         * libio/stdio.h: Likewise.
3968         * posix/unistd.h: Likewise.
3969         * posix/sys/types.h: Likewise.
3970         * posix/sys/wait.h: Likewise.
3971         * pwd/pwd.h: Likewise.
3972         * signal/signal.h: Likewise.
3973         * sysdeps/generic/stdint.h: Likewise.
3974         * sysdeps/gnu/utmpx.h: Likewise.
3975         * termios/termios.h: Likewise.
3977 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
3979         * stdio/fputc.c: Don't define alias if fputc is defined as a
3980         macro.
3981         * stdio/putc.c: Define weak alias here since it is not done
3982         anymore in fputc.c.
3984 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3986         * assert/assert.h: Don't produce `defined' as part of macro
3987         expansion.
3989 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
3991         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
3992         OFFSET argument of (off_t) -1.
3993         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
3994         OFFSET argument of (off_t) -1.
3996         * sysdeps/mach/hurd/pwrite.c: New file.
3997         * sysdeps/mach/hurd/pread.c: New file.
3999         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
4000         pass it in the RPC instead of always -1.
4001         * hurd/fd-write.c (_hurd_fd_write): Likewise.
4002         * hurd/hurd/fd.h: Update decls.
4004 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4006         * libio/wscanf.c: Include <wchar.h> for prototype.
4008 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
4010         * manual/io.texi. Fix typos.
4011         * manual/stdio.texi: Likewise.
4012         Patches by Brian Youmans <3diff@gnu.org>.
4014 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
4016         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
4017         bits of two words differ.
4019 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4021         * libio/Makefile (routines): Add putwchar and putwchar_u.
4023         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
4024         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
4025         stdout.  Fix parameter name.
4027         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
4028         * libio/getchar_u.c: Likewise.
4030         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
4032 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4034         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
4035         macro expansion---it's undefined.  Properly parenthesize
4036         substituted parameters.
4037         (__GLIBC_PREREQ): Likewise.
4039 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
4041         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
4042         weird effects.
4044         * stdlib/longlong.h: Provide __P definition if not already
4045         defined.
4047         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
4049 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
4051         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
4053 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4055         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
4057 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4059         * stdio-common/vfprintf.c (group_member): Make parameters and
4060         return types pointers to CHAR_T instead of UCHAR_T.
4061         (vfprintf): Change type of work_buffer, workend and string to
4062         CHAR_T pointer/array.
4063         (process_arg, process_string_arg): Adjust/remove casts.  Add
4064         missing use of L_ macro.
4065         (printf_unknown): Add missing uses of L_ macro.
4067 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4069         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
4070         warning.
4072 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4074         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
4075         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
4076         (__wunderflow): Likewise.
4077         (_IO_switch_to_wget_mode): Likewise.
4078         (_IO_init_wmarker): Likewise.
4080         * libio/wfileops.c (_IO_wfile_seekoff): Call
4081         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
4082         (_IO_wfile_jumps): Fix pbackfail entry.
4084         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
4085         function if the stream is currently unoriented.
4087 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
4089         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
4090         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
4091         __gnuc_va_list in v*w(printf|scanf) prototypes.
4093 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4095         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
4096         1999-03-29 to iopopen also here.
4097         Reported by Richard Braakman <dark@xs4all.nl>.
4099 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4101         * include/features.h: Use __GNUC_PREREQ.
4102         * sysdeps/i386/fpu/bits/mathinline.h: Likewise
4104 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4106         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
4107         Change EOF to WEOF and remove cast.
4108         (UNGETC): Remove macro.
4109         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
4110         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
4111         Change ISASCII to isascii and MBRLEN to mbrlen.
4112         (parse_one_spec): Compare info.spec always against wchar_t
4113         values.
4114         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
4115         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
4116         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
4118 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4120         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
4121         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
4122         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
4123         oldiofsetpos64 only if doing versioning.
4125 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
4127         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
4129 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4131         * libio/libio.h: Fix last patch.
4133 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
4135         * libio/libio.h (_IO_putwc): Correct type of first argument.
4136         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
4137         putwc_unlocked, putwchar_unlocked): Likewise.
4138         * libio/fputwc.c: Likewise.
4139         * libio/fputwc_unlocked.c: Likewise.
4140         * libio/putwc.c: Likewise.
4141         * libio/putwc_unlocked.c: Likewise.
4142         * libio/putwchar.c: Likewise.
4143         * libio/putwchar_unlocked.c: Likewise.
4145 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
4147         * sysdeps/gnu/siglist.h: File moved to ...
4148         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
4149         any platform, since it just associates the SIG* macros with text names
4150         and descriptions. For any signal macros do not exist on every
4151         platform, we can use #ifdef tests here and still use this single
4152         common file for all platforms.
4153         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
4154         should be usable for all platforms after the binary compatibility
4155         stuff in the current sysdeps/gnu version is no longer required.
4156         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
4157         * sysdeps/generic/make_siglist.c: File removed.
4158         * sysdeps/mach/hurd/siglist.h: Use #include_next.
4159         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
4161 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
4163         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
4164         * sysdeps/gnu/siglist.c: ... here.
4165         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
4166         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
4167         * sysdeps/gnu/siglist.h: New file, contents from linux version.
4168         Add entry for SIGLOST protected by #ifdef.
4169         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
4170         and define OLD_SIGLIST_SIZE_STR.
4171         * sysdeps/mach/hurd/siglist.h: New file, likewise.
4173 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
4175         * include/features.h: Define new macros __GNUC_PREREQ and
4176         __GLIBC_PREREQ which can be used to test the version of gcc
4177         and glibc respectively.
4179         * assert/assert.h: Use __GNUC_PREREQ.
4180         * intl/libintl.h: Likewise.
4181         * math/complex.h: Likewise.
4182         * math/tgmath.h: Likewise.
4183         * misc/sys/cdefs.h: Likewise.
4184         * posix/sys/types.h: Likewise.
4185         * socket/sys/socket.h: Likewise.
4186         * string/bits/string2.h: Likewise.
4187         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
4188         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
4190 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
4192         * include/libintl.h: Declare _libc_intl_domainname here.
4193         Define _ and N_ here.
4194         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
4195         define _ and N_.  Don't declare _libc_intl_domainname.
4196         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
4198         * db2/config.h: Don't include sys/stat.h or define
4199         HAVE_ST_BLKSIZE here...
4200         * db2/compat.h: ...do it here.
4202         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
4203         other headers.
4204         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
4205         * iconv/iconv.c: Include stddef.h for NULL.
4206         * malloc/malloc.h: Include features.h.
4207         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
4209         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
4210         into the generated file.
4211         * sysdeps/gnu/errlist.awk: Likewise.
4212         * sysdeps/gnu/errlist.c: Rebuilt.
4214         * assert/assert-perr.c: Include libintl.h.
4215         * assert/assert.c: Likewise.
4216         * elf/dl-open.c: Likewise.
4217         * elf/dlsym.c: Likewise.
4218         * elf/dlvsym.c: Likewise.
4219         * iconv/iconv_prog.c: Likewise.
4220         * inet/rcmd.c: Likewise.
4221         * inet/ruserpass.c: Likewise.
4222         * locale/programs/charset.c: Likewise.
4223         * locale/programs/ld-collate.c: Likewise.
4224         * locale/programs/ld-ctype.c: Likewise.
4225         * locale/programs/ld-messages.c: Likewise.
4226         * locale/programs/ld-monetary.c: Likewise.
4227         * locale/programs/ld-numeric.c: Likewise.
4228         * locale/programs/ld-time.c: Likewise.
4229         * locale/programs/locfile.c: Likewise.
4230         * locale/programs/repertoire.c: Likewise.
4231         * login/programs/database.c: Likewise.
4232         * login/programs/request.c: Likewise.
4233         * malloc/mcheck.c: Likewise.
4234         * misc/error.c: Likewise.
4235         * nis/nis_call.c: Likewise.
4236         * nis/nis_callback.c: Likewise.
4237         * nis/nis_error.c: Likewise.
4238         * nis/nis_local_names.c: Likewise.
4239         * nis/nis_print.c: Likewise.
4240         * nis/nis_print_group_entry.c: Likewise.
4241         * nis/ypclnt.c: Likewise.
4242         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
4243         * nscd/cache.c: Likewise.
4244         * nscd/connections.c: Likewise.
4245         * nscd/grpcache.c: Likewise.
4246         * nscd/hstcache.c: Likewise.
4247         * nscd/nscd_conf.c: Likewise.
4248         * nscd/nscd_stat.c: Likewise.
4249         * nscd/pwdcache.c: Likewise.
4250         * posix/id.c: Likewise.
4251         * resolv/herror.c: Likewise.
4252         * stdio-common/psignal.c: Likewise.
4253         * string/strsignal.c: Likewise.
4254         * sunrpc/auth_unix.c: Likewise.
4255         * sunrpc/clnt_perr.c: Likewise.
4256         * sunrpc/clnt_raw.c: Likewise.
4257         * sunrpc/clnt_tcp.c: Likewise.
4258         * sunrpc/clnt_udp.c: Likewise.
4259         * sunrpc/clnt_unix.c: Likewise.
4260         * sunrpc/get_myaddr.c: Likewise.
4261         * sunrpc/pm_getmaps.c: Likewise.
4262         * sunrpc/pmap_clnt.c: Likewise.
4263         * sunrpc/pmap_rmt.c: Likewise.
4264         * sunrpc/rpc_main.c: Likewise.
4265         * sunrpc/rpc_scan.c: Likewise.
4266         * sunrpc/svc_run.c: Likewise.
4267         * sunrpc/svc_simple.c: Likewise.
4268         * sunrpc/svc_tcp.c: Likewise.
4269         * sunrpc/svc_udp.c: Likewise.
4270         * sunrpc/svc_unix.c: Likewise.
4271         * sunrpc/xdr_rec.c: Likewise.
4272         * sunrpc/xdr_ref.c: Likewise.
4273         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
4274         * sysdeps/posix/gai_strerror.c: Likewise.
4275         * sysdeps/unix/siglist.c: Likewise.
4276         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
4277         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
4278         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
4279         * timezone/zic.c: Likewise.
4281 1999-06-18  H.J. Lu  <hjl@gnu.org>
4283         * localedata/Makefile (charmaps): Exclude SCCS.
4284         (locales): Likewise.
4285         (repertoiremaps): Likewise.
4287 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
4289         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
4290         * sysdeps/generic/bsd-setjmp.c: Likewise.
4292         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
4294         * iconv/gconv_open.c: Include string.h for memset prototype.
4296         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
4297         definitions.
4299         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
4300         assignment to avoid warning on 64bit platforms.
4302 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
4304         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
4306         * nss/getXXbyYY_r.c: Return error code not -1.
4307         * nss/getXXent_r.c: Likewise.
4308         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
4309         small.
4310         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
4311         value > 0 for error.
4312         * nscd/nscd_gethst_r.c: Likewise.
4313         * nscd/nscd_getpw_r.c: Likewise.
4315 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4317         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
4318         disciplines.
4320 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4322         * nscd/nscd_nischeck.c: Fix typos.
4324 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
4326         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
4327         always when oact is NULL.
4328         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
4330 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4332         * math/libm-test.c (jn_test): Adjust delta.
4334 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4336         * libio/vwprintf.c: Include <wchar.h> for prototypes.
4337         * libio/wprintf.c: Likewise.
4339 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4341         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
4342         to not write beyond allocated memory.
4343         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
4345 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
4347         * malloc/mtrace.c: Keep lock while printing output lines.
4348         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
4350 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
4352         * configure.in: Add warnings about broken code.
4354         * Versions.def: Add GLIBC_2.2 for libc.
4356         * iconv/gconv.h: Make header suitable for inclusion in public header
4357         by protecting all names with __.
4358         * iconv/gconv.c: Adapt for symbol name changes.
4359         * iconv/gconv.h: Likewise.
4360         * iconv/gconv_builtin.c: Likewise.
4361         * iconv/gconv_close.c: Likewise.
4362         * iconv/gconv_db.c: Likewise.
4363         * iconv/gconv_dl.c: Likewise.
4364         * iconv/gconv_int.h: Likewise.
4365         * iconv/gconv_open.c: Likewise.
4366         * iconv/gconv_simple.c: Likewise.
4367         * iconv/iconv.c: Likewise.
4368         * iconv/iconv_close.c: Likewise.
4369         * iconv/iconv_open.c: Likewise.
4370         * iconv/loop.c: Likewise.
4371         * iconv/skeleton.c: Likewise.
4372         * iconvdata/8bit-gap.c: Likewise.
4373         * iconvdata/8bit-generic.c: Likewise.
4374         * iconvdata/ansi_x3.110.c: Likewise.
4375         * iconvdata/big5.c: Likewise.
4376         * iconvdata/cns11643.h: Likewise.
4377         * iconvdata/cns11643l1.h: Likewise.
4378         * iconvdata/euc-cn.c: Likewise.
4379         * iconvdata/euc-jp.c: Likewise.
4380         * iconvdata/euc-kr.c: Likewise.
4381         * iconvdata/euc-tw.c: Likewise.
4382         * iconvdata/gb2312.h: Likewise.
4383         * iconvdata/iso-2022-jp.c: Likewise.
4384         * iconvdata/iso-2022-kr.c: Likewise.
4385         * iconvdata/iso646.c: Likewise.
4386         * iconvdata/iso8859-1.c: Likewise.
4387         * iconvdata/iso_6937-2.c: Likewise.
4388         * iconvdata/iso_6937.c: Likewise.
4389         * iconvdata/jis0201.h: Likewise.
4390         * iconvdata/jis0208.h: Likewise.
4391         * iconvdata/jis0212.h: Likewise.
4392         * iconvdata/johab.c: Likewise.
4393         * iconvdata/ksc5601.h: Likewise.
4394         * iconvdata/sjis.c: Likewise.
4395         * iconvdata/t.61.c: Likewise.
4396         * iconvdata/uhc.c: Likewise.
4397         * stdlib/mblen.c: Likewise.
4398         * stdlib/mbtowc.c: Likewise.
4399         * stdlib/wctomb.c: Likewise.
4400         * wcsmbs/btowc.c: Likewise.
4401         * wcsmbs/mbrtowc.c: Likewise.
4402         * wcsmbs/mbsnrtowcs.c: Likewise.
4403         * wcsmbs/mbsrtowcs.c: Likewise.
4404         * wcsmbs/wchar.h: Likewise.
4405         * wcsmbs/wcrtomb.c: Likewise.
4406         * wcsmbs/wcsmbsload.c: Likewise.
4407         * wcsmbs/wcsmbsload.h: Likewise.
4408         * wcsmbs/wcsnrtombs.c: Likewise.
4409         * wcsmbs/wcsrtombs.c: Likewise.
4410         * wcsmbs/wctob.c: Likewise.
4412         * include/limits.h (MB_LEN_MAX): Increase to 16.
4414         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
4415         _G_iconv_t.
4416         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
4417         * include/wchar.h: Change mbstate_t to __mbstate_t.
4419         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
4420         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
4421         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
4422         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
4423         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
4424         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
4425         and iofwide.
4426         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
4427         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
4428         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
4429         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
4430         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
4431         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
4432         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
4433         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
4434         GLIBC_2.2 for libc.
4435         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
4436         Extend _IO_file contain pointer to codecvt, widedata and mode.
4437         (_IO_getwc_unlocked): New macro.
4438         (_IO_putwc_unlocked): New macro.
4439         (_IO_fwide): New macro.
4440         * libio/libioP.h: Add new prototypes and adjust existing declarations.
4441         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
4442         buffers based on mode.
4443         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
4444         oriented.
4445         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
4446         flag to be enough to signal unallocated buffer.  For wide oriented
4447         stream don't make it linebuffered.  Don't use _IO_do_flush, use
4448         _IO_new_do_write directly.
4449         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
4450         (_IO_file_seek): Likewise.
4451         * libio/genops.c (_IO_least_marker): Make global.
4452         (__underflow): Orient stream if not already done.
4453         (__uflow): Likewise.
4454         (_IO_default_seekpos): Change to type _IO_off64_t.
4455         (_IO_default_seekoff): Likewise.
4456         (_IO_default_seek): Likewise.
4457         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
4458         in initialization.
4459         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
4460         to use _IO_off64_t.
4461         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
4462         char stream.
4463         * libio/ftello64.c: Likewise.
4464         * libio/ioftell.c: Likewise.
4465         * libio/iofopncook.c: Likewise.
4466         * libio/ioseekoff.c: Likewise.
4467         * libio/ioseekpos.c: Likewise.
4468         * libio/oldfileops.c: Likewise.
4469         * libio/iofgetpos.c: Store state of conversion if necessary.
4470         * libio/iofgetpos64.c: Likewise.
4471         * libio/iofsetpos.c: Restore conversion state if necessary.
4472         * libio/iofsetpos64.c: Likewise.
4473         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
4474         * libio/iofopen.c: Likewise.
4475         * libio/iofopen64.c: Likewise.
4476         * libio/iopopen.c: Likewise.
4477         * libio/iovdprintf.c: Likewise.
4478         * libio/iovsprintf.c: Likewise.
4479         * libio/iovsscanf.c: Likewise.
4480         * libio/memstream.c: Likewise.
4481         * libio/obprintf.c: Likewise.
4482         * libio/iofputs.c: Orient stream if not already happened.
4483         * libio/iofputs_u.c: Likewise.
4484         * libio/iofwrite.c: Likewise.
4485         * libio/iofwrite_u.c: Likewise.
4486         * libio/ioputs.c: Likewise.
4487         * libio/iosetbuffer.c: Handle not yet oriented stream.
4488         * libio/iosetvbuf.c: Likewise.
4489         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
4490         * libio/stdfiles.c: Likewise.
4491         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
4492         failed allocation.
4493         (_IO_str_seekoff): Use _IO_off64_t.
4494         * libio/vasprintf.c: Pre-orient stream.
4495         * libio/vsnprintf.c: Likewise.
4496         * libio/fputwc.c: New file.
4497         * libio/fputwc_u.c: New file.
4498         * libio/fwprintf.c: New file.
4499         * libio/fwscanf.c: New file.
4500         * libio/getwc.c: New file.
4501         * libio/getwc_u.c: New file.
4502         * libio/getwchar.c: New file.
4503         * libio/getwchar_u.c: New file.
4504         * libio/iofgetws.c: New file.
4505         * libio/iofgetws_u.c: New file.
4506         * libio/iofputws.c: New file.
4507         * libio/iofputws_u.c: New file.
4508         * libio/iofwide.c: New file.
4509         * libio/iogetwline.c: New file.
4510         * libio/ioungetwc.c: New file.
4511         * libio/iovswscanf.c: New file.
4512         * libio/iowpadn.c: New file.
4513         * libio/oldiofgetpos.c: New file.
4514         * libio/oldiofgetpos64.c: New file.
4515         * libio/oldiofsetpos.c: New file.
4516         * libio/oldiofsetpos64.c: New file.
4517         * libio/putwc.c: New file.
4518         * libio/putwc_u.c: New file.
4519         * libio/putwchar.c: New file.
4520         * libio/putwchar_u.c: New file.
4521         * libio/swprintf.c: New file.
4522         * libio/swscanf.c: New file.
4523         * libio/tst_swprintf.c: New file.
4524         * libio/tst_swscanf.c: New file.
4525         * libio/tst_wprintf.c: New file.
4526         * libio/tst_wscanf.c: New file.
4527         * libio/tst_wscanf.input: New file.
4528         * libio/vswprintf.c: New file.
4529         * libio/vwprintf.c: New file.
4530         * libio/vwscanf.c: New file.
4531         * libio/wfiledoalloc.c: New file.
4532         * libio/wfileops.c: New file.
4533         * libio/wgenops.c: New file.
4534         * libio/wprintf.c: New file.
4535         * libio/wscanf.c: New file.
4536         * libio/wstrops.c: New file.
4537         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
4538         vfwprintf, and vfwscanf.
4539         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
4540         make global.
4541         * stdio-common/_itowa.c: New file.
4542         * stdio-common/_itowa.h: New file.
4543         * stdio-common/itoa-digits.c: Minimal optimization.
4544         * stdio-common/itowa-digits.c: New file.
4545         * stdio-common/printf-parse.h: Allow use in wide character context.
4546         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
4547         * stdio-common/printf.h (printf_info): Add wide bit.
4548         * stdio-common/printf_fp.c: Determine from wide bit whether stream
4549         is wide oriented or not.
4550         * stdio-common/printf_size.c: Likewise.
4551         * sysdeps/generic/printf_fphex.c: Likewise.
4552         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
4553         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
4554         context.
4555         * stdio-common/vfscand.c: Likewise.
4556         * stdio-common/vfwprintf.c: New file.
4557         * stdio-common/vfwscanf.c: New file.
4559         * time/Makefile (routines): Add wcsftime.
4560         (tests): Add tst_wcsftime.
4561         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
4562         * time/strftime.c: Make usable as wcsftime.
4563         * time/wcsftime.c: New file.
4564         * time/tst_wcsftime.c: New file.
4566         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
4567         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
4568         * wcsmbs/wcschrnul.c: New file.
4569         * wcsmbs/wmemcpy.c: New file.
4570         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
4571         * wcsmbs/wmemmove.c: Likewise for wmemmove.
4573         * manual/stdio.texi: Document is_char and wide element if printf_info.
4575         * manual/time.texi: Document wcsftime.
4577         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
4578         __wmemmove, __wcschrnul, and __vfwscanf.
4580         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
4581         * locale/C-time.c: Adapt for above change.
4582         * locale/categories.def: Likewise.
4583         * locale/localeinfo.h: Likewise.
4584         * localedata/Makefile: Don't run tests for now.
4586         * manual/errno.texi: Fix typos.
4587         * manual/memory.texi: Likewise.
4588         * manual/ctype.texi: Likewise.
4589         Patches by Brian Youmans <3diff@gnu.org>.
4591 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4593         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
4595 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4597         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
4598         word order.
4599         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
4600         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
4602 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4604         * db2/db/db.c: Restore __nss_db_open alias.
4605         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
4606         include.
4607         * db2/os/os_rw.c (__os_write): Maintain const correctness.
4608         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
4610 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
4612         * stdio-common/printf-parse.h (parse_one_spec): Don't set
4613         is_longlong if not necessary.
4615 1999-06-15  H.J. Lu  <hjl@gnu.org>
4617         * Make-dist (sysdep_dirs): Exclude SCCS.
4618         * MakeTAGS (sysdep_dirs): Likewise.
4620 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
4622         * posix/regex.c (re_error_msgid): Remove extra commas.
4624 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
4626         * stdlib/tst-strtoll.c: New file.
4627         * stdlib/Makefile (tests): Add tst-strtoll.c
4628         * stdlib/strtol.c: It is not generally true that if
4629         (unsigned)a*(unsigned)b overflows, then the result is
4630         less than 'a'.
4632 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
4634         * nscd/connections.c (handle_request): Only root is allowed to
4635         send GETSTAT request in non secure mode.
4636         * nscd/nscd.c: Print error message if other then root try to
4637         use getstat.
4639 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4641         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
4643 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4645         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
4646         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
4648 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4650         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
4651         for character to search, to help the compiler.
4652         * sysdeps/generic/strchrnul.c: Likewise.
4653         * sysdeps/generic/memchr.c: Likewise.
4654         * sysdeps/generic/memccpy.c: Likewise.
4655         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
4657 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4659         * sysdeps/m68k/memchr.S: New file.
4660         * sysdeps/m68k/rawmemchr.S: New file.
4661         * sysdeps/m68k/strchr.S: New file.
4662         * sysdeps/m68k/strchrnul.S: New file.
4664 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
4666         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
4667         add `memory' clobber; optimise for constant `val'.
4668         (atomic_add): Likewise.
4669         (test_and_set): Remove `volatile'; add `memory' clobber; be more
4670         like the original `test_and_set'.
4671         (compare_and_swap): Remove `volatile'; add `memory' clobber;
4672         optimise for constant `oldval'.
4673         (always_swap): Remove `volatile'; add `memory' clobber.
4675 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4677         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
4678         functions for gcc <= 2.7.x.
4680 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
4682         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
4683         change.
4685 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
4687         * db2/Makefile (distribute): Remove files which do not exist
4688         anymore.
4690         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
4691         definitions to calm down gcc.
4693         * db2/db.h: Update from db 2.7.5.
4694         * db2/db_185.h: Likewise.
4695         * db2/db_int.h: Likewise.
4696         * db2/btree/bt_compare.c: Likewise.
4697         * db2/btree/bt_conv.c: Likewise.
4698         * db2/btree/bt_curadj.c: Likewise.
4699         * db2/btree/bt_cursor.c: Likewise.
4700         * db2/btree/bt_delete.c: Likewise.
4701         * db2/btree/bt_open.c: Likewise.
4702         * db2/btree/bt_page.c: Likewise.
4703         * db2/btree/bt_put.c: Likewise.
4704         * db2/btree/bt_rec.c: Likewise.
4705         * db2/btree/bt_recno.c: Likewise.
4706         * db2/btree/bt_rsearch.c: Likewise.
4707         * db2/btree/bt_search.c: Likewise.
4708         * db2/btree/bt_split.c: Likewise.
4709         * db2/btree/bt_stat.c: Likewise.
4710         * db2/btree/btree_auto.c: Likewise.
4711         * db2/common/db_appinit.c: Likewise.
4712         * db2/common/db_apprec.c: Likewise.
4713         * db2/common/db_err.c: Likewise.
4714         * db2/common/db_region.c: Likewise.
4715         * db2/common/db_salloc.c: Likewise.
4716         * db2/db/db.c: Likewise.
4717         * db2/db/db.src: Likewise.
4718         * db2/db/db_am.c: Likewise.
4719         * db2/db/db_auto.c: Likewise.
4720         * db2/db/db_dispatch.c: Likewise.
4721         * db2/db/db_dup.c: Likewise.
4722         * db2/db/db_iface.c: Likewise.
4723         * db2/db/db_join.c: Likewise.
4724         * db2/db/db_overflow.c: Likewise.
4725         * db2/db/db_pr.c: Likewise.
4726         * db2/db/db_rec.c: Likewise.
4727         * db2/db/db_ret.c: Likewise.
4728         * db2/db185/db185.c: Likewise.
4729         * db2/dbm/dbm.c: Likewise.
4730         * db2/hash/hash.c: Likewise.
4731         * db2/hash/hash_auto.c: Likewise.
4732         * db2/hash/hash_dup.c: Likewise.
4733         * db2/hash/hash_page.c: Likewise.
4734         * db2/hash/hash_rec.c: Likewise.
4735         * db2/hash/hash_stat.c: Likewise.
4736         * db2/include/btree.h: Likewise.
4737         * db2/include/btree_ext.h: Likewise.
4738         * db2/include/clib_ext.h: Likewise.
4739         * db2/include/common_ext.h: Likewise.
4740         * db2/include/db_am.h: Likewise.
4741         * db2/include/db_auto.h: Likewise.
4742         * db2/include/db_cxx.h: Likewise.
4743         * db2/include/db_ext.h: Likewise.
4744         * db2/include/db_join.h: Likewise.
4745         * db2/include/db_page.h: Likewise.
4746         * db2/include/hash.h: Likewise.
4747         * db2/include/hash_ext.h: Likewise.
4748         * db2/include/lock.h: Likewise.
4749         * db2/include/lock_ext.h: Likewise.
4750         * db2/include/log.h: Likewise.
4751         * db2/include/log_ext.h: Likewise.
4752         * db2/include/mp.h: Likewise.
4753         * db2/include/mp_ext.h: Likewise.
4754         * db2/include/os.h: Likewise.
4755         * db2/include/os_ext.h: Likewise.
4756         * db2/include/os_func.h: Likewise.
4757         * db2/include/txn.h: Likewise.
4758         * db2/include/txn_auto.h: Likewise.
4759         * db2/include/txn_ext.h: Likewise.
4760         * db2/include/xa.h: Likewise.
4761         * db2/include/xa_ext.h: Likewise.
4762         * db2/lock/lock.c: Likewise.
4763         * db2/lock/lock_conflict.c: Likewise.
4764         * db2/lock/lock_deadlock.c: Likewise.
4765         * db2/lock/lock_region.c: Likewise.
4766         * db2/lock/lock_util.c: Likewise.
4767         * db2/log/log.c: Likewise.
4768         * db2/log/log_archive.c: Likewise.
4769         * db2/log/log_auto.c: Likewise.
4770         * db2/log/log_findckp.c: Likewise.
4771         * db2/log/log_get.c: Likewise.
4772         * db2/log/log_put.c: Likewise.
4773         * db2/log/log_rec.c: Likewise.
4774         * db2/log/log_register.c: Likewise.
4775         * db2/mp/mp_bh.c: Likewise.
4776         * db2/mp/mp_fget.c: Likewise.
4777         * db2/mp/mp_fopen.c: Likewise.
4778         * db2/mp/mp_fput.c: Likewise.
4779         * db2/mp/mp_fset.c: Likewise.
4780         * db2/mp/mp_open.c: Likewise.
4781         * db2/mp/mp_pr.c: Likewise.
4782         * db2/mp/mp_region.c: Likewise.
4783         * db2/mp/mp_sync.c: Likewise.
4784         * db2/mutex/mutex.c: Likewise.
4785         * db2/mutex/uts4_cc.s: Likewise.
4786         * db2/os/os_abs.c: Likewise.
4787         * db2/os/os_alloc.c: Likewise.
4788         * db2/os/os_config.c: Likewise.
4789         * db2/os/os_dir.c: Likewise.
4790         * db2/os/os_fid.c: Likewise.
4791         * db2/os/os_fsync.c: Likewise.
4792         * db2/os/os_map.c: Likewise.
4793         * db2/os/os_oflags.c: Likewise.
4794         * db2/os/os_open.c: Likewise.
4795         * db2/os/os_rw.c: Likewise.
4796         * db2/os/os_seek.c: Likewise.
4797         * db2/os/os_sleep.c: Likewise.
4798         * db2/os/os_spin.c: Likewise.
4799         * db2/os/os_stat.c: Likewise.
4800         * db2/os/os_tmpdir.c: Likewise.
4801         * db2/os/os_unlink.c: Likewise.
4802         * db2/progs/db_archive/db_archive.c: Likewise.
4803         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
4804         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
4805         * db2/progs/db_dump/db_dump.c: Likewise.
4806         * db2/progs/db_load/db_load.c: Likewise.
4807         * db2/progs/db_printlog/README: Likewise.
4808         * db2/progs/db_printlog/commit.awk: Likewise.
4809         * db2/progs/db_printlog/count.awk: Likewise.
4810         * db2/progs/db_printlog/db_printlog.c: Likewise.
4811         * db2/progs/db_printlog/pgno.awk: Likewise.
4812         * db2/progs/db_printlog/range.awk: Likewise.
4813         * db2/progs/db_printlog/status.awk: Likewise.
4814         * db2/progs/db_printlog/txn.awk: Likewise.
4815         * db2/progs/db_recover/db_recover.c: Likewise.
4816         * db2/progs/db_stat/db_stat.c: Likewise.
4817         * db2/txn/txn.c: Likewise.
4818         * db2/txn/txn.src: Likewise.
4819         * db2/txn/txn_auto.c: Likewise.
4820         * db2/txn/txn_rec.c: Likewise.
4821         * db2/xa/xa.c: Likewise.
4822         * db2/xa/xa_db.c: Likewise.
4823         * db2/xa/xa_map.c: Likewise.
4825         * db2/btree/bt_close.c: Removed.
4826         * db2/db/db_thread.c: Likewise.
4827         * db2/hash/hash_debug.c: Likewise.
4828         * db2/include/db.h.src: Likewise.
4829         * db2/include/db_int.h.src: Likewise.
4830         * db2/include/os_jump.h: Likewise.
4831         * db2/mutex/alpha.dec: Likewise.
4832         * db2/mutex/alpha.gcc: Likewise.
4833         * db2/mutex/parisc.hp: Likewise.
4834         * db2/mutex/uts4.cc.s: Likewise.
4836         * db2/Makefile: Add new routines, remove old for 2.7.5.
4837         * db2/Versions: Add internal function names for the helper programs.
4838         * db2/makedb.c: Update for new cursor callback.
4839         * Versions.def: Define versions for libdb.
4841 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
4843         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
4844         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
4845         * nscd/nscd_nischeck.c: New file.
4846         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
4848 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4850         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
4851         MSG_* flags from Linux 2.2.9.
4853 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
4855         * Makeconfig (static-start-installed-name): Set to
4856         $(start-installed-name) if not defined.
4857         (+link-static): Use $(static-start-installed-name) instead of
4858         $(start-installed-name).
4859         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
4860         Set to crt0.o.
4862 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
4864         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
4865         inserting a send right into the child instead of unconditionally
4866         copying the send right.
4868 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
4870         * locale/lc-time.c: Add free_mem function to free if necessary
4871         statically allocated memory.
4873 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
4875         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
4876         bias from the raw exponent.
4878 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
4880         * inet/arpa/tftp.h: Move attribute declaration in right position.
4882 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
4884         * nscd/nscd.c: Add -S options for separate caching of data for
4885         every user. So one user couldn't see the data another user
4886         has gotten with his credentials.
4887         * nscd/nscd.h: Add new prototypes.
4888         * nscd/cache.c: Compare owner of cache entry if in secure mode.
4889         * nscd/connections.c: Check on shutdown if caller really was root.
4890         In secure mode get uid of caller.
4891         * nscd/grpcache.c: Add support for new secure group mode.
4892         * nscd/hstcache.c: Add support for new secure hosts mode.
4893         * nscd/pwdcache.c: Add support for new secure passwd mode.
4895 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
4897         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
4898         of user-provided buffer.
4900 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
4902         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
4903         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
4905 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
4907         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
4908         and A format.
4910         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
4911         returning after last entry.
4912         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
4914 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
4916         * misc/sysexits.h: Remove advertising clause of copyright.
4917         * resolv/getnetnamadr.c: Likewise.
4918         * sysdeps/vax/bcopy.s: Likewise.
4919         * sysdeps/vax/bzero.s: Likewise.
4920         * sysdeps/vax/ffs.s: Likewise.
4921         * sysdeps/vax/memchr.s: Likewise.
4922         * sysdeps/vax/memcmp.s: Likewise.
4923         * sysdeps/vax/memmove.s: Likewise.
4924         * sysdeps/vax/memset.s: Likewise.
4925         * sysdeps/vax/strcat.s: Likewise.
4926         * sysdeps/vax/strchr.s: Likewise.
4927         * sysdeps/vax/strcmp.s: Likewise.
4928         * sysdeps/vax/strcpy.s: Likewise.
4929         * sysdeps/vax/strcspn.s: Likewise.
4930         * sysdeps/vax/strlen.s: Likewise.
4931         * sysdeps/vax/strncat.s: Likewise.
4932         * sysdeps/vax/strncmp.s: Likewise.
4933         * sysdeps/vax/strncpy.s: Likewise.
4934         * sysdeps/vax/strpbrk.s: Likewise.
4935         * sysdeps/vax/strrchr.s: Likewise.
4936         * sysdeps/vax/strsep.s: Likewise.
4937         * sysdeps/vax/strspn.s: Likewise.
4938         * sysdeps/vax/strstr.s: Likewise.
4940         * libio/iofopncook.c: Adjust for renaming of structure elements.
4941         * libio/libio.h: Define cookie functions with all the names.
4943         * pwd/fgetpwent_r.c: Set errno in the correct way.
4944         * shadow/fgetspent_r.c: Likewise.
4945         * pwd/fgetpwent.c: Handle long lines correctly.  Little
4946         optimizations.  Free static buffer when debugging memory handling.
4947         * shadow/fgetspent.c: Likewise.
4949         * grp/fgetgrent.c: Little optimization in loop.
4951 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4953         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
4954         in a different way.
4956 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
4958         * stdlib/longlong.h: gas changed sethi handling when without
4959         %hi(). Fix assembly.
4960         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
4961         port specific cache id checks.
4962         * sysdeps/generic/dl-cache.h: New file.
4963         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
4965 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
4967         * gmon/gmon.c: Remove advertising clause of copyright.
4968         * gmon/mcount.c: Likewise.
4969         * gmon/sys/gmon.h: Likewise.
4970         * inet/arpa/ftp.h: Likewise.
4971         * inet/arpa/telnet.h: Likewise.
4972         * inet/arpa/tftp.h: Likewise.
4973         * inet/inet_lnaof.c: Likewise.
4974         * inet/inet_mkadr.c: Likewise.
4975         * inet/inet_net.c: Likewise.
4976         * inet/inet_netof.c: Likewise.
4977         * inet/protocols/routed.h: Likewise.
4978         * inet/protocols/rwhod.h: Likewise.
4979         * inet/protocols/talkd.h: Likewise.
4980         * inet/protocols/timed.h: Likewise.
4981         * inet/rcmd.c: Likewise.
4982         * inet/rexec.c: Likewise.
4983         * inet/ruserpass.c: Likewise.
4984         * io/fts.c: Likewise.
4985         * io/fts.h: Likewise.
4986         * login/login_tty.c: Likewise.
4987         * misc/fstab.h: Likewise.
4988         * misc/getttyent.c: Likewise.
4989         * misc/getusershell.c: Likewise.
4990         * misc/sys/queue.h: Likewise.
4991         * misc/sys/syslog.h: Likewise.
4992         * misc/syslog.c: Likewise.
4993         * misc/ttyent.h: Likewise.
4994         * misc/ttyslot.c: Likewise.
4995         * resolv/arpa/nameser.h: Likewise.
4996         * resolv/gethnamaddr.c: Likewise.
4997         * resolv/herror.c: Likewise.
4998         * resolv/inet_addr.c: Likewise.
4999         * resolv/mapv4v6addr.h: Likewise.
5000         * resolv/mapv4v6hostent.h: Likewise
5001         * resolv/nss_dns/dns-host.c: Likewise.
5002         * resolv/nss_dns/dns-network.c: Likewise.
5003         * resolv/res_comp.c: Likewise.
5004         * resolv/res_data.c: Likewise.
5005         * resolv/res_debug.c: Likewise.
5006         * resolv/res_init.c: Likewise.
5007         * resolv/res_mkquery.c: Likewise.
5008         * resolv/res_query.c: Likewise.
5009         * resolv/res_send.c: Likewise.
5010         * resolv/resolv.h: Likewise.
5011         * sysdeps/generic/div.c: Likewise.
5012         * sysdeps/generic/netinet/ip.h: Likewise.
5013         * sysdeps/generic/netinet/tcp.h: Likewise.
5014         * sysdeps/generic/paths.h: Likewise.
5015         * sysdeps/generic/prof-freq.c: Likewise.
5016         * sysdeps/generic/sys/ttydefaults.h: Likewise.
5017         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5018         * sysdeps/gnu/netinet/tcp.h: Likewise.
5019         * sysdeps/ieee754/support.c: Likewise.
5020         * sysdeps/mach/hurd/sys/param.h: Likewise.
5021         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
5022         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5023         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
5024         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5025         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
5026         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
5027         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
5028         * sysdeps/unix/sysv/linux/paths.h: Likewise.
5029         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
5030         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
5031         * sysdeps/vax/DEFS.h: Likewise.
5032         * termios/sys/ttychars.h: Likewise.
5033         * misc/daemon.c: Likewise.  Call fork.
5035         * grp/fgetgrent.c (buffer): Make file local variable.
5036         (free_mem): New function.  Call for malloc debugging.
5038         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
5040 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5042         * grp/Makefile: Add rules for tst_fgetgrent.
5044         * grp/tst_fgetgrent.c: Rewritten to read only one file.
5046         * grp/tst_fgetgrent.sh: New file.
5048 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
5050         * grp/Makefile (tests): Add tst_fgetgrent.
5051         * grp/tst_fgetgrent.c: New file.
5052         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
5054 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
5056         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
5057         be POSIX compliant.  Prior definition was broken for Hurd.
5058         Reported by Mark Kettenis <kettenis@gnu.org>.
5060 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
5062         * ctype/ctype.h: Protect __tobody code by __extension__.
5064 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
5066         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
5067         reading and reset in case the buffer was too small.
5069         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
5070         of EOF.
5072 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5074         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
5075         another SIOGIFNAME typo.
5077 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
5079         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
5081         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
5082         bit.
5084 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5086         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
5087         the precision if the mantissa is zero.
5089 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5091         * manual/lang.texi (Floating Point Parameters): GCC already
5092         supports long double for a long time.
5094 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5096         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
5097         yn_test): Increase some epsilons.
5099 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
5101         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
5102         parameters.
5104 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
5106         * sysdeps/unix/sysv/linux/kernel-features.h: Define
5107         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
5108         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
5109         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
5111         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
5112         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
5113         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
5114         * sysdeps/libm-ieee754/w_j1.c: Likewise.
5115         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
5116         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
5117         * sysdeps/libm-ieee754/w_jn.c: Likewise.
5118         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
5119         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
5121         * stdio-common/vfprintf.c: Correct typos.
5123         * math/libm-test.c (jn_test): Adjust delta.
5124         (y1_test): Likewise.
5125         (yn_test): Likewise.
5127         * elf/do-lookup.h: It should never happen that if we expect a versioned
5128         symbol from a file the file has no version table.  This should have
5129         been checked in dl-version.c.
5130         * elf/dl-lookup.c: Include assert.h.
5132         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
5133         function handling.
5135         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
5137 1999-06-06  Andi Kleen  <ak@muc.de>
5139         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
5140         SA_RESTORER flag.
5142 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5144         * math/libm-test.c (yn_test): Change one delta.
5145         (jn_test): Likewise.
5146         (j1_test): Likewise.
5147         (y0_test): Likewise.
5149 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
5151         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
5152         avoid multiple calls to getpagesize() which might be a syscall.
5154 1999-06-06  Philip Blundell  <philb@gnu.org>
5156         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
5158 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5160         * manual/install.texi (Running make install): Correct typo in
5161         dynamic linker invocation.
5163 1999-06-05  Philip Blundell  <philb@gnu.org>
5165         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
5166         problems with GOT addressing.
5168 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
5170         * malloc/malloc.c (check_action): Change into bitmap so that both
5171         diagnostic and abort can be requested by setting it to 3.
5172         (mALLOC_SET_STATe): Disable malloc checking if necessary.
5174 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
5176         * configure.in: Few changes for HPUX.
5178         * scripts/config.guess: Update from latest version.
5179         * scripts/config.sub: Likewise.
5181 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5183         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
5184         map files.  Closes PR libc/1147.
5186 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5188         * math/libm-test.c (main): Add new test functions.
5189         (jn_test): New tests.
5190         (j1_test): Add some more tests.
5191         (j0_test): Add some more tests.
5192         (y0_test): Add some more tests.
5193         (y1_test): Add some more tests.
5195 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5197         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
5198         Patch by mhagger@dera.gov.uk [PR libc/1145].
5200         * math/libm-test.c (y1_test): New tests.
5201         (y0_test): Likewise.
5202         (j1_test): Likewise.
5203         (j0_test): Likewise.
5204         (main): Added new tests.
5206 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
5208         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
5209         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
5210         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
5211         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
5212         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
5213         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
5215 1999-06-02  David S. Miller  <davem@redhat.com>
5217         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
5218         pointers properly.
5220 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
5222         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
5223         and elide compatibility code if possible.
5225 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
5227         * manual/llio.texi: Remove menu entry for removed section.
5229 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5231         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
5232         variables.
5234 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5236         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
5237         (from Linux 2.3.4).
5239 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
5241         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
5243 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5245         * manual/stdio.texi: Fix some typos.
5247 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5249         * malloc/malloc.h: Properly handle future GCC versions.
5251 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5253         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
5254         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
5255         text of error message.
5257         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
5259 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
5261         * manual/filesys.texi: Extend (f)truncate documentation.
5262         * manual/llio.texi: Remove duplicate (f)truncate definition.
5264 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5266         * manual/stdio.texi (Formatted Output Functions): Mention
5267         semantics of snprintf in glibc 2.0.
5268         Reported by Ben Pfaff <pfaffben@msu.edu>.
5270 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
5272         * include/features.h (__GLIBC_MINOR__): Bump to 2.
5274 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
5276         * math/libm-test.c: Adjust a few more deltas for the poor ARM
5277         FPU emulator.
5279 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5281         * configure.in: Fix typo.
5283 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5285         * manual/socket.texi (Host Names): Remove statement that h_errno
5286         needs to be declared since this isn't true anymore.
5287         Closes PR libc/1138.
5289 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
5291         * config.h.in: Add __LINUX_KERNEL_VERSION.
5292         * configure.in: Recognize --enable-kernel.
5293         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
5294         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
5295         appropriately.
5296         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
5297         given perform runtime test.
5299         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
5300         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
5301         minimal supported kernel is known to have the feature.
5302         * sysdeps/unix/sysv/linux/poll.c: Likewise.
5303         * sysdeps/unix/sysv/linux/pread.c: Likewise.
5304         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5305         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5306         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5307         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
5308         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5309         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5310         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5311         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5312         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5313         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
5314         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
5315         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
5316         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
5318         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
5320 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
5322         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
5324 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
5326         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
5327         Optimized sparc64 routines.
5329 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
5331         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
5332         they are the same as ints.
5333         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5335         * version.h (VERSION): Bump to 2.1.90.
5336         (RELEASE): Mark as development.
5338         * stdio-common/vfprintf.c (vfprintf): Don't implement special
5339         handling for long long if it is the same as long.
5340         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5342         * stdlib/strtol.c: Moved to ...
5343         * sysdeps/generic/strtol.c: ...here.
5344         * stdlib/strtoul.c: Moved to ...
5345         * sysdeps/generic/strtoul.c: ...here.
5346         * stdlib/strtoll.c: Moved to ...
5347         * sysdeps/generic/strtoll.c: ...here.
5348         * stdlib/strtoull.c: Moved to ...
5349         * sysdeps/generic/strtoull.c: ...here.
5350         * stdlib/strtol_l.c: Moved to ...
5351         * sysdeps/generic/strtol_l.c: ...here.
5352         * stdlib/strtoul_l.c: Moved to ...
5353         * sysdeps/generic/strtoul_l.c: ...here.
5354         * stdlib/strtoll_l.c: Moved to ...
5355         * sysdeps/generic/strtoll_l.c: ...here.
5356         * stdlib/strtoull_l.c: Moved to ...
5357         * sysdeps/generic/strtoull_l.c: ...here.
5359         * sysdeps/wordsize-64/strtol.c: New file.
5360         * sysdeps/wordsize-64/strtoul.c: New file.
5361         * sysdeps/wordsize-64/strtoll.c: New file.
5362         * sysdeps/wordsize-64/strtoull.c: New file.
5363         * sysdeps/wordsize-64/strtol_l.c: New file.
5364         * sysdeps/wordsize-64/strtoul_l.c: New file.
5365         * sysdeps/wordsize-64/strtoll_l.c: New file.
5366         * sysdeps/wordsize-64/strtoull_l.c: New file.
5368         * wcsmbs/wcstol.c: Moved to ...
5369         * sysdeps/generic/wcstol.c: ...here.
5370         * wcsmbs/wcstoul.c: Moved to ...
5371         * sysdeps/generic/wcstoul.c: ...here.
5372         * wcsmbs/wcstoll.c: Moved to ...
5373         * sysdeps/generic/wcstoll.c: ...here.
5374         * wcsmbs/wcstoull.c: Moved to ...
5375         * sysdeps/generic/wcstoull.c: ...here.
5376         * wcsmbs/wcstol_l.c: Moved to ...
5377         * sysdeps/generic/wcstol_l.c: ...here.
5378         * wcsmbs/wcstoul_l.c: Moved to ...
5379         * sysdeps/generic/wcstoul_l.c: ...here.
5380         * wcsmbs/wcstoll_l.c: Moved to ...
5381         * sysdeps/generic/wcstoll_l.c: ...here.
5382         * wcsmbs/wcstoull_l.c: Moved to ...
5383         * sysdeps/generic/wcstoull_l.c: ...here.
5385         * sysdeps/wordsize-64/wcstol.c: New file.
5386         * sysdeps/wordsize-64/wcstoul.c: New file.
5387         * sysdeps/wordsize-64/wcstoll.c: New file.
5388         * sysdeps/wordsize-64/wcstoull.c: New file.
5389         * sysdeps/wordsize-64/wcstol_l.c: New file.
5390         * sysdeps/wordsize-64/wcstoul_l.c: New file.
5391         * sysdeps/wordsize-64/wcstoll_l.c: New file.
5392         * sysdeps/wordsize-64/wcstoull_l.c: New file.
5394 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
5396         * sysdeps/sparc/bits/wordsize.h: New file.
5397         * sysdeps/sparc/fpu/bits/fenv.h: New file.
5398         * sysdeps/sparc/fpu/fpu_control.h: New file.
5399         * sysdeps/sparc/gmp-mparam.h: New file.
5401         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
5402         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
5403         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
5404         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
5405         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
5406         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
5408         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
5409         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
5410         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
5411         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
5413         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
5414         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
5415         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
5416         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
5417         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
5419 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
5421         * login/openpty.c (openpty): Make sure pty does not because
5422         controlling TTY.
5424         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
5426 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
5428         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
5429         Do proper error return.
5431 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5433         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
5434         of __P in the rest of glibc; define __MALLOC_PMT and use it.
5435         Reported by Stephan Kulow <coolo@kde.org>.
5437 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
5439         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
5441         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
5443 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5445         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
5446         names to protect from user's macro namespace.
5447         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
5448         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
5449         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
5450         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
5451         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
5452         Adapted.
5453         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
5454         sysdeps/arm/fpu/fesetenv.c: Likewise.
5455         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
5456         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
5457         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5458         * sysdeps/mips/fesetenv.c: Likewise.
5460 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
5462         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
5464 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
5466         * configure.in: Recognize and allow gcc 2.95.
5468 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
5470         * sysdeps/generic/bits/elfclass.h: Version common to
5471         wordsize-32 and wordsize-64.
5472         * sysdeps/generic/bits/environments.h: Ditto.
5473         * sysdeps/generic/stdint.h: Ditto.
5474         * sysdeps/generic/inttypes.h: Ditto.
5476         * sysdeps/generic/bits/wordsize.h: New file.
5477         * stdlib/Makefile: Add bits/wordsize.h to headers.
5479         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
5481         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
5482         headers to be used for 32bit and 64bit ABI compilations.
5483         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
5484         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
5485         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
5486         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
5487         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
5489         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
5490         * sysdeps/wordsize-64/bits/environments.h: Remove.
5491         * sysdeps/wordsize-64/stdint.h: Remove.
5492         * sysdeps/wordsize-64/inttypes.h: Remove.
5493         * sysdeps/wordsize-64/bits/wordsize.h: New file.
5495         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
5496         * sysdeps/wordsize-32/bits/environments.h: Remove.
5497         * sysdeps/wordsize-32/stdint.h: Remove.
5498         * sysdeps/wordsize-32/inttypes.h: Remove.
5499         * sysdeps/wordsize-32/bits/wordsize.h: New file.
5501 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
5503         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
5504         __align_cpy_16): New functions.
5505         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
5507         * sysdeps/sparc/sparc32/Versions: New file.
5508         * sysdeps/sparc/sparc64/Versions: New file.
5509         * sysdeps/sparc/Versions: Remove.
5511 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
5513         * sysdeps/unix/sysv/linux/configure.in:
5514         On sparc64-*-linux*, set slibdir to /lib64 if prefix
5515         is /usr, plus set libdir to ${exec_prefix}/lib64.
5516         * sysdeps/unix/sysv/linux/configure: Regenerated.
5517         * config.make.in: Propagate libdir settings from configure
5518         to the Makefiles.
5519         * shlib-versions: sparc64-*-linux* dynamic linker is
5520         /lib64/ld-linux.so.2.
5522 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
5524         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
5525         RPC connection.
5527 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
5529         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
5530         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
5532         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
5533         contains garbage in bits 8-63.
5534         * sysdeps/sparc/sparc64/memset.S: Ditto.
5535         * sysdeps/sparc/sparc64/strchr.S: Ditto.
5537 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
5539         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
5541 1999-05-17  David S. Miller  <davem@redhat.com>
5543         * sysdeps/sparc/sparc32/atomicity.h: New file.
5544         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
5545         * sysdeps/sparc/sparc64/atomicity.h: New file.
5546         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
5547         sysdep-CFLAGS.
5549 1999-05-18  Richard Henderson  <rth@twiddle.net>
5551         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
5553 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5555         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
5556         posix/sys/types.h: Handle the case of __GNUC__=3,
5557         __GNUC_MINOR__=(anything).
5559 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5561         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
5562         if _FORCE_INLINES.
5564 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
5566         * elf/Makefile (distribute): Remove dl-origin.h.
5567         Add dl-dst.h and gen-trusted-dirs.awk.
5569 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5571         * sysdeps/i386/i486/Versions: New file with inline functions from
5572         sysdeps/i386/i486/bits/string.h for now.
5574         * sysdeps/i386/Versions: Add inline functions from
5575         sysdeps/i386/bits/string.h.
5577         * string/Versions: Add inline functions from <bits/string2.h>.
5579         * string/Makefile (routines): Add string-inlines.
5580         * string/string-inlines.c: New file, used for implementation of
5581         extern inline functions.
5583         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
5584         non inlined versions of functions.
5585         * string/bits/string2.h: Likewise.
5586         * sysdeps/i386/bits/string.h: Likewise.
5588 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
5590         * inet/arpa/tftp.h: Add second packed attribute.
5592 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
5594         * malloc/malloc.c: Cleanup to bring in line with released
5595         stand-alone version `ptmalloc'.  Update some comments.
5596         (internal_function): Move fallback definition so that the source
5597         compiles outside of libc, and use it in more places.
5598         (malloc_atfork): Fix when malloc_check is in use.
5600 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5602         * stdlib/tst-strtod.c: Fix typo.
5604 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5606         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
5607         const incorrectness.
5609 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
5611         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
5613 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
5615         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
5616         * sunrpc/key_call.c: Fix memory leak, close file handle.
5617         * nis/nis_creategroup.c: Use malloc instead of calloc,
5618         set ctime and mtime.
5619         * nis/nis_subr.c: Check for realloc result.
5620         * nis/nis_file.c: Fix memory leak.
5621         * nis/nis_table.c: Pretty print.
5622         * nis/nis_getservlist.c: Likewise.
5623         * nis/nis_ismember.c: Likewise.
5624         * nis/nis_lookup.c: Likewise.
5625         * nis/nis_ping.c: Likewise.
5626         * nis/nis_removemember.c: Likewise.
5627         * nis/nis_util.c: Likewise, check calloc result.
5629 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
5631         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
5632         * sysdeps/generic/sys/socketvar.h: ... here.
5633         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
5634         * sysdeps/generic/netinet/in_systm.h: ... here.
5635         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
5636         sys/socketvar.h.
5637         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
5638         * inet/Makefile (headers): Add netinet/in_systm.h here.
5639         * socket/Makefile (headers): Add sys/socketvar.h here.
5641 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
5643         * stdlib/strtol.c: Optimize inner loop of long long versions.
5645         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
5646         Unix98.  Add forward declaration of struct utmp.
5648 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
5650         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
5651         calloc.
5653         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
5654         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
5655         memory allocation results.
5657 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
5659         * sysdeps/generic/getutmp.c: Include <string.h>
5660         (getutmp): Rewrite to only copy those members that are really
5661         present in `struct utmp'.
5662         * sysdeps/generic/getutmpx.c: Likewise.
5664 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
5666         * nss/getXXbyYY.c: Add free_mem function which disposes all
5667         statically allocated memory when debugging.
5668         * nss/getXXent.c: Likewise.
5669         * nss/nsswitch.c: Likewise.
5671 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
5673         * sysdeps/gnu/getutmpx.c: New file.
5674         * sysdeps/gnu/getutmp.c: New file.
5676 1999-05-13  H.J. Lu  <hjl@gnu.org>
5678         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
5679         (getutmp): Likewise.
5681         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
5682         getutmpx for login.
5684         * sysdeps/gnu/utmpx.h (getutmp): Added.
5685         (getutmpx): Likewise.
5687         * sysdeps/generic/getutmp.c: New file.
5689         * sysdeps/generic/getutmpx.c: New file.
5691 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5693         * glibcbug.in (BUGGLIBC): Change address to
5694         libc-alpha@sourceware.cygnus.com.
5696 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5698         * resolv/arpa/nameser.h: Add C++ protectors.
5700 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5702         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
5703         Elad Tsur <eladts@post.tau.ac.il>.
5705 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
5707         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
5708         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
5709         lazily if LD_BIND_NOW is not set.
5710         * elf/dl-support.c (_dl_lazy): New variable.
5711         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
5712         * elf/rtld.c (_dl_lazy): new global variable.
5713         ( dl_main): Remove lazy, replace it by _dl_lazy.
5715 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5717         * locale/setlocale.c (new_composite_name): Check also whether the
5718         first category name differs.
5720 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5722         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
5723         the generic one.
5725 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
5727         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
5728         structure; storage suitable for any socket address.
5729         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
5730         Likewise.
5731         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
5732         sockaddr_storage): Likewise.
5734         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
5735         platform.
5737 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
5739         * hesiod/Versions: Change _nss_hesiod_getpwuid and
5740         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
5741         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
5743 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
5745         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
5746         if the file is empty.
5748 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
5750         * elf/do-lookup.h: Fix typo in comment.
5752         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
5753         f_bsize to help some broken programs.
5755         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
5757         * stdio-common/vfprintf.c: Fix typo.
5759 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
5761         * elf/link.h (struct link_map): New field l_phdr_allocated.
5762         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
5763         the program header being part of any loaded segment.  If it is not
5764         allocate memory and set l_phdr_allocated flag.
5765         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
5767         * nss/digits_dots.c: Correct return value interpretation of
5768         inet_ntoa.  Fix PR libc/1109.
5770 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
5772         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
5774 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
5776         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
5777         * stdlib/fpioconst.c: Move #endif before end of struct.
5779 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
5781         * Versions.def (ld.so): Add GLIBC_2.1.1.
5782         * elf/Makefile (routines): Add dl-origin.
5783         (tests): Add origtest.  Add dependencies for the program.
5784         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
5785         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
5786         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
5787         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
5788         DT_AUXILIARY, and DT_FILTER filenames.
5789         * elf/dl-load.c (expand_dynamic_string_token): Explode into
5790         two functions and three macros.
5791         (_dl_dst_count, _dl_dst_substitute): New functions.
5792         * elf/dl-dst.h: New file.
5793         * elf/dl-open.c (_dl_open): Take extra parameter with address of
5794         caller.  Pass address in args structure.
5795         (dl_open_worker): Recognize and expand DSTs in filename.
5796         * elf/ldsodefs.h (_dl_open): Adapt prototype.
5797         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
5798         (__dlopen_check): Pass caller address to dlopen_doit in args.
5799         * elf/dlopendoit.c: Likewise.
5800         * iconv/gconv_dl.c: Adapt call of _dl_open.
5801         * nss/nsswitch.c: Likewise.
5802         * elf/origtest.c: New file.
5803         * sysdeps/generic/dl-origin.h: Moved to...
5804         * sysdeps/generic/dl-origin.c: ...here.
5805         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
5806         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
5808         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
5809         with specific bases and only few bits set in second word.
5811         * timezone/Makefile (install-others): Create target directory
5812         before creating tzfiles.
5814 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
5816         * nis/nis_file.c (readColdStartFile): Allocate memory only after
5817         the file is opened successfully.
5819         * nis/nis_table.c: Fix some memory leaks.
5821 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
5823         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
5824         variable.
5826         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
5827         around DST.  Correctly ignore ORIGIN IN SUID binaries.
5829 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
5831         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
5832         * sysdeps/generic/strtok.c: Likewise.
5834         * string/tester.c: Add test of rawmemchr.
5836         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
5837         specification.  It's not necessary.
5839         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
5840         * elf/gen-trusted-dirs.awk: New file.
5841         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
5842         from SYSTEM_DIRS macro.
5843         (system_dirs_len): New variable.  Contains lengths of system_dirs
5844         strings.
5845         (fillin_rpath): Rewrite for systems_dirs being a simple string.
5846         Improve string comparisons.  Change parameter trusted to be a flag.
5847         Change all callers.
5848         (_dt_init_paths): Improve using new format for system_dirs.
5850         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
5851         $ORIGIN for SUID binaries.
5853         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
5855 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5857         * sunrpc/Makefile: Generate dependencies for all flavors of
5858         librpcsvc objects.
5859         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
5860         invocations.
5862 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5864         * elf/dlopenold.c: Move #if down after includes to get
5865         dependencies right.
5867 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5869         * sysdeps/generic/bzero.c: Undefine __bzero.
5871 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
5873         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
5874         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
5875         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
5876         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
5878         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
5879         parameter to struct gaih_servtuple *.  Adapt appropriately.
5880         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
5881         This fixes a memory leak.
5882         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
5884         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
5885         and fpregset_t definition.  They are defined in ucontext.h.
5887 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
5889         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
5890         and struct ether_header must be packed on the ARM.  The default
5891         alignment constraints add padding to the end of the structures.
5893 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
5895         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
5896         default alignment constraints add padding to the end of the
5897         structure and between members.
5899 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
5901         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
5902         _dl_cache_libcmp instead of strcmp.
5904         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
5905         fails on a file.
5906         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
5908 1998-03-30  Joel Klecker  <espy@debian.org>
5910         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
5911         (sysdep-others,install-bin): Add lddlibc4.
5913 1999-05-02  H.J. Lu  <hjl@gnu.org>
5915         * timezone/zic.c (dolink): Remove the symlink destination first.
5917         * catgets/open_catalog.c (__open_catalog): Set catalog->status
5918         to "nonexisting" if failed to open the file.
5920 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
5922         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
5923         gcc3.
5925         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
5926         Prevent warnings from multiplication with 0x01010101 by another cast.
5928 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5930         * string/bits/string2.h (memset): Revert to previous version if
5931         unaligned writes are not available.
5933 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
5935         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
5936         better code in presence of the asm.
5938 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5940         * stdlib/fmtmsg.c (keywords): Increase array size for faster
5941         indexing.
5943         * locale/localeinfo.h (_nl_category_names): Increase array element
5944         size for faster indexing.
5945         * locale/setlocale.c (_nl_category_names): Adjusted.
5947 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5949         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
5951 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5953         * sysdeps/m68k/stackinfo.h: New file.
5955 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
5957         * string/tester.c (test_strchrnul): New function.
5958         (test_memset): Test one more special case.
5960         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
5961         25% of all cases.
5963         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
5964         base types.
5966         * string/bits/string2.h: Fix bugs I introduced in last change.
5968         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
5969         register stall.
5970         Extend memset optimization.
5971         Correct i686 version of memchr.
5973 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
5975         * sysdeps/i386/bzero.c: Add #undef __bzero.
5977         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
5978         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
5979         exec server simulated a SIGTRAP before we even started up, so gdb is
5980         already happy.
5982 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
5984         * nss/digits_dots.c: Always initialize not_ok.
5986 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
5988         * string/bits/string2.h (memset): Avoid arithmetic overflow at
5989         compile time, which produces obnoxious warnings.  If GCCv2 is
5990         in use, map __bzero to __builtin_memset to enable that
5991         optimization.
5993 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
5995         * string/bits/string2.h: Add more memset optimizations.
5997         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
5999         * resolv/inet_pton.c (inet_pton4): Little optimizations.
6000         (inet_pton6): Likewise.
6002         * nss/getXXbyYY_r.c: Include assert.h.
6003         * nss/getXXbyYY.c: Likewise.
6005 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6007         * termios/tcgetsid.c (tcgetsid): Rename variable to
6008         tiocgsid_does_not_work.
6010 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
6012         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
6014 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6016         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
6017         This allows e.g. gethostbyname to accept "10.1234".
6018         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
6020         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
6021         non quad IPv4 numbers.
6023 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6025         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
6027 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
6029         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
6030         * argp/argp-parse.c (_argp_hang): Likewise.
6031         * argp/argp-pv.c (argp_program_version): Likewise.
6032         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
6033         * inet/ether_hton.c (ether_hton, startp): Likewise.
6034         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
6035         * inet/getnetgrent_r.c (setup, startp): Likewise.
6036         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
6037         * intl/localealias.c (string_space, string_space_act, string_space_max,
6038         nmap, maxmap): Likewise.
6039         * libio/iopopen.c (proc_file_chain): Likewise.
6040         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
6041         * locale/lc-collate.c (__collate_table, __collate_extra,
6042         __collate_element_hash, __collate_element_strings,
6043         __collate_element_values): Likewise.
6044         * malloc/mcheck.c (mcheck_used): Likewise.
6045         * malloc/mtrace.c (added_atexit_handler): Likewise.
6046         * malloc/set-freeres.c (already_called): Likewise.
6047         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
6048         * misc/syslog.c (LogStat, LogTag): Likewise.
6049         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
6050         * nss/getXXbyYY_r.c (startp): Likewise.
6051         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
6052         * posix/regex.c (init_syntax_once) [done]: Likewise.
6053         (debug): Likewise.
6054         * string/strfry.c (init): Likewise.
6055         * sunrpc/svc_run.c (svc_top): Likewise.
6056         * posix/euidaccess.c (have_ids): Likewise.
6057         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
6058         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
6059         * time/getdate.c (getdate_err): Likewise.
6060         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
6061         Likewise.
6062         * time/tzset.c (old_tz, is_initialized): Likewise.
6064         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
6065         of static data with zero.
6066         * signal/allocrtsig.c (init): Likewise.
6068         * string/Makefile (routines): Add strchrnul.
6069         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
6070         * string/string.c: Add strchrnul prototype.
6071         * include/string.h: Add __strchrnul prototype.
6072         * sysdeps/generic/strchrnul.c: New file.
6073         * sysdeps/i386/strchrnul.S: New file.
6074         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
6075         * sysdeps/i386/i486/bits/string.c: Likewise.
6076         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
6077         * inet/ether_line.c (ether_line): Likewise.
6078         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
6079         * nss/nsswitch.c (nss_parse_file): Likewise.
6080         * posix/execvp.c (execvp): Likewise.
6081         * posix/fnmatch.c (internal_fnmatch): Likewise.
6082         * resolv/res_hconf.c (_res_hconv_init): Likewise.
6083         * resolv/res_init.c (res_init): Likewise.
6084         * stdlib/fmtmsg.c (init): Likewise.
6085         * stdlib/getsubopt.c (getsubopt): Likewise.
6087         * catgets/catgets.c (catopen): Only allocate one memory block.
6088         (catclose): Only one free call necessary.
6090         * catgets/open_catalog.c (__open_catalog): Simplify handling of
6091         file descriptor.
6093         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
6094         of real functions.  Simplify _tolower and _toupper.
6096         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
6097         variable.
6099         * iconv/gconv.h (struct gconv_info): Change data element from pointer
6100         to array of size 0.
6101         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
6102         * iconv/gconv_close.c (__gconv_close): Don't free data.
6104         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
6105         insert new alias.
6107         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
6108         for error while inserting in tree.
6110         * include/time.h: Pretty print.
6112         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
6113         in table and lots of relocations.
6114         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
6115         string pointers in table and lots of relocations.
6117         * intl/finddomain.c: Remove definition of strchr macro.
6119         * io/ftw.c (nftw_arr, ftw_arr): Make const.
6121         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
6123         * locale/localeinfo.h (_nl_category_names): Change into an array with
6124         fixed width char string elements.
6125         * locale/setlocale.c (_nl_category_names): Likewise.
6126         (_nl_current): Make global.
6127         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
6129         * malloc/Makefile (distribute): Add stackinfo.h.
6130         * sysdeps/generic/stackinfo.h: New file.
6131         * sysdeps/i386/stackinfo.h: New file.
6132         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
6133         * posix/execle.c: Likewise.
6134         * posix/execlp.c: Likewise.
6136         * nis/nis_table.c (__create_ib_request): Always use realloc.
6138         * posix/execvp.c (execute): Rename to script_execute and keep only
6139         code to execute using shell.
6140         (execvp): Call execv directly and only fall back on script_execute.
6142         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
6143         and always use xdigits instead.
6145         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
6146         where appropriate.
6148         * stdlib/fpioconst.h (__tens): New declaration.
6149         (struct mp_power): Remove array, add arrayoff element.
6150         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
6151         __tens array and add in _fpioconst_pow10 offsets into __tens.
6152         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
6153         * stdlib/strtod.c: Likewise.
6155         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
6157         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
6158         of the list.
6159         * stdlib/atexit.c (__exit_funcs): Don't initialize.
6161         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
6163         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
6164         a single and an array with offsets.
6166         * sunrpc/des_soft.c (partab): Make it const.
6168         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
6169         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
6170         (__key_decryptsession_pk_LOCAL): Likewise.
6171         (__key_gendes_LOCAL): Likewise.
6172         (MESSENGER): Mark const.
6173         (key_call_private_main): Don't initialize with 0.
6174         (use_keyenvoy): Don't initialize with 0.
6175         (key_call): Rewrite to reverse logic of use_doors variable.
6177         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
6178         (startp): Don't initialize with zero.
6180         * sunrpc/openchild.c (_openchild): Make first argument const.
6182         * sunrpc/pmap_rmt.c (timeout): Mark const.
6183         * sunrpc/xcrypt.c (hex): Likewise.
6185         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
6186         initialization of global variables.
6187         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6188         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6189         * termios/tcgetsid.c: Likewise.
6191         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
6192         fxsr to osfxsr.
6194         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
6195         block.  Add function to free memory if wanted.
6196         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
6198         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
6200         * wcsmbs/wmemset.c: Little code optimization.
6202 1999-04-23  Paul Eggert  <eggert@twinsun.com>
6204         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
6205         ifdef _LIBC.
6207 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
6209         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
6210         implementation and just always fail with ENOSYS.  This entry point is
6211         obsolete.  Add link warning to that effect.
6213 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
6215         * hurd/get-host.c: Include <hurd/lookup.h>.
6217 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
6219         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
6220         is != NULL.
6222 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6224         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
6225         ISO C9x and Unix98.
6227 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
6229         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
6230         Patch by Peter Miller <millerp@canb.auug.org.au>.
6232 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
6234         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
6235         prefers loopback device.
6237 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
6239         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
6240         no_leading_period change.
6242         * posix/testfnm.c: More test cases.
6244 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
6246         * include/dirent.h: Remove __getdirentries declaration, add __getdents
6247         and __getdents64.
6248         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
6249         * sysdeps/unix/readdir_r.c: Likewise.
6250         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6251         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6252         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
6253         __getdirentries.  Remove fourth argument.
6254         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
6255         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
6256         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
6257         Add getdirentries and getdirentries64.
6258         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
6260         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
6261         pointer in case of an invalid [[: expression.
6263         * posix/testfnm.c: Add more test cases.
6265 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
6267         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
6268         set, pass EXEC_SIGTRAP flag in exec RPC.
6270 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
6272         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
6273         extra parameter.  Fix several more bugs involving wildcard and
6274         ranges.
6275         (fnmatch): New function.  Call internal_fnmatch.
6277         * posix/testfnm.c: More test cases.
6279 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6281         * manual/install.texi (Configuring and compiling): Explain that
6282         files are changed in the source directory.
6283         Closes PR libc/981.
6284         (Configuring and compiling): Explain situation with PARALLELMFLAGS
6285         in the source directory.
6287 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6289         * locale/programs/ld-ctype.c: Spelling fixes.
6290         (ctype_finish): Fix argument of error message format.
6291         * locale/programs/ld-messages.c: Spelling fixes.
6292         * locale/programs/ld-monetary.c: Spelling fixes.
6293         * locale/programs/ld-time.c (time_finish): Make sure that name and
6294         format of era_entries are adjacent.
6295         (time_output): Reduce the size of the io vector.
6297 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6299         * manual/filesys.texi (Attribute Meanings): Move a misplaced
6300         paragraph.
6302 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6304         * locale/programs/ld-collate.c (collate_output): Convert
6305         undefined_offset to an array index.  Fix computation of other
6306         endian extra table.
6308 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
6310         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
6311         return success with empty value.
6313 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
6315         * posix/fnmatch.c: Include string.h also for glibc.
6316         (fnmatch, case '?'): Optimize if cascades a bit.
6317         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
6319         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
6321 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
6323         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
6324         * iconv/gconv_int.h: Declare UTF16 functions.
6325         * iconv/gconv_simple.c: Add UTF16 conversion functions.
6327 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6329         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
6330         be used correctly as parameter for parse_dollars/parse_tilde.
6332 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6334         * manual/conf.texi (Utility Limits): Remove duplicate description
6335         of BC_DIM_MAX.
6337 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
6339         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
6340         outbufend for dst==NULL.
6342 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
6344         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
6345         for dst==NULL.
6346         Fixes PR libc/1084.
6348         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
6349         Fixes PR libc/1083.
6351 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
6353         * sunrpc/Makefile: Remove special handling of bootparam.x,
6354         add rpcsvc/bootparam.h to headers.
6355         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
6356         * sunrpc/rpcsvc/bootparam.x: Renamed to...
6357         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
6359 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
6361         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
6362         detect and handle invalid descriptors.
6364 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
6366         * timezone/zic.c (dolink): Append complete path not only filename
6367         to ../ list.
6369 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6371         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
6373 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
6375         * iconvdata/gconv-modules: Rename CP874 to IBM874.
6376         * iconvdata/Makefile: Likewise.
6377         * iconvdata/cp874.h: Removed.
6378         * iconvdata/cp874.c: Renamed to...
6379         * iconvdata/ibm874.c: ...this.
6381 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
6383         * sysdeps/unix/sysv/linux/bits/types.h: Correct
6384         signed/unsigned-ness of blkcnt and fsblkcnt.
6385         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6386         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6388         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
6389         SOL_AAL, and SOL_IRDA.
6391 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6393         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
6394         include "linux_fsinfo.h".
6395         Based on a patch by H.J. Lu <hjl@gnu.org>.
6397 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
6399         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
6401 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
6403         * nscd/cache.c (prune_cache): Only disable file checking for
6404         future if the file does not exist.
6405         Update file_mtime if cache was flushed.
6407 1999-04-15  David S. Miller  <davem@redhat.com>
6409         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
6410         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
6412 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
6414         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
6415         compilation of file.
6417 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
6419         * Versions.def: Add GLIBC_2.1.1 to libpthread.
6421         * iconvdata/Makefile (modules): Add KOI8-U.
6422         (distribute): Add koi8-u.c.
6423         (gen-8bit-gap-modules): Add koi8-u.
6424         * iconvdata/gconv-modules: Add KOI8-U entries.
6425         * iconvdata/koi8-u.c: New file.
6427 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
6429         * sunrpc/auth_des.c: 64bit fixes, security fixes.
6430         * sunrpc/auth_none.c: Pretty print.
6431         * sunrpc/auth_unix.c: Likewise.
6432         * sunrpc/authdes_prot.c: Likewise.
6433         * sunrpc/authuxprot.c: Likewise.
6434         * sunrpc/bindrsvprt.c: Likewise.
6435         * sunrpc/clnt_gen.c: Likewise.
6436         * sunrpc/rpc/xdr.h: Likewise.
6437         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
6438         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
6439         * sunrpc/rtime.c: Use new rpc_timeval.
6440         * sunrpc/svc_authux.c: Don't use *long pointers.
6441         * sunrpc/svcauth_des.c: Likewise + security fixes.
6442         * sunrpc/xdr_mem.c: Don't use *long pointers.
6443         * sunrpc/xdr_rec.c: Likewise.
6444         * sunrpc/xdr_sizeof.c: Likewise.
6445         * sunrpc/xdr_stdio.c: Likewise.
6447 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
6449         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
6450         so that it is redone for each sending.
6452 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6454         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
6456 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
6458         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
6459         known to not exist don't try to load shared objects.
6460         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
6462         * nscd/cache.c (prune_cache): The table might not be unused.  In
6463         this case do nothing.
6465         * catgets/gencat.c (read_input_file): Don't drop white spaces
6466         between number/identifier and string.
6467         Patch by Dima Barsky <dima@pwd.hp.com>.
6468         If no white space at all follows number/identifier remove existing
6469         message with the number/identifier.
6471 1999-04-14  H.J. Lu  <hjl@gnu.org>
6473         * sunrpc/clnt_udp.c (is_network_up): New function.
6474         (clntudp_call): Call is_network_up () to check if any network
6475         interface is up in case of timeout.
6477 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6479         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
6480         * wctype/Makefile (tests): Add test_wcfuncs.
6482 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
6484         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
6485         architectures.
6486         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
6487         instead of CFLAGS.
6488         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
6489         instead of CFLAGS. For gnulib and string directories use
6490         -Wa,-Av9a gcc ASFLAGS.
6491         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
6492         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
6493         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
6494         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
6495         the same way as sparc-*.
6497 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
6499         * locale/programs/locfile.c (locfile_read): Fix typo.
6500         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
6502 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
6504         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
6505         restarted after being interrupted by a signal.  The parameters on
6506         the stack were corrupted by the signal handler.
6508         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
6509         restarted after being interrupted by a signal.  The parameters on
6510         the stack were corrupted by the signal handler.
6512 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6514         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
6515         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
6517 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
6519         * posix/wordexp-test.c: In field-splitting test cases where
6520         subshells were involved, unset IFS first: some shells (ash) use
6521         IFS even when no expansion is performed.
6523 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6525         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
6526         the real end of the chunk, not some random point inbetween.
6527         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
6528         obstack when growing.  Use fast version of obstack_blank when
6529         shrinking.
6530         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
6531         allocating the vtable pointer.
6532         (_IO_obstack_vprintf): Adjust for above change and avoid
6533         unnecessary casts.  Use fast version of obstack_blank when
6534         shrinking.
6535         Fixes PR libc/1075.
6537 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
6539         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
6540         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
6542 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6544         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
6545         is seen, as well as fixing semantics.  Don't reset the word count
6546         to zero when an invalid character is seen, but leave it as it was
6547         (this makes a difference with WRDE_APPEND).
6549         * posix/wordexp-test.c: More test cases.
6551         * posix/wordexp.c (parse_param): In words like ${var#pattern},
6552         always expand pattern when it is needed.  Also, handle quoting in
6553         pattern properly.
6555 1999-04-12  Philip Blundell  <philb@gnu.org>
6557         * elf/elf.h: Update ARM definitions to match current gas2.
6559         * sysdeps/arm/bits/endian.h: Support big endian operation.
6561         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
6562         Don't bother range checking the port number.
6564         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
6566         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
6567         the syscall name in assembler output for ease of debugging.
6569         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
6570         compiler behaviour.
6571         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
6572         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
6573         (sysdep_routines): Add sigrestorer.
6575         * string/tester.c (test_strcpy): Add new tests for unaligned
6576         arguments.
6577         * sysdeps/arm/bits/string.h: Delete inline implementations of
6578         strcpy and stpcpy.
6580 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
6582         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
6584 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
6586         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
6588 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
6590         * iconvdata/Makefile (modules): Add TIS-620.
6591         (distribute): Add tis-620.c.
6592         (gen-8bit-gap-modules): tis-620.
6593         * iconvdata/tis-620.c: New file.
6594         * iconvdata/gconv-modules: Add TIS-620 entries.
6596         * iconvdata/asmo_449.c: Correct comment.
6598 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6600         * manual/install.texi (Configuring and compiling): Comment out
6601         description of --disable-static since this doesn't work currently
6602         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
6604 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
6606         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
6607         use binary search.
6608         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
6610 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6612         * scripts/test-installation.pl (installation_problem): Skip
6613         libnss1_* libraries from glibc-compat add-on.
6615 1999-04-07  H.J. Lu  <hjl@gnu.org>
6617         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
6618         libstdc++ 2.7.2.
6619         * posix/Versions (__waitpid): Likewise.
6621 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6623         * manual/install.texi (Reporting Bugs): Add section about reported
6624         bugs and correct email address of glibcbug script.
6626 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
6628         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
6629         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
6630         xdr_u_longlong_t. Based on patch from Dan Shechter
6631         <damageboy@isdn.net.il>.
6632         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
6633         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
6635         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
6637 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6639         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
6640         directly if getdents returns with error set.
6642 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6644         * locale/langinfo.h (THOUSEP): Rename second occurence of
6645         THOUSANDS_SEP to THOUSEP.
6646         Reported by Roman Belenov <roman@nstl.nnov.ru>.
6648 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
6650         * hurd/STATUS: File removed.  Moved items that are still relevant into
6651         TODO list in hurd source.
6653 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
6655         * sysdeps/mach/hurd/bits/time.h: New file.
6656         * sysdeps/mach/hurd/getrusage.c: New file.
6657         * sysdeps/mach/hurd/clk_tck.c: New file.
6658         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
6659         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
6660         (sysdep_routines): Add clk_tck.
6661         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
6662         implemented.
6664 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
6666         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
6667         (closelog): But instead here.
6668         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
6670 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6672         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
6673         the source directory.  Fixes PR libc/1059.
6675 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6677         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
6678         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6680 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
6682         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
6683         * iconvdata/testdata/ISO-8859-14: New file.
6684         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
6685         * iconvdata/testdata/ISO-8859-15: New file.
6686         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
6688 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
6690         * iconvdata/testdata/CP1258: New file.
6691         * iconvdata/testdata/CP1258..UTF8: New file.
6692         * iconvdata/TESTS: Add CP1258 entry.
6694         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
6696         * timezone/africa: Update from tzdata1999d.
6697         * timezone/europe: Likewise.
6698         * timezone/northamerica: Likewise.
6700 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
6702         * login/programs/pt_chown.c (main): Save effective user ID before
6703         dropping priviliges and use this to check if the program is
6704         properly installed.
6706 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
6708         * iconvdata/testdata/CP1254: Update for charmap changes.
6709         * iconvdata/testdata/CP1254..UTF8: Likewise.
6710         * iconvdata/testdata/CP1255: Likewise.
6711         * iconvdata/testdata/CP1255..UTF8: Likewise.
6712         * iconvdata/testdata/CP1256: Likewise.
6713         * iconvdata/testdata/CP1256..UTF8: Likewise.
6714         * iconvdata/testdata/CP1257: Likewise.
6715         * iconvdata/testdata/CP1257..UTF8: Likewise.
6717         * iconvdata/Makefile (distribute): Remove cp1258.h.
6718         (gen-8bit-gap-modules): Add cp1258.
6719         * iconvdata/cp1258.h: Removed.
6721 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
6723         * timezone/tst-timezone.c (tests): Add more cases.
6724         (check_tzvars): Mark errors clearer.
6725         (main): Likewise.
6727 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6729         * login/programs/pt_chown.c: Drop privileges if invoked with
6730         arguments.  Don't close the master pty.
6732 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
6734         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
6735         Minor optimization.
6737 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
6739         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
6740         relocation for SUID binaries.
6742 1999-03-29  Paul Eggert  <eggert@twinsun.com>
6744         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
6745         while in child process.
6747 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
6749         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
6750         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
6751         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
6752         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
6753         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
6755         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
6756         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
6757         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
6758         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
6759         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
6760         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
6761         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
6762         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
6763         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
6764         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
6765         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
6766         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
6767         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
6768         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
6769         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
6770         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
6771         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
6772         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
6773         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
6774         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
6775         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
6776         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
6777         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
6778         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
6779         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
6780         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
6782         * sysdeps/sparc/sparc32/bcopy.c: New file.
6783         * sysdeps/sparc/sparc32/bzero.c: New file.
6784         * sysdeps/sparc/sparc32/memchr.S: New file.
6785         * sysdeps/sparc/sparc32/memcpy.S: New file.
6786         * sysdeps/sparc/sparc32/memmove.c: New file.
6787         * sysdeps/sparc/sparc32/memset.S: New file.
6788         * sysdeps/sparc/sparc32/stpcpy.S: New file.
6789         * sysdeps/sparc/sparc32/strchr.S: New file.
6790         * sysdeps/sparc/sparc32/strrchr.c: New file.
6791         * sysdeps/sparc/sparc32/strcpy.S: New file.
6792         * sysdeps/sparc/sparc32/strlen.S: New file.
6793         * sysdeps/sparc/sparc32/strcat.S: New file.
6794         * sysdeps/sparc/sparc32/strcmp.S: New file.
6796         * sysdeps/sparc/sparc64/bcopy.c: New file.
6797         * sysdeps/sparc/sparc64/bzero.c: New file.
6798         * sysdeps/sparc/sparc64/memchr.S: New file.
6799         * sysdeps/sparc/sparc64/memcmp.S: New file.
6800         * sysdeps/sparc/sparc64/memcpy.S: New file.
6801         * sysdeps/sparc/sparc64/memset.S: New file.
6802         * sysdeps/sparc/sparc64/stpcpy.S: New file.
6803         * sysdeps/sparc/sparc64/strcat.S: New file.
6804         * sysdeps/sparc/sparc64/strchr.S: New file.
6805         * sysdeps/sparc/sparc64/strcmp.S: New file.
6806         * sysdeps/sparc/sparc64/strcpy.S: New file.
6807         * sysdeps/sparc/sparc64/strcspn.S: New file.
6808         * sysdeps/sparc/sparc64/strlen.S: New file.
6809         * sysdeps/sparc/sparc64/strncpy.S: New file.
6810         * sysdeps/sparc/sparc64/strpbrk.S: New file.
6811         * sysdeps/sparc/sparc64/strrchr.c: New file.
6812         * sysdeps/sparc/sparc64/strspn.S: New file.
6813         * sysdeps/sparc/sparc64/stpncpy.S: New file.
6814         * sysdeps/sparc/sparc64/strncmp.S: New file.
6816         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
6817         Append -fPIC, don't replace.
6819         * configure.in: Recognize sparcv8plus / sparcv9.
6821 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6823         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
6824         char * to avoid C++ warning.
6825         Patch by yasushi@cs.washington.edu [PR libc/1035].
6827 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6829         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
6830         declared in stdlib.h, correct return value of mkstemp.
6831         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
6833         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
6834         from Linux 2.2.5.
6836 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6838         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
6839         C++ warning.
6841         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
6842         inline functions.  Closes PR libc/1049.
6844 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6846         * timezone/README: Update from tzdata1999c and tzcode1999c.
6848         * timezone/africa: Update from tzdata1999c.
6849         * timezone/antarctica: Likewise.
6850         * timezone/asia: Likewise.
6851         * timezone/australasia: Likewise.
6852         * timezone/europe: Likewise.
6853         * timezone/northamerica: Likewise.
6854         * timezone/southamerica: Likewise.
6855         * timezone/zone.tab: Likewise.
6857         * timezone/zic.c: Update from tzcode1999c.
6859 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6861         * Makerules: Add $(common-objpfx)Versions.all to common-generated
6862         outside of ifndef avoid-generated.
6864         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
6865         in iofdopen.c.
6866         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
6867         iofopen.c.
6868         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
6869         in iofclose.c.
6870         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
6871         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
6873 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
6875         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
6876         if we build the profiled library.
6878 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6880         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
6881         Jaeger <aj@arthur.rhein-neckar.de>
6883 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
6885         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
6886         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
6887         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
6889 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
6891         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
6892         works properly in subdirs.
6894 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
6896         * sysdeps/mach/hurd/Makefile: Undo last change.
6897         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
6898         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
6900         * mach/Machrules (+preinit, +postinit, +interp,
6901         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
6902         linked just like other shared libraries.
6903         (interface.so): Fix typo in defn, so it works.
6904         ($(objpfx)$(interface.so)): Make it depend on libc.so.
6906 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
6908         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
6909         $(link-rpcuserlibs).
6911 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6913         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
6914         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
6915         targets if not building shared libraries.
6917 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6919         * configure.in: Also look in $PATH when searching for
6920         install-info.  Remove autoconf bug workaround and require autoconf
6921         2.13.
6923 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6925         * db/Makefile: Don't try to install shared library link if not
6926         building with shared libs.
6928 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6930         * rt/Makefile: Link against static library if no shared lib is
6931         available.
6933         * localedata/Makefile: The shells scripts implementing the test
6934         require the dynamic linker which is not available with
6935         --disable-shared.  Skip the test if --disable-shared is given.
6937         * linuxthreads/Makefile: Link test against static libpthread if no
6938         shared lib is available.
6940         * iconvdata/Makefile (tests): Run iconv-test only if we're
6941         building shared libraries.
6942         * elf/Makefile (tests): Likewise for elf tests.
6944         * posix/Makefile: The test frameworks globtest and wordexp-test
6945         require the dynamic linker which is not available with
6946         --disable-shared.  Skip the test if --disable-shared is given.
6948         * grp/Makefile (otherlibs): For static nss build link against
6949         necessary libs.
6951 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6953         * debug/Makefile (install-bin): Install and build catchsegv only
6954         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
6955         libc/965].
6957 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6959         * time/tzfile.c (__tzfile_read): Handle the case where there are
6960         transitions but no DST.
6962 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
6964         * mach/Machrules (extra-libs-others): Add $(interface-library) here
6965         too, so it gets built in the others pass rather than the lib pass.
6966         This is necessary since the RPC libraries need to be linked against
6967         libc.
6969 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
6971         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
6972         _itoa_word decl.
6974         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
6975         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
6976         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
6977         versions of lib{mach,hurd}user.so without reference to libc.so,
6978         then link libc.so against that to get deps and symbol versions, then
6979         finally link real lib*user.so against libc.so.
6981         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
6982         Support whole-file locking (only) by using the file_lock RPC.  This
6983         has very wrong semantics, but is better than nothing for the time
6984         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
6985         protocols that will be somewhat hairy to specify.)
6987 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
6989         * sysdeps/mach/hurd/ptsname.c: New file.
6991 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6993         * timezone/asia: Fix rule in Asia/Nicosia entry.
6995 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6997         * manual/getopt.texi (Using Getopt): Explain "::" in option
6998         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
7000 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
7002         * sunrpc/clnt_unix.c: Fix creation of parameters for
7003         sendmsg/recvmsg on non intel platforms.
7004         * sunrpc/svc_unix.c: Likewise.
7006 1999-03-18  Philip Blundell  <philb@gnu.org>
7008         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
7009         implementation.
7011 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7013         * timezone/africa: Update from tzdata1999b.
7014         * timezone/asia: Likewise.
7015         * timezone/australasia: Likewise.
7016         * timezone/europe: Likewise.
7017         * timezone/northamerica: Likewise.
7018         * timezone/southamerica: Likewise.
7019         * timezone/zone.tab: Likewise.
7021         * timezone/README: Mention tzdata1999b.
7023 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
7025         * sysdeps/generic/segfault.c (write_strsignal): New function.
7026         (catch_segfault): Use it instead of calling strsignal.
7028 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7030         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
7031         char to avoid warning.
7033 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
7035         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
7037         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
7038         outbuf to unsigned char to avoid warning.
7040 1999-03-11  David S. Miller  <davem@redhat.com>
7042         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
7043         masks.
7044         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
7046 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
7048         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
7049         `unsigned char'.
7050         (gconv_step_data): Likewise.
7051         * iconv/gconv_int.h (__gconv): Likewise.
7052         (__BUILINT_TRANS): Likewise.
7053         * iconv/gconv.c (__gconv): Likewise.
7054         * iconv/iconv.c (iconv): Add casts for call of __gconv.
7055         * iconv/skeleton.c: Change local parameters and variable from `char' to
7056         `unsigned char'.  Remove casts from calls into modules.
7057         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
7058         `char' to `unsigned char'.
7059         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
7060         * wcsmbs/mbrtowc.c: Likewise.
7061         * wcsmbs/mbsnrtowcs.c: Likewise.
7062         * wcsmbs/mbsrtowcs.c: Likewise.
7063         * wcsmbs/wcrtomb.c: Likewise.
7064         * wcsmbs/wcsnrtombs.c: Likewise.
7065         * wcsmbs/wcsrtombs.c: Likewise.
7066         * wcsmbs/wctob.c: Likewise.
7068 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
7070         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
7071         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
7072         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
7073         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
7074         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
7075         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
7077 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
7079         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
7080         _hurd_select if TIMEMOUT is -1.
7082 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
7084         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
7086 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
7088         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
7089         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
7091 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7093         * manual/libc.texinfo: Undo last change for now.
7095 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
7097         * intl/locale.alias: Add entries for Croatian.
7098         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
7100 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
7102         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
7103         if the opened master pty really is a pty.  `isatty' checks for
7104         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
7105         if we are out of pty's.
7107 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
7109         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
7110         opened file is closed on exec.
7111         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
7112         opened socket.
7114 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7116         * manual/llio.texi (File Position Primitive): Reformat @end
7117         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
7119 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
7121         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
7122         entry is found.
7123         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7124         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
7126         * locale/programs/localedef.c (main): Initialize `cat' to please
7127         the compiler.
7129 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
7131         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
7132         check for root-owned symlinks and reject them too.
7134 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7136         * stdio-common/printf_fphex.c: Move to ...
7137         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
7138         extended precision number.
7139         * sysdeps/m68k/printf_fphex.c: New file.
7141 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7143         * manual/stdio.texi: Fix typos.
7145 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
7147         * version.h (VERSION): Bump to 2.1.1.
7149 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
7151         * nis/ypclnt.c: Try only twice to connect to NIS server.
7153 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
7155         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
7157 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7159         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
7160         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
7161         * stdlib/strtold.c: Moved to ...
7162         * sysdeps/generic/strtold.c: ... here.
7163         * sysdeps/m68k/strtold.c: New file.
7165 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7167         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
7168         point if the precision is zero, even if the mantissa is non-zero.
7170 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
7172         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
7173         arguments into the request message buffer inside `send_rpc'
7174         subfunction.  We must repeat the marshalling when retrying the RPC
7175         after a SIGTTOU delivery.
7177         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
7178         path when there is no ctty port.
7179         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
7180         Move sigstate check inside loop so we recheck after handling a signal.
7182 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7184         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
7185         O_EXLOCK are BSD extensions.
7186         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
7188 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
7190         * manual/signal.texi (Termination in Handler): Correct example.
7191         Install default handler before reraising the signal.
7192         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
7194 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
7196         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
7197         null, in which case send an empty string.
7199 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
7201         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
7202         backward compatibility EH functions to be linked when using
7203         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
7205 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7207         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
7208         /dev/pts status may change during runtime.
7210 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7212         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
7213         change.  /dev/pts status can change during runtime.
7215 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
7217         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
7218         poll reports error.
7219         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
7220         add some more sanity checks.
7221         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
7222         parser prototype.
7224 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
7226         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
7227         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
7228         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
7229         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
7230         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
7231         for x_getint32.
7232         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
7233         * nis/nis_print.c: Fix ctime argument for platforms where
7234         sizeof (time_t) != sizeof (int).
7236 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
7238         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
7239         CLOCKS_PER_SEC instead of CLK_TCK.
7241 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
7243         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
7244         whether /dev/pts is available.
7245         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
7246         dev_pts_available.
7248         * posix/globtest.sh: Make common_objpfx path absolute and and db2
7249         and hesiod directory to library path [PR libc/1007].
7251 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7253         * resolv/inet_addr.c (inet_aton): Don't allow componets >
7254         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
7256 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
7258         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
7259         DT_PLTGOT has already been relocated.
7260         (__elf_machine_fixup_plt): Likewise.
7261         Minor cleanups.
7263 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
7265         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
7267 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
7269         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
7270         and fold string to uppercase [PR libc/1005].
7272 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7274         * elf/dl-load.c (lose): Fix return type.
7276 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
7278         * sysdeps/mach/hurd/bits/fcntl.h
7279         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
7280         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
7281         set O_NOTRANS as well.
7282         (__hurd_file_name_lookup_retry): At successful end of lookup,
7283         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
7284         it is a translated node not owned by root.
7285         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
7286         on the file name passed to LOOKUP.
7288 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
7290         * manual/time.texi (High Resolution Timer): Correct computation in
7291         example.  Reported by jjf@devel.cemsys.com.
7293 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
7295         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
7296         entry is already relocated.
7298 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7300         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
7301         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
7303 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7305         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
7306         uc_link which is the right name according to Unix98.
7307         Reported by Craig Metz [PR libc/1001].
7308         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
7309         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
7310         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
7311         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
7312         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
7313         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
7315 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7317         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
7318         @ifinfo.
7320 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7322         * iconvdata/Makefile: Always include iconv-rules, but disable rule
7323         to regenerate it if avoid-generated.
7325         * Makeconfig: Always include sys-dirs, but disable rule to
7326         regenerate it when avoid-generated.
7328         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
7329         rule to generate sysd-syscalls.
7331         * elf/Makefile (generated): Remove $(objpfx) from names.
7333 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
7335         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
7336         actual length if the adress length is smaller than the input
7337         value.  Change type of *LEN paramater to socklen_t.
7338         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
7339         * sysdeps/mach/hurd/accept.c (accept): Likewise.
7340         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
7341         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
7342         paramater to socklen_t.
7344 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
7346         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
7347         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
7348         with the RPC.
7350 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
7352         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
7353         __get_phys_pages): Cast &HBI to silence warning.
7355         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
7356         * hurd/hurdchdir.c: New file.
7357         * hurd/hurdfchdir.c: New file.
7358         * sysdeps/mach/hurd/chroot.c: Call
7359         _hurd_change_directory_port_from_name to do the work.
7360         * sysdeps/mach/hurd/chdir.c: Likewise.
7361         * sysdeps/mach/hurd/fchdir.c: Call
7362         _hurd_change_directory_port_from_fd to do the work.
7363         * hurd/fchroot.c: Likewise.
7364         * hurd/hurd.h: Declare them.
7366 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
7368         * elf/dl-load.c (lose): Add more comments to explain the `why'.
7369         (_dl_map_object): Remove redundant test.
7371 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
7373         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
7374         try to _hurd_port_free a lower-numbered descriptor that was not in any
7375         fd_set.
7377 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7379         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
7380         declaration for ____wcstod_l_internal.
7382         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
7383         __strtod_internal prototype.
7384         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
7385         (____strtold_l_internal): Add prototype declaration.
7386         (__strtold_l): Call correct function.
7388 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
7390         * elf/elf.h: Add 32bit HPPA definitions.
7392 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7394         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
7395         non-checked heap is restored when malloc checking was requested by
7396         the user.
7397         (struct malloc_state): Add using_malloc_checking.
7398         (MALLOC_STATE_VERSION): Increment minor.
7399         (using_malloc_checking, disallow_malloc_check): New variables.
7400         (__malloc_check_init): Use them.
7401         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
7402         that it can the chunk is properly instrumented when malloc
7403         checking is enabled.  Set the new using_malloc_checking field.
7404         (malloc_hook_ini): Correct signature when _LIBC is not defined.
7406 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7408         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
7409         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
7410         time.
7412         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
7413         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
7414         if ld.so is the main program.
7416 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
7418         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
7419         large for work_buffer, allocate new buffer.
7420         (printf_unknown): Likewise.  [PR libc/988]
7422 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
7424         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
7425         instead of stat and fstat.
7426         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7428 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7430         * elf/dl-error.c (_dl_signal_cerror): New function.
7431         (_dl_signal_error): Don't call receiver function.
7432         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
7433         instead of _dl_signal_error when reporting references to undefined
7434         symbols or versions.
7435         (_dl_lookup_versioned_symbol): Likewise.
7436         (_dl_lookup_versioned_symbol_skip): Likewise.
7437         * elf/dl-version.c (match_symbol): Likewise.
7439         * elf/ldsodefs.h: Declare _dl_signal_cerror.
7441 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
7443         * misc/getttyent.c (getttyent): Release lock on stream later to
7444         also protect global variable zapchar.
7446         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
7447         __times [PR libc/990].
7449 1999-02-21  David S. Miller  <davem@redhat.com>
7451         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
7452         parentheses in Feb 2 changes.
7453         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
7455 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7457         * sysdeps/generic/glob.c (glob): Save previous errno.
7459 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
7461         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
7462         lookup functions if it is too small.
7464 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
7466         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
7467         for tracing to the scope lists.
7468         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
7469         DT_SYMTAB is always available according to ELF spec.
7471         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
7472         call test whether there is any scope left.
7473         (_dl_lookup_versioned_symbol_skip): Likewise.
7475         * elf/Makefile (distribute): Add do-lookup.h.
7476         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
7477         * elf/dl-lookup.c: Move do_lookup function in separate file and
7478         include the file twice, for handling versioning and without it.
7480         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
7481         entry is already relocated.
7482         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
7483         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
7484         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
7485         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
7486         Likewise.
7487         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
7488         Likewise.
7489         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
7490         Likewise.
7492         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
7493         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
7494         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
7495         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
7496         rel and rela relocations can both happen and skip one test if this
7497         is not possible.
7498         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
7499         appropriately.
7500         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
7501         already relocated.
7502         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
7503         relocated.
7504         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
7505         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
7506         (_dl_map_object): DT_STRTAB entry is already relocated.
7507         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
7508         already relocated.
7509         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
7510         relocated.
7511         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
7512         DT_VERSYM entries are already relocated.
7513         (profile_fixup): Likewise.
7514         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
7515         all users.
7516         (match_symbol): DT_STRTAB entry is already relocated.
7517         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
7518         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
7519         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
7520         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
7521         (find_needed): DT_STRTAB entry is already relocated.
7522         (dl_main): Pass extra argument to elf_get_dynamic_info.
7523         DT_STRTAB entry is already relocated.
7524         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
7525         DT_PLTGOT entries are already relocated.
7526         (elf_machine_rela): Likewise for DT_SYMTAB.
7527         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
7528         relocated.
7529         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7530         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
7531         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7532         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7533         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
7534         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
7535         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
7536         * sysdeps/mips/mips64/dl-machine.h: Likewise.
7538         * grp/initgroups.c (initgroups): If function in current module was
7539         successful don't stop but continue to process to get all the groups.
7541         * elf/dl-load.c (_dl_map_object_from_fd): Use global
7542         _dl_pf_to_proot array to convert p_flags value.
7543         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7545         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
7546         loop to clear `info'.
7548         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
7549         do the work and don't use inline assembler.
7551 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
7553         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
7554         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
7555         noreturn, and prevent it from being inlined.
7556         Define LOSE appropriately.
7557         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
7558         Optimize decoding of p_flags for certain platforms.
7560 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
7562         * Makeconfig (link-libc): When doing a static link, make sure that
7563         libgcc.a is included both before and after libc.a.
7565 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
7567         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
7568         sp_warn, sp_inact, sp_expire and sp_flag.
7570 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
7572         * elf/link.h (link_map): Add l_dev and l_ino.
7573         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
7574         loaded shared object with all loaded objects.  Initialize l_ino
7575         and l_dev in case it's new.
7576         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
7577         object.
7578         * elf/Makefile: Compile and run new test.
7579         * elf/multiload.c: New file.
7581         * nss/nsswitch.h (service_user): Change name field from const char *
7582         to char[0].
7583         (name_database_entry): Likewise.
7584         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
7585         for change of `service_user'.
7586         (nss_getline): Adjust memory allocation for change of
7587         `name_database_entry'.
7589         * catgets/catgets.c: Correctly handle NLSPATH from environment
7590         [PR libc/980].
7592         * io/Makefile (routines): Add lock64.
7593         * io/Versions: Add lockf64 for GLIBC_2.1.1.
7594         * sysdeps/generic/lockf64.c: New file.
7596 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
7598         * string/bits/string2.h: Only use strncmp optimization if count
7599         argument is constant.
7601 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
7603         * sysdeps/mach/hurd/revoke.c: New file.
7605 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
7607         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
7608         int to avoid warning about `ISO C restricts enumerator values to
7609         range of `int''.
7611 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7613         * elf/dlfcn.h: Fix typo.
7614         * sysdeps/generic/bits/dlfcn.h: Likewise.
7615         * sysdeps/mips/bits/dlfcn.h: Likewise.
7617 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
7619         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
7620         for the case N == 0.
7622         * db2/Makefile (distribute): Add LICENSE.
7624 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
7626         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
7627         generated files.
7629         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
7631 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
7633         * time/mktime.c: Use ISO C form for function definitions and
7634         remove unnecessary prototypes.
7636         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
7638         * time/time.h: Avoid unneccesary #ifdef.
7640 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
7642         * stdio-common/_itoa.c (_itoa): Correct parameters to
7643         udiv_qrnnd_preinv.
7645 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7647         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
7648         before (e.g. in glob.h).
7649         Closes PR libc/959.
7651 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7653         * sysdeps/mips/fpu_control.h: Fix typo.
7654         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
7655         Remove __setfpucw.
7657 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
7659         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
7660         the "unused" ends of the sockets.  Let pipes be bidirectional.
7662 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
7664         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
7665         invalid ai_flags.
7667 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7669         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
7670         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
7672         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
7673         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
7675 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
7677         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
7679 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7681         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
7682         check for priority mask.
7684 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
7686         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
7687         Reported by Craig Metz <cmetz@inner.net> .
7689 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7691         * stdio-common/Makefile (tests): tllformat added.
7693         * stdio-common/tllformat.c: New program, based on tiformat.c with
7694         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
7696 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7698         * posix/test-vfork.c: Fix exit status test.
7700 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7702         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
7703         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
7705 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7707         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
7708         of separare explicit comparisons.
7710 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7712         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
7713         defined.
7715         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
7716         defined.
7718 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
7720         * po/el.po: Update from translation team.
7722 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7724         * intl/locale.alias: Fix slovenian entry [PR libc/948].
7726 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7728         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
7729         * inet/ruserpass.c: Likewise.
7730         * locale/programs/stringtrans.c: Likewise.
7731         * locale/programs/localedef.c: Likewise.
7732         * nscd/grpcache.c: Likewise.
7733         * nss/nss_files/files-XXX.c: Likewise.
7734         * stdlib/canonicalize.c: Likewise.
7735         * sysdeps/posix/sigwait.c: Likewise.
7737 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7739         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
7740         even on 64 bit platforms.
7742         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7743         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
7745 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
7747         * intl/dcgettext.c: Include locale.h is available.
7749 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
7751         * po/nl.po: Update from translation team.
7753         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
7755         * Makefile: Allow calling goals for po subdir.
7757         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
7758         signal definitions.
7760         * po/el.po: New file.
7762 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7764         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
7765         when processing DT_SYMBOLIC objects.
7767 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7769         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
7770         program headers without PT_PHDR only require that they are
7771         contained within one of the loaded segments.  Don't use assert,
7772         since that would be a bug in the object, not the dynamic linker.
7774 1999-02-08  Richard Henderson  <rth@cygnus.com>
7776         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
7777         restore all call-clobbered fp regs.
7779 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
7781         * po/cs.po: New file.
7783         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
7784         SUID binaries.
7786 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
7788         * signal/signal.h: Don't declare __libc_allocate_rtsig.
7789         * include/signal.h: Declare __libc_allocate_rtsig here.
7791         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
7792         point functions, not do_lookup since the later can be called more
7793         than once.
7795 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
7797         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
7798         macro, so that architectures which need to add some special
7799         offset to stack pointer can share this file.
7801         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
7802         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
7803         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
7804         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
7806         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
7807         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
7808         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
7809         between sparc32 and sparc64.
7811         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
7812         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
7813         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
7814         between sparc32 and sparc64.
7816         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
7817         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
7818         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
7819         between sparc32 and sparc64.
7821         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
7822         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
7823         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
7824         between sparc32 and sparc64.
7826 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
7828         * Versions.def: New version GLIBC_2.1.1 for libc.
7829         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
7830         * stdlib/labs.c: Moved to...
7831         * sysdeps/generic/labs.c: ...here.
7832         * stdlib/llabs.c: Moved to...
7833         * sysdeps/generic/llabs.c: ...here.
7834         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
7835         header.  Declare _Exit.
7836         * sysdeps/generic/_exit.c: Add alias _Exit.
7837         * sysdeps/mach/hurd/_exit.c: Likewise.
7838         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
7839         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
7840         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
7841         * sysdeps/unix/_exit.c: Likewise.
7842         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
7843         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
7844         * sysdeps/wordsize-64/inttypes.h: Likewise.
7845         * sysdeps/wordsize-32/llabs.c: New file.
7846         * sysdeps/wordsize-32/lldiv.c: New file.
7847         * sysdeps/wordsize-64/labs.c: New file.
7848         * sysdeps/wordsize-64/ldiv.c: New file.
7849         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
7850         * manual/startup.texi: Document _Exit.
7852 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7854         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
7856 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
7858         * Versions.def: Add versions for ld.so.
7859         * csu/Versions: Remove __libc_stack_end here.
7860         * elf/Versions: Split libc definitions in libc and ld.so definitions.
7861         * elf/Makefile (ld-map): Change to ld.so.map.
7862         * scripts/versions.awk: Recognize dot in library names.
7864         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
7865         Don't use __tolower and __toupper in inline functions.
7866         Add optimizing macros for tolower and toupper.
7867         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
7868         (_toupper): Don't use __toupper.
7869         * ctype/ctype.c (tolower): Don't use __tolower.
7870         (toupper): Don't use toupper.
7872         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
7874         * resolv/Versions (libresolv): Export __ns_name_unpack and
7875         __ns_name_ntop.
7876         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
7877         make it global.  Change all users.  Similar for ns_name_ntop.
7878         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
7879         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
7880         directly to detect too small buffer.
7881         * resolv/nss_dns/dns-network.c: Likewise.
7883         * stdio-common/Makefile (tests): Add scanf12.
7884         * stdio-common/scanf12.c: New file.
7885         * stdio-common/scanf12.input: New file.
7886         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
7887         floating-point correctly if the number is invalid.
7889         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
7890         functions.
7891         * stdio-common/printf_fp.c: Likewise.
7892         * stdio-common/printf_fphex.c: Likewise.
7893         * stdio-common/vfprintf.c: Likewise.
7896 See ChangeLog.9 for earlier changes.