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