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