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