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