* sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF. * sysdeps...
[glibc.git] / ChangeLog
blobf4ba969594a412c752065bc8d73fdbbb8a4194d5
1 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
3         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
4         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
6         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval): 
7         Follow POSIX and make tv_sec a time_t.
8         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
9         new tv64 syscall as well as fall back to tv32.
10         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
11         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
12         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
13         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
14         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
15         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
16         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
17         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
19 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
21         * libc.map: Add _h_errno.
22         * inet/herrno.c: Make _h_errno weak alias.
24         * login/Makefile (distribute): Add pty-internal.h.
26         * nscd/Makefile (distribute): Add all the files missing.
28         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
29         are available.
31         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
32         and report status at the end.
34         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
36         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
37         variable.
38         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
39         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
40         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
42 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
44         * configure.in: Fix --enable-add-ons code.
46 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
48         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
49         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
50         [PR libc/441]
52         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
53         occurence in cache.  Reported by Rudolf Leitgeb
54         <leitgeb@leland.stanford.edu>.
55         [PR libc/440]
57 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
59         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
60         that it never is EINTR (which is tested for in _IO_vfscanf).
62         * Makefile.in: Call sub-make with CVSOPTS.
64         * elf/Makefile (distribute): Add dl-procinfo.h.
66         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
68 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
70         * version.h (VERSION): Bump to 2.0.92.
72 1998-01-31  Phil Blundell  <philb@gnu.org>
74         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
75         alias for __new_sys_siglist.
77 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
79         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
80         getgrgid_r.c if thread package is available.
81         * pwd/Makefile: Likewise.
82         * grp/getgrnam_r.c: Remove USE_NSCD definition.
83         * grp/getgrgid_r.c: Likewise.
84         * pwd/getpwnam_r.c: Likewise.
85         * pwd/getpwuid_r.c: Likewise.
87 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
89         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
90         with error to allow user intervention.
91         * nss/getXXent_r.c: Likewise.
93 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
95         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
96         AT_PLATFORM string.  Pretty print AT_BASE info.
98         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
99         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
100         * sysdeps/generic/dl-procinfo.h: New file.
101         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
103 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
105         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
107         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
108         thread and not pthread_detach.
110         * nscd/nscd.c: Rewrite to use argp instead of getopt.
112 1998-01-31  Phil Blundell  <philb@gnu.org>
114         * configure.in: Add --without-cvs option to suppress automatic
115         checkin of regenerated files.
116         * config.make.in: Likewise.
117         * Makefile: Respect with-cvs setting.
118         * Makerules: Likewise.
120         * configure.in: Allow the standalone ARM port to be configured.
122 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
124         * grp/getgrgid_r.c: Define USE_NSCD.
125         * grp/getgrnam_r.c: Likewise.
126         * pwd/getpwuid_r.c: Likewise.
127         * pwd/getpwnam_r.c: Likewise.
129         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
131         * nss/getXXbyYY_r.c: Try at first nscd.
133         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
134         * nscd/connections.c: New file.
135         * nscd/dbg_log.c: New file.
136         * nscd/dbg_log.h: New file.
137         * nscd/grpcache.c: New file.
138         * nscd/nscd.c: New file.
139         * nscd/nscd.h: New file.
140         * nscd/nscd_conf.c: New file.
141         * nscd/nscd_stat.c: New file.
142         * nscd/pwdcache.c: New file.
144         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
145         * nscd/nscd_getpw_r.c: Likewise.
146         * nscd/nscd_proto.h: New, prototypes for client functions.
148         * nscd/nscd.conf: New, example for a configuration file.
149         * nscd/nscd.init: New, example for a startup script.
151         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
152         avoid deadlocks.
153         * nscd/getgrnam_r.c: Likewise.
154         * nscd/getpwnam_r.c: Likewise.
155         * nscd/getpwuid_r.c: Likewise.
157 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
159         * intl/Makefile: Use CVSOPTS in cvs invocation.
160         * po/Makefile: Likewise.
161         * posix/Makefile: Likewise.
162         * stdlib/Makefile: Likewise.
164 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
166         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
167         [PR libc/410]
168         * misc/Makefile (tests): Add tst-efgcvt.
169         * misc/tst-efgcvt.c: New file.
171 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
173         * posix/regex.c: Add some more cleanups by Akim Demaille.
175 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
177         * signal/signal.h: Revert last change.
178         * string/strsignal.c: Regard signal number NSGI as illegal.
179         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
180         members.
182 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
184         * Makefile.in: Add comment about CVSOPTS Makefile variable.
185         * Makerules: Use CVSOPTS in cvs invocation.
186         * Makefile: Likewise.
187         * MakeTAGS: Likewise.
188         * Make-dist: Likewise.
190 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
192         * sysdeps/generic/memmem.c: Correct last change.
194 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
196         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
197         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
199 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
201         * nis/ypclnt.c: Try at first to use the binding file from ypbind
202         before using RPC.
204 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
206         * manual/memory.texi (Heap Consistency Checking): mcheck is
207         declared in <mcheck.h>.
208         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
210 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
212         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
213         beginning of haystack.
215 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
217         * nss/nss_files/files-service.c: Correct last patch.
219 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
221         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
222         __libc_have_rt_sigs.
223         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
224         including <bits/setjmp.h>.
225         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
226         Patch from the Debian glibc/SPARC package.
228 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
230         * sysdeps/alpha/bzero.S: Fix a typo.
231         * sysdeps/alpha/htonl.S: Ditto.
232         * sysdeps/alpha/htons.S: Ditto.
234 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
236         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
238 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
240         * include/cpio.h: Move to ...
241         * posix/cpio.h: ...here.
243         * locale/programs/ld-collate.c: Fix typo.
245         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
247         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
249         * login/utmp_file.c (pututline_file): Don't always report success
250         if similar entry is found.  Patch by Mark M. Kettenis.
252 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
254         * manual/Makefile: Don't try to install the info files if makeinfo
255         is not available.
257 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
259         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
260         kernel's network ioctls, rather than using <linux/sockios.h> to
261         get them.  This way we are sure of maintaining compatibility if
262         the kernel interface should change.
264 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
266         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
268 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
270         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
271         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
273 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
275         Implement System V pseudoterminal handling.
277         * login/Makefile
278         (routines): Add getpt, grantpt, unlockpt, ptsname.
279         (libutil-routines): Remove pty. Add openpty, forkpty.
280         (distribute): New internal header pty-internal.h.
281         (others): Add the helper program, pt_chown.
282         (install-others): Install it, in $(libexecdir), mode 4755.
284         * login/pty-internal.h: New file.
285         * login/openpty.c: New file.
286         * login/forkpty.c: New file.
287         * login/programs/pt_chown.c: New file.
289         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
290         * stdlib/stdlib.h: Prototype them.
292         * config.make.in: Define $(libexecdir).
293         * Makeconfig: Define $(inst_libexecdir).
295         * sysdeps/generic/pty.c: Removed.
296         * sysdeps/unix/sysv/linux/pty.c: Removed.
298         * sysdeps/generic/getpt.c: Stub out.
299         * sysdeps/generic/grantpt.c: Likewise.
300         * sysdeps/generic/ptsname.c: Likewise.
301         * sysdeps/generic/unlockpt.c: Likewise.
303         * sysdeps/unix/grantpt.c: New file.
304         * sysdeps/unix/bsd/getpt.c: New file.
305         * sysdeps/unix/bsd/unlockpt.c: New file.
306         * sysdeps/unix/sysv/linux/getpt.c: New file.
307         * sysdeps/unix/sysv/linux/ptsname.c: New file.
308         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
310 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
312         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
314 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
316         * nss/Makefile (tests): Add rule for test-netdb.c.
318         * nss/test-netdb.c: New file.
320 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
322         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
323         really kept as a variable.  Patch by Richard Henderson,
324         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
326         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
327         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
328         entries as not existing.
330 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
332         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
333         zero in alternate form with precision of zero, which must produce
334         "0".  Add braces to avoid ambiguous `else'.
336 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
338         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
339         problem with strncpy.
340         * nis/nss_compat/compat-pwd.c: Likewise.
341         * nis/nss_compat/comapt-spwd.c: Likewise.
343 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
345         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
346         by uch@nop.or.jp. [PR libc/437]
348 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
350         * locales/pl_PL: Fix int_curr_symbol.
352 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
354         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
356 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
358         * stdio-common/test-popen.c: Include <errno.h>.
360         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
361         close.
363         * inet/getnetgrent_r.c: Include <errno.h>.
365         * db2/db/db_conv.c: Include <string.h> for memcpy.
367         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
368         so that memcpy is declared.
370         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
372         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
374 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
376         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
377         overflow while reading line with fgets.
378         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
380 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
382         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
383         unsigned short, not short.
384         Reported by Andreas Jaeger.
386 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
388         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
389         (ccept->accept).
391         * sysdeps/generic/inttypes.h: Fix spelling.
393 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
395         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
397         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
399 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
401         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
402         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
403         field for hh modifier.
404         * stdio-common/vfprint.c: Use is_char field and do not depend in
405         is_short having the value 2.
406         Bug reported by Andreas Jaeger.
408 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
410         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
411         PIC && DO_VERSIONING.
413 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
415         * Rules: Add rules for $(common-objpfx)dummy$o.
417 1998-01-26  Richard Henderson  <rth@cygnus.com>
419         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
420         unimplemented OSF/1 definitions so that they are not accidentally seen.
422         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
423         of the trampoline function into the macro.
424         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
425         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
426         kernel 2.1.82 has this fixed.
428         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
429         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
431 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
433         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
434         support sigaction on kernels > 2.1.7x.
436 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
438         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
439         if it is empty.
441         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
442         Patch by David Engel <david@sw.ods.com>.
444         * configure.in: Fix another typo in --enable-add-ons code.
446 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
448         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
450 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
452         * nss/nss_files/files-network.c: Correct order of parameters for
453         getnetbyaddr.
455 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
457         * db2/Makefile (routines): Add os_alloc.
458         * db2/db.h: Update from db-2.3.16.
459         * db2/db_185.h: Likewise.
460         * db2/db_int.h: Likewise.
461         * db2/btree/bt_close.c: Likewise.
462         * db2/btree/bt_cursor.c: Likewise.
463         * db2/btree/bt_delete.c: Likewise.
464         * db2/btree/bt_open.c: Likewise.
465         * db2/btree/bt_page.c: Likewise.
466         * db2/btree/bt_put.c: Likewise.
467         * db2/btree/bt_rec.c: Likewise.
468         * db2/btree/bt_recno.c: Likewise.
469         * db2/btree/btree_auto.c: Likewise.
470         * db2/common/db_appinit.c: Likewise.
471         * db2/common/db_apprec.c: Likewise.
472         * db2/common/db_err.c: Likewise.
473         * db2/common/db_region.c: Likewise.
474         * db2/common/db_shash.c: Likewise.
475         * db2/db/db.c: Likewise.
476         * db2/db/db_auto.c: Likewise.
477         * db2/db/db_conv.c: Likewise.
478         * db2/db/db_dispatch.c: Likewise.
479         * db2/db/db_dup.c: Likewise.
480         * db2/db/db_pr.c: Likewise.
481         * db2/db/db_rec.c: Likewise.
482         * db2/db185/db185.c: Likewise.
483         * db2/dbm/dbm.c: Likewise.
484         * db2/hash/hash.c: Likewise.
485         * db2/hash/hash_auto.c: Likewise.
486         * db2/hash/hash_dup.c: Likewise.
487         * db2/hash/hash_page.c: Likewise.
488         * db2/hash/hash_rec.c: Likewise.
489         * db2/include/btree_ext.h: Likewise.
490         * db2/include/clib_ext.h: Likewise.
491         * db2/include/common_ext.h: Likewise.
492         * db2/include/db.h.src: Likewise.
493         * db2/include/db_185.h.src: Likewise.
494         * db2/include/db_am.h: Likewise.
495         * db2/include/db_ext.h: Likewise.
496         * db2/include/db_int.h.src: Likewise.
497         * db2/include/hash_ext.h: Likewise.
498         * db2/include/lock_ext.h: Likewise.
499         * db2/include/log.h: Likewise.
500         * db2/include/log_auto.h: Likewise.
501         * db2/include/log_ext.h: Likewise.
502         * db2/include/mp.h: Likewise.
503         * db2/include/mp_ext.h: Likewise.
504         * db2/include/mutex_ext.h: Likewise.
505         * db2/include/os_ext.h: Likewise.
506         * db2/include/os_func.h: Likewise.
507         * db2/include/txn_ext.h: Likewise.
508         * db2/lock/lock.c: Likewise.
509         * db2/lock/lock_util.c: Likewise.
510         * db2/log/log.c: Likewise.
511         * db2/log/log.src: Likewise.
512         * db2/log/log_archive.c: Likewise.
513         * db2/log/log_auto.c: Likewise.
514         * db2/log/log_get.c: Likewise.
515         * db2/log/log_put.c: Likewise.
516         * db2/log/log_rec.c: Likewise.
517         * db2/log/log_register.c: Likewise.
518         * db2/mp/mp_bh.c: Likewise.
519         * db2/mp/mp_fget.c: Likewise.
520         * db2/mp/mp_fopen.c: Likewise.
521         * db2/mp/mp_fput.c: Likewise.
522         * db2/mp/mp_pr.c: Likewise.
523         * db2/mp/mp_sync.c: Likewise.
524         * db2/mutex/mutex.c: Likewise.
525         * db2/os/os_alloc.c: Likewise.
526         * db2/os/os_config.c: Likewise.
527         * db2/os/os_stat.c: Likewise.
528         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
529         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
530         * db2/progs/db_load/db_load.c: Likewise.
531         * db2/progs/db_printlog/db_printlog.c: Likewise.
532         * db2/progs/db_recover/db_recover.c: Likewise.
533         * db2/progs/db_stat/db_stat.c: Likewise.
534         * db2/txn/txn.c: Likewise.
536         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
537         Unmap memory blocks in reverse order of allocation.
538         Call munmap with load address added to offset.
539         Bug reported by Miguel de Icaza.
541         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
542         up weight array.
544         * localedata/locales/cs_CZ: Update by Michael Mraka
545         <michael@informatics.muni.cz>.
547         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
548         __USE_BSD.
550         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
551         reading line with fgets.
552         * nis/nss_compat/compat-pwd.c: Likewise.
553         * nis/nss_compat/compat-spwd.c: Likewise.
554         * nss/nss_files/files-XXX.c: Likewise.
555         * nss/nss_files/files-alias.c: Likewise.
556         * shadow/fgetspent_r.c: Likewise.
558         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
560         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
561         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
562         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
564         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
565         FP register content in ucontext_t.
567 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
569         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
570         calculation.  Patch by Markus Schoder
571         <Markus.Schoder@dresdner-bank.de>.
573         * math/libm-test.c (modf_test): Add more tests for modf.
575         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
576         munlock according to Unix98.
578 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
580         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
581         AF_INET.
583 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
585         * sysdeps/posix/ttyname.c: Handle symbolic links.
586         * sysdeps/posix/ttyname_r.c: Ditto.
588 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
590         * db2/makedb.c (process_input): Write terminating \0 for value.
591         (print_database): Simply print value string, don't use length.
593 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
595         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
596         exit of loop.
598 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
600         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
601         close all sockets.
603 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
605         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
606         sigset.
607         * signal/sighold.c: New file.
608         * signal/sigrelse.c: New file.
609         * sysdeps/generic/sigignore.c: New file.
610         * sysdeps/generic/sigset.c: New file.
611         * sysdeps/posix/sigignore.c: New file.
612         * sysdeps/posix/sigset.c: New file.
613         * signal/signal.h: Add prototypes for new functions.
615         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
616         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
617         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
618         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
620 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
622         * posix/wordexp.c: Added IFS field-splitting in parameter and
623         command substitution.  Fixed an IFS-related bug that caused an
624         infinite loop.
626 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
628         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
629         and swapcontext.
630         * stdlib/ucontext.h: Correct prototypes.
631         * sysdeps/generic/getcontext.c: New file.
632         * sysdeps/generic/setcontext.c: New file.
633         * sysdeps/generic/makecontext.c: New file.
634         * sysdeps/generic/swapcontext.c: New file.
635         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
637 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
639         * resource/sys/resource.h: Remove #include of ulimit.h which is
640         not allowed by SUSv2 and not available on other systems.
641         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
643         * streams/Makefile: New file.
644         * streams/stropts.h: New file.
645         * sysdeps/generic/bits/stropts.h: New file.
646         * sysdeps/generic/isastream.c: New file.
647         * sysdeps/generic/getmsg.c: New file.
648         * sysdeps/generic/getpmsg.c: New file.
649         * sysdeps/generic/putmsg.c: New file.
650         * sysdeps/generic/putpmsg.c: New file.
651         * sysdeps/generic/fattach.c: New file.
652         * sysdeps/generic/fdetach.c: New file.
653         * sysdeps/unix/inet/Subdirs: Add streams.
654         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
655         __t_uscalar_t.
656         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
657         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
658         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
659         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
661         * sysdeps/mach/_strerror.c: Follow changes of generic version to
662         handle small buffers correctly.
664 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
666         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
667         Remove the 3rd arg and add declaration for _dl_runtime_resolve
668         and _dl_runtime_profile.
670 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
672         * include/cpio.h: New file.  Mainly copied from GNU cpio.
673         * posix/Makefile (headers): Add cpio.h.
675 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
677         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
678         to routines.
679         * nis/nis_cache.c: New file.
680         * nis/nis_cache2.h: New file.
681         * nis/nis_cache2_xdr.c: New file.
682         * nis/nis_call.c: Changes for cache2_info parameter.
683         * nis/nis_checkpoint.c: Likewise.
684         * nis/nis_intern.h: Likewise.
685         * nis/nis_mkdir.c: Likewise.
686         * nis/nis_ping.c: Likewise.
687         * nis/nis_rmdir.c: Likewise.
688         * nis/nis_server.c: Likewise.
689         * nis/nis_util.c: Likewise.
691 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
693         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
694         return/errnop codes.
695         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
696         * nis/nss_nisplus/nisplus-grp.c: Likewise.
697         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
698         * nis/nss_nisplus/nisplus-proto.c: Likewise.
699         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
700         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
701         * nis/nss_nisplus/nisplus-rpc.c: Likewise
702         * nis/nss_nisplus/nisplus-service.c: Likewise.
703         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
705 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
707         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
708         * nis/nss_nis/nis-ethers.c: Likewise.
709         * nis/nss_nis/nis-grp.c: Likewise.
710         * nis/nss_nis/nis-hosts.c: Likewise.
711         * nis/nss_nis/nis-network.c: Likewise.
712         * nis/nss_nis/nis-proto.c: Likewise.
713         * nis/nss_nis/nis-hosts.c: Likewise.
714         * nis/nss_nis/nis-network.c: Likewise.
715         * nis/nss_nis/nis-proto.c: Likewise.
716         * nis/nss_nis/nis-publickey.c: Likewise.
717         * nis/nss_nis/nis-pwd.c: Likewise.
718         * nis/nss_nis/nis-rpc.c: Likewise.
719         * nis/nss_nis/nis-service.c: Likewise.
720         * nis/nss_nis/nis-spwd.c: Likewise.
722 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
724         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
725         Added to follow latest kernel development.
727 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
729         * nss/db-Makefile: Handle empty and comment lines better.
730         ($(VAR_DB)/services.db): Generate entries with missing protocol
731         value.
733 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
735         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
736           NULL.
737           (getservbyname): Allow proto == NULL.
738           Pointed out by David N. Welton <davidw@gate.cks.com>.
739           [PR libc/430].
741 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
743         * nis/nislib/nislib.h: Finally removed.
745         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
746         C compiler.  From Kaveh Ghazi.
747         (TYPE_MINIMUM): Define.
748         (TYPE_MAXIMUM): Define.
749         (TIME_T_MIN): Use TYPE_MINIMUM.
750         (TIME_T_MAX): Use TYPE_MAXIMUM.
751         Patch by Jim Meyering <meyering@ascend.com>.
753 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
755         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
756         __pread64, __pwrite64, and __getpid.
758         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
759         versions.
761 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
763         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
764         cancelable socket functions as __libc_xxx with __xxx as weak
765         alias.
766         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
767         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
769         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
770         redefined.
771         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
772         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
773         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
774         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
776         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
777         and __xxx a weak alias.
778         * sysdeps/unix/sysv/linux/connect.S: Likewise.
779         * sysdeps/unix/sysv/linux/recv.S: Likewise.
780         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
781         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
782         * sysdeps/unix/sysv/linux/send.S: Likewise.
783         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
784         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
786 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
788         * locale/langinfo.h: Add defines.
790         * dirent/dirent.h: Add defines for DT_*, check also for
791         _DIRENT_HAVE_D_TYPE.
792         Suggested by Roland McGrath.
794 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
796         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
797         Update from Linux 2.1.73+79.
799         * README.template: Update information about possible
800         configurations.
802         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
803         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
804         [PR libc/417].
806         * manual/time.texi (Priority): Correct description of
807         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
808         [PR libc/416].
810 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
812         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
813         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
815 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
817         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
818         Andreas Jaeger.
820 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
822         * locale/programs/ld-collate.c: Little optimizations.
824         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
826         * string/Makefile (tests): Add tst-inlcall.
827         * string/tst-inlcall.c: New file.
829         * string/strsignal.c: Add support for real-time signals.
831         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
832         presense of small buffer.
834         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
836         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
837         for i686.
839         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
840         _NSIG + 1.
842 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
844         * Rules: Add explicit rule for dummy.o; at least one library needs
845           it and it isn't autogenerated by the default rules.
847 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
849         * math/libm-test.c: Tweak epsilons.
851 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
853         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
854         child.
855         (feenv_mask_test): Likewise.
857 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
859         * Makeconfig: Don't export CPPFLAGS.
861 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
863         * sunrpc/rpc_main.c (parseargs): Use perror to print error
864         message.
866 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
868         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
869         terminating null in key size.
871 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
873         * nss/nss_files/files-service.c: Fix allocation size to include
874         length of PROTO.
876         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
877         applicable.  Fix return value and error checking.
878         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
879         unparsable lines.
880         (DB_LOOKUP): Allocate space for terminating null byte.
882         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
883         uids specially.
885         * db2/makedb.c (process_input): Continue processing if a duplicate
886         key is encountered.
888 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
890         * time/tzfile.h: Updated from tzcode1998b.
891         * time/zdump.c: Likewise.
892         * time/zic.c: Likewise.
893         * time/africa: Update from tzdata1998b.
894         * time/antarctica: Likewise.
895         * time/asia: Likewise.
896         * time/australasia: Likewise.
897         * time/etcetera: Likewise.
898         * time/europe: Likewise.
899         * time/leapseconds: Likewise.
900         * time/northamerica: Likewise.
901         * time/southamerica: Likewise.
903 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
905         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
906         lookups ignoring case.
907         * nss/nss_files/files-network.c: Do network lookups ignoring
908         case.
909         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
910         case.
911         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
912         case insensitive comparing.
913         Patches by Cristian Gafton <gafton@redhat.com>.
915 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
917         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
918         by Roland McGrath. [PR libc/395]
920 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
922         * manual/arith.texi (Parsing of Integers): Correct description of
923         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
924         [PR libc/396]
926 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
928         * misc/lsearch.c (lsearch): Return a pointer to the new element
929         if one was "allocated".
931 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
933         * string/strsignal.c: NSIG is not a valid index into
934         _sys_siglist.  Don't zap the last character of the "Unknown
935         signal" message.
937 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
939         * locale/programs/charmap.c (parse_charmap): Correct parsing of
940         ellipsis expressions.
942         * locale/programs/charset.c (insert_char): Correctly insert value
943         of eliipsis expression.
945 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
947         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
948         <bits/setjmp.h>.
949         * sysdeps/powerpc/setjmp.S: Likewise.
950         Patches by Matt McLean <keys@keys.got.net>.
952         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
954         * Makefile: Undo last patch.
955         (distribute): Add test-installation.pl.
957         * configure.in: Correct handling of --enable-add-ons without parameter.
958         Correct address of WWW pages.
960         * libc.map: Add _nl_domain_bindings.
962         * db2/mutex/tsl_parisc.s: New file.
964         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
965         and extra-module.mk.
967         * localedata/Makefile (distribute): New.  Add all the files.
969         * stdlib/Makefile (headers): Add inttypes.h.
970         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
971         * sysdeps/generic/inttypes.h: New file.
972         * sysdeps/generic/strtoimax.c: New file.
973         * sysdeps/generic/strtoumax.c: New file.
974         * sysdeps/generic/wcstoimax.c: New file.
975         * sysdeps/generic/wcstoumax.c: New file.
976         * sysdeps/wordsize-32/Dist: Removed.
977         * sysdeps/wordsize-32/Makefile: Removed.
978         * sysdeps/wordsize-64/Dist: Removed.
979         * sysdeps/wordsize-64/Makefile: Removed.
980         * sysdeps/generic/bits/environments.h: New file.
982         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
983         header is still not correct.
985         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
986         * posix/unistd.h: Likewise.
987         * sysdeps/generic/sys/mman.h: Likewise.
988         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
990         * manual/arith.texi: Change definition of mul macro.
991         * manual/math.texi: Likewise.
993         * misc/Makefile (routines): Add mmap64.
994         * sysdeps/generic/mmap64.c: New file.
995         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
996         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
997         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
998         aliases to mmap.
999         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1001         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
1003         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
1005         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
1007         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
1008         FOPEN_MAX also when included by limits.h.
1009         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
1011         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
1012         and netrom/netrom.h.
1013         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
1014         oldsiglist to sysdep_routines, not aux.
1015         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
1017         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
1018         and SOL_NETROM definition.
1020         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
1022         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
1023         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
1025 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
1027         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
1029         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
1030         sa_handler with k_sa_handler.
1031         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
1032         strong alias.
1033         Reported by a sun.
1035         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
1036         __libc_have_rt_sigs here.
1037         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
1038         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1039         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
1040         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1042 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
1044         * sysdeps/powerpc/atomicity.h: New file.
1045         * sysdeps/mach/powerpc/machine-lock.h: New file.
1047         * Rules: Use -fpic to build anything that might end up in a users'
1048         shared library.
1050         * sysdeps/powerpc/s_fdim.c: New file.
1051         * sysdeps/powerpc/s_fdimf.c: New file.
1052         * sysdeps/powerpc/s_fmax.S: New file.
1053         * sysdeps/powerpc/s_fmaxf.S: New file.
1054         * sysdeps/powerpc/s_fmin.S: New file.
1055         * sysdeps/powerpc/s_fminf.S: New file.
1056         * sysdeps/powerpc/s_llrint.c: Now is for double.
1057         * sysdeps/powerpc/s_llrintf.c: New file.
1058         * sysdeps/powerpc/s_llround.c: Now is for double.
1059         * sysdeps/powerpc/s_llroundf.c: New file.
1060         * sysdeps/powerpc/s_lrint.c: Now is for double.
1061         * sysdeps/powerpc/s_lrintf.S: New file.
1062         * sysdeps/powerpc/s_lround.c: Now is for double.
1063         * sysdeps/powerpc/s_lroundf.c: New file.
1064         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
1065         lrintf, fdim, fdimf.
1067         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
1068         file directly, use its parent.
1070         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
1071         (for the third time).
1073 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
1075         * posix/sched.h: timespec is in <time.h>.
1077         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
1079 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
1081         * configure.in: Stop with error if --disable-static is used when
1082         the shared lib uses this library.
1084         * gen-FAQ.pl: I've perl installed in /usr/bin.
1086         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
1088         Fix Unix98 conformance problems in the headers.
1089         * catgets/nl_types.h: Define nl_item.
1090         * grp/grp.h: Define gid_t.
1091         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
1092         * include/nl_types.h: New file.
1093         * include/ulimit.h: New file.
1094         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
1095         constants in POSIX mode.
1096         * io/utime.h: Get definition for time_t.
1097         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
1098         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
1099         * libio/stdio.h: Define va_list.  Make snprintf also available is
1100         __USE_UNIX98.  Declare getopt function and variables.
1101         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
1102         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
1103         * math/math.h: Defined M_* constants as double for Unix98 mode.
1104         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
1105         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
1106         * posix/regex.h: Define REG_NOSYS.
1107         * posix/wordexp.h: Define WRDE_NOSYS.
1108         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
1109         500 for Unix98.
1110         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
1111         somewhere else as well.  Define clock_t for Unix98.
1112         * posix/sys/wait.h: Define pid_t.
1113         * pwd/pwd.h: Define gid_t, uid_t.
1114         * resource/Makefile (headers): Add ulimit.h.
1115         * resource/ulimit.h: New file.
1116         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
1117         instead of second argument.
1118         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
1119         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1120         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
1121         * signal/signal.h: Define pid_t.
1122         * string/string.h: Don't declare BSD string functions in POSIX mode.
1123         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
1124         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
1125         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
1126         and POSIX.
1128         * inet/test_ifindex.c: Change test so that it does not fail for
1129         interface aliases.
1131         * locale/programs/locale.c (show_info): Use correct cast sequence
1132         for 64bit machines.
1134         * malloc/malloc.c: __malloc_initialized now signals three states:
1135         uninitialized, initializing, initialized.  Used in mcheck.
1136         * malloc/mcheck.c (mabort): Add '\n' to messages.
1137         (mcheck): Allow installation when malloc is uninitialized or is
1138         just initializing.
1140         * manual/memory.texi: Explain mtrace output a bit more.
1142         * math/libm-test.c: Add more epsilons.
1144         * misc/regexp.h (compile): Remove __ prefix from parameter names.
1146         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
1147         instead of strcpy for security.
1148         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
1149         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
1150         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
1152         * nss/digits_dots.c: Pretty print.
1154         * posix/getconf.c (vars): Add symbols for programming environment
1155         recognition.  Recognize --version.
1157         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
1158         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
1159         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
1161         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
1162         __need_FOPEN_MAX.
1163         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
1164         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
1165         __need_FOPEN_MAX.
1167         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
1168         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
1170         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
1171         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1172         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1173         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
1174         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1175         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
1177         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
1178         SCNu*.
1179         * sysdeps/wordsize-64/inttypes.h: Likewise.
1181         * time/africa: Update from tzdata1997j.
1182         * time/antarctica: Likewise.
1183         * time/asia: Likewise.
1184         * time/australasia: Likewise.
1185         * time/backward: Likewise.
1186         * time/etcetera: Likewise.
1187         * time/europe: Likewise.
1188         * time/factory: Likewise.
1189         * time/northamerica: Likewise.
1190         * time/pacificnew: Likewise.
1191         * time/southamerica: Likewise.
1193         * time/tzfile.h: Update from tzcode1997h.
1194         * time/zic.c: Likewise.
1196         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
1197         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
1198         isw*() functions for Unix98.
1199         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
1200         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
1201         is defined.
1203 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1205         * locale/duplocale.c: Increase usage_count only if less than
1206         MAX_USAGE_COUNT.
1207         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
1208         MAX_USAGE_COUNT.
1209         * locale/setlocale.c: Likewise.
1211 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1213         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
1214         dependency to make it easier to install it selectively.
1216         * Makerules (.SUFFIXES): Don't define any suffixes.
1218 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1220         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
1221         * sysdeps/generic/statfs64.c: Emulate using statfs.
1222         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
1223         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
1224         * sysdpes/generic/ftruncate64.c: New file.
1225         * sysdpes/generic/truncate64.c: New file.
1227         * sysdeps/generic/bits/stat.h: Add LFS support.
1228         * sysdeps/generic/bits/statfs.h: Likewise.
1230         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
1231         [__USE_FILE_OFFSET64]: Make long long constant.
1232         (RLIM64_INFINITY): Likewise.
1234         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
1235         for LFS support.
1236         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
1237         * sysdeps/generic/bits/resource.h: Likewise.
1239         * misc/Makefile (routines): Add truncate64 and ftruncate64.
1241         * include/features.h: Don't prevent LFS support from defining BSD
1242         and SYSV things.
1244         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
1245         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
1246         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
1248         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
1249         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
1250         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1252         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
1253         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
1254         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
1255         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
1256         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
1257         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
1258         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
1259         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
1260         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
1261         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
1262         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
1263         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
1264         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
1265         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
1266         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
1267         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
1268         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
1269         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
1270         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
1271         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
1273         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
1274         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
1275         * sysdeps/unix/sysv/linux/xstat64.c: New file.
1276         * sysdeps/unix/sysv/linux/readdir64.c: New file.
1277         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
1279         * sysdeps/unix/sysv/linux/getdents64.c: New file.
1280         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
1281         [$(subdir)=dirent]: Add getdents64.
1282         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
1284         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
1286 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
1288         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
1290         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
1291         * sysdeps/generic/getrlimit64.c: Likewise.
1292         * sysdeps/generic/setrlimit.c: Likewise.
1293         * sysdeps/generic/setrlimit64.c: Likewise.
1295 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
1297         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
1298         using versioning.
1300         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
1302         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
1304 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1306         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
1307         after the codeset name.
1309 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1311         * libc.map: Add get_kernel_syms.
1313 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1315         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
1316         static.
1317         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
1318         Likewise.  Fix condition.
1320 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1322         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
1324 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1326         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
1327         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
1329 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1331         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
1332         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
1333         instead.  Oops.
1335 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1337         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
1339 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1341         * math/libm-test.c (catanh_test): Change epsilon.
1342         Reported by H.J. Lu.
1344 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
1346         * libc.map (__getpid): Added for linuxthreads.
1348 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
1350         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
1351         it if gcc uses static variable in DWARF2 unwind information
1352         for exception support.
1354         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
1356         * elf/soinit.c (__libc_global_ctors, _fini): Handle
1357         HAVE_DWARF2_UNWIND_INFO_STATIC.
1359         * libc.map (__register_frame*, __deregister_frame*): Make them
1360         global.
1362 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1364         * math/libm-test.c: Add more tests for "normal" values.
1366 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1368         * stdio-common/printf_fphex.c: Fix printing of long double number
1369         with a biased exponent of zero.  Fix rounding.
1371 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1373         * sunrpc/rpc_main.c: Accept new flag -$.
1374         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
1376 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1378         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
1379         dynamic linker first, in case the interface has changed.
1381 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1383         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
1384         order.
1386 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1388         * math/tgmath.h: Check for double first, for architectures where
1389         sizeof (long double) == sizeof (double).
1391 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1393         * math/libm-test.c: New tests for "normal" values added for most
1394         functions.
1396 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
1398         * version.h (VERSION): Bump to 2.0.91.
1400         * db2/makedb.c (process_input): Fix typo in message.
1401         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
1403         * elf/dynamic-link.h: Pretty print.
1405         * elf/rtld.c: Allow multiple preloading of a shared object.
1407         * include/limits.h: Prevent multiple inclusion.
1409         * malloc/Makefile (headers): Add mcheck.h.
1410         (distribute): Remove it here.
1411         * malloc/mcheck.h: Pretty print.
1412         * malloc/mtrace.c (mallenv): Make `const'.
1413         * malloc/mtrace.pl: Don't print table head for memory leaks if there
1414         are none.
1415         * manual/memory.texi: Update descriptor of malloc hooks.
1417         * posix/Makefile (routines): Add waitid.
1418         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
1419         on __id_t.
1420         * posix/sys/wait.h: Define idtype_t type.
1421         Add prototype for waitid.
1422         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
1423         * sysdeps/generic/waitid.c: Stub for waitid.
1424         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
1425         the __need_siginfo_t defined.
1426         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
1427         * sysdeps/generic/bits/types.h: Define __id_t.
1428         Correct definition of __FDMASK.
1429         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1430         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1431         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1433         * sysdeps/posix/waitid.c: New file.
1434         Provided by Zack Weinberg.
1436         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
1438         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1439         Add missing parameters.
1441         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
1442         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
1443         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
1444         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
1445         initialized.
1447         * sysdeps/i386/dl-machine.h: Little cleanup.
1449         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
1450         (__finite): Mark function as const.
1451         Add inline code for __ieee754_atan2.
1453         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
1454         (but don't use it now).
1455         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
1456         __atan.
1457         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
1458         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
1459         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
1460         real part.
1461         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
1462         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
1463         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
1464         __ieee754_atan2 to base 10.
1465         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
1466         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
1468         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
1469         old_kernel_sigaction.
1471         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
1473         * wctype/Makefile (routines): Add wctype_l.
1474         * wctype/wctype.h: Add declaration of __wctype_l.
1475         * wctype/wctype_l.c: New file.
1477 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
1479         * locale/C-ctype.c: Correct data for isw* functions.
1480         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
1481         byte order.
1482         * wctype/test_wctype.c: Add test for isw* functions.
1483         * wctype/wctype.c: Return value with expected byte order.
1485 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1487         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
1489 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
1491         * iconvdata/Makefile: Fix a typo.
1493         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
1494         oldsiglist for shared library.
1496         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
1497         sys_sigabbrev): Make them as the default version GLIBC_2.1.
1499         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
1500         sys_siglist, sys_sigabbrev): New file. Make them as the old
1501         version GLIBC_2.0.
1503         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
1504         to GLIBC_2.1.
1506 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
1508         * libio/iofgets.c (_IO_fgets): Return an error only if there
1509         is a new error.
1510         * libio/iogets.c (_IO_gets): Ditto.
1512 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
1514         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
1516         * libio/Makefile (routines, shared-only-routines): Add
1517         oldiofdopen.
1519         * libio/fileops.c: Don't use _IO_FILE_complete.
1520         * libio/iofdopen.c: Ditto.
1521         * libio/iofopen.c: Ditto.
1522         * libio/iofopen64.c: Ditto.
1523         * libio/iopopen.c: Ditto.
1524         * libio/iovdprintf.c: Ditto.
1526         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
1528         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
1529         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
1531         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
1532         _IO_old_fdopen, _IO_new_fdopen): New declaration.
1534         * libio/libio.h (_IO_FILE): Add more fields.
1535         (_IO_FILE_complete): Defined and make _IO_FILE be the old
1536         one if _IO_USE_OLD_IO_FILE is defined
1537         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
1538         them _IO_FILE_complete.
1540         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
1541         to adjust vtable.
1542         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
1543         _IO_JUMPS.
1544         (_IO_FILE_complete): Commented out.
1546         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
1547         * libio/oldiofclose.c: Ditto.
1548         * libio/oldiofopen.c: Ditto.
1549         * libio/oldstdfiles.c: Ditto.
1551         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
1552         for the old _IO_FILE.
1554         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
1555         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
1556         and stderr.
1558         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
1559         and remove INAME.
1561         * libio/stdio.c (stdin, stdout, stdin): Don't use
1562         _IO_FILE_complete.
1564         * libio/oldiofdopen.c: New.
1566         * stdio-common/vfprintf.c (buffered_vfprintf): Set
1567         hp->_vtable_offset to 0.
1569 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
1571         * libc.map (_IO_file_open): Added.
1573         * libio/libioP.h (_IO_file_open): Declared.
1575         * libio/fileops.c (_IO_file_open): New.
1576         (_IO_file_fopen): Call _IO_file_open ().
1578         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
1579         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1581 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1583         * signal/signal.h: Fix selection of signal semantics to match
1584         comment.
1586 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1588         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
1589         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
1590         rt_sigreturn.
1591         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
1592         [$(subdir)=signal]: Remove rt_sigreturn.
1593         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
1594         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
1595         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
1597 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1599         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
1600         declarations.
1602 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1604         * iconvdata/extra-module.mk: Expand extra-objs now.
1606 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1608         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
1609         inline functions by feature tests to avoid warning about missing
1610         prototype declarations.
1612 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1614         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
1615         return code for non existent +name entries.
1616         * nis/nss_compat/compat-pwd.c: Likewise.
1617         * nis/nss_compat/compat-spwd.c: Likewise.
1619 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
1621         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
1622         (EIO): Likewise.
1623         (ENOSPC): Likewise.
1624         (EEXIST): Likewise.
1625         (__errno_location): Likewise.
1627         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
1629         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
1631 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1633         * sunrpc/publickey.c: Use new NSS interface.
1635 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
1637         * manual/malloc.texi: Document mtrace/muntrace and the concept.
1639 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1641         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
1642         value, to match spirit of the standard.
1643         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
1644         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
1645         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1647 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1649         * manual/signal.texi (Signal Stack): Remove spurious @item.
1651 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1653         * rt/aio.h: Remove double semicolon.
1655         * rt/librt.map: Add aio_init.
1657 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
1659         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
1660         * Makefile (subdirs): Replace rt by $(rt).
1662         * shlib-versions: Use version .2 for NSS modules.
1664         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
1665         argument.
1666         * pwd/fgetpwent_r.c: Likewise.
1667         * spwd/fgetspent_r.c: Likewise.
1668         * spwd/sgetspent_r.c: Likewise.
1669         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
1670         Store error number in *ERRNOP.  Little optimization.
1671         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
1672         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
1673         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
1674         (__internal_getnetgrent_r): New argument.
1675         Call __internal_setnetgrent_reuse with new argument.
1676         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
1677         * inet/netgroup.h: Add argument to prototypes.
1678         * nis/nisplus-parser.h: Likewise.
1679         * nis/nss_compat/compat-grp.c: Change everything to store error
1680         code through provided pointer and not use errno.
1681         * nis/nss_compat/compat-pwd.c: Likewise.
1682         * nis/nss_compat/compat-spwd.c: Likewise.
1683         * nis/nss_nis/nis-alias.c: Likewise.
1684         * nis/nss_nis/nis-ethers.c: Likewise.
1685         * nis/nss_nis/nis-grp.c: Likewise.
1686         * nis/nss_nis/nis-hosts.c: Likewise.
1687         * nis/nss_nis/nis-netgrp.c: Likewise.
1688         * nis/nss_nis/nis-network.c: Likewise.
1689         * nis/nss_nis/nis-proto.c: Likewise.
1690         * nis/nss_nis/nis-publickey.c: Likewise.
1691         * nis/nss_nis/nis-pwd.c: Likewise.
1692         * nis/nss_nis/nis-rpc.c: Likewise.
1693         * nis/nss_nis/nis-service.c: Likewise.
1694         * nis/nss_nis/nis-spwd.c: Likewise.
1695         * nis/nss_nisplus/nisplus-alias.c: Likewise.
1696         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1697         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1698         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1699         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
1700         * nis/nss_nisplus/nisplus-network.c: Likewise.
1701         * nis/nss_nisplus/nisplus-parser.c: Likewise.
1702         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1703         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
1704         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1705         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1706         * nis/nss_nisplus/nisplus-service.c: Likewise.
1707         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1708         * nss/nss_db/db-XXX.c: Likewise.
1709         * nss/nss_db/db-alias.c: Likewise.
1710         * nss/nss_db/db-netgrp.c: Likewise.
1711         * nss/nss_files/files-XXX.c: Likewise
1712         * nss/nss_files/files-alias.c: Likewise
1713         * nss/nss_files/files-netgrp.c: Likewise
1714         * nss/nss_files/files-parse.c: Likewise
1715         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
1716         parameter of get functions.
1717         * nss/getXXent_r.c: Likewise.
1719         * localedata/tst-fmon.c: Print debug info if test fails.
1721         * rt/Makefile (routines): Add aio_notify.
1722         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
1723         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
1724         * rt/aio_fsync.c: Likewise.
1725         * rt/aio_misc.c: Likewise.
1726         * rt/aio_misc.h: Likewise.
1727         * rt/aio_read.c: Likewise.
1728         * rt/aio_read64.c: Likewise.
1729         * rt/aio_suspend.c: Likewise.
1730         * rt/aio_write.c: Likewise.
1731         * rt/aio_write64.c: Likewise.
1732         * rt/lio_listio.c: Likewise.
1733         * rt/lio_listio64.c: Likewise.
1734         * rt/aio_notify.c: New file.
1736         * sysdeps/generic/bits/sigset.h: Pretty print.
1738         * sysdeps/posix/pwrite.c: Define weak alias only if function is
1739         really defined as __pwrite.
1741         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
1742         instead of pread64.
1743         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1745         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
1746         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
1747         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
1748         size in syscall.
1749         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1750         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1751         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
1752         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1753         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1754         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1755         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
1756         for ACT being NULL.
1757         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
1758         RT signals.
1759         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
1760         __NR_pread is not defined.
1761         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
1762         __NR_pwrite is not defined.
1764 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1766         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
1767         handle for /etc/group back in some more cases.
1768         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
1769         handle for /etc/passwd back in some more cases.
1770         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
1771         handle for /etc/shadow back in some more cases.
1773 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
1775         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
1776         beyound its size.
1777         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
1778         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
1780 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
1782         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
1783         handling.  Don't use macros, we need functions.  Use inline functions
1784         for optimization.
1785         * sysdeps/wordsize-64/inttypes.h: Likewise.
1786         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
1787         and wcstoumax.
1788         * sysdeps/wordsize-64/Makefile: Likewise.
1789         * sysdeps/wordsize-32/Dist: Likewise.
1790         * sysdeps/wordsize-64/Dist: Likewise.
1791         * sysdeps/wordsize-32/strtoimax.c: New file.
1792         * sysdeps/wordsize-32/strtoumax.c: New file.
1793         * sysdeps/wordsize-32/wcstoimax.c: New file.
1794         * sysdeps/wordsize-32/wcstoumax.c: New file.
1795         * sysdeps/wordsize-64/strtoimax.c: New file.
1796         * sysdeps/wordsize-64/strtoumax.c: New file.
1797         * sysdeps/wordsize-64/wcstoimax.c: New file.
1798         * sysdeps/wordsize-64/wcstoumax.c: New file.
1800 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
1802         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
1803         that transparent union works.
1804         * sysdeps/generic/wait4.c (__wait4): Likewise.
1805         * sysdeps/generic/wait.c (__wait): Likewise.
1807         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
1808         size_t.
1810         * sysdeps/generic/syscall.c (syscall): Return value and arg are
1811         long, to match prototype.
1813         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
1814         have mremap() yet.
1816         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
1818         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
1820         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
1822         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
1823         __rlim_t.
1825         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
1827         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
1829         * io/sys/stat.h (S_ISLNK): Always false if we don't have
1830         __S_IFLNK.
1832         * sysdeps/standalone/close.c (_STDIO_H): Define before including
1833         <bits/stdio_lim.h>.
1834         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
1836 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
1838         * posix/sys/wait.h: Don't use transparent unions in C++.
1840 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1842         * time/time.h: Add strfxtime.
1844         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
1845         sysv_signal, strfxtime, pread64, pwrite64.
1847 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
1849         Alpha changes for EGCS:
1850         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
1851         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
1852         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
1853         (_start): Likewise.
1854         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
1856 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
1858         The kernel expects the arguments in a different order.
1859         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
1860         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
1862         * FAQ.in: New file.
1863         * gen-FAQ.pl: New file.
1864         * Makefile (FAQ): Add rule to generate from FAQ.in.
1866         * iconvdata/Makefile: Treat libJIS like the other modules.
1868         * rt/librt.map: New file.
1870         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
1871         inclusion.
1872         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
1873         comment.
1875 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
1877         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
1878         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
1879         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
1880         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1882 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1884         * string/bits/string2.h: Fix spellings.
1886         * string/string.h: Fix spellings.
1888 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1890         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
1891         declaration to __syscall_rt_sigaction.
1893         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
1894         non-existant <sigcontext.h>.
1896 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1898         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
1899         typo.
1901 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1903         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
1905         * Makeconfig (shared-thread-library): Correct spelling.
1907         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
1908         <asm/pci.h>.
1910 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1912         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
1913         constants from Linux headers. Pointed out by
1914         csmall@scooter.o.i.net. [PR libc/369]
1916 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1918         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
1920 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1922         * configure.in: If --enable-add-ons is given without an
1923         argument, set the addons list to all subdirs with a configure
1924         script.
1926 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
1928         * Makeconfig: Add shared-thread-library variable.
1930         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
1931         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
1932         here.
1933         * sysdeps/m68k/fpu/e_acos.c: Likewise.
1934         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
1935         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
1936         * sysdeps/m68k/fpu/e_pow.c: Likewise.
1937         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
1938         * sysdeps/m68k/fpu/k_cos.c: Likewise.
1939         * sysdeps/m68k/fpu/k_sin.c: Likewise.
1940         * sysdeps/m68k/fpu/k_tan.c: Likewise.
1941         * sysdeps/m68k/fpu/s_atan.c: Likewise.
1942         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
1943         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
1944         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
1945         * sysdeps/m68k/fpu/s_csin.c: Likewise.
1946         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
1947         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
1948         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
1949         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
1950         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
1951         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
1952         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
1953         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
1954         * sysdeps/m68k/fpu/s_modf.c: Likewise.
1955         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
1956         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
1957         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
1959         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
1960         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
1961         * signal/Makefile (headers): Add bits/siginfo.h.
1962         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
1963         (distribute): Add testrtsig.h.
1964         * signal/allocrtsig.c: New file.
1965         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
1966         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
1967         __libc_current_sigrtmax.
1968         * sysdeps/generic/sigqueue.c: New file.
1969         * sysdeps/generic/sigtimedwait.c: New file.
1970         * sysdeps/generic/sigwaitinfo.c: New file.
1971         * sysdeps/generic/testrtsig.h: New file.
1972         * sysdeps/generic/bits/siginfo.h: New file.
1973         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
1974         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
1975         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
1976         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
1977         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
1978         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
1979         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
1980         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
1981         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
1982         * sysdeps/unix/sysv/linux/sigpending.c: New file.
1983         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
1984         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
1985         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
1986         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
1987         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
1988         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
1989         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
1990         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
1991         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
1992         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
1993         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
1994         and _POSIX_REALTIME_SIGNALS.
1995         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
1996         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
1997         update _NSIG.
1998         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
1999         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
2000         definitions.
2002         * Makefile (subdirs): Add rt.
2003         * shlib-versions: Add entry for librt.
2004         * rt/Makefile: New file.
2005         * rt/aio.h: New file.
2006         * rt/aio_cancel.c: New file.
2007         * rt/aio_error.c: New file.
2008         * rt/aio_fsync.c: New file.
2009         * rt/aio_misc.c: New file.
2010         * rt/aio_misc.h: New file.
2011         * rt/aio_read.c: New file.
2012         * rt/aio_read64.c: New file.
2013         * rt/aio_return.c: New file.
2014         * rt/aio_suspend.c: New file.
2015         * rt/aio_write.c: New file.
2016         * rt/aio_write64.c: New file.
2017         * rt/lio_listio.c: New file.
2018         * rt/lio_listio64.c: New file.
2019         * sysdeps/generic/aio_sigqueue.c: New file.
2020         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
2021         * sysdeps/unix/sysv/linux/Dist: Add new files
2022         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
2023         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
2024         rt_sigqueueinfo, rt_sigaction.
2026         * posix/Makefile (headers): Add bits/environments.h.
2027         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
2028         and _CS_LFS_CFLAGS on 64bit platforms.
2029         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
2030         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
2031         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
2032         compilation modules.
2033         * sysdeps/wordsize-32/bits/environments.h: New file.
2034         * sysdeps/wordsize-64/bits/environments.h: New file.
2036         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
2037         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
2038         __libc_pid.
2039         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
2040         0xf00baa.
2042         * string/string.h: Add declaration of __strverscmp.
2043         * string/strverscmp.c: Rename function ot __strverscmp and make old
2044         name weak alias.
2046         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
2047         * sysdeps/generic/enbl-secure.c: Likewise.
2048         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2050         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
2052         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
2054 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
2056         * posix/sys/wait.h: Use __transparent_union__ instead of
2057         transparent_union.  Reported by Roland McGrath.
2059 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2061         * resolv/inet_neta.c (inet_neta): Change type of first parameter
2062         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
2063         [PR libc/366].
2065         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
2067         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
2069 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2071         * grp/initgroups.c: Increase buffer if it is too small.
2073 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
2075         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
2076         fields, this is no ISO C.  Reported by Andreas Jaeger.
2078 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2080         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
2082 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
2084         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
2085         _SYS_UTSNAME_H not _UTSNAME_H.
2087 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2089         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
2090         computing s_scale.
2092 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2094         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
2095         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
2096         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
2098         * math/libm-test.c (csqrt_test): Add testcase.
2100 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
2102         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
2103         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
2104         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
2106 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2108         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
2110 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2112         * math/libm-test.c (acos_test): Add more tests.
2113         (asin_test): Likewise.
2114         (atan_test): Likewise.
2115         (exp_test): Likewise.
2116         (sin_test): Likewise.
2117         (sqrt_test): Likewise.
2118         (cpow_test): Likewise.
2119         (csqrt_test): Likewise.
2120         (cexp_test): Correct typo in gcc version test.
2122 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
2124         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
2125         <bits/setjmp.h>.
2126         * sysdeps/arm/setjmp.S: Likewise.
2128         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
2130 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
2132         * stdio/stdio.h: Add prototype for tmpfile64().
2134 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
2136         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
2137         prototype to keep in step with libio version.
2139         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
2141 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
2143         * sysdeps/generic/Makefile: Don't try to use make_siglist if
2144         cross-compiling.
2146 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
2148         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
2149         load GOT ptr before jumping to _exit.
2150         Reported by Xavier Leroy.
2152 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
2154         * Makefile (subdirs): Add iconvdata and localedata.
2156         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
2158         * iconv/gconv_conf.c (read_conf_file): Little optimization.
2160         * iconvdata/8bit-gap.c: New file.
2161         * iconvdata/8bit-generic.c: Renamed from ...
2162         * iconvdata/iso8859-generic.c: ...this.
2163         * iconvdata/configure: Removed.
2164         * iconvdata/Makefile: Add new modules and better rules.
2165         * iconvdata/iso6937.c: Minor bug fixes.
2166         * iconvdata/iso8859-1.c: Likewise.
2167         * iconvdata/t61.c: Likewise.
2168         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
2169         Minor bug fixes.
2170         * iconvdata/iso8859-3.c: Likewise.
2171         * iconvdata/iso8859-4.c: Likewise.
2172         * iconvdata/iso8859-5.c: Likewise.
2173         * iconvdata/iso8859-6.c: Likewise.
2174         * iconvdata/iso8859-7.c: Likewise.
2175         * iconvdata/iso8859-8.c: Likewise.
2176         * iconvdata/iso8859-9.c: Likewise.
2177         * iconvdata/iso8859-10.c: Likewise.
2178         * iconvdata/ebcdic-at-de-a.c: New file.
2179         * iconvdata/ebcdic-at-de.c: New file.
2180         * iconvdata/ebcdic-ca-fr.c: New file.
2181         * iconvdata/hp-roman8.c: New file.
2182         * iconvdata/koi-8.c: New file.
2183         * iconvdata/koi8-r.c: New file.
2184         * iconvdata/koi8-h.c: New file.
2185         * iconvdata/latin-greek-1.c: New file.
2186         * iconvdata/latin-greek-1.h: New file.
2187         * iconvdata/latin-greek.c: New file.
2188         * iconvdata/latin-greek.h: New file.
2189         * iconvdata/jis0201.c: New file.
2190         * iconvdata/jis0201.h: New file.
2191         * iconvdata/jis0208.c: New file.
2192         * iconvdata/jis0208.h: New file.
2193         * iconvdata/jis0212.c: New file.
2194         * iconvdata/jis0212.h: New file.
2195         * iconvdata/sjis.c: New file.
2196         * iconvdata/gap.pl: New file.  Script to generate table header.
2197         * iconvdata/gaptab.pl: New file.
2198         * iconvdata/gconv-modules: Add info about new modules.
2200         * locale/programs/charmap.c: Also examine alias names given in charmap
2201         files.
2203         * localedata/*: Add to here from add-on.  We need the information
2204         to generate tables for iconv.
2206         Update from db-2.3.14.
2207         * db2/Makefile: Updated.
2208         * db2/config.h: Likewise.
2209         * db2/db.h: Likewise.
2210         * db2/db_int.h: Likewise.
2211         * db2/btree/bt_cursor.c: Likewise.
2212         * db2/btree/bt_delete.c: Likewise.
2213         * db2/btree/bt_put.c: Likewise.
2214         * db2/btree/bt_search.c: Likewise.
2215         * db2/btree/bt_split.c: Likewise.
2216         * db2/btree/btree_auto.c: Likewise.
2217         * db2/common/db_appinit.c: Likewise.
2218         * db2/common/db_apprec.c: Likewise.
2219         * db2/common/db_err.c: Likewise.
2220         * db2/common/db_region.c: Likewise.
2221         * db2/db/db_auto.c: Likewise.
2222         * db2/db/db_dispatch.c: Likewise.
2223         * db2/db/db_ret.c: Likewise.
2224         * db2/dbm/dbm.c: Likewise.
2225         * db2/hash/hash_auto.c: Likewise.
2226         * db2/include/btree_ext.h: Likewise.
2227         * db2/include/common_ext.h: Likewise.
2228         * db2/include/db.h.src: Likewise.
2229         * db2/include/db_cxx.h: Likewise.
2230         * db2/include/db_ext.h: Likewise.
2231         * db2/include/db_int.h.src: Likewise.
2232         * db2/include/lock.h: Likewise.
2233         * db2/include/log.h: Likewise.
2234         * db2/include/mp.h: Likewise.
2235         * db2/include/mp_ext.h: Likewise.
2236         * db2/include/os_ext.h: Likewise.
2237         * db2/include/os_func.h: Likewise.
2238         * db2/lock/lock.c: Likewise.
2239         * db2/lock/lock_deadlock.c: Likewise.
2240         * db2/log/log.c: Likewise.
2241         * db2/log/log_archive.c: Likewise.
2242         * db2/log/log_auto.c: Likewise.
2243         * db2/log/log_get.c: Likewise.
2244         * db2/log/log_put.c: Likewise.
2245         * db2/mp/mp_bh.c: Likewise.
2246         * db2/mp/mp_fget.c: Likewise.
2247         * db2/mp/mp_fopen.c: Likewise.
2248         * db2/mp/mp_fput.c: Likewise.
2249         * db2/mp/mp_fset.c: Likewise.
2250         * db2/mp/mp_open.c: Likewise.
2251         * db2/mp/mp_pr.c: Likewise.
2252         * db2/mp/mp_region.c: Likewise.
2253         * db2/mp/mp_sync.c: Likewise.
2254         * db2/mutex/README: Likewise.
2255         * db2/mutex/mutex.c: Likewise.
2256         * db2/os/os_open.c: Likewise.
2257         * db2/os/os_func.c: Removed.
2258         * db2/os/os_config.c: New file.
2259         * db2/os/os_spin.c: New file.
2260         * db2/txn/txn.c: Likewise.
2261         * db2/txn/txn_auto.c: Likewise.
2263 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
2265         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
2266         __typeof for C++ since this fails for class members.
2267         Reported by Neal Becker <neal@ctd.comsat.com>.
2269 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2271         * configure.in: Check for a working makeinfo (3.11 or better).
2272         * config.make.in: Add MAKEINFO to be substituted.
2273         * manual/Makefile: Don't update info if makeinfo is too old.
2275 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
2277         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
2278         * sysdeps/alpha/__longjmp.S: Likewise.
2279         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
2280         not <bits/termios.h>.
2282         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
2283         __llseek and make llseek and lseek64 weak aliases.
2284         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2285         Patches by a sun <asun@zoology.washington.edu>.
2287 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2289         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
2290         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2291         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2292         * misc/sys/syslog.h: Clean up BSD header.
2294 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2296         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
2298         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
2299         for ctan(+-inf,x).
2300         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
2301         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
2303         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
2304         csqrt (-1), ctanh(i*pi/4).
2306 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2308         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
2310 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
2312         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
2314 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2316         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
2318 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
2320         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
2321         and use.  Define GETCWD_RETURN_TYPE instead and use it.
2322         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
2323         of GETCWD_STORYGE_CLASS and put the return type and the
2324         `internal_function' in the right order for gcc 2.7.2.
2326 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2328         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
2329         incompatible with Linux 2.1.x.  Packages using modules
2330         (e.g. modutils) should/do provide their own version.  Suggested by
2331         Richard Henderson.
2333         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
2335         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
2336         [$(subdir)=socket]: Remove sys/module.h.
2338 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
2340         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
2341         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
2343         * iconv/gconv_close.c: Correct freeing of descriptor data.
2344         * iconv/gconv_simple.c: Return correct error values for illegal or
2345         incomplete characters.
2347         * Makefile (iconvdata/%): Special goal to simplify iconvdata
2348         development.
2349         * iconvdata/Makefile: New file.
2350         * iconvdata/configure: Likewise.
2351         * iconvdata/extra-module.mk: Likewise.
2352         * iconvdata/gconv-modules: Likewise.
2353         * iconvdata/iso6937.c: Likewise.
2354         * iconvdata/iso8859-1.c: Likewise.
2355         * iconvdata/iso8859-10.c: Likewise.
2356         * iconvdata/iso8859-10.h: Likewise.
2357         * iconvdata/iso8859-2.c: Likewise.
2358         * iconvdata/iso8859-2.h: Likewise.
2359         * iconvdata/iso8859-3.c: Likewise.
2360         * iconvdata/iso8859-3.h: Likewise.
2361         * iconvdata/iso8859-4.c: Likewise.
2362         * iconvdata/iso8859-4.h: Likewise.
2363         * iconvdata/iso8859-5.c: Likewise.
2364         * iconvdata/iso8859-5.h: Likewise.
2365         * iconvdata/iso8859-6.c: Likewise.
2366         * iconvdata/iso8859-6.h: Likewise.
2367         * iconvdata/iso8859-7.c: Likewise.
2368         * iconvdata/iso8859-7.h: Likewise.
2369         * iconvdata/iso8859-8.c: Likewise.
2370         * iconvdata/iso8859-8.h: Likewise.
2371         * iconvdata/iso8859-9.c: Likewise.
2372         * iconvdata/iso8859-9.h: Likewise.
2373         * iconvdata/iso8859-generic.c: Likewise.
2374         * iconvdata/t61.c: Likewise.
2376         * string/Makefile (routines): Add strcasestr.
2377         * string/string.h: Add prototype for strcasestr.
2378         * sysdeps/generic/strcasestr.c: New file.
2379         * wcsmbs/mbrtowc.c: Simplify special case a bit.
2380         * wcsmbs/wcrtomb.c: Likewise.
2381         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
2382         * wcsmbs/wcsnrtombs.c: Likewise.
2383         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
2384         partial character is read.
2385         * wcsmbs/wcsrtombs.c: Likewise.
2386         * wcsmbs/wmemrtombs.c: Likewise.
2387         * wcsmbs/wmemrtowcs.c: Likewise.
2389         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
2390         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
2391         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
2392         * sysdeps/i386/elf/setjmp.S: Likewise.
2393         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
2394         <bits/termios.h>.
2396         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
2397         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
2399         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
2400         * sysvipc/sys/ipc.h: Likewise.
2401         * sysvipc/sys/msg.h: Likewise.
2402         * sysvipc/sys/sem.h: Likewise.
2403         * sysvipc/sys/shm.h: Likewise.
2405         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
2406         used directly.
2407         * sysdeps/alpha/bits/setjmp.h: Likewise.
2408         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
2409         * sysdeps/arm/bits/endian.h: Likewise.
2410         * sysdeps/arm/bits/setjmp.h: Likewise.
2411         * sysdeps/generic/bits/byteswap.h: Likewise.
2412         * sysdeps/generic/bits/confname.h: Likewise.
2413         * sysdeps/generic/bits/dirent.h: Likewise.
2414         * sysdeps/generic/bits/dlfcn.h: Likewise.
2415         * sysdeps/generic/bits/endian.h: Likewise.
2416         * sysdeps/generic/bits/fenv.h: Likewise.
2417         * sysdeps/generic/bits/huge_val.h: Likewise.
2418         * sysdeps/generic/bits/in.h: Likewise.
2419         * sysdeps/generic/bits/ioctl-types.h: Likewise.
2420         * sysdeps/generic/bits/ioctls.h: Likewise.
2421         * sysdeps/generic/bits/ipc.h: Likewise.
2422         * sysdeps/generic/bits/msq.h: Likewise.
2423         * sysdeps/generic/bits/poll.h: Likewise.
2424         * sysdeps/generic/bits/resource.h: Likewise.
2425         * sysdeps/generic/bits/sched.h: Likewise.
2426         * sysdeps/generic/bits/sem.h: Likewise.
2427         * sysdeps/generic/bits/setjmp.h: Likewise.
2428         * sysdeps/generic/bits/shm.h: Likewise.
2429         * sysdeps/generic/bits/sigaction.h: Likewise.
2430         * sysdeps/generic/bits/sigcontext.h: Likewise.
2431         * sysdeps/generic/bits/socket.h: Likewise.
2432         * sysdeps/generic/bits/stat.h: Likewise.
2433         * sysdeps/generic/bits/statfs.h: Likewise.
2434         * sysdeps/generic/bits/stdio_lim.h: Likewise.
2435         * sysdeps/generic/bits/termios.h: Likewise.
2436         * sysdeps/generic/bits/time.h: Likewise.
2437         * sysdeps/generic/bits/uio.h: Likewise.
2438         * sysdeps/generic/bits/utmp.h: Likewise.
2439         * sysdeps/generic/bits/utmpx.h: Likewise.
2440         * sysdeps/generic/bits/utsname.h: Likewise.
2441         * sysdeps/generic/bits/waitflags.h: Likewise.
2442         * sysdeps/generic/bits/waitstatus.h: Likewise.
2443         * sysdeps/gnu/bits/utmp.h: Likewise.
2444         * sysdeps/gnu/bits/utmpx.h: Likewise.
2445         * sysdeps/i386/bits/byteswap.h: Likewise.
2446         * sysdeps/i386/bits/endian.h: Likewise.
2447         * sysdeps/i386/bits/huge_val.h: Likewise.
2448         * sysdeps/i386/bits/setjmp.h: Likewise.
2449         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2450         * sysdeps/ieee754/bits/huge_val.h: Likewise.
2451         * sysdeps/m68k/bits/byteswap.h: Likewise.
2452         * sysdeps/m68k/bits/endian.h: Likewise.
2453         * sysdeps/m68k/bits/setjmp.h: Likewise.
2454         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
2455         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
2456         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
2457         * sysdeps/mach/hurd/bits/stat.h: Likewise.
2458         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
2459         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
2460         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
2461         * sysdeps/mips/bits/dlfcn.h: Likewise.
2462         * sysdeps/mips/bits/endian.h: Likewise.
2463         * sysdeps/mips/bits/setjmp.h: Likewise.
2464         * sysdeps/mips/dec/bits/endian.h: Likewise.
2465         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
2466         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
2467         * sysdeps/mips/p40/bits/endian.h: Likewise.
2468         * sysdeps/powerpc/bits/endian.h: Likewise.
2469         * sysdeps/powerpc/bits/fenv.h: Likewise.
2470         * sysdeps/powerpc/bits/setjmp.h: Likewise.
2471         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
2472         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
2473         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
2474         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
2475         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
2476         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
2477         * sysdeps/unix/bsd/bits/stat.h: Likewise.
2478         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
2479         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
2480         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2481         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
2482         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
2483         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
2484         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
2485         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
2486         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
2487         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
2488         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
2489         * sysdeps/unix/common/bits/dirent.h: Likewise.
2490         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
2491         * sysdeps/unix/sysv/bits/stat.h: Likewise.
2492         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2493         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2494         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
2495         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
2496         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
2497         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
2498         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
2499         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
2500         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2501         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2502         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2503         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
2504         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
2505         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
2506         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
2507         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2508         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2509         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
2510         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2511         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2512         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2513         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2514         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
2515         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
2516         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2517         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2518         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
2519         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2520         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
2521         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2522         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
2523         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
2524         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
2525         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
2526         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
2527         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
2528         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
2529         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2530         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
2531         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
2532         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2533         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
2534         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2535         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2536         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
2537         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2538         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
2539         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
2540         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2541         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2542         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
2543         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
2544         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2545         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2546         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
2547         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
2548         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
2549         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
2550         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
2551         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
2552         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
2553         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
2554         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
2555         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
2556         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2557         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
2558         * sysdeps/vax/bits/huge_val.h: Likewise.
2559         * sysdeps/vax/bits/setjmp.h: Likewise.
2560         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
2561         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
2563 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2565         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
2567 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
2569         * strftime.c (strftime):
2570         No longer any need to undef or declare if emacs is defined.
2571         (my_strftime): When checking a -1 returned by mktime, don't blow up
2572         if localtime_r returns NULL.
2574 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2576         * README.template: Fix spelling.
2578 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2580         * configure.in: Enhance --enable-add-ons description a wee bit.
2582 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2584         * glibcbug.in: Add more information of build environment and flags.
2586 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2588         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
2589         it into ENOENT.
2591 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
2593         * elf/dl-support.c: Call __libc_init_secure to make sure
2594         __libc_enable_secure is defined early.
2595         * sysdeps/generic/enbl-secure.c: Change function name to
2596         __libc_init_secure and make it global instead of a constructor.
2598         * iconv/gconv.c: Fix lots of bugs.
2599         * iconv/gconv.h: Likewise.
2600         * iconv/gconv_builtin.h: Likewise.
2601         * iconv/gconv_close.c: Likewise.
2602         * iconv/gconv_conf.c: Likewise.
2603         * iconv/gconv_db.c: Likewise.
2604         * iconv/gconv_dl.c: Likewise.
2605         * iconv/gconv_open.c: Likewise.
2606         * iconv/gconv_simple.c: Likewise.
2607         * iconv/iconv.c: Likewise.
2608         * iconv/iconv_close.c: Likewise.
2609         * iconv/iconv_open.c: Likewise.
2611         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
2612         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
2613         * wcsmbs/wmemrtombs.c: New file.
2614         * wcsmbs/wmemrtowcs.c: New file.
2616 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
2618         * iconv/gconv_simple.c: Fix lots of bugs.
2619         * iconv/iconv_open.c: Normalize names before passing them to
2620         __gconv_open.
2622         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
2624         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
2625         * stdio-common/test-popen.c: Add test for above change.
2627         * math/libm-test.c: Print test results also using %a format,
2628         specified in PRINTF_XEXPR macro.
2629         * math/test-double.c: Define PRINTF_XEXPR.
2630         * math/test-float.c: Likewise.
2631         * math/test-ldouble.c: Likewise.
2632         * math/test-idouble.c: Likewise.
2633         * math/test-ifloat.c: Likewise.
2634         * math/test-ildoubl.c: Likewise.
2636         * stdio-common/vfscanf.c: Recognize a in format specifier only as
2637         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
2638         FP number format.
2640         * stdlib/strtod.c: Little code cleanup.
2642         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
2643         compiling in math subdir.
2645         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
2646         instead of __LIBC_M81_MATH_INLINES.
2647         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
2648         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2649         * sysdeps/m68k/fpu/e_pow.c: Likewise.
2650         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2651         * sysdeps/m68k/fpu/k_cos.c: Likewise.
2652         * sysdeps/m68k/fpu/k_sin.c: Likewise.
2653         * sysdeps/m68k/fpu/k_tan.c: Likewise.
2654         * sysdeps/m68k/fpu/s_atan.c: Likewise.
2655         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
2656         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
2657         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
2658         * sysdeps/m68k/fpu/s_csin.c: Likewise.
2659         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
2660         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
2661         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2662         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
2663         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
2664         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
2665         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
2666         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
2667         * sysdeps/m68k/fpu/s_modf.c: Likewise.
2668         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
2669         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
2670         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
2671         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
2672         __LIBC_INTERNAL_MATH_INLINES is defined.
2674         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
2675         of compare macros from ISO C 9X.  Optimize generic versions a bit.
2676         Define __signbit inline functions and __ieee754_sqrt which can be
2677         used if the ompiler is fixed.
2679         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
2681 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2683         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
2684         sysdeps/generic in the whole dep file, not only in the first line.
2686 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2688         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
2690 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2692         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
2693         place.
2695 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2697         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
2698         is non-empty.
2700 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
2702         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
2703         return value.
2705 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
2707         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
2708         readlink succeeds but the return value is too long.
2710         * stdio-common/printf_fphex.c: Determine sign of number correctly.
2712 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
2714         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
2715         __remqu for Alpha.
2717 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
2719         * sysdeps/generic/sys/ucontext.h: Stub context file.
2721         * libio/iofprintf.c: Removed.  We use the stdio-common version.
2723         * manual/Makefile (distribute): Add stdio-fp.c.
2725         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
2727         * db2/Makefile (distribute): Add include/os_func.h, README and
2728         mutex/tsl_parisc.s.
2730         * hesiod/Makefile (distribute): Add README.hesiod.
2732 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
2734         * iconv/gconv.c: Correctly call transformation function.
2736         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
2738 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2740         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
2741         wrong results for e.g. remquo (3,2, &x)).
2742         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
2743         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
2745 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2747         * configure.in (ld --version-script): Test if the same symbol
2748         maybe defined in all versions (needed by recent changes to
2749         libc.map and supported with binutils 2.8.1.0.17) and issue warning
2750         if versioning is not supported/enabled.
2751         (bash test): Correct test case.
2753         * math/libm-test.c: Added counting/reporting of number of test cases.
2755         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
2756         use awk instead.
2758         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
2760 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2762         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
2764 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
2766         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
2767         Replace revoke call by use of REVOKE.
2768         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
2769         empty and #include generic version.
2770         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2772 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
2774         * libc.map: Add socket functions with __libc_* names.
2775         Reported by Andreas Jaeger.
2777 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2779         * libc.map: Tidy up (remove duplicates, sort entries).
2781 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2783         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
2785 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
2787         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
2788         again after successful call.
2789         Patch by Marc Lehmann <pcg@goof.com>.
2791 1997-11-17  Paul Eggert  <eggert@twinsun.com>
2793         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
2794         as some hosts need this to declare localtime_r properly.
2796 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
2798         * libc.map: Add iconv_open, iconv, and iconv_close.
2800 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
2802         * iconv/Makefile: New file.
2803         * iconv/gconv.c: New file.
2804         * iconv/gconv.h: New file.
2805         * iconv/gconv_builtin.c: New file.
2806         * iconv/gconv_builtin.h: New file.
2807         * iconv/gconv_close.c: New file.
2808         * iconv/gconv_conf.c: New file.
2809         * iconv/gconv_db.c: New file.
2810         * iconv/gconv_dl.c: New file.
2811         * iconv/gconv_open.c: New file.
2812         * iconv/gconv_simple.c: New file.
2813         * iconv/iconv.c: New file.
2814         * iconv/iconv.h: New file.
2815         * iconv/iconv_close.c: New file.
2816         * iconv/iconv_open.c: New file.
2817         * include/gconv.h: New file.
2819         * Makeconfig: Define gconvdir.
2820         * Makefile (subdirs): Add iconv.
2822         * string/bits/string2.h: Add optimization for strtok_r.
2824         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
2825         for NULL.
2826         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
2827         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
2829         * configure.in: Correct test for bash2.
2830         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2832         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
2833         (CFLAGS-locfile.c): Likewise.
2834         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2836         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
2837         non-existing entry if the table is full.
2839         * posix/regex.h: Pretty print.
2841         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
2843         * sysdeps/posix/ctermid.c: Simplify a bit.
2845         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
2847 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2849         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
2850         <sys/types.h> instead of <asm/types.h>.
2852 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2854         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
2856 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
2858         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
2859         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
2860         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
2861         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
2862         fclose): Added to GLIBC_2.1.
2864         * libio/Makefile (routines, shared-only-routines): Add
2865         oldiofclose.  Remove oldfreopen.
2867         * libio/freopen.c (freopen): When PIC is defined, call
2868         _IO_old_freopen () for old stdio.
2870         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
2871         (_IO_fclose, fclose): Use _IO_new_fclose as default version
2872         for GLIBC_2.1.
2874         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
2875         instead of _IO_file_close_it.
2877         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
2878         to _IO_2_1_stdxxx_.
2879         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
2880         is defined.
2882         * libio/libioP.h (_IO_old_do_flush): New.
2884         * libio/oldfileops.c (_IO_old_file_close_it,
2885         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
2886         Call _IO_old_do_flush () instead of _IO_do_flush ().
2887         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
2888         _IO_do_write ().
2890         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
2891         instead of _IO_file_init ().
2892         Bind old symbols to version GLIBC_2.0.
2894         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
2895         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
2896         _IO_stdxxx_.
2897         (_IO_check_libio): New function in .init.
2899         * libio/oldiofclose.c: New file.
2901         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
2902         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
2903         (DEF_STDFILE): Don't use default_symbol_version.
2905         * libio/stdio.c (stdin, stdout, stderr): Set to
2906         _IO_2_1_stdxxx_._
2907         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
2908         stdxxx.
2910         * csu/Makefile (distribute): Add init.c.
2911         (extra-objs): Add init.o for ELF.
2912         (start-installed-name): Add $(objpfx)init.o.
2914         * csu/init.c: New file.
2916 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
2918         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
2919         definition as the default.
2921 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
2923         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
2925 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2927         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
2928         (PR 351).
2930 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
2932         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
2933         to preserve condition codes on function call.
2935 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2937         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
2939 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2941         * math/libm-test.c (asin_test): Add epsilon for float.
2942         (tan_test): Add epsilon for float.
2943         (log1p_test): Add epsilon for float.
2944         (inverse_functions): Add epsilons.
2946         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
2947         net/if_packet.h.
2949         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
2951 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2953         * md5-crypt/Makefile (extra-objs): Make recursively expanded
2954         variable, since $(object-suffixes) is not defined yet.
2956 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2958         * db2/Makefile (distribute): db185/db185_int.src ->
2959         db185/db185_int.h.
2961 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2963         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
2964         exactly one.
2966 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2968         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
2969         name.
2970         * sysdeps/generic/e_acosl.c: Likewise.
2971         * sysdeps/generic/e_asinl.c: Likewise.
2972         * sysdeps/generic/e_atan2l.c: Likewise.
2973         * sysdeps/generic/e_expl.c: Likewise.
2974         * sysdeps/generic/e_fmodl.c: Likewise.
2975         * sysdeps/generic/e_j0l.c: Likewise.
2976         * sysdeps/generic/e_j1l.c: Likewise.
2977         * sysdeps/generic/e_jnl.c: Likewise.
2978         * sysdeps/generic/e_lgammal_r.c: Likewise.
2979         * sysdeps/generic/e_log10l.c: Likewise.
2980         * sysdeps/generic/e_logl.c: Likewise.
2981         * sysdeps/generic/e_powl.c: Likewise.
2982         * sysdeps/generic/e_sqrtl.c: Likewise.
2983         * sysdeps/generic/e_exp2l.c: Likewise.
2985 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2987         * Make-dist (+sysdep-names): Remove extra paren.
2988         * Makefile (distribute): Add stub-tag.h.
2989         * elf/Makefile (distribute): Add atomicity.h.
2990         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
2991         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
2992         [$(subdir)=socket]: Add net/if_packet.h.
2993         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
2994         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
2995         net/if_packet.h, scsi/sg.h.
2997 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2999         * Makefile (install): Quote $(CC) expansion.
3001 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3003         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
3004         working /proc cwd and no restrictions on path length.  Following
3005         some ideas from Andi Kleen <ak@muc.de> (PR 350).
3007 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3009         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
3010         * nis/nss_compat/compat-pwd.c: Likewise.
3011         * nis/nss_compat/compat-spwd.c: Likewise.
3013 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
3015         * sysdeps/libm-i387/s_fdim.S: New file.
3016         * sysdeps/libm-i387/s_fdimf.S: New file.
3017         * sysdeps/libm-i387/s_fdiml.S: New file.
3018         * sysdeps/libm-i387/i686/s_fdim.S: New file.
3019         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
3020         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
3022 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3024         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
3025         pointer to unsigned char.
3027 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3029         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
3031         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
3033         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
3035 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3037         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
3038         ilogb(0/NaN).
3039         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
3040         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
3042 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
3044         * sysdeps/libm-i387/s_fmin.S: New file.
3045         * sysdeps/libm-i387/s_fminf.S: New file.
3046         * sysdeps/libm-i387/s_fminl.S: New file.
3047         * sysdeps/libm-i387/s_fmax.S: New file.
3048         * sysdeps/libm-i387/s_fmaxf.S: New file.
3049         * sysdeps/libm-i387/s_fmaxl.S: New file.
3050         * sysdeps/libm-i387/i686/s_fmin.S: New file.
3051         * sysdeps/libm-i387/i686/s_fminf.S: New file.
3052         * sysdeps/libm-i387/i686/s_fminl.S: New file.
3053         * sysdeps/libm-i387/i686/s_fmax.S: New file.
3054         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
3055         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
3057 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
3059         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
3060         * sysdeps/unix/sysv/linux/send.S: Likewise.
3061         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3062         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3063         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3064         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3065         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3066         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3067         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
3069 See ChangeLog.7 for earlier changes.