Update.
[glibc.git] / ChangeLog
blob96ff260c021f4762aaf4e38824b9f8f6d39f26b4
1 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
3         * misc/tst-efgcvt.c: Add more tests.
4         * misc/efgcvt_r.c: Correct result for above new tests.
6 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
8         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
9         NDIGIT <= 0.
11 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
13         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
14         if the programs weren't built.
16 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
18         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
19         FE_TONEAREST, soldier on regardless and do the best we can.
20         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
22 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
24         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
25         _STDIO_H, before including <bits/stdio_lim.h>.
27         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
29         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
30         exist.
31         
32         * sysdeps/arm/sys/ucontext.h: New file.
34 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
36         * manual/stdio.texi (Formatted Output Functions): Explicitly say
37         that the return value from snprintf() does not count the
38         terminating NUL as a character.
39         
40 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
42         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
43         add description for sete[ug]id and general cleanup.
44         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
46 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
48         * Makefile (parent-clean): Don't remove makefile fragments here.
49         (postclean): New variable.
50         (clean): Remove makefile fragments here.
51         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
52         (generated): Add isomac and isomanc.out.
53         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
54         avoid-generated is set.
55         (postclean-generated): Add soversion.mk.
56         ($(common-objpfx)version.mk): Don't include if avoid-generated is
57         set.
58         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
59         avoid-generated is set.
60         (common-generated): Add libc.so and libc.so$(libc.so-version).
61         (generated): Add versioned libraries.
62         (common-mostlyclean): Also remove %.so and %_pic.a.
63         * csu/Makefile (generated): Add abi-tag.h.
64         * db2/Makefile (extra-objs): Add getlong.o.
65         * elf/Makefile (generated): Add ld.so, ldd and
66         $(rtld-installed-name).
67         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
68         * malloc/Makefile (generated): Add mtrace.
69         * po/Makefile: Don't include version.mk, not needed any more.
70         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
71         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
72         syscall.h -> sys/syscall.h.
73         (common-generated): Add s-proto.d.
74         (postclean-generated): Add sysd-syscalls.
75         * localedata/Makefile (test-output): Add all output files.
76         (generated): Add test-input and test-output.
77         (generated-dirs): Add all the dirs.
79 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
81         * Makefile (test-output, generated, generated-dirs): New
82         variables.
84 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
86         * resolv/nss_dns/dns-host.c: Various code cleanups.
87         
88 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
90         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
91         From Philip Blundell <pb@nexus.co.uk>.
92         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
94 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
96         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
97         Suggested by debian/sparc porters.
99 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
101         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
102         for ecvt and fcvt.
104 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
106         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
107         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
109         * signal/signal.h: Always define sigset_t if __need_sigset_t is
110         defined even if __USE_POSIX is not defined.
112 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
114         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
115         to support obsolete tty major numbers correctly.
116         
117 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
119         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
120         directory first and ignore install error.
122         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
123         128 from ptyno and fix a typo for the BSD style pty.
125 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
127         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
128         syscalls.list's.
130 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
132         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
133         getresuid and getresgid.
135         * sysdeps/unix/sysv/linux/getresuid.c: New file.
136         * sysdeps/unix/sysv/linux/getresgid.c: New file.
138         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
139         s_getres[ug]id.
141         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
142         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
143         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
144         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
146 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
148         * nscd/grpcache.c: Include <stdlib.h>.
150 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
152         * stdlib/atoll.c: Fix comments.
154         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
155         * sysdeps/posix/ttyname_r.c: Ditto.
157 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
159         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
160         __USE_MISC, independent of __USE_UNIX98.
162 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
164         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
165         Rename from __libc_have_rt_sigs and leave as COMMON data.
166         
167 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
169         * Makeconfig (CFLAGS-.os): Kill -fno-common.
170         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
172         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
173         * elf/rtld.map: New file.  Needed to define the GLIBC_2.* 
174         version symbols.
175         * include/libc-symbols.h (symbol_version, default_symbol_version):
176         Provide asm versions and correct !DO_VERSIONING versions.
177         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
178         the weak symbol list.
179         
180         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
181         Rename from __libc_have_rt_sigs and leave as COMMON data.
182         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
183         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
184         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
186 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
188         * sunrpc/Makefile: Correct dependencies of rpcgen.
190 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
192         * nscd/Makefile: Fix test for available linuxthreads add-on.
193         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
195 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
197         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
199 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
201         * sysdeps/gnu/Makefile: Respect with-cvs variable.
203         * manual/errno.texi (Error Messages): Correct description of
204         strerror_r.  Pointed out by jonas@bagge.se.
206 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
208         * manual/socket.texi (Host Address Functions): Clarify description 
209         of inet_network.
211 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
213         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
214         (grantpt): Delete superfluous cast.
216 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
218         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
219         elf/ldso_install instead of elf/subdir_install.
220         (elf/ldso_install): New target.
222         * elf/Makefile (ldso_install): New target.
224 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
226         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
227         of 1998-01-06.
229 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
231         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
232         constant expressions.
234 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
236         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
237         for __nss_configure_lookup.
238         (output_hostent): Remove unused variable.
240 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
242         * string/tst-inlcall.c: Fix format string.
244 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
246         * inet/netinet/in.h: Rename second parameter of bindresvport to
247         avoid buggy gcc warning. [PR libc/412]
249 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
251         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
252         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
254         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval): 
255         Follow POSIX and make tv_sec a time_t.
256         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
257         new tv64 syscall as well as fall back to tv32.
258         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
259         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
260         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
261         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
262         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
263         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
264         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
265         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
267         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
268         * include/rpcsvc/nis_tags.h: Likewise.
269         * include/rpcsvc/nislib.h: Likewise.
271 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
273         * libc.map: Add _h_errno.
274         * inet/herrno.c: Make _h_errno weak alias.
276         * login/Makefile (distribute): Add pty-internal.h.
278         * nscd/Makefile (distribute): Add all the files missing.
280         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
281         are available.
283         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
284         and report status at the end.
286         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
288         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
289         variable.
290         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
291         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
292         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
294 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
296         * configure.in: Fix --enable-add-ons code.
298 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
300         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
301         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
302         [PR libc/441]
304         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
305         occurence in cache.  Reported by Rudolf Leitgeb
306         <leitgeb@leland.stanford.edu>.
307         [PR libc/440]
309 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
311         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
312         that it never is EINTR (which is tested for in _IO_vfscanf).
314         * Makefile.in: Call sub-make with CVSOPTS.
316         * elf/Makefile (distribute): Add dl-procinfo.h.
318         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
320 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
322         * version.h (VERSION): Bump to 2.0.92.
324 1998-01-31  Phil Blundell  <philb@gnu.org>
326         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
327         alias for __new_sys_siglist.
329 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
331         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
332         getgrgid_r.c if thread package is available.
333         * pwd/Makefile: Likewise.
334         * grp/getgrnam_r.c: Remove USE_NSCD definition.
335         * grp/getgrgid_r.c: Likewise.
336         * pwd/getpwnam_r.c: Likewise.
337         * pwd/getpwuid_r.c: Likewise.
339 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
341         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
342         with error to allow user intervention.
343         * nss/getXXent_r.c: Likewise.
345 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
347         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
348         AT_PLATFORM string.  Pretty print AT_BASE info.
350         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
351         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
352         * sysdeps/generic/dl-procinfo.h: New file.
353         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
355 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
357         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
359         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
360         thread and not pthread_detach.
362         * nscd/nscd.c: Rewrite to use argp instead of getopt.
364 1998-01-31  Phil Blundell  <philb@gnu.org>
366         * configure.in: Add --without-cvs option to suppress automatic
367         checkin of regenerated files.
368         * config.make.in: Likewise.
369         * Makefile: Respect with-cvs setting.
370         * Makerules: Likewise.
372         * configure.in: Allow the standalone ARM port to be configured.
374 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
376         * grp/getgrgid_r.c: Define USE_NSCD.
377         * grp/getgrnam_r.c: Likewise.
378         * pwd/getpwuid_r.c: Likewise.
379         * pwd/getpwnam_r.c: Likewise.
381         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
383         * nss/getXXbyYY_r.c: Try at first nscd.
385         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
386         * nscd/connections.c: New file.
387         * nscd/dbg_log.c: New file.
388         * nscd/dbg_log.h: New file.
389         * nscd/grpcache.c: New file.
390         * nscd/nscd.c: New file.
391         * nscd/nscd.h: New file.
392         * nscd/nscd_conf.c: New file.
393         * nscd/nscd_stat.c: New file.
394         * nscd/pwdcache.c: New file.
396         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
397         * nscd/nscd_getpw_r.c: Likewise.
398         * nscd/nscd_proto.h: New, prototypes for client functions.
400         * nscd/nscd.conf: New, example for a configuration file.
401         * nscd/nscd.init: New, example for a startup script.
403         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
404         avoid deadlocks.
405         * nscd/getgrnam_r.c: Likewise.
406         * nscd/getpwnam_r.c: Likewise.
407         * nscd/getpwuid_r.c: Likewise.
409 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
411         * intl/Makefile: Use CVSOPTS in cvs invocation.
412         * po/Makefile: Likewise.
413         * posix/Makefile: Likewise.
414         * stdlib/Makefile: Likewise.
416 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
418         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
419         [PR libc/410]
420         * misc/Makefile (tests): Add tst-efgcvt.
421         * misc/tst-efgcvt.c: New file.
423 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
425         * posix/regex.c: Add some more cleanups by Akim Demaille.
427 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
429         * signal/signal.h: Revert last change.
430         * string/strsignal.c: Regard signal number NSGI as illegal.
431         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
432         members.
434 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
436         * Makefile.in: Add comment about CVSOPTS Makefile variable.
437         * Makerules: Use CVSOPTS in cvs invocation.
438         * Makefile: Likewise.
439         * MakeTAGS: Likewise.
440         * Make-dist: Likewise.
442 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
444         * sysdeps/generic/memmem.c: Correct last change.
446 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
448         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
449         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
451 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
453         * nis/ypclnt.c: Try at first to use the binding file from ypbind
454         before using RPC.
456 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
458         * manual/memory.texi (Heap Consistency Checking): mcheck is
459         declared in <mcheck.h>.
460         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
462 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
464         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
465         beginning of haystack.
467 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
469         * nss/nss_files/files-service.c: Correct last patch.
471 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
473         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
474         __libc_have_rt_sigs.
475         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
476         including <bits/setjmp.h>.
477         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
478         Patch from the Debian glibc/SPARC package.
480 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
482         * sysdeps/alpha/bzero.S: Fix a typo.
483         * sysdeps/alpha/htonl.S: Ditto.
484         * sysdeps/alpha/htons.S: Ditto.
486 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
488         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
490 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
492         * include/cpio.h: Move to ...
493         * posix/cpio.h: ...here.
495         * locale/programs/ld-collate.c: Fix typo.
497         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
499         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
501         * login/utmp_file.c (pututline_file): Don't always report success
502         if similar entry is found.  Patch by Mark M. Kettenis.
504 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
506         * manual/Makefile: Don't try to install the info files if makeinfo
507         is not available.
509 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
511         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
512         kernel's network ioctls, rather than using <linux/sockios.h> to
513         get them.  This way we are sure of maintaining compatibility if
514         the kernel interface should change.
516 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
518         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
520 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
522         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
523         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
525 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
527         Implement System V pseudoterminal handling.
529         * login/Makefile
530         (routines): Add getpt, grantpt, unlockpt, ptsname.
531         (libutil-routines): Remove pty. Add openpty, forkpty.
532         (distribute): New internal header pty-internal.h.
533         (others): Add the helper program, pt_chown.
534         (install-others): Install it, in $(libexecdir), mode 4755.
536         * login/pty-internal.h: New file.
537         * login/openpty.c: New file.
538         * login/forkpty.c: New file.
539         * login/programs/pt_chown.c: New file.
541         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
542         * stdlib/stdlib.h: Prototype them.
544         * config.make.in: Define $(libexecdir).
545         * Makeconfig: Define $(inst_libexecdir).
547         * sysdeps/generic/pty.c: Removed.
548         * sysdeps/unix/sysv/linux/pty.c: Removed.
550         * sysdeps/generic/getpt.c: Stub out.
551         * sysdeps/generic/grantpt.c: Likewise.
552         * sysdeps/generic/ptsname.c: Likewise.
553         * sysdeps/generic/unlockpt.c: Likewise.
555         * sysdeps/unix/grantpt.c: New file.
556         * sysdeps/unix/bsd/getpt.c: New file.
557         * sysdeps/unix/bsd/unlockpt.c: New file.
558         * sysdeps/unix/sysv/linux/getpt.c: New file.
559         * sysdeps/unix/sysv/linux/ptsname.c: New file.
560         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
562 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
564         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
566 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
568         * nss/Makefile (tests): Add rule for test-netdb.c.
570         * nss/test-netdb.c: New file.
572 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
574         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
575         really kept as a variable.  Patch by Richard Henderson,
576         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
578         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
579         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
580         entries as not existing.
582 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
584         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
585         zero in alternate form with precision of zero, which must produce
586         "0".  Add braces to avoid ambiguous `else'.
588 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
590         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
591         problem with strncpy.
592         * nis/nss_compat/compat-pwd.c: Likewise.
593         * nis/nss_compat/comapt-spwd.c: Likewise.
595 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
597         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
598         by uch@nop.or.jp. [PR libc/437]
600 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
602         * locales/pl_PL: Fix int_curr_symbol.
604 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
606         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
608 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
610         * stdio-common/test-popen.c: Include <errno.h>.
612         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
613         close.
615         * inet/getnetgrent_r.c: Include <errno.h>.
617         * db2/db/db_conv.c: Include <string.h> for memcpy.
619         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
620         so that memcpy is declared.
622         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
624         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
626 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
628         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
629         overflow while reading line with fgets.
630         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
632 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
634         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
635         unsigned short, not short.
636         Reported by Andreas Jaeger.
638 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
640         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
641         (ccept->accept).
643         * sysdeps/generic/inttypes.h: Fix spelling.
645 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
647         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
649         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
651 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
653         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
654         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
655         field for hh modifier.
656         * stdio-common/vfprint.c: Use is_char field and do not depend in
657         is_short having the value 2.
658         Bug reported by Andreas Jaeger.
660 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
662         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
663         PIC && DO_VERSIONING.
665 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
667         * Rules: Add rules for $(common-objpfx)dummy$o.
669 1998-01-26  Richard Henderson  <rth@cygnus.com>
671         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
672         unimplemented OSF/1 definitions so that they are not accidentally seen.
674         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
675         of the trampoline function into the macro.
676         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
677         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
678         kernel 2.1.82 has this fixed.
680         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
681         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
683 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
685         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
686         support sigaction on kernels > 2.1.7x.
688 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
690         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
691         if it is empty.
693         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
694         Patch by David Engel <david@sw.ods.com>.
696         * configure.in: Fix another typo in --enable-add-ons code.
698 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
700         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
702 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
704         * nss/nss_files/files-network.c: Correct order of parameters for
705         getnetbyaddr.
707 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
709         * db2/Makefile (routines): Add os_alloc.
710         * db2/db.h: Update from db-2.3.16.
711         * db2/db_185.h: Likewise.
712         * db2/db_int.h: Likewise.
713         * db2/btree/bt_close.c: Likewise.
714         * db2/btree/bt_cursor.c: Likewise.
715         * db2/btree/bt_delete.c: Likewise.
716         * db2/btree/bt_open.c: Likewise.
717         * db2/btree/bt_page.c: Likewise.
718         * db2/btree/bt_put.c: Likewise.
719         * db2/btree/bt_rec.c: Likewise.
720         * db2/btree/bt_recno.c: Likewise.
721         * db2/btree/btree_auto.c: Likewise.
722         * db2/common/db_appinit.c: Likewise.
723         * db2/common/db_apprec.c: Likewise.
724         * db2/common/db_err.c: Likewise.
725         * db2/common/db_region.c: Likewise.
726         * db2/common/db_shash.c: Likewise.
727         * db2/db/db.c: Likewise.
728         * db2/db/db_auto.c: Likewise.
729         * db2/db/db_conv.c: Likewise.
730         * db2/db/db_dispatch.c: Likewise.
731         * db2/db/db_dup.c: Likewise.
732         * db2/db/db_pr.c: Likewise.
733         * db2/db/db_rec.c: Likewise.
734         * db2/db185/db185.c: Likewise.
735         * db2/dbm/dbm.c: Likewise.
736         * db2/hash/hash.c: Likewise.
737         * db2/hash/hash_auto.c: Likewise.
738         * db2/hash/hash_dup.c: Likewise.
739         * db2/hash/hash_page.c: Likewise.
740         * db2/hash/hash_rec.c: Likewise.
741         * db2/include/btree_ext.h: Likewise.
742         * db2/include/clib_ext.h: Likewise.
743         * db2/include/common_ext.h: Likewise.
744         * db2/include/db.h.src: Likewise.
745         * db2/include/db_185.h.src: Likewise.
746         * db2/include/db_am.h: Likewise.
747         * db2/include/db_ext.h: Likewise.
748         * db2/include/db_int.h.src: Likewise.
749         * db2/include/hash_ext.h: Likewise.
750         * db2/include/lock_ext.h: Likewise.
751         * db2/include/log.h: Likewise.
752         * db2/include/log_auto.h: Likewise.
753         * db2/include/log_ext.h: Likewise.
754         * db2/include/mp.h: Likewise.
755         * db2/include/mp_ext.h: Likewise.
756         * db2/include/mutex_ext.h: Likewise.
757         * db2/include/os_ext.h: Likewise.
758         * db2/include/os_func.h: Likewise.
759         * db2/include/txn_ext.h: Likewise.
760         * db2/lock/lock.c: Likewise.
761         * db2/lock/lock_util.c: Likewise.
762         * db2/log/log.c: Likewise.
763         * db2/log/log.src: Likewise.
764         * db2/log/log_archive.c: Likewise.
765         * db2/log/log_auto.c: Likewise.
766         * db2/log/log_get.c: Likewise.
767         * db2/log/log_put.c: Likewise.
768         * db2/log/log_rec.c: Likewise.
769         * db2/log/log_register.c: Likewise.
770         * db2/mp/mp_bh.c: Likewise.
771         * db2/mp/mp_fget.c: Likewise.
772         * db2/mp/mp_fopen.c: Likewise.
773         * db2/mp/mp_fput.c: Likewise.
774         * db2/mp/mp_pr.c: Likewise.
775         * db2/mp/mp_sync.c: Likewise.
776         * db2/mutex/mutex.c: Likewise.
777         * db2/os/os_alloc.c: Likewise.
778         * db2/os/os_config.c: Likewise.
779         * db2/os/os_stat.c: Likewise.
780         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
781         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
782         * db2/progs/db_load/db_load.c: Likewise.
783         * db2/progs/db_printlog/db_printlog.c: Likewise.
784         * db2/progs/db_recover/db_recover.c: Likewise.
785         * db2/progs/db_stat/db_stat.c: Likewise.
786         * db2/txn/txn.c: Likewise.
788         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
789         Unmap memory blocks in reverse order of allocation.
790         Call munmap with load address added to offset.
791         Bug reported by Miguel de Icaza.
793         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
794         up weight array.
796         * localedata/locales/cs_CZ: Update by Michael Mraka
797         <michael@informatics.muni.cz>.
799         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
800         __USE_BSD.
802         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
803         reading line with fgets.
804         * nis/nss_compat/compat-pwd.c: Likewise.
805         * nis/nss_compat/compat-spwd.c: Likewise.
806         * nss/nss_files/files-XXX.c: Likewise.
807         * nss/nss_files/files-alias.c: Likewise.
808         * shadow/fgetspent_r.c: Likewise.
810         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
812         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
813         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
814         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
816         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
817         FP register content in ucontext_t.
819 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
821         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
822         calculation.  Patch by Markus Schoder
823         <Markus.Schoder@dresdner-bank.de>.
825         * math/libm-test.c (modf_test): Add more tests for modf.
827         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
828         munlock according to Unix98.
830 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
832         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
833         AF_INET.
835 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
837         * sysdeps/posix/ttyname.c: Handle symbolic links.
838         * sysdeps/posix/ttyname_r.c: Ditto.
840 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
842         * db2/makedb.c (process_input): Write terminating \0 for value.
843         (print_database): Simply print value string, don't use length.
845 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
847         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
848         exit of loop.
850 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
852         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
853         close all sockets.
855 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
857         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
858         sigset.
859         * signal/sighold.c: New file.
860         * signal/sigrelse.c: New file.
861         * sysdeps/generic/sigignore.c: New file.
862         * sysdeps/generic/sigset.c: New file.
863         * sysdeps/posix/sigignore.c: New file.
864         * sysdeps/posix/sigset.c: New file.
865         * signal/signal.h: Add prototypes for new functions.
867         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
868         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
869         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
870         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
872 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
874         * posix/wordexp.c: Added IFS field-splitting in parameter and
875         command substitution.  Fixed an IFS-related bug that caused an
876         infinite loop.
878 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
880         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
881         and swapcontext.
882         * stdlib/ucontext.h: Correct prototypes.
883         * sysdeps/generic/getcontext.c: New file.
884         * sysdeps/generic/setcontext.c: New file.
885         * sysdeps/generic/makecontext.c: New file.
886         * sysdeps/generic/swapcontext.c: New file.
887         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
889 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
891         * resource/sys/resource.h: Remove #include of ulimit.h which is
892         not allowed by SUSv2 and not available on other systems.
893         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
895         * streams/Makefile: New file.
896         * streams/stropts.h: New file.
897         * sysdeps/generic/bits/stropts.h: New file.
898         * sysdeps/generic/isastream.c: New file.
899         * sysdeps/generic/getmsg.c: New file.
900         * sysdeps/generic/getpmsg.c: New file.
901         * sysdeps/generic/putmsg.c: New file.
902         * sysdeps/generic/putpmsg.c: New file.
903         * sysdeps/generic/fattach.c: New file.
904         * sysdeps/generic/fdetach.c: New file.
905         * sysdeps/unix/inet/Subdirs: Add streams.
906         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
907         __t_uscalar_t.
908         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
909         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
910         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
911         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
913         * sysdeps/mach/_strerror.c: Follow changes of generic version to
914         handle small buffers correctly.
916 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
918         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
919         Remove the 3rd arg and add declaration for _dl_runtime_resolve
920         and _dl_runtime_profile.
922 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
924         * include/cpio.h: New file.  Mainly copied from GNU cpio.
925         * posix/Makefile (headers): Add cpio.h.
927 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
929         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
930         to routines.
931         * nis/nis_cache.c: New file.
932         * nis/nis_cache2.h: New file.
933         * nis/nis_cache2_xdr.c: New file.
934         * nis/nis_call.c: Changes for cache2_info parameter.
935         * nis/nis_checkpoint.c: Likewise.
936         * nis/nis_intern.h: Likewise.
937         * nis/nis_mkdir.c: Likewise.
938         * nis/nis_ping.c: Likewise.
939         * nis/nis_rmdir.c: Likewise.
940         * nis/nis_server.c: Likewise.
941         * nis/nis_util.c: Likewise.
943 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
945         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
946         return/errnop codes.
947         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
948         * nis/nss_nisplus/nisplus-grp.c: Likewise.
949         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
950         * nis/nss_nisplus/nisplus-proto.c: Likewise.
951         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
952         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
953         * nis/nss_nisplus/nisplus-rpc.c: Likewise
954         * nis/nss_nisplus/nisplus-service.c: Likewise.
955         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
957 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
959         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
960         * nis/nss_nis/nis-ethers.c: Likewise.
961         * nis/nss_nis/nis-grp.c: Likewise.
962         * nis/nss_nis/nis-hosts.c: Likewise.
963         * nis/nss_nis/nis-network.c: Likewise.
964         * nis/nss_nis/nis-proto.c: Likewise.
965         * nis/nss_nis/nis-hosts.c: Likewise.
966         * nis/nss_nis/nis-network.c: Likewise.
967         * nis/nss_nis/nis-proto.c: Likewise.
968         * nis/nss_nis/nis-publickey.c: Likewise.
969         * nis/nss_nis/nis-pwd.c: Likewise.
970         * nis/nss_nis/nis-rpc.c: Likewise.
971         * nis/nss_nis/nis-service.c: Likewise.
972         * nis/nss_nis/nis-spwd.c: Likewise.
974 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
976         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
977         Added to follow latest kernel development.
979 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
981         * nss/db-Makefile: Handle empty and comment lines better.
982         ($(VAR_DB)/services.db): Generate entries with missing protocol
983         value.
985 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
987         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
988           NULL.
989           (getservbyname): Allow proto == NULL.
990           Pointed out by David N. Welton <davidw@gate.cks.com>.
991           [PR libc/430].
993 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
995         * nis/nislib/nislib.h: Finally removed.
997         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
998         C compiler.  From Kaveh Ghazi.
999         (TYPE_MINIMUM): Define.
1000         (TYPE_MAXIMUM): Define.
1001         (TIME_T_MIN): Use TYPE_MINIMUM.
1002         (TIME_T_MAX): Use TYPE_MAXIMUM.
1003         Patch by Jim Meyering <meyering@ascend.com>.
1005 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
1007         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
1008         __pread64, __pwrite64, and __getpid.
1010         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
1011         versions.
1013 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1015         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
1016         cancelable socket functions as __libc_xxx with __xxx as weak
1017         alias.
1018         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1019         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1021         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
1022         redefined.
1023         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1024         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
1025         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
1026         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1028         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
1029         and __xxx a weak alias.
1030         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1031         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1032         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1033         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1034         * sysdeps/unix/sysv/linux/send.S: Likewise.
1035         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1036         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1038 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1040         * locale/langinfo.h: Add defines.
1042         * dirent/dirent.h: Add defines for DT_*, check also for
1043         _DIRENT_HAVE_D_TYPE.
1044         Suggested by Roland McGrath.
1046 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1048         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
1049         Update from Linux 2.1.73+79.
1051         * README.template: Update information about possible
1052         configurations.
1054         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
1055         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
1056         [PR libc/417].
1058         * manual/time.texi (Priority): Correct description of
1059         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
1060         [PR libc/416].
1062 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
1064         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
1065         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
1067 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
1069         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
1070         Andreas Jaeger.
1072 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
1074         * locale/programs/ld-collate.c: Little optimizations.
1076         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
1078         * string/Makefile (tests): Add tst-inlcall.
1079         * string/tst-inlcall.c: New file.
1081         * string/strsignal.c: Add support for real-time signals.
1083         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
1084         presense of small buffer.
1086         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
1088         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
1089         for i686.
1091         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
1092         _NSIG + 1.
1094 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
1096         * Rules: Add explicit rule for dummy.o; at least one library needs
1097           it and it isn't autogenerated by the default rules.
1099 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1101         * math/libm-test.c: Tweak epsilons.
1103 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1105         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
1106         child.
1107         (feenv_mask_test): Likewise.
1109 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1111         * Makeconfig: Don't export CPPFLAGS.
1113 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1115         * sunrpc/rpc_main.c (parseargs): Use perror to print error
1116         message.
1118 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1120         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
1121         terminating null in key size.
1123 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1125         * nss/nss_files/files-service.c: Fix allocation size to include
1126         length of PROTO.
1128         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
1129         applicable.  Fix return value and error checking.
1130         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
1131         unparsable lines.
1132         (DB_LOOKUP): Allocate space for terminating null byte.
1134         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
1135         uids specially.
1137         * db2/makedb.c (process_input): Continue processing if a duplicate
1138         key is encountered.
1140 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
1142         * time/tzfile.h: Updated from tzcode1998b.
1143         * time/zdump.c: Likewise.
1144         * time/zic.c: Likewise.
1145         * time/africa: Update from tzdata1998b.
1146         * time/antarctica: Likewise.
1147         * time/asia: Likewise.
1148         * time/australasia: Likewise.
1149         * time/etcetera: Likewise.
1150         * time/europe: Likewise.
1151         * time/leapseconds: Likewise.
1152         * time/northamerica: Likewise.
1153         * time/southamerica: Likewise.
1155 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1157         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
1158         lookups ignoring case.
1159         * nss/nss_files/files-network.c: Do network lookups ignoring
1160         case.
1161         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
1162         case.
1163         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
1164         case insensitive comparing.
1165         Patches by Cristian Gafton <gafton@redhat.com>.
1167 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1169         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
1170         by Roland McGrath. [PR libc/395]
1172 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1174         * manual/arith.texi (Parsing of Integers): Correct description of
1175         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
1176         [PR libc/396]
1178 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
1180         * misc/lsearch.c (lsearch): Return a pointer to the new element
1181         if one was "allocated".
1183 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1185         * string/strsignal.c: NSIG is not a valid index into
1186         _sys_siglist.  Don't zap the last character of the "Unknown
1187         signal" message.
1189 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
1191         * locale/programs/charmap.c (parse_charmap): Correct parsing of
1192         ellipsis expressions.
1194         * locale/programs/charset.c (insert_char): Correctly insert value
1195         of eliipsis expression.
1197 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
1199         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
1200         <bits/setjmp.h>.
1201         * sysdeps/powerpc/setjmp.S: Likewise.
1202         Patches by Matt McLean <keys@keys.got.net>.
1204         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
1206         * Makefile: Undo last patch.
1207         (distribute): Add test-installation.pl.
1209         * configure.in: Correct handling of --enable-add-ons without parameter.
1210         Correct address of WWW pages.
1212         * libc.map: Add _nl_domain_bindings.
1214         * db2/mutex/tsl_parisc.s: New file.
1216         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
1217         and extra-module.mk.
1219         * localedata/Makefile (distribute): New.  Add all the files.
1221         * stdlib/Makefile (headers): Add inttypes.h.
1222         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
1223         * sysdeps/generic/inttypes.h: New file.
1224         * sysdeps/generic/strtoimax.c: New file.
1225         * sysdeps/generic/strtoumax.c: New file.
1226         * sysdeps/generic/wcstoimax.c: New file.
1227         * sysdeps/generic/wcstoumax.c: New file.
1228         * sysdeps/wordsize-32/Dist: Removed.
1229         * sysdeps/wordsize-32/Makefile: Removed.
1230         * sysdeps/wordsize-64/Dist: Removed.
1231         * sysdeps/wordsize-64/Makefile: Removed.
1232         * sysdeps/generic/bits/environments.h: New file.
1234         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
1235         header is still not correct.
1237         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
1238         * posix/unistd.h: Likewise.
1239         * sysdeps/generic/sys/mman.h: Likewise.
1240         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
1242         * manual/arith.texi: Change definition of mul macro.
1243         * manual/math.texi: Likewise.
1245         * misc/Makefile (routines): Add mmap64.
1246         * sysdeps/generic/mmap64.c: New file.
1247         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
1248         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
1249         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
1250         aliases to mmap.
1251         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1253         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
1255         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
1257         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
1259         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
1260         FOPEN_MAX also when included by limits.h.
1261         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
1263         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
1264         and netrom/netrom.h.
1265         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
1266         oldsiglist to sysdep_routines, not aux.
1267         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
1269         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
1270         and SOL_NETROM definition.
1272         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
1274         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
1275         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
1277 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
1279         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
1281         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
1282         sa_handler with k_sa_handler.
1283         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
1284         strong alias.
1285         Reported by a sun.
1287         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
1288         __libc_have_rt_sigs here.
1289         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
1290         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1291         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
1292         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1294 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
1296         * sysdeps/powerpc/atomicity.h: New file.
1297         * sysdeps/mach/powerpc/machine-lock.h: New file.
1299         * Rules: Use -fpic to build anything that might end up in a users'
1300         shared library.
1302         * sysdeps/powerpc/s_fdim.c: New file.
1303         * sysdeps/powerpc/s_fdimf.c: New file.
1304         * sysdeps/powerpc/s_fmax.S: New file.
1305         * sysdeps/powerpc/s_fmaxf.S: New file.
1306         * sysdeps/powerpc/s_fmin.S: New file.
1307         * sysdeps/powerpc/s_fminf.S: New file.
1308         * sysdeps/powerpc/s_llrint.c: Now is for double.
1309         * sysdeps/powerpc/s_llrintf.c: New file.
1310         * sysdeps/powerpc/s_llround.c: Now is for double.
1311         * sysdeps/powerpc/s_llroundf.c: New file.
1312         * sysdeps/powerpc/s_lrint.c: Now is for double.
1313         * sysdeps/powerpc/s_lrintf.S: New file.
1314         * sysdeps/powerpc/s_lround.c: Now is for double.
1315         * sysdeps/powerpc/s_lroundf.c: New file.
1316         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
1317         lrintf, fdim, fdimf.
1319         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
1320         file directly, use its parent.
1322         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
1323         (for the third time).
1325 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
1327         * posix/sched.h: timespec is in <time.h>.
1329         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
1331 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
1333         * configure.in: Stop with error if --disable-static is used when
1334         the shared lib uses this library.
1336         * gen-FAQ.pl: I've perl installed in /usr/bin.
1338         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
1340         Fix Unix98 conformance problems in the headers.
1341         * catgets/nl_types.h: Define nl_item.
1342         * grp/grp.h: Define gid_t.
1343         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
1344         * include/nl_types.h: New file.
1345         * include/ulimit.h: New file.
1346         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
1347         constants in POSIX mode.
1348         * io/utime.h: Get definition for time_t.
1349         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
1350         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
1351         * libio/stdio.h: Define va_list.  Make snprintf also available is
1352         __USE_UNIX98.  Declare getopt function and variables.
1353         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
1354         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
1355         * math/math.h: Defined M_* constants as double for Unix98 mode.
1356         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
1357         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
1358         * posix/regex.h: Define REG_NOSYS.
1359         * posix/wordexp.h: Define WRDE_NOSYS.
1360         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
1361         500 for Unix98.
1362         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
1363         somewhere else as well.  Define clock_t for Unix98.
1364         * posix/sys/wait.h: Define pid_t.
1365         * pwd/pwd.h: Define gid_t, uid_t.
1366         * resource/Makefile (headers): Add ulimit.h.
1367         * resource/ulimit.h: New file.
1368         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
1369         instead of second argument.
1370         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
1371         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1372         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
1373         * signal/signal.h: Define pid_t.
1374         * string/string.h: Don't declare BSD string functions in POSIX mode.
1375         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
1376         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
1377         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
1378         and POSIX.
1380         * inet/test_ifindex.c: Change test so that it does not fail for
1381         interface aliases.
1383         * locale/programs/locale.c (show_info): Use correct cast sequence
1384         for 64bit machines.
1386         * malloc/malloc.c: __malloc_initialized now signals three states:
1387         uninitialized, initializing, initialized.  Used in mcheck.
1388         * malloc/mcheck.c (mabort): Add '\n' to messages.
1389         (mcheck): Allow installation when malloc is uninitialized or is
1390         just initializing.
1392         * manual/memory.texi: Explain mtrace output a bit more.
1394         * math/libm-test.c: Add more epsilons.
1396         * misc/regexp.h (compile): Remove __ prefix from parameter names.
1398         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
1399         instead of strcpy for security.
1400         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
1401         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
1402         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
1404         * nss/digits_dots.c: Pretty print.
1406         * posix/getconf.c (vars): Add symbols for programming environment
1407         recognition.  Recognize --version.
1409         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
1410         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
1411         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
1413         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
1414         __need_FOPEN_MAX.
1415         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
1416         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
1417         __need_FOPEN_MAX.
1419         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
1420         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
1422         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
1423         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1424         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1425         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
1426         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1427         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
1429         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
1430         SCNu*.
1431         * sysdeps/wordsize-64/inttypes.h: Likewise.
1433         * time/africa: Update from tzdata1997j.
1434         * time/antarctica: Likewise.
1435         * time/asia: Likewise.
1436         * time/australasia: Likewise.
1437         * time/backward: Likewise.
1438         * time/etcetera: Likewise.
1439         * time/europe: Likewise.
1440         * time/factory: Likewise.
1441         * time/northamerica: Likewise.
1442         * time/pacificnew: Likewise.
1443         * time/southamerica: Likewise.
1445         * time/tzfile.h: Update from tzcode1997h.
1446         * time/zic.c: Likewise.
1448         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
1449         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
1450         isw*() functions for Unix98.
1451         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
1452         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
1453         is defined.
1455 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1457         * locale/duplocale.c: Increase usage_count only if less than
1458         MAX_USAGE_COUNT.
1459         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
1460         MAX_USAGE_COUNT.
1461         * locale/setlocale.c: Likewise.
1463 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1465         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
1466         dependency to make it easier to install it selectively.
1468         * Makerules (.SUFFIXES): Don't define any suffixes.
1470 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1472         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
1473         * sysdeps/generic/statfs64.c: Emulate using statfs.
1474         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
1475         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
1476         * sysdpes/generic/ftruncate64.c: New file.
1477         * sysdpes/generic/truncate64.c: New file.
1479         * sysdeps/generic/bits/stat.h: Add LFS support.
1480         * sysdeps/generic/bits/statfs.h: Likewise.
1482         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
1483         [__USE_FILE_OFFSET64]: Make long long constant.
1484         (RLIM64_INFINITY): Likewise.
1486         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
1487         for LFS support.
1488         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
1489         * sysdeps/generic/bits/resource.h: Likewise.
1491         * misc/Makefile (routines): Add truncate64 and ftruncate64.
1493         * include/features.h: Don't prevent LFS support from defining BSD
1494         and SYSV things.
1496         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
1497         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
1498         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
1500         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
1501         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
1502         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1504         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
1505         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
1506         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
1507         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
1508         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
1509         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
1510         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
1511         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
1512         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
1513         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
1514         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
1515         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
1516         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
1517         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
1518         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
1519         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
1520         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
1521         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
1522         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
1523         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
1525         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
1526         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
1527         * sysdeps/unix/sysv/linux/xstat64.c: New file.
1528         * sysdeps/unix/sysv/linux/readdir64.c: New file.
1529         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
1531         * sysdeps/unix/sysv/linux/getdents64.c: New file.
1532         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
1533         [$(subdir)=dirent]: Add getdents64.
1534         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
1536         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
1538 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
1540         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
1542         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
1543         * sysdeps/generic/getrlimit64.c: Likewise.
1544         * sysdeps/generic/setrlimit.c: Likewise.
1545         * sysdeps/generic/setrlimit64.c: Likewise.
1547 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
1549         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
1550         using versioning.
1552         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
1554         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
1556 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1558         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
1559         after the codeset name.
1561 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1563         * libc.map: Add get_kernel_syms.
1565 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1567         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
1568         static.
1569         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
1570         Likewise.  Fix condition.
1572 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1574         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
1576 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1578         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
1579         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
1581 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1583         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
1584         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
1585         instead.  Oops.
1587 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1589         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
1591 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1593         * math/libm-test.c (catanh_test): Change epsilon.
1594         Reported by H.J. Lu.
1596 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
1598         * libc.map (__getpid): Added for linuxthreads.
1600 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
1602         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
1603         it if gcc uses static variable in DWARF2 unwind information
1604         for exception support.
1606         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
1608         * elf/soinit.c (__libc_global_ctors, _fini): Handle
1609         HAVE_DWARF2_UNWIND_INFO_STATIC.
1611         * libc.map (__register_frame*, __deregister_frame*): Make them
1612         global.
1614 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1616         * math/libm-test.c: Add more tests for "normal" values.
1618 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1620         * stdio-common/printf_fphex.c: Fix printing of long double number
1621         with a biased exponent of zero.  Fix rounding.
1623 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1625         * sunrpc/rpc_main.c: Accept new flag -$.
1626         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
1628 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1630         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
1631         dynamic linker first, in case the interface has changed.
1633 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1635         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
1636         order.
1638 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1640         * math/tgmath.h: Check for double first, for architectures where
1641         sizeof (long double) == sizeof (double).
1643 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1645         * math/libm-test.c: New tests for "normal" values added for most
1646         functions.
1648 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
1650         * version.h (VERSION): Bump to 2.0.91.
1652         * db2/makedb.c (process_input): Fix typo in message.
1653         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
1655         * elf/dynamic-link.h: Pretty print.
1657         * elf/rtld.c: Allow multiple preloading of a shared object.
1659         * include/limits.h: Prevent multiple inclusion.
1661         * malloc/Makefile (headers): Add mcheck.h.
1662         (distribute): Remove it here.
1663         * malloc/mcheck.h: Pretty print.
1664         * malloc/mtrace.c (mallenv): Make `const'.
1665         * malloc/mtrace.pl: Don't print table head for memory leaks if there
1666         are none.
1667         * manual/memory.texi: Update descriptor of malloc hooks.
1669         * posix/Makefile (routines): Add waitid.
1670         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
1671         on __id_t.
1672         * posix/sys/wait.h: Define idtype_t type.
1673         Add prototype for waitid.
1674         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
1675         * sysdeps/generic/waitid.c: Stub for waitid.
1676         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
1677         the __need_siginfo_t defined.
1678         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
1679         * sysdeps/generic/bits/types.h: Define __id_t.
1680         Correct definition of __FDMASK.
1681         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1682         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1683         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1685         * sysdeps/posix/waitid.c: New file.
1686         Provided by Zack Weinberg.
1688         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
1690         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1691         Add missing parameters.
1693         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
1694         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
1695         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
1696         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
1697         initialized.
1699         * sysdeps/i386/dl-machine.h: Little cleanup.
1701         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
1702         (__finite): Mark function as const.
1703         Add inline code for __ieee754_atan2.
1705         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
1706         (but don't use it now).
1707         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
1708         __atan.
1709         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
1710         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
1711         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
1712         real part.
1713         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
1714         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
1715         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
1716         __ieee754_atan2 to base 10.
1717         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
1718         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
1720         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
1721         old_kernel_sigaction.
1723         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
1725         * wctype/Makefile (routines): Add wctype_l.
1726         * wctype/wctype.h: Add declaration of __wctype_l.
1727         * wctype/wctype_l.c: New file.
1729 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
1731         * locale/C-ctype.c: Correct data for isw* functions.
1732         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
1733         byte order.
1734         * wctype/test_wctype.c: Add test for isw* functions.
1735         * wctype/wctype.c: Return value with expected byte order.
1737 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1739         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
1741 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
1743         * iconvdata/Makefile: Fix a typo.
1745         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
1746         oldsiglist for shared library.
1748         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
1749         sys_sigabbrev): Make them as the default version GLIBC_2.1.
1751         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
1752         sys_siglist, sys_sigabbrev): New file. Make them as the old
1753         version GLIBC_2.0.
1755         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
1756         to GLIBC_2.1.
1758 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
1760         * libio/iofgets.c (_IO_fgets): Return an error only if there
1761         is a new error.
1762         * libio/iogets.c (_IO_gets): Ditto.
1764 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
1766         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
1768         * libio/Makefile (routines, shared-only-routines): Add
1769         oldiofdopen.
1771         * libio/fileops.c: Don't use _IO_FILE_complete.
1772         * libio/iofdopen.c: Ditto.
1773         * libio/iofopen.c: Ditto.
1774         * libio/iofopen64.c: Ditto.
1775         * libio/iopopen.c: Ditto.
1776         * libio/iovdprintf.c: Ditto.
1778         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
1780         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
1781         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
1783         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
1784         _IO_old_fdopen, _IO_new_fdopen): New declaration.
1786         * libio/libio.h (_IO_FILE): Add more fields.
1787         (_IO_FILE_complete): Defined and make _IO_FILE be the old
1788         one if _IO_USE_OLD_IO_FILE is defined
1789         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
1790         them _IO_FILE_complete.
1792         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
1793         to adjust vtable.
1794         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
1795         _IO_JUMPS.
1796         (_IO_FILE_complete): Commented out.
1798         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
1799         * libio/oldiofclose.c: Ditto.
1800         * libio/oldiofopen.c: Ditto.
1801         * libio/oldstdfiles.c: Ditto.
1803         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
1804         for the old _IO_FILE.
1806         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
1807         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
1808         and stderr.
1810         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
1811         and remove INAME.
1813         * libio/stdio.c (stdin, stdout, stdin): Don't use
1814         _IO_FILE_complete.
1816         * libio/oldiofdopen.c: New.
1818         * stdio-common/vfprintf.c (buffered_vfprintf): Set
1819         hp->_vtable_offset to 0.
1821 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
1823         * libc.map (_IO_file_open): Added.
1825         * libio/libioP.h (_IO_file_open): Declared.
1827         * libio/fileops.c (_IO_file_open): New.
1828         (_IO_file_fopen): Call _IO_file_open ().
1830         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
1831         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1833 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1835         * signal/signal.h: Fix selection of signal semantics to match
1836         comment.
1838 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1840         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
1841         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
1842         rt_sigreturn.
1843         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
1844         [$(subdir)=signal]: Remove rt_sigreturn.
1845         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
1846         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
1847         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
1849 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1851         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
1852         declarations.
1854 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1856         * iconvdata/extra-module.mk: Expand extra-objs now.
1858 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1860         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
1861         inline functions by feature tests to avoid warning about missing
1862         prototype declarations.
1864 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1866         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
1867         return code for non existent +name entries.
1868         * nis/nss_compat/compat-pwd.c: Likewise.
1869         * nis/nss_compat/compat-spwd.c: Likewise.
1871 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
1873         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
1874         (EIO): Likewise.
1875         (ENOSPC): Likewise.
1876         (EEXIST): Likewise.
1877         (__errno_location): Likewise.
1879         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
1881         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
1883 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1885         * sunrpc/publickey.c: Use new NSS interface.
1887 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
1889         * manual/malloc.texi: Document mtrace/muntrace and the concept.
1891 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1893         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
1894         value, to match spirit of the standard.
1895         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
1896         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
1897         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1899 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1901         * manual/signal.texi (Signal Stack): Remove spurious @item.
1903 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1905         * rt/aio.h: Remove double semicolon.
1907         * rt/librt.map: Add aio_init.
1909 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
1911         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
1912         * Makefile (subdirs): Replace rt by $(rt).
1914         * shlib-versions: Use version .2 for NSS modules.
1916         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
1917         argument.
1918         * pwd/fgetpwent_r.c: Likewise.
1919         * spwd/fgetspent_r.c: Likewise.
1920         * spwd/sgetspent_r.c: Likewise.
1921         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
1922         Store error number in *ERRNOP.  Little optimization.
1923         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
1924         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
1925         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
1926         (__internal_getnetgrent_r): New argument.
1927         Call __internal_setnetgrent_reuse with new argument.
1928         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
1929         * inet/netgroup.h: Add argument to prototypes.
1930         * nis/nisplus-parser.h: Likewise.
1931         * nis/nss_compat/compat-grp.c: Change everything to store error
1932         code through provided pointer and not use errno.
1933         * nis/nss_compat/compat-pwd.c: Likewise.
1934         * nis/nss_compat/compat-spwd.c: Likewise.
1935         * nis/nss_nis/nis-alias.c: Likewise.
1936         * nis/nss_nis/nis-ethers.c: Likewise.
1937         * nis/nss_nis/nis-grp.c: Likewise.
1938         * nis/nss_nis/nis-hosts.c: Likewise.
1939         * nis/nss_nis/nis-netgrp.c: Likewise.
1940         * nis/nss_nis/nis-network.c: Likewise.
1941         * nis/nss_nis/nis-proto.c: Likewise.
1942         * nis/nss_nis/nis-publickey.c: Likewise.
1943         * nis/nss_nis/nis-pwd.c: Likewise.
1944         * nis/nss_nis/nis-rpc.c: Likewise.
1945         * nis/nss_nis/nis-service.c: Likewise.
1946         * nis/nss_nis/nis-spwd.c: Likewise.
1947         * nis/nss_nisplus/nisplus-alias.c: Likewise.
1948         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1949         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1950         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1951         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
1952         * nis/nss_nisplus/nisplus-network.c: Likewise.
1953         * nis/nss_nisplus/nisplus-parser.c: Likewise.
1954         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1955         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
1956         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1957         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1958         * nis/nss_nisplus/nisplus-service.c: Likewise.
1959         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1960         * nss/nss_db/db-XXX.c: Likewise.
1961         * nss/nss_db/db-alias.c: Likewise.
1962         * nss/nss_db/db-netgrp.c: Likewise.
1963         * nss/nss_files/files-XXX.c: Likewise
1964         * nss/nss_files/files-alias.c: Likewise
1965         * nss/nss_files/files-netgrp.c: Likewise
1966         * nss/nss_files/files-parse.c: Likewise
1967         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
1968         parameter of get functions.
1969         * nss/getXXent_r.c: Likewise.
1971         * localedata/tst-fmon.c: Print debug info if test fails.
1973         * rt/Makefile (routines): Add aio_notify.
1974         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
1975         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
1976         * rt/aio_fsync.c: Likewise.
1977         * rt/aio_misc.c: Likewise.
1978         * rt/aio_misc.h: Likewise.
1979         * rt/aio_read.c: Likewise.
1980         * rt/aio_read64.c: Likewise.
1981         * rt/aio_suspend.c: Likewise.
1982         * rt/aio_write.c: Likewise.
1983         * rt/aio_write64.c: Likewise.
1984         * rt/lio_listio.c: Likewise.
1985         * rt/lio_listio64.c: Likewise.
1986         * rt/aio_notify.c: New file.
1988         * sysdeps/generic/bits/sigset.h: Pretty print.
1990         * sysdeps/posix/pwrite.c: Define weak alias only if function is
1991         really defined as __pwrite.
1993         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
1994         instead of pread64.
1995         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1997         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
1998         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
1999         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
2000         size in syscall.
2001         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2002         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2003         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
2004         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2005         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
2006         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2007         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
2008         for ACT being NULL.
2009         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
2010         RT signals.
2011         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
2012         __NR_pread is not defined.
2013         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
2014         __NR_pwrite is not defined.
2016 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2018         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
2019         handle for /etc/group back in some more cases.
2020         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
2021         handle for /etc/passwd back in some more cases.
2022         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
2023         handle for /etc/shadow back in some more cases.
2025 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
2027         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
2028         beyound its size.
2029         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
2030         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
2032 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
2034         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
2035         handling.  Don't use macros, we need functions.  Use inline functions
2036         for optimization.
2037         * sysdeps/wordsize-64/inttypes.h: Likewise.
2038         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
2039         and wcstoumax.
2040         * sysdeps/wordsize-64/Makefile: Likewise.
2041         * sysdeps/wordsize-32/Dist: Likewise.
2042         * sysdeps/wordsize-64/Dist: Likewise.
2043         * sysdeps/wordsize-32/strtoimax.c: New file.
2044         * sysdeps/wordsize-32/strtoumax.c: New file.
2045         * sysdeps/wordsize-32/wcstoimax.c: New file.
2046         * sysdeps/wordsize-32/wcstoumax.c: New file.
2047         * sysdeps/wordsize-64/strtoimax.c: New file.
2048         * sysdeps/wordsize-64/strtoumax.c: New file.
2049         * sysdeps/wordsize-64/wcstoimax.c: New file.
2050         * sysdeps/wordsize-64/wcstoumax.c: New file.
2052 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
2054         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
2055         that transparent union works.
2056         * sysdeps/generic/wait4.c (__wait4): Likewise.
2057         * sysdeps/generic/wait.c (__wait): Likewise.
2059         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
2060         size_t.
2062         * sysdeps/generic/syscall.c (syscall): Return value and arg are
2063         long, to match prototype.
2065         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
2066         have mremap() yet.
2068         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
2070         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
2072         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
2074         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
2075         __rlim_t.
2077         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
2079         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
2081         * io/sys/stat.h (S_ISLNK): Always false if we don't have
2082         __S_IFLNK.
2084         * sysdeps/standalone/close.c (_STDIO_H): Define before including
2085         <bits/stdio_lim.h>.
2086         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
2088 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
2090         * posix/sys/wait.h: Don't use transparent unions in C++.
2092 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2094         * time/time.h: Add strfxtime.
2096         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
2097         sysv_signal, strfxtime, pread64, pwrite64.
2099 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
2101         Alpha changes for EGCS:
2102         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
2103         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
2104         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
2105         (_start): Likewise.
2106         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
2108 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
2110         The kernel expects the arguments in a different order.
2111         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
2112         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
2114         * FAQ.in: New file.
2115         * gen-FAQ.pl: New file.
2116         * Makefile (FAQ): Add rule to generate from FAQ.in.
2118         * iconvdata/Makefile: Treat libJIS like the other modules.
2120         * rt/librt.map: New file.
2122         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
2123         inclusion.
2124         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
2125         comment.
2127 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
2129         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
2130         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
2131         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
2132         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
2134 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2136         * string/bits/string2.h: Fix spellings.
2138         * string/string.h: Fix spellings.
2140 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2142         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
2143         declaration to __syscall_rt_sigaction.
2145         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
2146         non-existant <sigcontext.h>.
2148 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2150         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
2151         typo.
2153 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2155         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
2157         * Makeconfig (shared-thread-library): Correct spelling.
2159         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
2160         <asm/pci.h>.
2162 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2164         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
2165         constants from Linux headers. Pointed out by
2166         csmall@scooter.o.i.net. [PR libc/369]
2168 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2170         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
2172 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2174         * configure.in: If --enable-add-ons is given without an
2175         argument, set the addons list to all subdirs with a configure
2176         script.
2178 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
2180         * Makeconfig: Add shared-thread-library variable.
2182         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
2183         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
2184         here.
2185         * sysdeps/m68k/fpu/e_acos.c: Likewise.
2186         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
2187         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2188         * sysdeps/m68k/fpu/e_pow.c: Likewise.
2189         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2190         * sysdeps/m68k/fpu/k_cos.c: Likewise.
2191         * sysdeps/m68k/fpu/k_sin.c: Likewise.
2192         * sysdeps/m68k/fpu/k_tan.c: Likewise.
2193         * sysdeps/m68k/fpu/s_atan.c: Likewise.
2194         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
2195         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
2196         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
2197         * sysdeps/m68k/fpu/s_csin.c: Likewise.
2198         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
2199         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
2200         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2201         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
2202         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
2203         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
2204         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
2205         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
2206         * sysdeps/m68k/fpu/s_modf.c: Likewise.
2207         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
2208         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
2209         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
2211         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
2212         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
2213         * signal/Makefile (headers): Add bits/siginfo.h.
2214         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
2215         (distribute): Add testrtsig.h.
2216         * signal/allocrtsig.c: New file.
2217         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
2218         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
2219         __libc_current_sigrtmax.
2220         * sysdeps/generic/sigqueue.c: New file.
2221         * sysdeps/generic/sigtimedwait.c: New file.
2222         * sysdeps/generic/sigwaitinfo.c: New file.
2223         * sysdeps/generic/testrtsig.h: New file.
2224         * sysdeps/generic/bits/siginfo.h: New file.
2225         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
2226         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
2227         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
2228         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
2229         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
2230         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
2231         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
2232         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
2233         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
2234         * sysdeps/unix/sysv/linux/sigpending.c: New file.
2235         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
2236         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
2237         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
2238         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
2239         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
2240         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
2241         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
2242         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
2243         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
2244         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
2245         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
2246         and _POSIX_REALTIME_SIGNALS.
2247         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
2248         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
2249         update _NSIG.
2250         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
2251         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
2252         definitions.
2254         * Makefile (subdirs): Add rt.
2255         * shlib-versions: Add entry for librt.
2256         * rt/Makefile: New file.
2257         * rt/aio.h: New file.
2258         * rt/aio_cancel.c: New file.
2259         * rt/aio_error.c: New file.
2260         * rt/aio_fsync.c: New file.
2261         * rt/aio_misc.c: New file.
2262         * rt/aio_misc.h: New file.
2263         * rt/aio_read.c: New file.
2264         * rt/aio_read64.c: New file.
2265         * rt/aio_return.c: New file.
2266         * rt/aio_suspend.c: New file.
2267         * rt/aio_write.c: New file.
2268         * rt/aio_write64.c: New file.
2269         * rt/lio_listio.c: New file.
2270         * rt/lio_listio64.c: New file.
2271         * sysdeps/generic/aio_sigqueue.c: New file.
2272         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
2273         * sysdeps/unix/sysv/linux/Dist: Add new files
2274         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
2275         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
2276         rt_sigqueueinfo, rt_sigaction.
2278         * posix/Makefile (headers): Add bits/environments.h.
2279         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
2280         and _CS_LFS_CFLAGS on 64bit platforms.
2281         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
2282         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
2283         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
2284         compilation modules.
2285         * sysdeps/wordsize-32/bits/environments.h: New file.
2286         * sysdeps/wordsize-64/bits/environments.h: New file.
2288         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
2289         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
2290         __libc_pid.
2291         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
2292         0xf00baa.
2294         * string/string.h: Add declaration of __strverscmp.
2295         * string/strverscmp.c: Rename function ot __strverscmp and make old
2296         name weak alias.
2298         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
2299         * sysdeps/generic/enbl-secure.c: Likewise.
2300         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2302         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
2304         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
2306 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
2308         * posix/sys/wait.h: Use __transparent_union__ instead of
2309         transparent_union.  Reported by Roland McGrath.
2311 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2313         * resolv/inet_neta.c (inet_neta): Change type of first parameter
2314         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
2315         [PR libc/366].
2317         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
2319         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
2321 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2323         * grp/initgroups.c: Increase buffer if it is too small.
2325 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
2327         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
2328         fields, this is no ISO C.  Reported by Andreas Jaeger.
2330 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2332         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
2334 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
2336         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
2337         _SYS_UTSNAME_H not _UTSNAME_H.
2339 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2341         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
2342         computing s_scale.
2344 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2346         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
2347         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
2348         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
2350         * math/libm-test.c (csqrt_test): Add testcase.
2352 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
2354         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
2355         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
2356         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
2358 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2360         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
2362 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2364         * math/libm-test.c (acos_test): Add more tests.
2365         (asin_test): Likewise.
2366         (atan_test): Likewise.
2367         (exp_test): Likewise.
2368         (sin_test): Likewise.
2369         (sqrt_test): Likewise.
2370         (cpow_test): Likewise.
2371         (csqrt_test): Likewise.
2372         (cexp_test): Correct typo in gcc version test.
2374 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
2376         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
2377         <bits/setjmp.h>.
2378         * sysdeps/arm/setjmp.S: Likewise.
2380         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
2382 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
2384         * stdio/stdio.h: Add prototype for tmpfile64().
2386 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
2388         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
2389         prototype to keep in step with libio version.
2391         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
2393 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
2395         * sysdeps/generic/Makefile: Don't try to use make_siglist if
2396         cross-compiling.
2398 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
2400         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
2401         load GOT ptr before jumping to _exit.
2402         Reported by Xavier Leroy.
2404 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
2406         * Makefile (subdirs): Add iconvdata and localedata.
2408         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
2410         * iconv/gconv_conf.c (read_conf_file): Little optimization.
2412         * iconvdata/8bit-gap.c: New file.
2413         * iconvdata/8bit-generic.c: Renamed from ...
2414         * iconvdata/iso8859-generic.c: ...this.
2415         * iconvdata/configure: Removed.
2416         * iconvdata/Makefile: Add new modules and better rules.
2417         * iconvdata/iso6937.c: Minor bug fixes.
2418         * iconvdata/iso8859-1.c: Likewise.
2419         * iconvdata/t61.c: Likewise.
2420         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
2421         Minor bug fixes.
2422         * iconvdata/iso8859-3.c: Likewise.
2423         * iconvdata/iso8859-4.c: Likewise.
2424         * iconvdata/iso8859-5.c: Likewise.
2425         * iconvdata/iso8859-6.c: Likewise.
2426         * iconvdata/iso8859-7.c: Likewise.
2427         * iconvdata/iso8859-8.c: Likewise.
2428         * iconvdata/iso8859-9.c: Likewise.
2429         * iconvdata/iso8859-10.c: Likewise.
2430         * iconvdata/ebcdic-at-de-a.c: New file.
2431         * iconvdata/ebcdic-at-de.c: New file.
2432         * iconvdata/ebcdic-ca-fr.c: New file.
2433         * iconvdata/hp-roman8.c: New file.
2434         * iconvdata/koi-8.c: New file.
2435         * iconvdata/koi8-r.c: New file.
2436         * iconvdata/koi8-h.c: New file.
2437         * iconvdata/latin-greek-1.c: New file.
2438         * iconvdata/latin-greek-1.h: New file.
2439         * iconvdata/latin-greek.c: New file.
2440         * iconvdata/latin-greek.h: New file.
2441         * iconvdata/jis0201.c: New file.
2442         * iconvdata/jis0201.h: New file.
2443         * iconvdata/jis0208.c: New file.
2444         * iconvdata/jis0208.h: New file.
2445         * iconvdata/jis0212.c: New file.
2446         * iconvdata/jis0212.h: New file.
2447         * iconvdata/sjis.c: New file.
2448         * iconvdata/gap.pl: New file.  Script to generate table header.
2449         * iconvdata/gaptab.pl: New file.
2450         * iconvdata/gconv-modules: Add info about new modules.
2452         * locale/programs/charmap.c: Also examine alias names given in charmap
2453         files.
2455         * localedata/*: Add to here from add-on.  We need the information
2456         to generate tables for iconv.
2458         Update from db-2.3.14.
2459         * db2/Makefile: Updated.
2460         * db2/config.h: Likewise.
2461         * db2/db.h: Likewise.
2462         * db2/db_int.h: Likewise.
2463         * db2/btree/bt_cursor.c: Likewise.
2464         * db2/btree/bt_delete.c: Likewise.
2465         * db2/btree/bt_put.c: Likewise.
2466         * db2/btree/bt_search.c: Likewise.
2467         * db2/btree/bt_split.c: Likewise.
2468         * db2/btree/btree_auto.c: Likewise.
2469         * db2/common/db_appinit.c: Likewise.
2470         * db2/common/db_apprec.c: Likewise.
2471         * db2/common/db_err.c: Likewise.
2472         * db2/common/db_region.c: Likewise.
2473         * db2/db/db_auto.c: Likewise.
2474         * db2/db/db_dispatch.c: Likewise.
2475         * db2/db/db_ret.c: Likewise.
2476         * db2/dbm/dbm.c: Likewise.
2477         * db2/hash/hash_auto.c: Likewise.
2478         * db2/include/btree_ext.h: Likewise.
2479         * db2/include/common_ext.h: Likewise.
2480         * db2/include/db.h.src: Likewise.
2481         * db2/include/db_cxx.h: Likewise.
2482         * db2/include/db_ext.h: Likewise.
2483         * db2/include/db_int.h.src: Likewise.
2484         * db2/include/lock.h: Likewise.
2485         * db2/include/log.h: Likewise.
2486         * db2/include/mp.h: Likewise.
2487         * db2/include/mp_ext.h: Likewise.
2488         * db2/include/os_ext.h: Likewise.
2489         * db2/include/os_func.h: Likewise.
2490         * db2/lock/lock.c: Likewise.
2491         * db2/lock/lock_deadlock.c: Likewise.
2492         * db2/log/log.c: Likewise.
2493         * db2/log/log_archive.c: Likewise.
2494         * db2/log/log_auto.c: Likewise.
2495         * db2/log/log_get.c: Likewise.
2496         * db2/log/log_put.c: Likewise.
2497         * db2/mp/mp_bh.c: Likewise.
2498         * db2/mp/mp_fget.c: Likewise.
2499         * db2/mp/mp_fopen.c: Likewise.
2500         * db2/mp/mp_fput.c: Likewise.
2501         * db2/mp/mp_fset.c: Likewise.
2502         * db2/mp/mp_open.c: Likewise.
2503         * db2/mp/mp_pr.c: Likewise.
2504         * db2/mp/mp_region.c: Likewise.
2505         * db2/mp/mp_sync.c: Likewise.
2506         * db2/mutex/README: Likewise.
2507         * db2/mutex/mutex.c: Likewise.
2508         * db2/os/os_open.c: Likewise.
2509         * db2/os/os_func.c: Removed.
2510         * db2/os/os_config.c: New file.
2511         * db2/os/os_spin.c: New file.
2512         * db2/txn/txn.c: Likewise.
2513         * db2/txn/txn_auto.c: Likewise.
2515 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
2517         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
2518         __typeof for C++ since this fails for class members.
2519         Reported by Neal Becker <neal@ctd.comsat.com>.
2521 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2523         * configure.in: Check for a working makeinfo (3.11 or better).
2524         * config.make.in: Add MAKEINFO to be substituted.
2525         * manual/Makefile: Don't update info if makeinfo is too old.
2527 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
2529         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
2530         * sysdeps/alpha/__longjmp.S: Likewise.
2531         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
2532         not <bits/termios.h>.
2534         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
2535         __llseek and make llseek and lseek64 weak aliases.
2536         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2537         Patches by a sun <asun@zoology.washington.edu>.
2539 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2541         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
2542         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2543         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2544         * misc/sys/syslog.h: Clean up BSD header.
2546 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2548         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
2550         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
2551         for ctan(+-inf,x).
2552         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
2553         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
2555         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
2556         csqrt (-1), ctanh(i*pi/4).
2558 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2560         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
2562 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
2564         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
2566 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2568         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
2570 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
2572         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
2573         and use.  Define GETCWD_RETURN_TYPE instead and use it.
2574         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
2575         of GETCWD_STORYGE_CLASS and put the return type and the
2576         `internal_function' in the right order for gcc 2.7.2.
2578 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2580         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
2581         incompatible with Linux 2.1.x.  Packages using modules
2582         (e.g. modutils) should/do provide their own version.  Suggested by
2583         Richard Henderson.
2585         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
2587         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
2588         [$(subdir)=socket]: Remove sys/module.h.
2590 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
2592         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
2593         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
2595         * iconv/gconv_close.c: Correct freeing of descriptor data.
2596         * iconv/gconv_simple.c: Return correct error values for illegal or
2597         incomplete characters.
2599         * Makefile (iconvdata/%): Special goal to simplify iconvdata
2600         development.
2601         * iconvdata/Makefile: New file.
2602         * iconvdata/configure: Likewise.
2603         * iconvdata/extra-module.mk: Likewise.
2604         * iconvdata/gconv-modules: Likewise.
2605         * iconvdata/iso6937.c: Likewise.
2606         * iconvdata/iso8859-1.c: Likewise.
2607         * iconvdata/iso8859-10.c: Likewise.
2608         * iconvdata/iso8859-10.h: Likewise.
2609         * iconvdata/iso8859-2.c: Likewise.
2610         * iconvdata/iso8859-2.h: Likewise.
2611         * iconvdata/iso8859-3.c: Likewise.
2612         * iconvdata/iso8859-3.h: Likewise.
2613         * iconvdata/iso8859-4.c: Likewise.
2614         * iconvdata/iso8859-4.h: Likewise.
2615         * iconvdata/iso8859-5.c: Likewise.
2616         * iconvdata/iso8859-5.h: Likewise.
2617         * iconvdata/iso8859-6.c: Likewise.
2618         * iconvdata/iso8859-6.h: Likewise.
2619         * iconvdata/iso8859-7.c: Likewise.
2620         * iconvdata/iso8859-7.h: Likewise.
2621         * iconvdata/iso8859-8.c: Likewise.
2622         * iconvdata/iso8859-8.h: Likewise.
2623         * iconvdata/iso8859-9.c: Likewise.
2624         * iconvdata/iso8859-9.h: Likewise.
2625         * iconvdata/iso8859-generic.c: Likewise.
2626         * iconvdata/t61.c: Likewise.
2628         * string/Makefile (routines): Add strcasestr.
2629         * string/string.h: Add prototype for strcasestr.
2630         * sysdeps/generic/strcasestr.c: New file.
2631         * wcsmbs/mbrtowc.c: Simplify special case a bit.
2632         * wcsmbs/wcrtomb.c: Likewise.
2633         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
2634         * wcsmbs/wcsnrtombs.c: Likewise.
2635         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
2636         partial character is read.
2637         * wcsmbs/wcsrtombs.c: Likewise.
2638         * wcsmbs/wmemrtombs.c: Likewise.
2639         * wcsmbs/wmemrtowcs.c: Likewise.
2641         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
2642         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
2643         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
2644         * sysdeps/i386/elf/setjmp.S: Likewise.
2645         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
2646         <bits/termios.h>.
2648         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
2649         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
2651         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
2652         * sysvipc/sys/ipc.h: Likewise.
2653         * sysvipc/sys/msg.h: Likewise.
2654         * sysvipc/sys/sem.h: Likewise.
2655         * sysvipc/sys/shm.h: Likewise.
2657         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
2658         used directly.
2659         * sysdeps/alpha/bits/setjmp.h: Likewise.
2660         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
2661         * sysdeps/arm/bits/endian.h: Likewise.
2662         * sysdeps/arm/bits/setjmp.h: Likewise.
2663         * sysdeps/generic/bits/byteswap.h: Likewise.
2664         * sysdeps/generic/bits/confname.h: Likewise.
2665         * sysdeps/generic/bits/dirent.h: Likewise.
2666         * sysdeps/generic/bits/dlfcn.h: Likewise.
2667         * sysdeps/generic/bits/endian.h: Likewise.
2668         * sysdeps/generic/bits/fenv.h: Likewise.
2669         * sysdeps/generic/bits/huge_val.h: Likewise.
2670         * sysdeps/generic/bits/in.h: Likewise.
2671         * sysdeps/generic/bits/ioctl-types.h: Likewise.
2672         * sysdeps/generic/bits/ioctls.h: Likewise.
2673         * sysdeps/generic/bits/ipc.h: Likewise.
2674         * sysdeps/generic/bits/msq.h: Likewise.
2675         * sysdeps/generic/bits/poll.h: Likewise.
2676         * sysdeps/generic/bits/resource.h: Likewise.
2677         * sysdeps/generic/bits/sched.h: Likewise.
2678         * sysdeps/generic/bits/sem.h: Likewise.
2679         * sysdeps/generic/bits/setjmp.h: Likewise.
2680         * sysdeps/generic/bits/shm.h: Likewise.
2681         * sysdeps/generic/bits/sigaction.h: Likewise.
2682         * sysdeps/generic/bits/sigcontext.h: Likewise.
2683         * sysdeps/generic/bits/socket.h: Likewise.
2684         * sysdeps/generic/bits/stat.h: Likewise.
2685         * sysdeps/generic/bits/statfs.h: Likewise.
2686         * sysdeps/generic/bits/stdio_lim.h: Likewise.
2687         * sysdeps/generic/bits/termios.h: Likewise.
2688         * sysdeps/generic/bits/time.h: Likewise.
2689         * sysdeps/generic/bits/uio.h: Likewise.
2690         * sysdeps/generic/bits/utmp.h: Likewise.
2691         * sysdeps/generic/bits/utmpx.h: Likewise.
2692         * sysdeps/generic/bits/utsname.h: Likewise.
2693         * sysdeps/generic/bits/waitflags.h: Likewise.
2694         * sysdeps/generic/bits/waitstatus.h: Likewise.
2695         * sysdeps/gnu/bits/utmp.h: Likewise.
2696         * sysdeps/gnu/bits/utmpx.h: Likewise.
2697         * sysdeps/i386/bits/byteswap.h: Likewise.
2698         * sysdeps/i386/bits/endian.h: Likewise.
2699         * sysdeps/i386/bits/huge_val.h: Likewise.
2700         * sysdeps/i386/bits/setjmp.h: Likewise.
2701         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2702         * sysdeps/ieee754/bits/huge_val.h: Likewise.
2703         * sysdeps/m68k/bits/byteswap.h: Likewise.
2704         * sysdeps/m68k/bits/endian.h: Likewise.
2705         * sysdeps/m68k/bits/setjmp.h: Likewise.
2706         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
2707         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
2708         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
2709         * sysdeps/mach/hurd/bits/stat.h: Likewise.
2710         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
2711         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
2712         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
2713         * sysdeps/mips/bits/dlfcn.h: Likewise.
2714         * sysdeps/mips/bits/endian.h: Likewise.
2715         * sysdeps/mips/bits/setjmp.h: Likewise.
2716         * sysdeps/mips/dec/bits/endian.h: Likewise.
2717         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
2718         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
2719         * sysdeps/mips/p40/bits/endian.h: Likewise.
2720         * sysdeps/powerpc/bits/endian.h: Likewise.
2721         * sysdeps/powerpc/bits/fenv.h: Likewise.
2722         * sysdeps/powerpc/bits/setjmp.h: Likewise.
2723         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
2724         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
2725         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
2726         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
2727         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
2728         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
2729         * sysdeps/unix/bsd/bits/stat.h: Likewise.
2730         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
2731         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
2732         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2733         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
2734         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
2735         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
2736         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
2737         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
2738         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
2739         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
2740         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
2741         * sysdeps/unix/common/bits/dirent.h: Likewise.
2742         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
2743         * sysdeps/unix/sysv/bits/stat.h: Likewise.
2744         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2745         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2746         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
2747         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
2748         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
2749         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
2750         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
2751         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
2752         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2753         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2754         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2755         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
2756         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
2757         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
2758         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
2759         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2760         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2761         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
2762         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2763         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2764         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2765         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2766         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
2767         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
2768         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2769         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2770         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
2771         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2772         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
2773         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2774         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
2775         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
2776         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
2777         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
2778         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
2779         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
2780         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
2781         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2782         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
2783         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
2784         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2785         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
2786         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2787         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2788         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
2789         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2790         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
2791         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
2792         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2793         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2794         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
2795         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
2796         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2797         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2798         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
2799         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
2800         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
2801         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
2802         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
2803         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
2804         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
2805         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
2806         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
2807         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
2808         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2809         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
2810         * sysdeps/vax/bits/huge_val.h: Likewise.
2811         * sysdeps/vax/bits/setjmp.h: Likewise.
2812         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
2813         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
2815 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2817         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
2819 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
2821         * strftime.c (strftime):
2822         No longer any need to undef or declare if emacs is defined.
2823         (my_strftime): When checking a -1 returned by mktime, don't blow up
2824         if localtime_r returns NULL.
2826 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2828         * README.template: Fix spelling.
2830 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2832         * configure.in: Enhance --enable-add-ons description a wee bit.
2834 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2836         * glibcbug.in: Add more information of build environment and flags.
2838 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2840         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
2841         it into ENOENT.
2843 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
2845         * elf/dl-support.c: Call __libc_init_secure to make sure
2846         __libc_enable_secure is defined early.
2847         * sysdeps/generic/enbl-secure.c: Change function name to
2848         __libc_init_secure and make it global instead of a constructor.
2850         * iconv/gconv.c: Fix lots of bugs.
2851         * iconv/gconv.h: Likewise.
2852         * iconv/gconv_builtin.h: Likewise.
2853         * iconv/gconv_close.c: Likewise.
2854         * iconv/gconv_conf.c: Likewise.
2855         * iconv/gconv_db.c: Likewise.
2856         * iconv/gconv_dl.c: Likewise.
2857         * iconv/gconv_open.c: Likewise.
2858         * iconv/gconv_simple.c: Likewise.
2859         * iconv/iconv.c: Likewise.
2860         * iconv/iconv_close.c: Likewise.
2861         * iconv/iconv_open.c: Likewise.
2863         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
2864         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
2865         * wcsmbs/wmemrtombs.c: New file.
2866         * wcsmbs/wmemrtowcs.c: New file.
2868 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
2870         * iconv/gconv_simple.c: Fix lots of bugs.
2871         * iconv/iconv_open.c: Normalize names before passing them to
2872         __gconv_open.
2874         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
2876         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
2877         * stdio-common/test-popen.c: Add test for above change.
2879         * math/libm-test.c: Print test results also using %a format,
2880         specified in PRINTF_XEXPR macro.
2881         * math/test-double.c: Define PRINTF_XEXPR.
2882         * math/test-float.c: Likewise.
2883         * math/test-ldouble.c: Likewise.
2884         * math/test-idouble.c: Likewise.
2885         * math/test-ifloat.c: Likewise.
2886         * math/test-ildoubl.c: Likewise.
2888         * stdio-common/vfscanf.c: Recognize a in format specifier only as
2889         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
2890         FP number format.
2892         * stdlib/strtod.c: Little code cleanup.
2894         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
2895         compiling in math subdir.
2897         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
2898         instead of __LIBC_M81_MATH_INLINES.
2899         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
2900         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2901         * sysdeps/m68k/fpu/e_pow.c: Likewise.
2902         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2903         * sysdeps/m68k/fpu/k_cos.c: Likewise.
2904         * sysdeps/m68k/fpu/k_sin.c: Likewise.
2905         * sysdeps/m68k/fpu/k_tan.c: Likewise.
2906         * sysdeps/m68k/fpu/s_atan.c: Likewise.
2907         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
2908         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
2909         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
2910         * sysdeps/m68k/fpu/s_csin.c: Likewise.
2911         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
2912         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
2913         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2914         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
2915         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
2916         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
2917         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
2918         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
2919         * sysdeps/m68k/fpu/s_modf.c: Likewise.
2920         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
2921         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
2922         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
2923         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
2924         __LIBC_INTERNAL_MATH_INLINES is defined.
2926         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
2927         of compare macros from ISO C 9X.  Optimize generic versions a bit.
2928         Define __signbit inline functions and __ieee754_sqrt which can be
2929         used if the ompiler is fixed.
2931         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
2933 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2935         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
2936         sysdeps/generic in the whole dep file, not only in the first line.
2938 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2940         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
2942 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2944         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
2945         place.
2947 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2949         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
2950         is non-empty.
2952 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
2954         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
2955         return value.
2957 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
2959         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
2960         readlink succeeds but the return value is too long.
2962         * stdio-common/printf_fphex.c: Determine sign of number correctly.
2964 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
2966         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
2967         __remqu for Alpha.
2969 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
2971         * sysdeps/generic/sys/ucontext.h: Stub context file.
2973         * libio/iofprintf.c: Removed.  We use the stdio-common version.
2975         * manual/Makefile (distribute): Add stdio-fp.c.
2977         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
2979         * db2/Makefile (distribute): Add include/os_func.h, README and
2980         mutex/tsl_parisc.s.
2982         * hesiod/Makefile (distribute): Add README.hesiod.
2984 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
2986         * iconv/gconv.c: Correctly call transformation function.
2988         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
2990 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2992         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
2993         wrong results for e.g. remquo (3,2, &x)).
2994         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
2995         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
2997 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2999         * configure.in (ld --version-script): Test if the same symbol
3000         maybe defined in all versions (needed by recent changes to
3001         libc.map and supported with binutils 2.8.1.0.17) and issue warning
3002         if versioning is not supported/enabled.
3003         (bash test): Correct test case.
3005         * math/libm-test.c: Added counting/reporting of number of test cases.
3007         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
3008         use awk instead.
3010         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
3012 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3014         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
3016 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
3018         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
3019         Replace revoke call by use of REVOKE.
3020         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
3021         empty and #include generic version.
3022         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3024 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
3026         * libc.map: Add socket functions with __libc_* names.
3027         Reported by Andreas Jaeger.
3029 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3031         * libc.map: Tidy up (remove duplicates, sort entries).
3033 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3035         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
3037 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
3039         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
3040         again after successful call.
3041         Patch by Marc Lehmann <pcg@goof.com>.
3043 1997-11-17  Paul Eggert  <eggert@twinsun.com>
3045         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
3046         as some hosts need this to declare localtime_r properly.
3048 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
3050         * libc.map: Add iconv_open, iconv, and iconv_close.
3052 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
3054         * iconv/Makefile: New file.
3055         * iconv/gconv.c: New file.
3056         * iconv/gconv.h: New file.
3057         * iconv/gconv_builtin.c: New file.
3058         * iconv/gconv_builtin.h: New file.
3059         * iconv/gconv_close.c: New file.
3060         * iconv/gconv_conf.c: New file.
3061         * iconv/gconv_db.c: New file.
3062         * iconv/gconv_dl.c: New file.
3063         * iconv/gconv_open.c: New file.
3064         * iconv/gconv_simple.c: New file.
3065         * iconv/iconv.c: New file.
3066         * iconv/iconv.h: New file.
3067         * iconv/iconv_close.c: New file.
3068         * iconv/iconv_open.c: New file.
3069         * include/gconv.h: New file.
3071         * Makeconfig: Define gconvdir.
3072         * Makefile (subdirs): Add iconv.
3074         * string/bits/string2.h: Add optimization for strtok_r.
3076         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
3077         for NULL.
3078         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
3079         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
3081         * configure.in: Correct test for bash2.
3082         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3084         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
3085         (CFLAGS-locfile.c): Likewise.
3086         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3088         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
3089         non-existing entry if the table is full.
3091         * posix/regex.h: Pretty print.
3093         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
3095         * sysdeps/posix/ctermid.c: Simplify a bit.
3097         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
3099 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3101         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
3102         <sys/types.h> instead of <asm/types.h>.
3104 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3106         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
3108 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
3110         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
3111         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
3112         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
3113         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
3114         fclose): Added to GLIBC_2.1.
3116         * libio/Makefile (routines, shared-only-routines): Add
3117         oldiofclose.  Remove oldfreopen.
3119         * libio/freopen.c (freopen): When PIC is defined, call
3120         _IO_old_freopen () for old stdio.
3122         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
3123         (_IO_fclose, fclose): Use _IO_new_fclose as default version
3124         for GLIBC_2.1.
3126         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
3127         instead of _IO_file_close_it.
3129         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
3130         to _IO_2_1_stdxxx_.
3131         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
3132         is defined.
3134         * libio/libioP.h (_IO_old_do_flush): New.
3136         * libio/oldfileops.c (_IO_old_file_close_it,
3137         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
3138         Call _IO_old_do_flush () instead of _IO_do_flush ().
3139         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
3140         _IO_do_write ().
3142         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
3143         instead of _IO_file_init ().
3144         Bind old symbols to version GLIBC_2.0.
3146         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
3147         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
3148         _IO_stdxxx_.
3149         (_IO_check_libio): New function in .init.
3151         * libio/oldiofclose.c: New file.
3153         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
3154         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
3155         (DEF_STDFILE): Don't use default_symbol_version.
3157         * libio/stdio.c (stdin, stdout, stderr): Set to
3158         _IO_2_1_stdxxx_._
3159         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
3160         stdxxx.
3162         * csu/Makefile (distribute): Add init.c.
3163         (extra-objs): Add init.o for ELF.
3164         (start-installed-name): Add $(objpfx)init.o.
3166         * csu/init.c: New file.
3168 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
3170         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
3171         definition as the default.
3173 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
3175         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
3177 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3179         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
3180         (PR 351).
3182 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
3184         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
3185         to preserve condition codes on function call.
3187 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3189         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
3191 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3193         * math/libm-test.c (asin_test): Add epsilon for float.
3194         (tan_test): Add epsilon for float.
3195         (log1p_test): Add epsilon for float.
3196         (inverse_functions): Add epsilons.
3198         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
3199         net/if_packet.h.
3201         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
3203 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3205         * md5-crypt/Makefile (extra-objs): Make recursively expanded
3206         variable, since $(object-suffixes) is not defined yet.
3208 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3210         * db2/Makefile (distribute): db185/db185_int.src ->
3211         db185/db185_int.h.
3213 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3215         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
3216         exactly one.
3218 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3220         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
3221         name.
3222         * sysdeps/generic/e_acosl.c: Likewise.
3223         * sysdeps/generic/e_asinl.c: Likewise.
3224         * sysdeps/generic/e_atan2l.c: Likewise.
3225         * sysdeps/generic/e_expl.c: Likewise.
3226         * sysdeps/generic/e_fmodl.c: Likewise.
3227         * sysdeps/generic/e_j0l.c: Likewise.
3228         * sysdeps/generic/e_j1l.c: Likewise.
3229         * sysdeps/generic/e_jnl.c: Likewise.
3230         * sysdeps/generic/e_lgammal_r.c: Likewise.
3231         * sysdeps/generic/e_log10l.c: Likewise.
3232         * sysdeps/generic/e_logl.c: Likewise.
3233         * sysdeps/generic/e_powl.c: Likewise.
3234         * sysdeps/generic/e_sqrtl.c: Likewise.
3235         * sysdeps/generic/e_exp2l.c: Likewise.
3237 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3239         * Make-dist (+sysdep-names): Remove extra paren.
3240         * Makefile (distribute): Add stub-tag.h.
3241         * elf/Makefile (distribute): Add atomicity.h.
3242         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
3243         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
3244         [$(subdir)=socket]: Add net/if_packet.h.
3245         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
3246         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
3247         net/if_packet.h, scsi/sg.h.
3249 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3251         * Makefile (install): Quote $(CC) expansion.
3253 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3255         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
3256         working /proc cwd and no restrictions on path length.  Following
3257         some ideas from Andi Kleen <ak@muc.de> (PR 350).
3259 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3261         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
3262         * nis/nss_compat/compat-pwd.c: Likewise.
3263         * nis/nss_compat/compat-spwd.c: Likewise.
3265 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
3267         * sysdeps/libm-i387/s_fdim.S: New file.
3268         * sysdeps/libm-i387/s_fdimf.S: New file.
3269         * sysdeps/libm-i387/s_fdiml.S: New file.
3270         * sysdeps/libm-i387/i686/s_fdim.S: New file.
3271         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
3272         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
3274 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3276         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
3277         pointer to unsigned char.
3279 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3281         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
3283         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
3285         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
3287 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3289         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
3290         ilogb(0/NaN).
3291         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
3292         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
3294 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
3296         * sysdeps/libm-i387/s_fmin.S: New file.
3297         * sysdeps/libm-i387/s_fminf.S: New file.
3298         * sysdeps/libm-i387/s_fminl.S: New file.
3299         * sysdeps/libm-i387/s_fmax.S: New file.
3300         * sysdeps/libm-i387/s_fmaxf.S: New file.
3301         * sysdeps/libm-i387/s_fmaxl.S: New file.
3302         * sysdeps/libm-i387/i686/s_fmin.S: New file.
3303         * sysdeps/libm-i387/i686/s_fminf.S: New file.
3304         * sysdeps/libm-i387/i686/s_fminl.S: New file.
3305         * sysdeps/libm-i387/i686/s_fmax.S: New file.
3306         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
3307         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
3309 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
3311         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
3312         * sysdeps/unix/sysv/linux/send.S: Likewise.
3313         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3314         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3315         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3316         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3317         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3318         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3319         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
3321 See ChangeLog.7 for earlier changes.