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