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