Update.
[glibc.git] / ChangeLog
blob095145f991398f1e585edacb1dbf8112d2b9cd9e
1 1998-08-03 16:36  Ulrich Drepper  <drepper@cygnus.com>
3         * catgets/catgets.c: Use mmap/munmap only is _POSIX_MAPPED_FILES
4         is defined.
5         * catgets/open_catalog.c: Likewise.
6         * iconv/iconv_prog.c: Likewise.
7         * intl/loadmsgcat.c: Likewise.
8         * locale/findlocale.c: Likewise.
9         * locale/loadlocale.c: Likewise.
10         * locale/programs/localedef.c: Likewise.
11         * malloc/malloc.c: Likewise.
13         * elf/elf.h: Fix typo.
15         * math/Makefile: Use $(LN_S) instead of ln.
17         * sysdeps/generic/getpgid.c: Fix return type.
19 1998-08-01 02:49 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
21         * sysdeps/posix/tempname.c (__stdio_gen_tempname): Rename to
22         __gen_tempname and simplify the interface.  Strip out the
23         code to do path search and create FILE objects.  This function
24         now takes a mktemp() style template and returns either a name
25         or a file descriptor.
26         (__path_search): New function; searches for directories for
27         temp files.
28         * sysdeps/generic/tempname.c: Stub out __gen_tempname and
29         __path_search, not __stdio_gen_tempname.
31         * libio/stdio.h: Prototype __gen_tempname and __path_search,
32         not __stdio_gen_tempname.
33         * stdio/stdio.h: Likewise.
35         * stdio-common/tempnam.c: Use __path_search and __gen_tempname.
36         * stdio-common/tmpfile.c: Likewise.
37         * stdio-common/tmpfile64.c: Likewise.
38         * stdio-common/tmpnam.c: Likewise.
39         * stdio-common/tmpnam_r.c: Likewise.
41         * misc/mkstemp.c: New file.  Use __gen_tempname.
42         * misc/mktemp.c: Likewise.
44         * sysdeps/posix/mkstemp.c: Removed.
45         * sysdeps/posix/mktemp.c: Removed.
46         * sysdeps/generic/mkstemp.c: Removed.
47         * sysdeps/generic/mktemp.c: Removed.
49 1998-08-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
51         * configure.in: Check, if door add-on is installed.
52         * config.make.in: Add have_doors.
53         * sunrpc/Makefile: Add HAVE_DOOR define.
54         * sunrpc/key_call.c: Add keyserv/door interface.
56         * sunrpc/svc_unix.c: Call setsockopt only if SO_PASSCRED is defined.
57         * sunrpc/clnt_unix.c: Likewise.
59 1998-08-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
61         * inet/netinet/in.h (IN_CLASSC): Correct mask.
62         Reported by Ian Staniforth <I.Staniforth@sheffield.ac.uk> [fixes
63         PR libc/727].
65 1998-08-03 10:23  Ulrich Drepper  <drepper@cygnus.com>
67         * misc/Makefile: Fix installation problem with --disable-shared.
68         * posix/Makefile: Likewise.
70 1998-08-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
72         * posix/regex.c (re_search_2): Optimize searching for anchored
73         pattern if '^' cannot match at embedded newlines.
74         (regerror): Renamed from __regerror, which it should only be
75         called if _LIBC.
77 1998-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
79         * sunrpc/svc_unix.c (__msgread): Check setsockopt return value.
81 1998-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
83         * sysdeps/generic/glob.c: Remove obsolete cast.
85 1998-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
87         * Rules (tests): Fix last change.
89 1998-07-31 17:59  Ulrich Drepper  <drepper@cygnus.com>
91         * sysdeps/unix/sysv/linux/Makefile [subdir==misc] (sysdep_routines):
92         Add sys_setresuid.
94 1998-07-30  Mark Kettenis  <kettenis@phys.uva.nl>
96         * sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_setresuid
97         as real name for system call and make setresuid a weak alias.  Set
98         caller to seteuid.
99         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Implement using
100         `setresuid' syscall if availble.  Fixes problems with sendmail
101         which expects `seteuid' to not set the saved user ID.
103 1998-07-30 20:09 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
105         * time/tzset.c (__tzstring): Get rid of excessive cleverness
106         which was causing stack corruption.
108 1998-07-31 16:41 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
110         * argp/argp-fmtstream.c (__argp_fmtstream_update): Correct
111         off-by-one in wordwrap algorithm when there' a space at the
112         beginning of the buffer.
114 1998-07-31 15:45  Ulrich Drepper  <drepper@cygnus.com>
116         * Makerules (LDLIBS-c.so): Extend value instead of overwriting it.
118 1998-07-31 11:10  Ulrich Drepper  <drepper@cygnus.com>
120         * elf/elf.h: Add lots of new symbols from Irix and Solaris.
122         * sysdeps/unix/sysv/linux/sigstack.c: Include stddef.h to get NULL
123         definition.
125 1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
127         * sunrpc/xcrypt.c: Use only the first 8 characters of the password.
129 1998-07-30 21:06 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
131         * sysdeps/generic/glob.c: Undefine strdup before defining it,
132         because bits/string2.h may have defined it already.
134 1998-07-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
136         * stdio-common/vfscanf.c: Optimize looking for type modifiers.
137         Fix recognition of 'a' modifier vs. 'a' format.
138         (TYPEMOD): Removed.
140         * stdio-common/printf-parse.h (parse_one_spec): Optimize looking
141         for type modifiers.  Fix recognition of 'hh' modifier.
143 1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
145         * sunrpc/svc_unix.c: Fix typo.
147 1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
149         * sysdeps/unix/sysv/linux/recvmsg.c: Don't check for SCM_CREDS before
150         syscall.
152 1998-07-30 12:38  Ulrich Drepper  <drepper@cygnus.com>
154         * sysdeps/i386/ffs.c: Add ffsl entry point.
155         * sysdeps/i386/i686/ffs.c: Likewise.
156         * sysdeps/m68k/ffs.c: Likewise.
157         * sysdeps/powerpc/ffs.c: Likewise.
159         * sysdeps/i386/i486/bits/string.h: Add optimizations for ffs/ffsl
160         on i686.
162 1998-07-30  Richard Henderson  <rth@cygnus.com>
164         * elf/Makefile (ld-map): Move initialization below Makeconfig include.
166         * sysdeps/libm-ieee754/k_standard.c (zero): Make non-const to
167         work around gcc bug.
169         * string/string.h (ffsl, ffsll): Prototype.
170         * string/Version (GLIBC_2.1): Add them.
171         * sysdeps/alpha/ffs.S: Schedule for EV5.  Add ffsl and ffsll
172         entry points.
173         * sysdeps/alpha/ffsll.S: New file.  Empty.
174         * sysdeps/generic/ffs.c: Add ffsl and ffsll entry points.
175         * sysdeps/generic/ffsll.c: New file.
176         * string/Makefile (routines): Add ffsll.
178 1998-07-30 10:03  Ulrich Drepper  <drepper@cygnus.com>
180         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Don't define CLK_TCK for
181         strictly ISO C compliant programs.
182         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
184 1998-07-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
186         * inet/protocols/rwhod.h: Correct typo in comment.
188         * configure.in: Use better regex for gettext.
190 1998-07-29 21:29  Ulrich Drepper  <drepper@cygnus.com>
192         * elf/elf.h: Define more EM_* constants, ELFCLASSNUM, ELFDATANUM,
193         EV_NUM, Elf32_Nhdr, Elf64_Nhdr and various note section values.
195         * elf/elf.h: Add DT_FLAGS_1 and the DF_1_* flag definitions.
197         * elf/sprof.c: Implement -c/--call-pairs option to emit list with
198         caller/callee and the number of calls.
200 1998-07-29  Mark Kettenis  <kettenis@phys.uva.nl>
202         * sysdeps/mach/hurd/dl-sysdep.c (__lseek): New function.
203         (__getpid): New function.
204         (abort): New function.
206 1998-07-29 15:07  Ulrich Drepper  <drepper@cygnus.com>
208         * sysdeps/arm/fpu/Dist: New file.  Add ieee754.h.
210         * nis/nis_cache2_xdr.c: Removed.
211         * nis/nis_cache.c: Removed.
212         * nis/nis_cache2.h: Removed.
214 1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
216         * Rules (tests): Depend on tests-static only if build-static == yes.
218         * misc/Makefile (install-lib): Compile libbsd-compat.a and libg.a
219         only if build-static == yes.
221 1998-07-29 12:58  Ulrich Drepper  <drepper@cygnus.com>
223         * sysdeps/generic/glob.c: Winblowz compatibility stuff.
224         Patch received from Paul D. Smith <psmith@BayNetworks.COM>.
226 1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
228         * sunrpc/clnt_unix.c (__msgwrite)[!SCM_CRED]: Add return
229         statement, fix typo.
230         * sunrpc/svc_unix.c (__msgwrite)[!SCM_CRED]: Likewise.
232 1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
234         * manual/pattern.texi (More Flags for Globbing): Fix typo.
236         * manual/math.texi (Special Functions): Fix typo.
238         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT): New
239         constant from Linux 2.1.112.
241         * posix/Makefile (install-lib): Compile libposix.a only if
242         build-static == yes.
244 1998-07-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
246         * sysdeps/generic/glob.c: Maintain const correctness.  Move extern
247         declarations to file level.  Cope with unsupported
248         _SC_GETPW_R_SIZE_MAX.
250 1998-07-29  Ulrich Drepper  <drepper@cygnus.com>
252         * stdio-common/tst-printf.c: %z is now recognized by printf.
254         * sysdeps/libm-ieee754/c_csqrt.c: Fix problems with some cancelation
255         errors.
256         * sysdeps/libm-ieee754/c_csqrtf.c: Likewise.
257         * sysdeps/libm-ieee754/c_csqrtlc: Likewise.
258         Patch by Stephen L Moshier <moshier@mediaone.net>.
260         * math/libm-test.c (csqrt_test): Correct typo in one test, add
261         another one.
263         * sysdeps/unix/sysv/linux/bits/siginfo.h: Adjust siginfo_t after
264         latest kernel change.
266 1998-07-29  6:39  Kazushige Goto <goto@statabo.rim.or.jp>
268         * sysdeps/alpha/fpu/e_sqrt.c [!_IEEE_FP]: Correctly handle
269         inputs near DBL_MIN.
271 1998-07-28  Ulrich Drepper  <drepper@cygnus.com>
273         * resolv/nss_dns/dns-host.c (getanswer_r): Lower the priority of
274         warnings when DNSSEC related records are received.
275         * resolv/gethnamaddr.c (getanswer): Likewise.
276         Patch by Brian Wellington <bwelling@anomaly.munge.com>.
278         * signal/signal.h: Add prototype for sysv_signal.
280         * math/libm-test.c (tgamma_test): Remove redundant tests.
282         * sysdeps/generic/glob.c: Correct problems with */foo and GLOB_NOCHECK
283         where foo does not exist in any of the subdirectories.
284         Reported by Paul D. Smith <psmith@BayNetworks.COM>.
286         * posix/globtest.sh: Add test for this bug.
288         * posix/glob.h: Add GLOB_TILDE_CHECK.
289         * sysdeps/generic/glob.c: Implement GLOB_TILDE_CHECK.
290         * posix/globtest.c: Add option T to enable GLOB_TILDE_CHECK.
291         * posix/globtest.sh: Re-enable test with ~ and non-existing user name.
293 1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>
295         * io/sys/statfs.h: Fix typos.
296         * io/sys/statvfs.h: Fix typos.
298 1998-07-28  Ulrich Drepper  <drepper@cygnus.com>
300         * version.h (VERSION): Bump to 2.0.95.
302         * math/Makefile (libm-calls): Remove w_gamma, add w_tgamma.
303         * math/Versions [GLIBC_2.1]: Add tgamma, tgammaf, and tgammal.
304         * math/libm-test.c: Split old gamma_test and move half of it in new
305         function tgamma_test.
306         * math/bits/mathcalls.h: Add declaration of tgamma.
307         * sysdeps/libm-ieee754/k_standard.c: Change gamma errors into
308         tgamma errors.
309         * sysdeps/libm-ieee754/w_gamma.c: Remove lgamma compatibility code
310         and rename to ...
311         * sysdeps/libm-ieee754/w_tgamma.c: ... this.  New file.
312         * sysdeps/libm-ieee754/w_gammaf.c: Remove lgammaf compatibility code
313         and rename to ...
314         * sysdeps/libm-ieee754/w_tgammaf.c: ... this.  New file.
315         * sysdeps/libm-ieee754/w_gammal.c: Remove lgammal compatibility code
316         and rename to ...
317         * sysdeps/libm-ieee754/w_tgammal.c: ... this.  New file.
318         * sysdeps/libm-ieee754/w_lgamma.c: Add gamma as weak alias.
319         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
320         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
322         * stgdio-common/printf-parse.h: Implement handling of j, t, and z
323         modifiers.
324         * stdio-common/vfprintf.c: Likewise.
325         * stdio-common/vfscanf.c: Likewise.
326         * manual/stdio.texi: Document new printf/scanf modifiers.
328         * sysdeps/unix/sysv/linux/recvmsg.c: Remove alias __recvmsg.
329         * sysdeps/unix/sysv/linux/sendmsg.c: Remove alias __sendmsg.
331 1998-07-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
333         * sunrpc/Makefile (routines): Add clnt_unix and svc_unix.
334         * sunrpc/Versions: Add new *unix_create functions.
335         * sunrpc/clnt_gen.c: Add support for RPC over AF_UNIX.
336         * sunrpc/clnt_unix.c: New, client side of RPC over AF_UNIX.
337         * sunrpc/key_call.c: Use RPC over AF_UNIX for communication
338         with keyserv daemon.
339         * sunrpc/rpc/clnt.h: Add AF_UNIX based RPC function prototypes.
340         * sunrpc/rpc/svc.h: Likewise.
341         * sunrpc/svc_authux.c: Copy internal auth flavor if none is given.
342         * sunrpc/svc_tcp.c: Fix typos.
343         * sunrpc/svc_unix.c: New, server side of AF_UNIX based RPC.
345         * nis/Makefile: Remove currently not working cache functions.
346         * nis/Versions: Add __nisbind_* functions for rpc.nisd.
347         * nis/nis_call.c: Rewrite binding to a NIS+ server to reuse
348         CLIENT handles.
349         * nis/nis_file.c: Fix memory leaks.
350         * nis/nis_intern.h: Move internal structs from here ...
351         * nis/rpcsvc/nislib.h: ... to here for NIS+ server and tools.
352         * nis/nis_lookup.c: Try at first if last client handle works.
353         * nis/nis_table.c: Likewise.
354         * nis/nis_checkpoint.c: Adjust __do_niscall2 parameters.
355         * nis/nis_mkdir.c: Likewise.
356         * nis/nis_ping.c: Likewise.
357         * nis/nis_rmdir.c: Likewise.
358         * nis/nis_server.c: Likewise.
359         * nis/nis_util.c: Likewise.
360         * nis/nis_findserv.c (__nis_findfastest): Little optimization.
362 1998-07-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
364         * stdlib/strtol.c (STRTOL_LONG_MAX): Correct typo in last patch -
365         define as LONG_MAX.
367 1998-07-28 09:31  Ulrich Drepper  <drepper@cygnus.com>
369         * nscd/connections.c (gr_send_answer): Deal with missing UIO_MAXIOV.
370         Correct test whether writev send all data.
371         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Correct test whether readv
372         received all data.
374 1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>
376         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Deal with missing UIO_MAXIOV.
378 1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>
380         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Change assert call to
381         allow mode to be 0.
382         (__xstat): New function.
383         (__fxstat): New function.
384         (_dl_sysdep_read_whole_file): Removed.  The implementation in
385         `elf/dl-misc.c' now also works for the Hurd.
387 1998-07-27 22:25  Ulrich Drepper  <drepper@cygnus.com>
389         * sysdeps/generic/glob.c: Handle ~ and ~NAME case correctly.
391         * posix/globtest.sh: Also add directories with NSS modules into the
392         library path.
394 1998-07-27 17:42  Ulrich Drepper  <drepper@cygnus.com>
396         * nss/nss_files/files-parse.c (INT_FIELD): Use strtoul instead of
397         strtol.
398         (INT_FIELD_MAYBE_NULL): Likewise.
400         * posix/globtest.c: Rewrite for extended test suite.
401         * posix/globtest.sh: More tests.
402         Patch by Brian Wellington <bwelling@anomaly.munge.com>.
404         * stdlib/strtol.c: Don't redefine LONG_MAX, LONG_MIN, and ULONG_MAX.
405         Use new macro.
407         * sysdeps/generic/readv.c: Correct return type.
408         * sysdeps/generic/writev.c: Likewise.
410 1998-07-24  Gordon Matzigkeit  <gord@fig.org>
412         * argp/argp-help.c (_GNU_SOURCE): Define, to suck in
413         program_invocation_name when compiling outside of glibc.
415 1998-07-26  Philip Blundell  <philb@gnu.org>
417         * sysdeps/unix/sysv/linux/arm/siglist.c: New file; ARM tools don't
418         like `@' in .type directives.
420         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Check whether
421         FE_TONEAREST exists for this platform before using it.
422         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Likewise.
424         * sysdeps/arm/dl-machine.h (elf_machine_rel): Delete redundant
425         debugging code.  Correct handling of PC24 relocs.
427         * elf/Makefile (ld-map): Only define if versioning is in use.
429         * sysdeps/arm/fpu_control.h: Move to ...
430         * sysdeps/arm/fpu/fpu_control.h: ... here.
431         * sysdeps/generic/fpu_control.h: Made usable as a dummy
432         implementation.
434         * sysdeps/unix/sysv/linux/arm/brk.c: New file.
436         * sysdeps/arm/machine-gmon.h: Improved profiling for ARM.
437         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Replace stub with real
438         implementation.
439         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
440         Based on patch from Scott Bambrough and Pat Beirne.
442         * shlib-versions: Add appropriate definitions for ARM machines.
444         * README.template: Mention that Linux/ARM with ELF works now.
446 1998-07-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
448         * Makerules: Generate compilation rules for all object suffixes,
449         not only those currently selected, for sources in the current or
450         object directory.
452 1998-07-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
454         * posix/fnmatch.c (fnmatch): Allow `/' in character class.  Don't
455         match `/' in filename by a character class if requested.
456         * posix/testfnm.c: Rewritten.
457         * posix/testfnm.args: Removed.
459 1998-07-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
461         * posix/annexc.c (limits_syms): Add missing symbols.
462         (stdarg_syms): Move va_list to `maybe' list.
463         (stdio_syms): Add FOPEN_MAX.
465 1998-07-25  Ulrich Drepper  <drepper@cygnus.com>
467         * sysdeps/i386/bits/byteswap.h (__bswap_64): Change __v to __w to
468         prevent conflict with __bswap_32.
470 1998-07-24 21:29  Ulrich Drepper  <drepper@cygnus.com>
472         * nscd/connections.c (pw_send_answer): Make one single writev call.
473         (gr_send_answer): Do the work in two writev calls.  This change
474         changes the protocol.
476         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Adjust for protocol change.
477         We now can do the job using two readv calls.
479 1998-07-24  Ulrich Drepper  <drepper@cygnus.com>
481         * sysdeps/generic/glob.c (glob): Fix problems with handle tilde.
482         Reported by Brian Wellington <bwelling@anomaly.munge.com>.
484         * elf/elf.h: Really define Elf64_Verdef, Elf64_Verdaux, Elf64_Verneed,
485         and Elf64_Vernaux.
487 1998-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
489         * configure.in: Recognize pgcc as compiler.
490         Reported by sauron@angband.ee.ualberta.ca.
492 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
494         * nscd/dbg_log.c: Make sure, that debug message is really written.
495         * nscd/nscd.c: Don't use daemon(), set signal handler after fork.
497 1998-07-23  Ulrich Drepper  <drepper@cygnus.com>
499         * sysdeps/generic/glob.c: Fix two problems with GLOB_DOOFFS.
500         Reported by bwelling@anomaly.munge.com [PR libc/720].
502         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
503         SVID more for gamma(x) with x integer <= 0.
504         Reported by Stephen L Moshier <moshier@mediaone.net>.
506         * math/libm-test.c (gamma_test): Add test for gamma(-1) and gamma(0).
507         Correct test for SVID version of gamma.
509         * sysdeps/libm-ieee754/w_gamma.c: Use correct matherr call in SVID
510         emulation mode.
511         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
512         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
514         * string/string.h: Don't use string function optimization for C++
515         as long as we use macros.
517 1998-07-22 23:47  Ulrich Drepper  <drepper@cygnus.com>
519         * posix/fnmatch.c: Fix completely broken range matching.
521 1998-07-22 23:19  Ulrich Drepper  <drepper@cygnus.com>
523         * sysdeps/unix/sysv/linux/bits/siginfo.h: Fix typo.
525 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
527         * Makefile (headers2_0): Add sigstack.h.
529         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Also define __getrusage.
531 1998-07-22 11:43  Ulrich Drepper  <drepper@cygnus.com>
533         * libio/fileops.c (_IO_file_sync): Don't lock stream here.
534         Reported by Thorsten Kukuk.
536         * string/strcoll.c: Correct problem with empty strings.
537         * string/strxfrm.c: Likewise.
538         Reported by vbzoli@hbrt.hu [PR libc/719].
540 1998-07-21 18:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
542         * sysdeps/posix/tempname.c: Use the random-name generator
543         already used by mktemp/mkstemp.  Honor TMPDIR.
545 1998-07-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
547         * hurd/Makefile (routines): Remove cthreads.
548         * sysdeps/mach/hurd/Makefile (sysdep_routines): Add cthreads.
550         * sysdeps/unix/sysv/linux/i386/Dist: Add missing files.
552         * manual/Makefile (distribute): Add summary.texi.
554 1998-07-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
556         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo.
558 1998-07-21  Ulrich Drepper  <drepper@cygnus.com>
560         * configure.in: Correct expression to match gcc version.
562         * configure.in: Move test for available port after machine
563         variable is defined.
565 1998-07-21 16:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
567         * sysdeps/unix/sysv/linux/sendmsg.c: If passing a SCM_CREDS
568         message, copy the buffer and resize it to what the kernel
569         wants to see.  Bug found and analyzed by Thorsten Kukuk
570         <kukuk@weber-eb.uni-paderborn.de>
572 1998-07-20  Jose M. Moya  <josem@gnu.org>
574         * hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return
575         value.
577 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
579         * sysdeps/mach/hurd/getdomain.c: New file.
580         * sysdeps/mach/hurd/setdomain.c: New file.
582 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
584         * sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as
585         a weak alias.
587 1998-07-20 18:23  Ulrich Drepper  <drepper@cygnus.com>
589         * libio/libioP.h: Use __PMT in typedef.
590         * libio/strfile.h: Likewise.
592 1998-07-20 18:20  Ulrich Drepper  <drepper@cygnus.com>
594         * sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if
595         buffer is too small.
596         Reported by John Levon <j_levon@ncc.co.uk>.
598 1998-07-20 17:09  Ulrich Drepper  <drepper@cygnus.com>
600         * shlib-versions: Remove definition for libSegFault.
602         * memory.texi: Comment out the relocating allocator description.
603         * manual/signal.texi: Remove reference to relocating allocator.
604         * manual/top-menu.texi: Regenerated.
606         * posix/fnmatch.c: Implement [: :] and change to recognize
607         ^ as negation only when not _POSIXLY_CORRECT.
609         * sysdeps/generic/glob.c: Add several optimizations.
611         * posix/glob.h: Undefine __PMT to prevent warnings.
612         Reported by Roland McGrath.
614         * posix/regex.c: Define namespace macros only for _LIBC.
616         * sysdeps/arm/dl-machine.h: Fix typo.
618         * sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file.
619         * sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file.
620         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file.
621         * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack,
622         sigpending, sigqueue, and sigtimedwait.
623         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file.
625         * timezone/leapseconds: Update from tzdata1998f.
627 1998-07-18  Mark Kettenis  <kettenis@phys.uva.nl>
629         * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked.
630         * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked.
631         * libio/stdio.h: Fix typo.
633 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
635         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the
636         magic memobj port arg parsing stuff.  Fix it someday when we are ready
637         to really use it.
638         (_dl_sysdep_output): New function, modified from _dl_sysdep_error.
639         (_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed.
641 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
643         * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs.
645 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
647         * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as
648         a weak alias.
649         * sysdeps/mach/hurd/sigsuspend.c: Likewise.
650         * sysdeps/generic/sigsuspend.c: Likewise.
652 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
654         * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file.
656 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
658         * Makerules (map-file): Don't use $(wildcard) to find the
659         generated version script, instead look in $(version-maps).
660         ($(common-objpfx)libc.so): Only depend on libc.map if versioning
661         is used.
662         * extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script
663         if versioning is used.  Don't use $(wildcard) to find the
664         generated version script, instead look in $(verson-maps).
666 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
668         * sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC.  Remove
669         unused function handle.
670         * sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC.
671         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
672         * debug/catchsegv.sh: Fix argument processing, quoting and various
673         typos.  Put the crash info always in the current directory.  Find
674         program in $PATH if it contains no directory component.
675         * Makerules (install-lib.so-versioned,
676         install-lib.so-unversioned): New variables.
677         (install-lib-nosubdir): Depend on unversioned libs in
678         slibdir, not libdir.
680 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
682         * Make-dist (+tsrcs): Remove references to %-map variables and
683         *.map files.  Add Versions in subdirs.
684         * Makerules (distinfo-vars): Don't write out %-map variables.
686 1998-07-20 13:55  Ulrich Drepper  <drepper@cygnus.com>
688         * inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR.
689         Include <paths.h> instead.
690         * sysdeps/generic/paths.h: Define _PATH_RWHODIR.
691         * sysdeps/unix/sysv/linux/paths.h: Likewise.
692         Reported by Dale Scheetz <dwarf@polaris.net>.
694 1998-07-17 21:44  Ulrich Drepper  <drepper@cygnus.com>
696         * catgets/open_catalog.c: Strictly check whether catalog file is
697         larger enough for the data.  Reported by Andries.Brouwer@cwi.nl.
699 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
701         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file.
703         * sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS.
705 1998-07-17  Ulrich Drepper  <drepper@cygnus.com>
707         * debug/catchsegv.sh: Fix several stupid bugs.
709         * shlib-versions: Define version for libSegFault.
710         * debug/Makefile: Replace shared lib version number while rewriting.
712 1998-07-17  Mark Kettenis  <kettenis@phys.uva.nl>
714         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check.
715         Suggested by Roland McGrath.
717 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
719         * timezone/Makefile: Remove '-L (leapseconds)' for testdata
720         generation to control environment.
722 1998-07-17 09:21  Ulrich Drepper  <drepper@cygnus.com>
724         * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD.
725         Patch by John Tobey <jtobey@banta-im.com>.
727         * manual/llio.texi: Document readv/writev and mmap functions.
728         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
730 1998-07-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
732         * manual/Makefile (texis): Depend on texis.awk.
733         (nonexamples): Filter out add-on chapters.
734         (chapters.% top-menu.%): Depend on libc-texinfo.sh.
735         (stamp-summary): Depend on $(texis) except summary.texi.
736         ($(inst_infodir)/libc.info): Simplify command.
737         * manual/libc-texinfo.sh: Cleaned up to use less temporary files.
738         Fix the generation of the detailed node listing to make it
739         complete again.
740         * manual/math.texi: Fix signature of lgamma_r.
742 1998-07-16 23:06  Ulrich Drepper  <drepper@cygnus.com>
744         * debug/Makefile (distribute): Add sigcontextinfo.h.
745         Add rules to generate and install catchsegv.
746         * debug/catchsegv.sh: New file.
748 1998-07-16  Mark Kettenis  <kettenis@phys.uva.nl>
750         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O
751         port instead of a Mach memory object.
752         (__open): Likewise.
753         (__libc_read): New function.
754         (__mmap): Change to take a Hurd I/O port instead of a Mach memory
755         object.
757 1998-07-16 20:01  Ulrich Drepper  <drepper@cygnus.com>
759         * debug/Makefile (routines): Add backtracesymsfd.
760         Add rules to generate libSegFault.
761         * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd.
762         * debug/execinfo.h: Declare backtrace_symbols_fd.
763         * sysdeps/generic/backtracesymsfd.c: New file.
764         * sysdeps/generic/elf/backtracesymsfd.c: New file.
765         * sysdeps/generic/segfault.c: New file.
766         * sysdeps/generic/sigcontextinfo.h: New file.
767         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file.
769         * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +.
771 1998-07-16 19:27  Ulrich Drepper  <drepper@cygnus.com>
773         * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value.
774         (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name.
776 1998-07-16 13:44  Ulrich Drepper  <drepper@cygnus.com>
778         * argp/argp-fmtstream.c: Fix warnings introduced in last change.
779         * assert/assert-perr.c: Likewise.
780         * assert/assert.c: Likewise.
781         * gconv_conf.c: Likewise.
782         * libio/iofputs_u.c: Likewise.
783         * malloc/mtrace.c: Likewise.
784         * malloc/obstack.c: Likewise.
785         * misc/error.c: Likewise.
786         * misc/syslog.c: Likewise.
787         * stdio-common/asprintf.c: Likewise.
788         * stdio-common/dprintf.c: Likewise.
789         * stdio-common/getw.c: Likewise.
790         * stdio-common/putw.c: Likewise.
791         * stdio-common/snprintf.c: Likewise.
792         * stdio-common/sprintf.c: Likewise.
793         * stdio-common/sscanf.c: Likewise.
794         * sunrpc/svc_simple.c: Likewise.
795         * sysdeps/generic/abort.c: Likewise.
797         * rt/aio_cancel.c: Don't define ECANCELED here.
798         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
800 1998-07-16 10:23  Ulrich Drepper  <drepper@cygnus.com>
802         * argp/argp-fmtstream.c: Unify names of used global functions.
803         * argp/argp-help.c: Likewise.
804         * assert/assert-perr.c: Likewise
805         * assert/assert.c: Likewise
806         * dirent/scandir.c: Likewise
807         * dirent/scandir64.c: Likewise
808         * dirent/versionsort.c: Likewise
809         * dirent/versionsort64.c: Likewise
810         * gmon/bb_exit_func.c: Likewise.
811         * gmon/gmon.c: Likewise.
812         * grp/initgroups.c: Likewise.
813         * iconv/gconv_conf.c: Likewise.
814         * inet/getnameinfo.c: Likewise.
815         * inet/getnetgrent_r.c: Likewise.
816         * inet/inet_ntoa.c: Likewise.
817         * inet/rcmd.c: Likewise.
818         * inet/rexec.c: Likewise.
819         * inet/ruserpass.c: Likewise.
820         * io/fts.c: Likewise.
821         * io/ftw.c: Likewise.
822         * io/ftw64.c: Likewise.
823         * io/getdirname.c: Likewise.
824         * io/getwd.c: Likewise.
825         * io/lockf.c: Likewise.
826         * libio/iofdopen.c: Likewise.
827         * libio/iopopen.c: Likewise.
828         * login/utmp_daemon.c: Likewise.
829         * malloc/mtrace.c: Likewise.
830         * malloc/obstack.c
831         * misc/daemon.c: Likewise.
832         * misc/efgcvt_r.c: Likewise.
833         * misc/err.c: Likewise.
834         * misc/error.c: Likewise.
835         * misc/fstab.c: Likewise.
836         * misc/getpass.c: Likewise.
837         * misc/getttyent.c: Likewise.
838         * misc/mntent_r.c: Likewise.
839         * misc/search.h: Likewise.
840         * misc/syslog.c: Likewise.
841         * nscd/nscd_getgr_r.c: Likewise.
842         * nscd/nscd_getpw_r.c: Likewise.
843         * posix/getpgrp.c: Likewise.
844         * posix/wordexp.c: Likewise.
845         * pwd/fgetpwent_r.c: Likewise.
846         * pwd/getpw.c: Likewise.
847         * resolv/herror.c: Likewise.
848         * resolv/res_init.c: Likewise.
849         * shadow/fgetspent_r.c: Likewise.
850         * shadow/lckpwdf.c: Likewise.
851         * signal/sigrelse.c: Likewise.
852         * stdio-common/asprintf.c: Likewise.
853         * stdio-common/dprintf.c: Likewise.
854         * stdio-common/getw.c: Likewise.
855         * stdio-common/putw.c: Likewise.
856         * stdio-common/snprintf.c: Likewise.
857         * stdio-common/sprintf.c: Likewise.
858         * stdio-common/sscanf.c: Likewise.
859         * stdlib/lrand48_r.c: Likewise.
860         * stdlib/mrand48_r.c: Likewise.
861         * string/argz-replace.c: Likewise.
862         * string/envz.c: Likewise.
863         * sunrpc/auth_des.c: Likewise.
864         * sunrpc/auth_unix.c: Likewise.
865         * sunrpc/bindrsvprt.c: Likewise.
866         * sunrpc/clnt_gen.c: Likewise.
867         * sunrpc/clnt_perr.c: Likewise.
868         * sunrpc/clnt_simp.c: Likewise.
869         * sunrpc/clnt_tcp.c: Likewise.
870         * sunrpc/clnt_udp.c: Likewise.
871         * sunrpc/get_myaddr.c: Likewise.
872         * sunrpc/key_call.c: Likewise.
873         * sunrpc/netname.c: Likewise.
874         * sunrpc/openchild.c: Likewise.
875         * sunrpc/pmap_rmt.c: Likewise.
876         * sunrpc/rpc_dtable.c: Likewise.
877         * sunrpc/rtime.c: Likewise.
878         * sunrpc/svc_run.c: Likewise.
879         * sunrpc/svc_simple.c: Likewise.
880         * sunrpc/svc_tcp.c: Likewise.
881         * sunrpc/svc_udp.c: Likewise.
882         * sunrpc/svcauth_des.c: Likewise.
883         * sunrpc/xdr_array.c: Likewise.
884         * sunrpc/xdr_rec.c: Likewise.
885         * sunrpc/xdr_ref.c: Likewise.
886         * sunrpc/xdr_stdio.c: Likewise.
887         * sysdeps/generic/abort.c: Likewise.
888         * sysdeps/generic/dl-sysdep.c: Likewise.
889         * sysdeps/generic/fstatfs64.c: Likewise.
890         * sysdeps/generic/ftruncate64.c: Likewise.
891         * sysdeps/generic/getrlimit64.c: Likewise.
892         * sysdeps/generic/glob.c: Likewise.
893         * sysdeps/generic/prof-freq.c: Likewise.
894         * sysdeps/generic/putenv.c: Likewise.
895         * sysdeps/generic/statfs64.c: Likewise.
896         * sysdeps/generic/ttyname_r.c: Likewise.
897         * sysdeps/generic/utmp_file.c: Likewise.
898         * sysdeps/generic/vlimit.c: Likewise.
899         * sysdeps/generic/vtimes.c: Likewise.
900         * sysdeps/posix/cuserid.c: Likewise.
901         * sysdeps/posix/euidaccess.c: Likewise.
902         * sysdeps/posix/mkstemp.c: Likewise.
903         * sysdeps/posix/mktemp.c: Likewise.
904         * sysdeps/posix/pread.c: Likewise.
905         * sysdeps/posix/pread64.c: Likewise.
906         * sysdeps/posix/profil.c: Likewise.
907         * sysdeps/posix/pwrite.c: Likewise.
908         * sysdeps/posix/pwrite64.c: Likewise.
909         * sysdeps/posix/sigblock.c: Likewise.
910         * sysdeps/posix/sigpause.c: Likewise.
911         * sysdeps/posix/ttyname.c: Likewise.
912         * sysdeps/posix/ttyname_r.c: Likewise.
913         * sysdeps/posix/waitid.c: Likewise.
914         * sysdeps/unix/getlogin_r.c: Likewise.
915         * sysdeps/unix/grantpt.c: Likewise.
916         * sysdeps/unix/rewinddir.c: Likewise.
917         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
918         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
919         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
920         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
921         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
922         * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
923         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
924         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
925         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
926         * sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
927         * sysvipc/sys/shm.h: Likewise.
928         * time/ctime_r.c: Likewise.
929         * time/strptime.c: Likewise.
930         * wcsmbs/mbrlen.c: Likewise.
931         * wcsmbs/wcsdup.c: Likewise.
932         * wcsmbs/wcsxfrm.c: Likewise.
933         * wctype/wcfuncs.c: Likewise.
935         * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
936         * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
937         * sysdeps/unix/sysv/linux/bind.S: Likewise.
938         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
939         * sysdeps/unix/sysv/linux/listen.S: Likewise.
940         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
941         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
942         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
944         * grp/fgetgrent_r.c: Use explicit locking of the stream.
946         * elf/Makefile (rtld-routines): Add dl-environ.
947         * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv
948         to...
949         * sysdeps/generic/dl-environ.c: here.  New file.
951         * libio/Makefile [REENTRANT] (routines): Add iofputs_u.
952         * libio/Versions: Add fputs_unlocked.
953         * libio/iofputs_u.c: New file.
954         * libio/stdio.h: Add prototype for fputs_unlocked.
956         * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
957         * sunrpc/rpc/clnt.h: Likewise.
958         * sunrpc/rpc/pmap_clnt.h: Likewise.
959         * sunrpc/rpc/svc.h: Likewise.
960         * sunrpc/rpc/xdr.h: Likewise.
962         * sysdeps/i386/memchr.S: Correct for more strict gas.
963         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
964         * sysdeps/libm-i387/i686/s_fdim.S: Likewise.
965         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
966         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
968 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
970         * configure.in: Change message for binutils version from
971         2.8.1.0.17->2.8.1.0.23.
973 1998-07-15  Ulrich Drepper  <drepper@cygnus.com>
975         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
976         Patch by John Tobey <jtobey@banta-im.com>.
978 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
980         * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
981         instead of sysconf.
983 1998-07-14 19:39  Ulrich Drepper  <drepper@cygnus.com>
985         * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
986         [_USE_IN_LIBIO] (encode_error): Free cancelation handler.
987         (conv_error): Likewise.
988         (input_error): Likewise.
989         (memory_error): Likewise.
991 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
993         * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
994         implementation.  Include <entry.h>.  Replace references to symbol
995         _start with macro ENTRY_POINT.
996         (__libc_uid): Remove.
997         (__libc_multiple_libcs): New variable.
998         (__libc_stack_end): New variable.
999         (_dl_hwcap_mask): New variable.
1000         (_dl_important_hwcaps): New function.
1001         (_dl_show_auxv): Mark internal.
1003 1998-07-14  Mark Kettenis  <kettenis@phys.uva.nl>
1005         * mach/Makefile: Create target directory before generating
1006         mach-syscalls.mk.
1007         * mach/Machrules: Invoke awk using AWK variable.  Create target
1008         directory before generating server stubs.
1010 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
1012         * wcsmbs/wcslen.c (__wcslen): Fix comment.
1014         * configure.in: Allow egcs-2.92.
1016 1998-07-10 18:14 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1018         * manual/Makefile: Overhauled.  Generate libc.texinfo from the
1019         chapter files.  Exorcise the chapters, chapters-incl mess.
1020         Support inserting doc chapters from add-on modules.
1021         (chapters): New variable.
1022         (add-chapters): New variable.
1023         (appendices): New variable.
1024         (libc.texinfo): New target.
1025         (clean): Fix bugs.
1026         (realclean): Fix bugs.
1028         * manual/texis.awk: New file.
1029         * manual/libc-texinfo.sh: New file.
1030         * manual/libc-texinfo.in: New file.
1032         * manual/conf.texi (top @node): Remove next pointer.
1033         * manual/lang.texi (top @node): Remove prev pointer.
1035         * manual/job.texi (top @node): Add explicit pointers.
1036         * manual/message.texi (top @node): Add explicit pointers.
1037         * manual/nss.texi (top @node): Add explicit pointers.
1038         * manual/process.texi (top @node): Add explicit pointers.
1039         * manual/startup.texi (top @node): Add explicit pointers.
1040         * manual/terminal.texi (top @node): Add explicit pointers.
1041         * manual/users.texi (top @node): Add explicit pointers.
1043         * manual/arith.texi: Add %MENU% tag.
1044         * manual/conf.texi: Add %MENU% tag.
1045         * manual/contrib.texi: Add %MENU% tag.
1046         * manual/ctype.texi: Add %MENU% tag.
1047         * manual/errno.texi: Add %MENU% tag.
1048         * manual/filesys.texi: Add %MENU% tag.
1049         * manual/header.texi: Add %MENU% tag.
1050         * manual/install.texi: Add %MENU% tag.
1051         * manual/intro.texi: Add %MENU% tag.
1052         * manual/io.texi: Add %MENU% tag.
1053         * manual/job.texi: Add %MENU% tag.
1054         * manual/lang.texi: Add %MENU% tag.
1055         * manual/llio.texi: Add %MENU% tag.
1056         * manual/locale.texi: Add %MENU% tag.
1057         * manual/maint.texi: Add %MENU% tag.
1058         * manual/math.texi: Add %MENU% tag.
1059         * manual/mbyte.texi: Add %MENU% tag.
1060         * manual/memory.texi: Add %MENU% tag.
1061         * manual/message.texi: Add %MENU% tag.
1062         * manual/nss.texi: Add %MENU% tag.
1063         * manual/pattern.texi: Add %MENU% tag.
1064         * manual/pipe.texi: Add %MENU% tag.
1065         * manual/process.texi: Add %MENU% tag.
1066         * manual/search.texi: Add %MENU% tag.
1067         * manual/setjmp.texi: Add %MENU% tag.
1068         * manual/signal.texi: Add %MENU% tag.
1069         * manual/socket.texi: Add %MENU% tag.
1070         * manual/startup.texi: Add %MENU% tag.
1071         * manual/stdio.texi: Add %MENU% tag.
1072         * manual/string.texi: Add %MENU% tag.
1073         * manual/sysinfo.texi: Add %MENU% tag.
1074         * manual/terminal.texi: Add %MENU% tag.
1075         * manual/time.texi: Add %MENU% tag.
1076         * manual/users.texi: Add %MENU% tag.
1078 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
1080         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
1081         Update.
1083 1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1085         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
1086         style declaration to avoid warning.
1087         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1089 1998-07-04  Mark Kettenis  <kettenis@phys.uva.nl>
1091         * elf/rtld.c (process_dl_debug): Add missing continue.
1093 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
1095         * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
1096         code needs it.
1098 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1100         * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
1101         sysd-dirs-done.
1102         * Makerules: Don't generate version maps too early.
1103         ($(common-objpfx)sysd-versions): Force regeneration if the list of
1104         subdirs has changed.
1106 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1108         * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
1110 1998-07-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1112         * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
1113         * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
1114         return value.
1116 1998-07-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1118         * elf/dl-open.c (dl_open_worker): New function.
1119         (_dl_open): Call it to do the actual work while catching errors.
1120         * elf/dl-close.c (_dl_close): Only call termination function if
1121         the initialisation function was called.
1123 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
1125         * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
1126         Reported by Felix von Leitner <leitner@amdiv.de>.
1128 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1130         * Make-dist (+sysdep-tsrcs): Add Versions.
1132 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1134         * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
1135         __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
1136         * sysdeps/powerpc/Versions: New file.
1137         * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
1138         and __errno_location.
1139         * misc/Versions: Add brk and sbrk.
1140         * posix/Versions: Add environ, __environ and _environ.
1141         * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
1143 1998-07-10 11:58  Ulrich Drepper  <drepper@cygnus.com>
1145         * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
1146         Patch by Zack Weinberg.
1148 1998-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1150         * posix/annexc.c (errno_maybe): EACCESS->EACCES.
1151         (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
1152         (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
1154 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1156         * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
1158 1998-07-09  Ulrich Drepper  <drepper@cygnus.com>
1160         * posix/unistd.h: Simplify #ifdefs.
1162         * libio/libio.h: Undo last change due to possible C++ problems.
1163         * libio/fileops.h: Likewise.
1165 1998-07-09 13:34  Ulrich Drepper  <drepper@cygnus.com>
1167         * grp/grp.h: Define gid_t also for __USE_XOPEN.
1168         * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
1169         * io/utime.h: Define time_t also for __USE_XOPEN.
1170         * io/sys/stat.h: Define time_t also for __USE_XOPEN.
1171         Define *_t types except for pid_t also for __USE_XOPEN.
1172         Define S_* macros also for __USE_XOPEN.
1173         * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
1174         THOUSEP also for __USE_XOPEN.
1175         * math/math.c: Define M_* macros also for __USE_XOPEN.
1176         * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
1177         * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
1178         defined.
1179         * posix/glob.h: Likewise for GLOB_NOSYS.
1180         * posix/regex.h: Likewise for REG_NOSYS.
1181         * posix/wordexp.h: Likewise for WRDE_NOSYS.
1182         * posix/unistd.h: Define *_t types also for __USE_XOPEN.
1183         * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
1184         * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
1185         * signal/signal.h: Define pid_t also for __USE_XOPEN.
1186         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
1187         for __USE_POSIX199309.
1188         * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
1189         constants also for __USE_XOPEN.
1190         * wcsmbs/wchar.h: For XPG4 include wctype.h.
1192         * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
1193         * locale/setlocale.c (new_composite_name): Likewise for last_len.
1195         * libio/stdio.h: Don't declare fclose_unlocked.
1197         * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
1199 1998-07-08  Mark Kettenis  <kettenis@phys.uva.nl>
1201         * stdio/stdio.h: Add prototypes for fflush_unlocked,
1202         getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
1203         fgets_unlocked, fread_unlocked, fwrite_unlocked,
1204         clearerr_unlocked, feof_unlocked, ferror_unlocked,
1205         fileno_unlocked, flockfile, ftrylockfile, funlockfile.
1206         [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr.  Add
1207         prototype for getopt.
1208         * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
1209         * stdio/feof.c (feof_unlocked): Weak alias for feof.
1210         * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
1211         * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
1212         * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
1213         * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
1214         * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
1215         * stdio/fread.c (fread_unlocked): Weak alias for fread.
1216         * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
1217         * stdio/getc.c (getchar_unlocked): Weak alias for getc.
1218         * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
1219         * stdio/putc.c (putc_unlocked): Weak alias for putc.
1220         * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
1221         * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
1222         feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
1223         fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
1224         getc_unlocked, getchar_unlocked, putc_unlocked and
1225         putchar_unlocked.
1227         * libio/Versions: Move flockfile, ftrylockfile and funlockfile
1228         from here ...
1229         * stdio-common/Versions: ... to here.
1231 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1233         * Makerules (versioning): Correct typo.
1235 1998-07-08 22:18  Ulrich Drepper  <drepper@cygnus.com>
1237         * elf/Versions: Add _dl_mcount_wrapper_check.
1238         * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
1239         _dl_mcount_wrapper_check.
1240         * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
1242         * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
1243         internal_function.
1244         * elf/ldsodefs.h: Likewise.
1246         * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
1248         * libio/stdio.h: Make sure va_list is defined for X/Open.
1249         Define P_tmpdir for X/Open.
1251         * posix/regex.h: Fix typo.
1253         * posix/unistd.h: Define intptr_t if not already happened.
1254         Add pthread_atfork prototype.
1255         * sysdeps/generic/bits/types.h: Define __intptr_t.
1256         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1257         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1258         * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
1259         * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
1260         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1261         * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
1262         * sysdeps/wordsize-64/stdint.h: Likewise.
1264         * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
1266         * signal/Makefile (headers): Add bits/sigthread.h.
1267         * signal/signal.h: Include bits/sigthread.h.
1268         * sysdeps/generic/bits/sigthread.h: New file.
1270         * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
1272         * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
1273         * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
1274         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
1275         * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
1277         * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
1279         * elf/rtld.c: Remove preloading and loadpath variables in SUID
1280         programs.
1281         * sysdeps/generic/dl-sysdep.c: Define unsetenv.
1282         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
1283         names.
1285         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
1287         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
1288         Remove O_READ and O_WRITE definition.
1290         * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
1291         and RLIM_SAVED_CUR.
1293         * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
1295 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1297         * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
1298         scripts directory.  Pass move-if-change to awk.
1299         (common-generated): Add $(version-maps) and sysd-versions.
1300         * versions.awk: Moved to...
1301         * scripts/versions.awk: ... here.  Use move-if-change to void
1302         touching unchanged files.  Print "version-maps = ..." instead of
1303         "all-version-maps = ..." and without $(common-objpfx).  Explain
1304         expected variable names.
1305         * Makefile (distribute): Updated.
1307 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1309         * misc/getttyent.c (getttyent): Don't return with locked stream.
1310         * misc/mntent_r.c (__getmntent_r): Likewise.
1312 1998-07-07 18:24  Ulrich Drepper  <drepper@cygnus.com>
1314         * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
1315         if stream is line buffered.
1316         (_io_file_overflow): Likewise.
1317         * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
1318         streams writing '\n' flushes the string.
1320 1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>
1322         * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
1323         * elf/dl-support.c: Define it here...
1324         * elf/rtld.c: ...and here.
1326 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
1328         * grp/initgroups.c: Handle directives from nsswitch.conf file.
1330 1998-07-07  Ulrich Drepper  <drepper@cygnus.com>
1332         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
1333         __ino64_t definition.
1334         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
1335         __off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1337         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
1338         script if lddlibc4 failed.
1339         Reported by B. D. Elliott <bde@accessone.com>.
1341 1998-07-06  Ulrich Drepper  <drepper@cygnus.com>
1343         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
1344         Improve generated strings a bit.
1346 1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1348         * posix/Makefile (generated): Remove $(objpfx) from the names.
1350 1998-07-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1352         * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
1353         format string.
1355         * libio/iofread_u.c: Include <stdio.h> for prototype.
1356         * libio/iofwrite_u.c: Likewise.
1358 1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1360         * db2/Versions: New file.
1362 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1364         * Makefile (lib-noranlib): Don't depend on sysd-versions.
1365         ($(common-objpfx)sysd-versions): Remove rule.
1366         * Makerules ($(common-objpfx)sysd-versions): Define here instead.
1367         Pass name of Versions.def file to script and redirect output to
1368         target.  Include it and make all generated version maps depend on
1369         it.
1370         * versions.awk: Print out variable definition containing all
1371         generated version maps.  Print error messages to stderr.  Remove
1372         temp file.
1374 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1376         * posix/annexc.c (check_header): Terminate macro name before
1377         comparing.
1378         (get_null_defines): Allow builtin macros with parameters.
1379         (fmt, testfmt): Add -D_LIBC.
1380         * posix/Makefile: Remove bogus duplicate include directories from
1381         annexc test command.
1383 1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>
1385         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
1386         password scheme.
1387         (_nss_nis_getpwnam_r): Likewise.
1388         (_nss_nis_getpwuid_r): Likewise.
1390 1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>
1392         * libio/Versions: Move symbols whose source lives in
1393         stdio-common to ...
1394         * stdio-common/Versions: ... here.
1395         * stdio/Versions: Add missing symbols.
1397 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
1399         * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
1400         __syscall_sendmsg.
1401         * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
1402         __syscall_recvmsg.
1403         * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
1404         and make __recvmsg and recvmsg weak aliases.
1405         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
1406         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
1407         and __syscall_sendmsg.
1409 1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>
1411         * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
1412         stream.
1413         * inet/ruserpass.c (token): Likewise.
1414         * nss/nsswitch.c (nss_parse_file): Likewise.
1415         * intl/localealias.c: Likewise.  Also for ferror.
1416         * time/getdate.c (__getdate_r): Likewise.
1418         * libio/Makefile (routines): Add iofgets_u.
1419         * libio/iofgets_u.c: New file.
1420         * libio/Versions: Add fgets_unlocked.
1421         * libio/stdio.h: Add prototype for fgets_unlocked.
1423         * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
1424         * misc/getusershell.c (initshells): Likewise.
1425         * misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
1426         fgets_unlocked.
1427         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1428         * resolv/res_init.c (res_init): Likewise.
1429         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1431 1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>
1433         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
1434         * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
1436 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
1438         * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
1439         _unlocked functions.
1441         * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
1442         is a private FILE.
1444 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1446         * csu/Makefile: Build crt files in lib pass.
1447         * db2/Makefile (distribute): Add mutex/sco.cc.
1448         * mach/Machrules: Don't generate .udeps files if no_deps is set.
1449         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
1450         s-proto.d if avoid-generated is set.
1452         * sysdeps/alpha/Dist: List only one file per line.
1453         * sysdeps/generic/Dist: Likewise.
1454         * sysdeps/m68k/fpu/switch/Dist: Likewise.
1455         * sysdeps/sparc/sparc32/Dist: Likewise.
1456         * sysdeps/unix/Dist: Likewise.
1457         * sysdeps/unix/sysv/irix4/Dist: Likewise.
1459         * sysdeps/mach/hurd/i386/Dist: New file.
1460         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
1461         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
1462         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
1463         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
1465 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
1467         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
1468         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
1470         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
1472         * time/tzfile.c (decode): Optimize by using bswap_32.
1473         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
1474         __tzname array values.
1475         (__tzfile_compute): Correct setting of __tzname array values.
1476         * time/tzset.c (__tzstring): Clean up a bit.
1478 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
1480         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
1482 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1484         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
1485         that fd can be bigger than FD_SETSIZE.
1487 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1489         * nscd/grpcache.c: Include <unistd.h>.
1490         * nscd/pwdcache.c: Likewise.
1492         * nis/nis_modify.c: Include <string.h>.
1493         * nis/nis_add.c: Likewise.
1494         * nis/nis_checkpoint.c: Likewise.
1495         * posix/runptests.c: Likewise.
1496         * sysdeps/generic/statvfs64.c: Likewise.
1497         * sysdeps/generic/fstatvfs64.c: Likewise.
1499 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
1501         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
1502         to match data from Unicode.
1503         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1505 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
1507         * stdio-common/printf.h: Define printf_function and
1508         printf_arginfo_function types using __PMT not __P.
1509         Reported by Marc Lehmann.
1511 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1513         * assert/test-assert.c: New test.
1514         * assert/test-assert-perr.c: New test.
1515         * assert/Makefile (tests): Add test-assert and test-assert-perr.
1517 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1519         BSD-style SCM_CREDS support.
1521         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
1522         SCM_CREDS.
1523         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
1524         visible SCM_CREDS packet to what the kernel wants.
1525         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
1526         SCM_CREDS packet output by kernel to what users want.
1528         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
1529         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
1530         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
1531         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
1533         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
1534         __sendmsg and __recvmsg to sysdep_routines.
1535         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
1537 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1539         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
1540         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
1541         * nscd/nscd.c: Check, if pthread_create fails.
1543 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1545         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
1546         format strings.
1547         * stdio-common/bug1.c (main): Likewise.
1548         * stdio-common/bug5.c (main): Likewise.
1549         * stdio-common/tstgetln.c (main): Likewise.
1550         * elf/sprof.c (generate_call_graph): Likewise.
1551         (load_shobj): Likewise.
1552         * posix/runptests.c (main): Likewise.
1553         * string/tst-strlen.c (main): Likewise.
1555         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
1556         variable q3.
1557         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
1559 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1561         * wctype/Versions: Add __towctrans.
1562         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
1564 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1566         * grp/initgroups.c (compat_call): Only call dynamically loaded
1567         functions if they are really present.
1569 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1571         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
1572         #ifdef that contains __BEGIN_DECLS.
1574 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1576         * libio/iofwrite.c: Fix return value when size == 0.
1578 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1580         * posix/Makefile (distribute): Add annexc.c.
1581         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
1583 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1585         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1586         bits/pthreadtypes.h here, and do not clobber headers.
1588         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
1590 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1592         * timezone/tst-timezone.c: Add tests for tzname variable.
1594 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1596         * Makefile [versioning=yes]: Build the mapfiles with a pattern
1597         rule that lists all of them as targets.
1598         (sysd-versions): Depend only on Versions.def.  Write a Makefile
1599         fragment that defines $(vers-libs) based on contents of that file;
1600         then include it.
1601         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
1602         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
1603         Predicate all this on avoid-generated unset as well as versioning.
1605 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1607         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
1609 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
1611         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
1612         a copy.
1613         * Makefile: Add rules to generate map files.
1614         (distribute): Remove libc.map, add Versions.def and versions.awk.
1615         * Makerules: Change rules to find map files on common-objpfx.
1616         * elf/Makefile: Likewise.
1617         * md5-crypt/Makefile: Likewise.
1618         * nis/Makefile (libnsl-map): Remove.
1619         * Versions.def: New file.
1620         * versions.awk: New file.
1621         * argp/Versions: New file.
1622         * assert/Versions: New file.
1623         * catgets/Versions: New file.
1624         * csu/Versions: New file.
1625         * ctype/Versions: New file.
1626         * db/Versions: New file.
1627         * debug/Versions: New file.
1628         * dirent/Versions: New file.
1629         * elf/Versions: New file.
1630         * gmon/Versions: New file.
1631         * grp/Versions: New file.
1632         * hesiod/Versions: New file.
1633         * hurd/Versions: New file.
1634         * iconv/Versions: New file.
1635         * inet/Versions: New file.
1636         * intl/Versions: New file.
1637         * io/Versions: New file.
1638         * libio/Versions: New file.
1639         * linuxthreads/Versions: New file.
1640         * locale/Versions: New file.
1641         * login/Versions: New file.
1642         * malloc/Versions: New file.
1643         * math/Versions: New file.
1644         * md5-crypt/Versions: New file.
1645         * misc/Versions: New file.
1646         * nis/Versions: New file.
1647         * nss/Versions: New file.
1648         * posix/Versions: New file.
1649         * pwd/Versions: New file.
1650         * resolv/Versions: New file.
1651         * resource/Versions: New file.
1652         * rt/Versions: New file.
1653         * setjmp/Versions: New file.
1654         * shadow/Versions: New file.
1655         * signal/Versions: New file.
1656         * socket/Versions: New file.
1657         * stdio/Versions: New file.
1658         * stdio-common/Versions: New file.
1659         * stdlib/Versions: New file.
1660         * streams/Versions: New file.
1661         * string/Versions: New file.
1662         * sunrpc/Versions: New file.
1663         * sysdeps/alpha/Versions: New file.
1664         * sysdeps/alpha/fpu/Versions: New file.
1665         * sysdeps/i386/Versions: New file.
1666         * sysdeps/sparc/Versions: New file.
1667         * sysdeps/unix/sysv/Versions: New file.
1668         * sysdeps/unix/sysv/linux/Versions: New file.
1669         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
1670         * sysdeps/unix/sysv/linux/i386/Versions: New file.
1671         * sysdeps/unix/sysv/linux/mips/Versions: New file.
1672         * sysvipc/Versions: New file.
1673         * termios/Versions: New file.
1674         * time/Versions: New file.
1675         * wcsmbs/Versions: New file.
1676         * wctype/Versions: New file.
1677         * libc.map: Removed.
1678         * db/libdb.map: Removed.
1679         * elf/libdl.map: Removed.
1680         * hesiod/libnss_hesiod.map: Removed.
1681         * hurd/libhurduser.map: Removed.
1682         * hurd/libmachuser.map: Removed.
1683         * linuxthreads/libpthread.map: Removed.
1684         * locale/libBrokenLocale.map: Removed.
1685         * login/libutil.map: Removed.
1686         * math/libm.map: Removed.
1687         * md5-crypt/libcrypt.map: Removed.
1688         * nis/libnsl.map: Removed.
1689         * nis/libnsl_compat.map: Removed.
1690         * nis/libnss_nis.map: Removed.
1691         * nis/libnss_nisplus.map: Removed.
1692         * nss/libnss_db.map: Removed.
1693         * nss/libnss_files.map: Removed.
1694         * resolv/libnss_dns.map: Removed.
1695         * resolv/libresolv.map: Removed.
1696         * rt/librt.map: Removed.
1698         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
1699         Fix typos.
1701         * elf/rtld.c (process_dl_debug): Recognize 'all'.
1702         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
1704         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
1705         correct size.
1707 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
1709         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
1710         in comment.
1712         * nscd/nscd.c: Include unistd.h.
1714 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
1716         * math/libm-test.c: Adjust delta for indentities1_test because gcc
1717         became cleverer.
1719 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1721         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
1723 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1725         * scripts/test-installation.pl: Include <stdio.h> in test program
1726         to make it strictly conforming.
1728 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1730         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1731         not a strong alias.
1732         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
1733         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
1734         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
1735         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
1737 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1739         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1740         not a strong alias.
1742 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
1744         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
1745         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
1746         bits/pthreadtypes.h.
1748 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
1750         * include/aio.h: New file.
1751         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
1752         (tests): Build and run annexc program.
1753         * posix/annexc.c: New file.
1754         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
1755         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
1756         * rt/aio_misc.c: Include limits.h.
1757         * rt/aio_notify.c: Include errno.h.
1758         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
1759         Define size_t.
1760         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1761         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1762         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1763         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
1764         kernel doesn't do this.
1765         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
1766         __USE_LARGEFILE64 is defined.
1767         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
1768         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
1769         if requested.
1770         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
1772         * stdlib/isomac.c: Avoid include_next warning.
1774 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
1776         * argp/argp.h: Use __PMT instead of __P for function pointer.
1777         * iconv/gconv.h: Likewise.
1778         * io/fts.h: Likewise.
1779         * io/ftw.h: Likewise.
1780         * libio/libio.h: Likewise.
1781         * malloc/mcheck.h: Likewise.
1782         * misc/search.h: Likewise.
1783         * posix/glob.h: Likewise.
1784         * resolv/resolv.h: Likewise.
1785         * signal/signal.h: Likewise.
1786         * stdlib/stdlib.h: Likewise.
1787         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
1788         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1790 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1792         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
1794 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1796         * posix/wordexp.c (parse_param): Fix memory leak.
1798 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1800         * libc.map: Export _IO_ftrylockfile.
1802 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1804         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
1805         __get[pu]id.
1807 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1809         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
1811         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
1812         same search list twice.
1814 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1816         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
1817         used to optimize loop/select.
1819 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1821         * sysdeps/generic/init-first.c: Don't define __libc_pid.
1822         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1823         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1824         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1825         * sysdeps/arm/init-first.c: Likewise.
1826         * posix/getopt_init.c: Don't use __libc_pid.
1827         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1828         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1829         * libc.map: Remove __libc_uid and __libc_pid.
1831 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1833         * sunrpc/rtime.c (rtime): Use poll instead of select.
1835 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1837         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
1838         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1839         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1840         Patches from FreeBSD current.
1842 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1844         * nscd/connections.c (handle_new_request): Handle POLLHUP
1845         correctly.
1846         (close_sockets): Correct parameter to dbg_log.
1848 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
1850         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1851         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
1852         (elf_machine_fixup_plt): Likewise.
1853         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
1854         _dl_pagesize not set, use system call to always get correct answer.
1855         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1856         (__syscall_getpagesize): Add
1858 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
1860         * resolv/res_send.c (res_send): Fix typo.
1862 1998-06-25  Andi Kleen <ak@muc.de>
1864         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
1865         * resolv/res_send.c (res_send): Likewise.
1867 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
1869         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
1870         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1872 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
1874         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
1875         * math/atest-exp2.c (exp_mpn, main): Likewise.
1876         * math/atest-sincos.c (main): Likewise.
1878         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
1879         base handling away from strtoul.  Always reset errno.
1881         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
1883         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
1884         _dl_profile_map if _dl_name_match_p.
1885         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
1886         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
1888         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
1889         as early-clobber.
1891         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
1892         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
1893         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
1895 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1897         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
1899 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1901         * nis/nis_call.c: Don't copy server structure.
1902         * nis/nis_intern.h: Remove unused entries.
1903         * nis/nis_table.c: Rewrite __create_ib_request.
1905 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
1907         * configure.in: Check for -fexceptions.
1908         * config.make.in: Define exceptions, not no-exceptions.
1909         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
1910         __P to use throw().
1911         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
1912         $(exceptions).
1913         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
1914         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
1915         lfind, and lsearch prototpypes.
1916         * stdlib/stdlib.h: Likewise for bsearch and qsort.
1918 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1920         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
1922 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1924         * Makefile (remove-old-headers): Make phony.
1926         * configure.in: Substitute @old_glibc_headers@.
1928 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1930         * libc.map: Remove __libc_uid.
1932 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1934         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
1935         typos.
1937 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1939         * libc.map: Add Alpha-specific io function from protected namespace.
1941 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
1943         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
1944         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
1945         CPPFLAGS.
1947         * libc.map: Export __sigaction.
1949 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1951         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
1952         (from Linux 2.1.107).
1954 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
1956         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
1957         position when file was opened here.
1958         Reported by Howard Chu <hyc@platinum.com>.
1960         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
1961         undefined in a second inclusion.
1963 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1965         * sysdeps/mach/hurd/i386/Makefile: New file.
1966         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
1967         __libc_init_secure.
1968         (_hurd_stack_setup): Renamed
1969         from __libc_init_first.
1970         (__libc_init_first): New function.
1971         * sysdeps/mach/hurd/i386/static-start.S: New file.
1973 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
1975         * sysdeps/mach/hurd/i386/init-first.c
1977 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1979         * grp/initgroups.c: Use _CALL_DL_FCT.
1981 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1983         * elf/rtld.c (process_dl_debug): Add missing continue.
1985 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1987         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
1989 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1991         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
1993 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
1995         * config.make.in: Remove LDAP support.
1996         * nss/Makefile: Likewise.
1998 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
2000         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
2001         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2002         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2003         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
2005 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
2007         * mach/Makefile: Change `mv' invocations to `mv -f'.
2008         * mach/Machrules: Likewise.
2010 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2012         * config.make.in (old-glibc-headers): Add it.
2014         * configure.in: Add test for glibc 2.0.x headers.
2016         * Makefile (headers2_0): New variable - contains so far only
2017         Linux/Intel glibc 2.0.x headers.
2018         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
2019         (install): Depend on remove-old-headers.
2021 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
2023         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
2024         make ftruncate a weak alias.
2025         * sysdeps/mach/hurd/ftruncate.c: Really define function as
2026         __ftruncate.
2027         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
2028         (truncate): Fix function defenition to match prototype.
2030 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
2032         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
2033         unlockpt, ptsname, ptsname_r, openpty and forkpty.
2035 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
2037         * sysdeps/generic/glob.c: Make it possible to include glob.h
2038         before loading glob.c.
2039         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
2041 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2043         * nscd/connections.c: Use poll() instead of select().
2045 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2047         * sysdeps/generic/Dist: Fix typo.
2049 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2051         * nis/nis_add.c: Avoid unnecessary strlen () calls.
2052         * nis/nis_addmember.c: Likewise.
2053         * nis/nis_call.c: Likewise.
2054         * nis/nis_creategroup.c: Likewise.
2055         * nis/nis_destroygroup.c: Likewise.
2056         * nis/nis_findserv.c: Likewise.
2057         * nis/nis_ismember.c: Likewise.
2058         * nis/nis_print.c: Likewise.
2059         * nis/nis_print_group_entry.c: Likewise.
2060         * nis/nis_removemember.c: Likewise.
2061         * nis/nis_verifygroup.c: Likewise.
2062         * nis/ypclnt.c: Likewise.
2064         * nis/nis_file.c: Close file handles.
2066         * nis/nis_callback.c: Fix typo.
2068 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2070         * nis/Makefile: Add nis-initgroups and compat-initgroups.
2071         * nis/libnss_compat.map: Add _nss_compat_initgroups.
2072         * nis/libnss_nis.map: Add _nss_nis_initgroups.
2073         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
2074         * nis/nss_nis/nis-initgroups.c: Likewise.
2075         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
2076         __nss_lookup_function and make it public.
2077         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
2078         module if exists, else use old method.
2080 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
2082         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
2083         definition.
2084         * nss/getXXent_r.c (set_function, end_function, get_function):
2085         Likewise.  Reported by Thorsten Kukuk.
2087         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
2089 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2091         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
2092         1998-06-16 and distribute kernel_termios.h.
2094         * nis/Makefile (distribute): Add nis_xdr.h.
2096 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2098         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
2099         kernels that don't have sigaltstack.
2101 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
2103         * sysdeps/generic/bits/sem.h: Don't define union semun.
2105         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
2107         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
2108         here.
2109         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
2110         definition here.
2112 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
2114         * signal/signal.h: Add prototype for __sigaltstack.
2115         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
2116         Remove sigstack entry.
2117         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
2118         * sysdeps/unix/sysv/linux/sigstack.c: New file.
2120         * sysdeps/i386/backtrace.c: Add casts.
2122 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
2124         * intl/dcgettext.c: use complete type name.
2125         * intl/hash-string.h: Likewise.
2127         * intl/localealias.c: Undo patch from 1998-04-29.
2128         * intl/l10nflist.c: Likewise.
2129         * intl/loadinfo.h: Likewise.
2131 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
2133         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
2135 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
2137         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
2138         _dl_mcount, _dl_mcount_wrapper.
2139         * elf/Makefile (routines): Add dl-profstub.
2140         * elf/dl-profstub.c: New file.
2141         * elf/dl-support.c: Don't define _dl_profile_map.
2142         * elf/rtld.c: Likewise.
2143         * elf/dlfcn.h: Define DL_CALL_FCT macro.
2144         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
2145         Define _CALL_DL_FCT.
2146         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
2147         loaded object.
2148         * iconv/gconv_db.c: Likewise.
2149         * iconv/skeleton.c: Likewise.
2150         * nss/getXXbyYY_r.c: Likewise.
2151         * nss/getXXent_r.c: Likewise.
2152         * nss/nsswitch.c: Likewise.
2154 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
2156         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
2157         * sysdeps/libm-i387/e_scalbf.S: Likewise.
2158         * sysdeps/libm-i387/e_scalbl.S: Likewise.
2160 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
2162         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
2163         longestdbl.
2165 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
2167         * iconvdata/Makefile (modules): Add MACINTOSH.
2168         (MACINTOSH-routines): New variable.
2169         (distribute): Add macintosh.c.
2170         (awk-generated-headers): Add macintosh.h.
2171         Add rule for macintosh.h generation.
2172         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
2173         * iconvdata/macintosh.c: New file.
2175 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
2177         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
2179         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
2180         only should happen for cy != 0.
2182         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
2183         glob.h.
2185 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2187         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
2188         to compare stack addresses.
2190 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
2192         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
2193         defining prototypes.
2195 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
2197         * sysdeps/sparc/sparc32/dl-machine.h
2198         (elf_machine_fixup_plt): During rtld bootstrap, always perform
2199         flushes as the kernel will emulate it when the underlying cpu does
2200         not implement flush.
2202         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
2203         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
2205         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
2206         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
2207         trampoline code.
2209         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
2210         (__clone): Branch to label .Lerror not __clone_syscall_error.
2211         (.Lerror): Fixup EINVAL setting.
2212         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
2213         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
2214         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
2215         (__syscall_getgroups, __syscall_setgroups): Add.
2217         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2218         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
2219         around sa_mask data.
2221 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
2223         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
2225         * string/Makefile: Make sure test-ffs does not use builtins.
2227 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2229         * sunrpc/svc.c: Check for NULL pointer.
2231         * nis/libnsl.map: Add public NIS+ xdr functions.
2233         * nis/rpcsvc/nis_callback.h: New file.
2234         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
2235         * nis/nis_xdr.h: ... here.
2237         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
2238         pointers, use NIS+ defines where possible.
2239         * nis/nis_cache.c: Likewise.
2240         * nis/nis_cache2_xdr.c: Likewise.
2241         * nis/nis_call.c: Likewise.
2242         * nis/nis_checkpoint.c: Likewise.
2243         * nis/nis_clone_dir.c: Likewise.
2244         * nis/nis_clone_obj.c: Likewise.
2245         * nis/nis_clone_res.c: Likewise.
2246         * nis/nis_creategroup.c: Likewise.
2247         * nis/nis_file.c: Likewise.
2248         * nis/nis_free.c: Likewise.
2249         * nis/nis_getservlist.c: Likewise.
2250         * nis/nis_local_names.c: likewise.
2251         * nis/nis_lookup.c: Likewise.
2252         * nis/nis_mkdir.c: Likewise.
2253         * nis/nis_modify.c: Likewise.
2254         * nis/nis_ping.c: Likewise.
2255         * nis/nis_print.c: Likewise.
2256         * nis/nis_remove.c: Likewise.
2257         * nis/nis_removemember.c: Likewise.
2258         * nis/nis_rmdir.c: Likewise.
2259         * nis/nis_server.c: Likewise.
2260         * nis/nis_table.c: Likewise.
2261         * nis/nis_util.c: Likewise.
2262         * nis/nis_verifygroup.c: Likewise.
2263         * nis/nis_xdr.c: Likewise.
2264         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
2265         * nis/nis_xdr.c: ... to here.
2267 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
2269         * iconvdata/ksc5601.h: Clean up a bit.
2271 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
2273         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
2274         and process incoming data.
2275         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
2276         fragments as invalid.
2277         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
2279 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2281         Removal of duplicates like "the the".
2282         * manual/time.texi (TZ Variable): Likewise.
2283         * manual/users.texi (Manipulating the Database): Likewise.
2284         * manual/sysinfo.texi (Filesystem handling): Likewise.
2285         * manual/signal.texi (Signaling Yourself): Likewise.
2286         * manual/message.texi (Message Translation): Likewise.
2287         (Common Usage): Likewise.
2288         * manual/llio.texi: Likewise.
2289         * manual/arith.texi (Old-style number conversion): Likewise.
2290         * manual/argp.texi (Argp): Likewise.
2291         (Argp Parsers): Likewise.
2292         (Argp Help Filtering): Likewise.
2294         * hesiod/README.hesiod: Correct typo.
2296         * manual/llio.texi: Correct typos.
2297         * manual/sysinfo.texi: Likewise.
2299 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2301         * rt/aio.h: Rename __op to __operation for g++.
2303 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2305         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
2306         script.
2307         * iconvdata/gen-8bit-gap-1.sh: Likewise.
2308         * iconvdata/gen-8bit.sh: Clean up sed script.
2310         * iconvdata/Makefile: Remove all PERL conditionals; build all
2311         the modules all the time.  Export AWK.
2312         (gen-8bit-gap): Delete setting of PERL.
2313         (gen-8bit-gap-1): Likewise.
2314         (perl-generated-headers): Renamed awk-generated-headers.
2316         * iconvdata/gap.pl: Removed.
2317         * iconvdata/gaptab.pl: Removed.
2318         * iconvdata/gap.awk: New file.
2319         * iconvdata/gaptab.awk: New file.
2321 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
2323         * sysdeps/generic/Dist: Add errno-loc.c.
2325         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
2326         __new_* functions.
2328 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2330         * stdio-common/bug12.c: New test for fread()/fseek().
2331         * stdio-common/Makefile (tests): Add bug12.
2333 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2335         * sysdeps/generic/elf/backtracesyms.c: Make array elements
2336         constant.
2337         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
2338         * debug/execinfo.h: Update declaration.
2340 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2342         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
2343         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
2344         * debug/execinfo.h: Update declaration.
2346 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2348         * manual/llio.texi: Fix spelling.
2349         * manual/sysinfo.texi: Fix spelling.
2351 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2353         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
2354         alias for old name.  Put this on __libc_subfreeres.
2355         * misc/search.h: Declare it.
2357 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2359         * string/bits/string2.h (strcmp): Add missing parens around macro
2360         parameters.
2362 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
2364         * manual/arith.texi: Fix problem with @math and texinfo.tex.
2366         * manual/filesys.texi: Document LFS functions.
2367         * manual/llio.texi: Likewise.
2368         * manual/stdio.texi: Likewise.
2369         * manual/time.texi: Likewise.
2371         * manual/llio.texi: Document AIO functions.
2373         * resource/sys/resource.h: Mark second argument of setrlimit as const.
2374         * sysdeps/generic/setrlimit.c: Likewise.
2375         * sysdeps/generic/setrlimit64.c: Likewise.
2376         * sysdeps/mach/hurd/setrlimit.c: Likewise.
2377         * sysdeps/unix/sysv/setrlimit.c: Likewise.
2379 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2381         * sysdeps/generic/getenv.c: Fix last change.
2383 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2385         * sysdeps/generic/backtrace.c: Provide generic implementation.
2387 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2389         * configure.in: Give visual feedback of the default directories we
2390         added.
2392 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2394         * io/fts.c (fts_build): Define oflag only if needed.
2396 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2398         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
2400 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
2402         * libc.map: Don't export argp's fmtstream handling functions.
2404         * manual/sysinfo.texi: Document fstab and mtab handling functions.
2405         * manual/llio.texi: Document more LFS functions and start documenting
2406         the AIO functions.
2408 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
2410         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
2411         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2412         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2413         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2415 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
2417         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
2418         makes it easier to undump emacs.
2419         * sysdeps/powerpc/bits/endian.h: Use more informative error message
2420         for when the endianness can't be determined.
2422 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
2424         * nss/Makefile: Add files publickey database support.
2425         * nss/libnss_files.map: Export the required functions.
2426         * nss/nss_files/files-key.c: Implement it.
2427         * sunrpc/rpc/auth_des.h: Correct typos in comments.
2429 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
2431         * iconv/gconv_builtin.h: Add aliases for CORBA.
2432         * iconvdata/gconv-modules: Likewise.
2434 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2436         * math/libm-test.c (main): Call exp10_test.
2437         (exp10_test): New function which tests exp10.
2439 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
2441         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
2442         sigstack.
2444         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
2445         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
2446         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
2448 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2450         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
2451         in the variable, not its GOT slot.
2453 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2455         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
2456         inline.
2457         * sysdeps/m68k/fpu/e_exp10.c: New file.
2458         * sysdeps/m68k/fpu/e_exp10f.c: New file.
2459         * sysdeps/m68k/fpu/e_exp10l.c: New file.
2461         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
2462         _dl_profile_map only if the name matches.
2463         (_dl_start_user): Remember stack address.
2464         * sysdeps/m68k/elf/start.S: Pass new argument to
2465         __libc_start_user.
2467         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
2468         definition.
2469         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
2470         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2471         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2472         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2473         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2475 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
2477         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
2478         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
2479         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
2480         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
2481         prototypes.
2482         * sysdeps/libm-i387/e_exp10.S: New file.
2483         * sysdeps/libm-i387/e_exp10f.S: New file.
2484         * sysdeps/libm-i387/e_exp10l.S: New file.
2485         * sysdeps/libm-ieee754/e_exp10.c: New file.
2486         * sysdeps/libm-ieee754/e_exp10f.c: New file.
2487         * sysdeps/libm-ieee754/e_exp10l.c: New file.
2488         * sysdeps/libm-ieee754/w_exp10.c: New file.
2489         * sysdeps/libm-ieee754/w_exp10f.c: New file.
2490         * sysdeps/libm-ieee754/w_exp10l.c: New file.
2491         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
2493 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
2495         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
2496         sys/elf.h and sys/reg.h.
2497         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
2498         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
2499         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
2500         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
2502         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
2503         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
2505 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
2507         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
2508         __data member only for gcc.  Reported by ak@muc.de.
2510         * misc/mntent.h: Undo last patch.
2511         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
2512         * misc/tst/mntent.c: Adjust code for this change.
2514         * io/fts.c: Updated from a slightly more recent BSD version.
2515         * io/fts.h: Likewise.
2517         * libc.map: Add __libc_stack_end.
2519         * db2/Makefile (routines): Add lock_region.
2520         * db2/config.h: Update from db-2.4.14.
2521         * db2/db.h: Likewise.
2522         * db2/db_185.h: Likewise.
2523         * db2/db_int.h: Likewise.
2524         * db2/btree/bt_close.c: Likewise.
2525         * db2/btree/bt_compare.c: Likewise.
2526         * db2/btree/bt_conv.c: Likewise.
2527         * db2/btree/bt_cursor.c: Likewise.
2528         * db2/btree/bt_delete.c: Likewise.
2529         * db2/btree/bt_open.c: Likewise.
2530         * db2/btree/bt_page.c: Likewise.
2531         * db2/btree/bt_put.c: Likewise.
2532         * db2/btree/bt_rec.c: Likewise.
2533         * db2/btree/bt_recno.c: Likewise.
2534         * db2/btree/bt_rsearch.c: Likewise.
2535         * db2/btree/bt_search.c: Likewise.
2536         * db2/btree/bt_split.c: Likewise.
2537         * db2/btree/bt_stat.c: Likewise.
2538         * db2/btree/btree.src: Likewise.
2539         * db2/btree/btree_auto.c: Likewise.
2540         * db2/clib/getlong.c: Likewise.
2541         * db2/common/db_appinit.c: Likewise.
2542         * db2/common/db_apprec.c: Likewise.
2543         * db2/common/db_byteorder.c: Likewise.
2544         * db2/common/db_err.c: Likewise.
2545         * db2/common/db_log2.c: Likewise.
2546         * db2/common/db_region.c: Likewise.
2547         * db2/common/db_salloc.c: Likewise.
2548         * db2/common/db_shash.c: Likewise.
2549         * db2/db/db.c: Likewise.
2550         * db2/db/db.src: Likewise.
2551         * db2/db/db_auto.c: Likewise.
2552         * db2/db/db_conv.c: Likewise.
2553         * db2/db/db_dispatch.c: Likewise.
2554         * db2/db/db_dup.c: Likewise.
2555         * db2/db/db_overflow.c: Likewise.
2556         * db2/db/db_pr.c: Likewise.
2557         * db2/db/db_rec.c: Likewise.
2558         * db2/db/db_ret.c: Likewise.
2559         * db2/db/db_thread.c: Likewise.
2560         * db2/db185/db185.c: Likewise.
2561         * db2/db185/db185_int.h: Likewise.
2562         * db2/dbm/dbm.c: Likewise.
2563         * db2/hash/hash.c: Likewise.
2564         * db2/hash/hash.src: Likewise.
2565         * db2/hash/hash_auto.c: Likewise.
2566         * db2/hash/hash_conv.c: Likewise.
2567         * db2/hash/hash_debug.c: Likewise.
2568         * db2/hash/hash_dup.c: Likewise.
2569         * db2/hash/hash_func.c: Likewise.
2570         * db2/hash/hash_page.c: Likewise.
2571         * db2/hash/hash_rec.c: Likewise.
2572         * db2/hash/hash_stat.c: Likewise.
2573         * db2/include/btree.h: Likewise.
2574         * db2/include/btree_ext.h: Likewise.
2575         * db2/include/clib_ext.h: Likewise.
2576         * db2/include/common_ext.h: Likewise.
2577         * db2/include/cxx_int.h: Likewise.
2578         * db2/include/db.h.src: Likewise.
2579         * db2/include/db_185.h.src: Likewise.
2580         * db2/include/db_am.h: Likewise.
2581         * db2/include/db_auto.h: Likewise.
2582         * db2/include/db_cxx.h: Likewise.
2583         * db2/include/db_dispatch.h: Likewise.
2584         * db2/include/db_ext.h: Likewise.
2585         * db2/include/db_int.h.src: Likewise.
2586         * db2/include/db_page.h: Likewise.
2587         * db2/include/db_shash.h: Likewise.
2588         * db2/include/db_swap.h: Likewise.
2589         * db2/include/hash.h: Likewise.
2590         * db2/include/hash_ext.h: Likewise.
2591         * db2/include/lock.h: Likewise.
2592         * db2/include/lock_ext.h: Likewise.
2593         * db2/include/log.h: Likewise.
2594         * db2/include/log_ext.h: Likewise.
2595         * db2/include/mp.h: Likewise.
2596         * db2/include/mp_ext.h: Likewise.
2597         * db2/include/mutex_ext.h: Likewise.
2598         * db2/include/os_ext.h: Likewise.
2599         * db2/include/os_func.h: Likewise.
2600         * db2/include/queue.h: Likewise.
2601         * db2/include/shqueue.h: Likewise.
2602         * db2/include/txn.h: Likewise.
2603         * db2/lock/lock.c: Likewise.
2604         * db2/lock/lock_conflict.c: Likewise.
2605         * db2/lock/lock_deadlock.c: Likewise.
2606         * db2/lock/lock_region.c: Likewise.
2607         * db2/lock/lock_util.c: Likewise.
2608         * db2/log/log.c: Likewise.
2609         * db2/log/log.src: Likewise.
2610         * db2/log/log_archive.c: Likewise.
2611         * db2/log/log_auto.c: Likewise.
2612         * db2/log/log_compare.c: Likewise.
2613         * db2/log/log_findckp.c: Likewise.
2614         * db2/log/log_get.c: Likewise.
2615         * db2/log/log_put.c: Likewise.
2616         * db2/log/log_rec.c: Likewise.
2617         * db2/log/log_register.c: Likewise.
2618         * db2/mp/mp_bh.c: Likewise.
2619         * db2/mp/mp_fget.c: Likewise.
2620         * db2/mp/mp_fopen.c: Likewise.
2621         * db2/mp/mp_fput.c: Likewise.
2622         * db2/mp/mp_fset.c: Likewise.
2623         * db2/mp/mp_open.c: Likewise.
2624         * db2/mp/mp_pr.c: Likewise.
2625         * db2/mp/mp_region.c: Likewise.
2626         * db2/mp/mp_sync.c: Likewise.
2627         * db2/mutex/68020.gcc: Likewise.
2628         * db2/mutex/mutex.c: Likewise.
2629         * db2/mutex/parisc.gcc: Likewise.
2630         * db2/mutex/parisc.hp: Likewise.
2631         * db2/mutex/sco.cc: Likewise.
2632         * db2/os/os_abs.c: Likewise.
2633         * db2/os/os_alloc.c: Likewise.
2634         * db2/os/os_config.c: Likewise.
2635         * db2/os/os_dir.c: Likewise.
2636         * db2/os/os_fid.c: Likewise.
2637         * db2/os/os_fsync.c: Likewise.
2638         * db2/os/os_map.c: Likewise.
2639         * db2/os/os_oflags.c: Likewise.
2640         * db2/os/os_open.c: Likewise.
2641         * db2/os/os_rpath.c: Likewise.
2642         * db2/os/os_rw.c: Likewise.
2643         * db2/os/os_seek.c: Likewise.
2644         * db2/os/os_sleep.c: Likewise.
2645         * db2/os/os_spin.c: Likewise.
2646         * db2/os/os_stat.c: Likewise.
2647         * db2/os/os_unlink.c: Likewise.
2648         * db2/progs/db_archive/db_archive.c: Likewise.
2649         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2650         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2651         * db2/progs/db_dump/db_dump.c: Likewise.
2652         * db2/progs/db_dump185/db_dump185.c: Likewise.
2653         * db2/progs/db_load/db_load.c: Likewise.
2654         * db2/progs/db_printlog/db_printlog.c: Likewise.
2655         * db2/progs/db_recover/db_recover.c: Likewise.
2656         * db2/progs/db_stat/db_stat.c: Likewise.
2657         * db2/txn/txn.c: Likewise.
2658         * db2/txn/txn.src: Likewise.
2659         * db2/txn/txn_auto.c: Likewise.
2660         * db2/txn/txn_rec.c: Likewise.
2662         * elf/rtld.c: Move definition of __libc_stack_end to ...
2663         * sysdeps/generic/dl-sysdep.h: ...here.
2665         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
2666         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
2667         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
2669         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
2670         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
2671         before following it.
2673 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
2675         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
2676         from mntent correctly.
2678 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2680         * sunrpc/Makefile (generated): Correct typo.
2682 1998-06-04  Philip Blundell  <philb@gnu.org>
2684         * elf/elf.h (EM_ARM, et al.): New definitions.
2685         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
2687 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
2689         * localedata/SUPPORTED: Add sk_SK.
2690         * localedata/locales/sk_SK: New file.
2692 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
2694         * Makeconfig (subdirs): Add debug.
2695         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
2696         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
2697         backtrace_symbols.
2698         * sysdeps/generic/backtrace.c: New file.
2699         * sysdeps/generic/backtracesyms.c: New file.
2700         * sysdeps/generic/elf/backtracesyms.c: New file.
2701         * sysdeps/i386/backtrace.c: New file.
2702         * debug/Makefile: New file.
2703         * debug/backtrace-tst.c: New file.
2704         * debug/execinfo.h: New file.
2706 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
2708         * elf/sprof.c: Implement call graph profiling.
2710         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
2712 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2714         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
2715         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
2716         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2717         Noticed by Jake Garver <garver@valkyrie.net>.
2719 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2721         * libio/genops.c (__underflow): Read character from read pointer
2722         as unsigned.
2723         (__uflow): Likewise.
2725 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
2727         * libc.map: Add _dl_profile.
2728         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
2729         this to ELF_DYNAMIC_RELOCATE.
2730         Always allocate array for relocation result if LD_PROFILE is defined.
2731         * elf/ldsodefs.h: Adjust prototypes.
2732         * elf/dl-open.c (_dl_open): Call relocation function with extra
2733         argument.
2734         * elf/rtld.c: Likewise.
2735         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
2736         Correct loop condition.
2737         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
2738         consider_profile to runtime setup function.
2739         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
2740         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
2742         * elf/dl-support.c: Define __libc_stack_end.
2743         * elf/rtld.c: Likewise.
2744         * sysdeps/generic/libc-start.c: Store last stack address in
2745         __libc_stack_end.
2746         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
2747         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
2749         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
2750         Include <stdint.h>, not <inttypes.h>.
2752         * elf/sprof.c: Implement flat profiling.
2754         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
2755         _IO_funlockfile explicitly.
2756         * libio/fileops.c: Likewise.
2757         * libio/fputc.c: Likewise.
2758         * libio/freopen.c: Likewise.
2759         * libio/freopen64.c: Likewise.
2760         * libio/fseek.c: Likewise.
2761         * libio/fseeko.c: Likewise.
2762         * libio/fseeko64.c: Likewise.
2763         * libio/ftello.c: Likewise.
2764         * libio/ftello64.c: Likewise.
2765         * libio/getc.c: Likewise.
2766         * libio/getchar.c: Likewise.
2767         * libio/iofclose.c: Likewise.
2768         * libio/iofflush.c: Likewise.
2769         * libio/iofgetpos.c: Likewise.
2770         * libio/iofgetpos64.c: Likewise.
2771         * libio/iofgets.c: Likewise.
2772         * libio/iofputs.c: Likewise.
2773         * libio/iofread.c: Likewise.
2774         * libio/iofsetpos.c: Likewise.
2775         * libio/iofsetpos64.c: Likewise.
2776         * libio/ioftell.c: Likewise.
2777         * libio/iofwrite.c: Likewise.
2778         * libio/iogetdelim.c: Likewise.
2779         * libio/iogets.c: Likewise.
2780         * libio/ioputs.c: Likewise.
2781         * libio/ioseekoff.c: Likewise.
2782         * libio/ioseekpos.c: Likewise.
2783         * libio/iosetbuffer.c: Likewise.
2784         * libio/iosetvbuf.c: Likewise.
2785         * libio/ioungetc.c: Likewise.
2786         * libio/iovsprintf.c: Likewise.
2787         * libio/iovsscanf.c: Likewise.
2788         * libio/oldfileops.c: Likewise.
2789         * libio/oldiofclose.c: Likewise.
2790         * libio/peekc.c: Likewise.
2791         * libio/putc.c: Likewise.
2792         * libio/putchar.c: Likewise.
2793         * libio/rewind.c: Likewise.
2795         * malloc/mtrace.c: Pretty print.
2797         * misc/mntent.h (struct mentent): Make string elements const char *.
2799         * nis/nis_printf.c: Optimize I/O a little bit.
2801         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
2802         * sysdeps/generic/sigset-cvt-mask.h: New file.
2803         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
2804         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
2805         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
2806         sigset-cvt-mask.h to do the dirty work.
2807         Patches by Joe Keane.
2809         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
2811         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
2812         syscall_error label in case of PIC anonymous.
2813         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
2814         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
2815         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
2816         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
2817         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
2818         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
2819         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
2821 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
2823         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
2824         we cannot declare the struct element as const.
2825         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
2826         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
2828 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2830         * manual/Makefile: Include ../Makeconfig earlier.
2831         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
2832         exist.
2833         (dir-add.texinfo): Remove useless $(SHELL).
2835 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2837         * Makefile (others): Build programs from install-bin.
2838         * configure.in: Modify config.make only if is was just created and
2839         move that command to second argument of AC_OUTPUT.  Add command to
2840         set config_vars in config.status.
2842 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2844         * malloc/Makefile (address-width): Fix conditional.
2846 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2848         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
2849         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
2850         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
2851         version GLIBC_2.1.
2853 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2855         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
2856         (Floating Point Parameters): Likewise.
2858 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2860         * hurd/Makefile (routines): Add cthreads.
2862 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2864         * login/login.c (login): Let pututline take care of finding the
2865         positin to insert the UTMP entry.  This corrects a bug where ssh
2866         was not reusing UTMP entries marked as DEAD_PROCESS.
2867         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2869 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2871         * login/Makefile (tests): New variable, add tst-utmp and
2872         tst-utmpx.
2873         * login/tst-utmp.c: New file.
2874         * login/tst-utmpx.c: New file.
2876 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2878         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
2879         aliases for _hurd_nerr, for programs that don't use sys_errlist,
2880         but need sys_err.
2882 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2884         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
2885         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
2887 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2889         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
2890         make __read a weak alias.  Use ANSI-style function definition.
2891         * sysdeps/mach/hurd/write.c: Likewise.
2893 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2895         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
2896         _sys_errlist.
2898 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
2900         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
2901         Renamed from librtld.so.
2903 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2905         * libc.map: Remove _IO_getline_info which was erroneously
2906         introduced in section GLIBC_2.0.
2907         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2909 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2911         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
2912         created a weak alias.
2913         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2915 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
2917         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
2918         ftruncate function, and create a weak alias to ftruncate.
2920 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2922         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
2923         * inet/getnetgrent_r.c: Likewise.
2924         * nss/getXXbyYY_r.c: Likewise.
2925         * nss/getXXent_r.c: Likewise.
2926         * pwd/fgetpwent_r.c: Likewise.
2927         * shadow/sgetspent_r.c: Likewise.
2928         * shadow/fgetspent_r.c: Likewise.
2929         * sunrpc/publickey.c: Likewise.
2931 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2933         * hurd/libhurduser.map: New file.
2934         * mach/libmachuser.map: Likewise.
2936         * libc.map: Add Hurd-specific functions to version 2.1.
2937         Add __flshfp and __fillbf.
2939 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2941         * manual/signal.texi (Basic Signal Handling): Fix typo.
2942         * manual/errno.texi (Error Codes): Likewise.
2944 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
2946         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
2947         instead of <sys/socket.h>.
2948         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
2950         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
2951         Finally make it working.
2952         Patch by Mark Hatle <fray@kernel.crashing.org>.
2954 1998-03-22  Paul Eggert  <eggert@twinsun.com>
2956         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
2957         a Solaris 2.6 bug.
2959 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
2961         * stdlib/gmp-impl.h: Support strange mixed-endian double format
2962         used by ARM systems.
2963         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
2964         FE_EXCEPT_SHIFT.
2965         * sysdeps/arm/bits/fenv.h: Deleted.
2966         * sysdeps/arm/fpu/ieee754.h: New file.
2967         * sysdeps/arm/gmp-mparam.h: New file.
2968         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
2969         implementation.
2971 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
2973         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
2975         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
2976         of ((unused)).  Reported by Bruno Haible.
2978 1998-05-31  Philip Blundell  <philb@gnu.org>
2980         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
2981         referring to errno and _errno.
2983         * sysdeps/arm/fpu/feholdexcpt.c: New file.
2985         * sysdeps/i386/fpu_control.h: Fix typo.
2987         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
2988         (_JMPBUF_UNWINDS): Added.
2989         * sysdeps/arm/fpu/bits/setjmp.h: New file.
2991 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
2993         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
2994         order to build header files, not `generated'.
2996         * Rules (before-compile): New target which depends on all
2997         $(before-compile) files.
2999 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3001         * nis/nis_call.c: Make directory search faster.
3003         * nis/nis_callback.c: Insert public key of user in callback data.
3005         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
3007         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
3009         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
3011         * nis/nis_intern.h: Remove duplicated prototype.
3013 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3015         * sunrpc/auth_des.c: Move prototypes from here ...
3016         * sunrpc/rpc/auth.h: ... to here.
3018         * sunrpc/clnt_tcp.c: Add more control flags.
3019         * sunrpc/clnt_udp.c: Likewise.
3021         * sunrpc/netname.c (host2netname): Remove prefixing dot from
3022         domainname.
3024         * sunrpc/rpc/clnt.h: Document, which control flags are not
3025         implementable.
3027         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
3029 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
3031         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
3032         files crash the program.
3034         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
3035         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
3036         Reported by Deborah Wallach <kerr@pa.dec.com>.
3038 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3040         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
3041         on whether this is a stable release or not (keeps snapshot bug
3042         reports out of the database).
3044         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
3045         * sysdeps/arm/sysdep.h: Likewise.
3046         * sysdeps/i386/sysdep.h: Likewise.
3047         * sysdeps/m68k/sysdep.h: Likewise.
3048         * sysdeps/mach/mips/sysdep.h: Likewise.
3049         * sysdeps/mach/sys/reboot.h: Likewise.
3050         * sysdeps/mach/sysdep.h: Likewise.
3051         * sysdeps/unix/alpha/sysdep.h: Likewise.
3052         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
3053         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
3054         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
3055         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
3056         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
3057         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
3058         * sysdeps/unix/i386/sysdep.h: Likewise.
3059         * sysdeps/unix/mips/sysdep.h: Likewise.
3060         * sysdeps/unix/sparc/sysdep.h: Likewise.
3061         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
3062         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3063         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3064         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3065         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
3066         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3067         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3068         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
3070 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
3072         * mach/Machrules: Use $(move-if-change).
3074 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
3076         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
3077         * Makerules (lib%.so): Depend on $(+interp).
3078         (libc.so): Add interp.os to list of dependencies.
3079         (interp-obj): Remove variable.
3080         * mach/Machrules (+interp): Define to empty since libhurduser and
3081         libmachuser don't need to have the interpreter set.
3083 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3085         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
3087         * resolv/gethnamaddr.c: Likewise.
3089         * resolv/res_comp.c: Likewise.
3091 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
3093         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
3094         so that transparent union works.
3096 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
3098         * manual/texinfo.tex: Update to last available version.
3100         * timezone/africa: Update from tzdata1998e.
3101         * timezone/antarctica: Likewise.
3102         * timezone/asia: Likewise.
3103         * timezone/australasia: Likewise.
3104         * timezone/europe: Likewise.
3105         * timezone/iso3166.tab: Likewise.
3106         * timezone/northamerica: Likewise.
3107         * timezone/tzselect.ksh: Likewise.
3108         * timezone/zone.tab: Likewise.
3110 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
3112         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
3113         Reported by Matt McLean <keys@brio.yikes.com>.
3115 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3117         * catgets/Makefile ($(objpfx)de.cat): Renamed from
3118         do-gencat-test.  Use automatic variables.
3119         ($(objpfx)de.msg): Fix reference to po file.
3121 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3123         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
3124         $(move-if-change).
3126 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3128         * intl/dcgettext.c: Fix typo.
3130 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3132         * configure.in: Allow more make versions e.g 3.76.90.
3134 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
3136         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
3138         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
3139         for Hurd.  Patch by Mark Kettenis.
3141 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
3143          * mach/Machrules (+preinit, +postinit): Define these variables to
3144          empty because libhurduser and libmachuser don't need startup
3145          files.
3147 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3149          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
3150          instead of a raw bitmask.
3152 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3154         * Makeconfig (rpath-dirs): New variable.
3155         (rpath-link): Use it.
3156         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
3157         (db-objpfx): Removed.
3158         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
3159         * md5-crypt/Makefile: Likewise.
3160         * sysdeps/mach/hurd/Makefile: Likewise.
3162         * Makeconfig (move-if-change): New variable.
3163         * iconvdata/Makefile (move-if-change): Removed.
3164         * manual/Makefile (move-if-change): Set only if undefined, use
3165         local script by default.
3166         * sunrpc/Makefile (move-if-change): Removed.
3167         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3168         $(move-if-change).
3170          * elf/Makefile: Remove all references to obsolete file
3171          $(objpfx)rtldtbl.h.
3172          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
3174 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3176         * elf/dl-close.c (_dl_close): Add debugging message.
3178 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3180         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
3181         to get Linux version and not gcc version.
3182         Reported by Alan Curry <pacman@cqc.com>.
3184 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3186         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
3187         pointers - return unknown error message instead.
3188         Reported by Alan Curry <pacman@cqc.com>.
3190 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
3192         * iconvdata/Makefile (modules, sed-generated-headers,
3193         perl-generated-headers): ibm424.h is perl generated.  Make
3194         necessary modifications to compile without perl.
3196 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
3198         * hesiod/hesiod.c (read_config_file): Fix typo.
3200 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
3202         * version.h: Bump VERSION.
3204         * csu/Makefile (distribute): Add munch-tmpl.c.
3206 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3208         * nis/nis_defaults.c: Fix buffer problems and typos.
3210 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
3212         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
3213         Patch by Fred Fish.
3215 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
3217         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
3218         overwriting bugs.
3220         * libio/strops.c (_IO_str_underflow): Read newly available
3221         character from buffer as unsigned.
3223 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
3225         * catgets/Makefile (distribute): Add xopen-msg.h.
3226         (generated): Add de.msg and de.cat.
3227         (tests): Add do-gencat-test.
3228         (do-gencat-test): New goal.  Run gencat on a generated msg file.
3229         * catgets/xopen-msg.h: New file.
3231 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
3233         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
3234         functions.  Optimize filename creation a bit.
3236 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
3238         * stdlib/random_r.c: Help gcc to optimize the code.
3239         Patch by Joe Keane <jgk@jgk.org>.
3241 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
3243         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
3244         tsearch calls.
3246 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3248         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
3249         it.
3251 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
3253         * wcsmbs/wcsnrtombs.c: Correct computation of result.
3254         * wcsmbs/wcsrtombs.c: Likewise.
3256         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
3257         * wcsmbs/wcsmbs-tst1.c: New file.
3259         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
3261         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
3262         as 1.
3264         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
3265         weak.
3267 1998-05-21  Philip Blundell  <philb@gnu.org>
3269         * sysdeps/arm/fpu_control.h: Replace stub file with real
3270         implementation.
3271         * sysdeps/arm/fpu/bits/fenv.h: New file.
3272         * sysdeps/arm/fpu/fesetround.c: Likewise.
3273         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
3274         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
3275         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
3276         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
3277         * sysdeps/arm/fpu/fegetenv.c: Likewise.
3278         * sysdeps/arm/fpu/fesetenv.c: Likewise.
3280 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
3282         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
3283         read instead of mmap.
3285 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
3287         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
3288         directly instead of include_next.  Add missing semicolons.
3289         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
3290         Add missing semicolons.
3292 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
3294         * iconvdata/gconv-modules: Add more aliases to please java
3295         environments.
3297 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
3299         * stdio-common/vfprintf.c (process_arg): Fix typo.
3301         * iconvdata/TESTS: New tests for EUC-KR.
3303         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
3304         * iconvdata/testdata/EUC-KR: New file.
3306 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
3308         * math/libm-test.c (hypot_test): Fix a typo.
3310 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
3312         * stdio-common/vfprintf.c: When precision is specified for %ls or
3313         %S handle it correctly.
3315 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3317         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
3318         the" in one line - fixed it.
3319         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
3320         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
3321         * posix/unistd.h: Likewise
3323 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3325         * Makeconfig (rpath-link): Add resolvobjdir.
3326         (resolvobjdir): New variable.
3327         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
3329 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
3331         * elf/dl-close.c: Call shared object terminators at the right time.
3332         Patch by Philippe Troin <phil@fifi.org>.
3334 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3336         * Make-dist (+tsrcs): Also add *.map for every member of
3337         $(extra-libs).
3339         * Makefile (distribute): Don't distribute scripts/printsources and
3340         scripts/=__ify.  Distribute FAQ.in.
3341         (rpm/%): Don't pass subdirs to sub-make.
3343         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
3344         instead of $(no_deps).
3346 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3348         * sysdeps/generic/setenv.c: Protect against GNU C extension.
3349         (KNOWN_VALUE, STORE_VALUE): Do it right.
3350         (setenv): Remove unused variable.
3352 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3354         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
3355         (CFLAGS-zdump.c): Add $(tz-cflags).
3357         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
3358         return type.
3360 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3362         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
3363         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
3364         if use_localtime.
3365         * time/tzset.c: Update prototype of __tzfile_compute.
3366         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
3367         tm_zone and tm_offset here if __use_tzfile.
3369 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3371         * Makerules: Install libc.a even if there are no object file.
3373 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3375         * Makerules (do-makelib): Don't force creating library from
3376         scratch, which is faster and gets correct behaviour if $(subdirs)
3377         is incomplete.
3379 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3381         * Makerules (do-stamp): Make it work when building in source
3382         directory.
3384 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
3386         * elf/dl-load.c: Rename option and variable from ignore-rpath to
3387         inhibit-rpath.
3388         * elf/dl-support.c: Likewise.
3389         * elf/ldsodefs.h: Likewise.
3390         * elf/rtld.c: Likewise.
3391         * iconvdata/run-iconv-test.sh: Likewise.
3393 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
3395         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
3396         variable using the value.
3397         * elf/ldsodefs.h: Declare _dl_ignore_path.
3398         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
3399         object against list in _dl_ignore_path and ignore RPATH if on the list.
3400         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
3401         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
3402         to make sure we get the correct helper libraries loaded.
3404         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
3405         "RPATH" string in call to fillin_rpath instead.
3406         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
3408 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
3410         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
3411         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
3413 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3415         * manual/terminal.texi (I/O Queues): Fix typo.
3417         * manual/stdio.texi (Closing Streams): Fix grammar.
3419         * manual/arith.texi (Absolute Value): Correct typo.
3420         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
3422 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
3424         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
3425         LD_PROFILE_OUTPUT in SUID binaries.
3426         * intl/dcgettext.c: In SUID binaries don't let language part of
3427         locale value contain path elements.
3428         * intl/explodename.h: Define new function _nl_find_language.
3429         * intl/loadinfo.h: Declare _nl_find_language.
3430         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
3431         language part it drop the value is path element is contained.
3433         * locale/setlocale.c: Fix typo.
3435 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
3437         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
3439         * sysdeps/arm/strlen.S: Support both big and little endian processors.
3441         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
3442         log, not a byte-count.
3444         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
3445         a.out compatibility.
3447 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3449         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
3450         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
3451         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
3452         * posix/unistd.h: Likewise.
3453         * math/math.h: Likewise.
3454         * manual/users.texi (Manipulating the Database): Likewise.
3455         * manual/signal.texi (Job Control Signals): Likewise.
3456         * manual/message.texi (The gencat program): Likewise.
3457         * manual/filesys.texi (Hard Links): Likewise.
3458         * manual/math.texi (SVID Random): Likewise.
3459         * manual/llio.texi (Waiting for I/O): Likewise.
3460         * manual/io.texi (File Name Errors): Likewise.
3461         * manual/conf.texi (String Parameters): Likewise.
3462         * manual/arith.texi (Infinity): Likewise.
3463         * malloc/malloc.c: Likewise.
3464         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3465         * csu/Makefile: Likewise.
3467 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
3469         * manual/memory.texi: Add back accidently removed line.
3471 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
3473         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
3474         (timeout_handler): New function.
3475         (LOCK_FILE, UNLOCK_FILE): New macros.
3476         Implement file locking with timeout.
3477         (getutent_r_file, internal_getut_r, getutline_r_file,
3478         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
3479         locking.
3481 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
3483         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
3484         directory.
3486 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3488         * rpm/Makefile: Delete inclusion of version.mk.
3490 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3492         * libc.map: Add all libio functions needed libstdc++ with version
3493         2.0, sort entries.
3495 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3497         * iconvdata/Makefile (generated): Add *.stmp files.
3499 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3501         * timezone/Makefile (testdata, build-testdata): New variables, use
3502         them in rules for test data.
3503         ($(objpfx)tst-timezone.out): Depend on test data.
3504         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
3505         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
3506         New rules to build test data.
3507         (tst-timezone-ENV): Pass TZDIR to point to test data.
3509 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
3511         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
3512         (the designation sequence is disturbing).
3514 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3516         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
3517         * sunrpc/xdr_rec.c: Likewise.
3519 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3521         * posix/Makefile (tests): Add runptests.
3522         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
3523         (before-compile): Add ptestcases.h.
3524         (ptestscases.h): Add rule to generate from PTESTS.
3525         * posix/runptests.c: New file.
3526         * posix/PTESTS: New file.
3527         * posix/PTESTS2C.sed: New file.
3529 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3531         * iconv/loop.c: Let user add code to use and set paramaters.
3533         * iconvdata/iso-2022-kr.c: Correct to-loop.
3535         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
3536         point to output buffer.
3538         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
3539         hanja.
3541         * iconvdata/TESTS: Add ISO-2022-KR test.
3542         * iconvdata/testdata/ISO-2022-KR: New file.
3544 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
3546         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
3547         and internal_use.
3548         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
3549         and internal_use.
3550         * wcsmbs/btowc.c: Likewise.
3551         * wcsmbs/mbrtowcs.c: Likewise.
3552         * wcsmbs/mbsnrtowcs.c: Likewise.
3553         * wcsmbs/mbsrtowcs.c: Likewise.
3554         * wcsmbs/wcrtomb.c: Likewise.
3555         * wcsmbs/wcsnrtombs.c: Likewise.
3556         * wcsmbs/wcsrtombs.c: Likewise.
3557         * wcsmbs/wctob.c: Likewise.
3558         * iconv/skeleton.c: Increment invocation_counter.
3559         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
3560         sequence first.
3562         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
3563         * iconvdata/iso-2022-jp.c: Likewise.
3564         * iconvdata/iso646.c: Likewise.
3566         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
3568 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3570         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
3572         * sysdeps/generic/setenv.c (setenv): Remove optimization for
3573         overwriting existing values if it fits.
3575 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
3577         * posix/wordexp-test.c: Avoid duplicate messages.
3579         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
3580         tsearch.  Correctly interpret values returned by those functions.
3581         (unsetenv): Store pointer to string, not pointer to string pointer.
3583         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
3584         DST information and offset in them.
3585         * time/tzset.c (__tz_convert): Pass extra parameters to
3586         __tzfile_compute.  Compute equivalent values for use of tz_rules.
3588 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3590         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
3591         stamp files to avoid unnecessary recompilation.
3592         (gen-8bit-gap-table): Likewise.
3593         (move-if-change): New variable.
3594         (all generated .h rules): Change to be .stmp rules.
3595         (%.h): New rule; depend on %.stmp; no commands.
3596         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
3597         gen-8bit-gap-1.sh.
3599 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3601         * Makerules (libc-map): Deleted.
3602         (load-map-file): Set to the appropriate compiler switch, not
3603         just the file name.  If libfoo-map is not set, look for a
3604         libfoo.map in the current directory and $(..).
3605         (map-file): New variable, contains just the mapfile name.
3606         (build-shlib): Adjust for new value of load-map-file.
3607         (libc.so): Correct dependencies.
3609         * extra-lib.mk: Correct shlib dependencies since libfoo-map
3610         may not be set anymore.
3612         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
3613         Delete libdl-map.  Tweak ld.so link rule to work with changed
3614         variable settings in Makerules.
3615         * iconvdata/Makefile: Tweak build-module to work with changed
3616         variable settings in Makerules.
3618         * db/Makefile: Delete libdb-map.
3619         * hesiod/Makefile: Delete libnss_hesiod-map.
3620         * linuxthreads/Makefile: Delete libpthread-map.
3621         * locale/Makefile: Delete libBrokenLocale-map.
3622         * login/Makefile: Delete libutil-map.
3623         * math/Makefile: Delete libm-map.
3624         * md5-crypt/Makefile: Delete libcrypt-map.
3625         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
3626         libnss_nisplus-map, and libnss_compat-map.
3627         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
3628         libnss_ldap-map.
3629         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
3630         * rt/Makefile: Delete librt-map.
3632 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3634         * configure.in: Instead of substituting `yes' or `no' for whether
3635         --no-whole-archive is available, set @no_whole_archive@ to the
3636         appropriate gcc switch or the empty string.  Likewise for
3637         -fno-exceptions.
3638         * config.make.in: Replace have-no-whole-archive with
3639         no-whole-archive and have-no-exceptions with no-exceptions.
3640         * Makerules: Delete stanzas setting no-whole-archive and
3641         no-exceptions.
3643         * sunrpc/Makefile: Use move-if-change to update generated .h
3644         and .c files.
3646 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3648         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
3649         of strchr loop.
3651 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3653         * time/tzfile.c (__tzfile_read): Remove unused variable info.
3654         (__tzfile_compute): Likewise.
3656 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3658         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
3659         defines from Linux 2.1.102.
3661 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
3663         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
3665 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
3667         * inet/netinet/in.h: Add defines for multicast.
3668         Reported by Jeremy Hall <jhall@UU.NET>.
3670         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
3671         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
3672         and unsetenv.  Optimize _LIBC case.
3673         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
3674         Define functions with leading __.
3676         * time/tzfile.c: Correct handling of global variables daylight,
3677         timezone, and tzname.
3678         * time/tzset.c: Likewise.
3679         * timezone/Makefile (tests): Add tst-timezone.
3680         * timezone/tst-timezone.c: New file.
3682 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
3684         * timezone/asia: Update from tzdata1998d.
3685         * timezone/australasia: Likewise.
3686         * timezone/europe: Likewise.
3688 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
3690         * string/string.h: Don't use the optimized versions for the string
3691         functions if optimizing for space.
3693         * stdlib/tst-strtod.c: Add test for -0.0.
3695         * io/ftwtest-sh: Prevent tests from being run by root.
3697         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
3698         last addition.  Patch by wkpark@chem.skku.ac.kr.
3700 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3702         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
3703         table.
3705 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3707         * iconvdata/gen-8bit.sh: New file.
3708         * iconvdata/gen-8bit-gap.sh: New file.
3709         * iconvdata/gen-8bit-gap-1.sh: New file.
3710         * iconvdata/Makefile (generate-8bit-table): Use shell script
3711         instead of writing the commands directly.
3712         (generate-8bit-gap-table): Likewise.
3713         ($(objpfx)iso8859-7jp.h): Likewise.
3714         (generated headers): Depend on shell script instead of Makefile.
3715         (before-compile): Add $(perl-generated-headers) only if perl is
3716         available.
3717         (headers): Depend on $(perl-generated-headers) only if perl is
3718         available.
3719         (sed-generated-headers): Remove iso8859-7jp.h.
3721 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3723         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
3724         (/): Removed.
3726 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3728         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
3729         formed charset names to getfct.  Let user override charset
3730         selection by mention charset in locale name.
3732 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
3734         * posix/glob.c: Move to ...
3735         * sysdeps/generic/glob.c: ...here.
3736         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
3737         elements.
3738         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
3739         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
3740         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
3741         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
3742         subdir.
3743         * libc.map [GLIBC_2.1]: Add glob and globfree.
3745 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3747         * sunrpc/Makefile (generated): Restore old list.
3749 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3751         * rt/Makefile (tests): Define only if we have a thread library.
3753         * nis/ypclnt.c: Add: #include <errno.h>.
3755 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3757         * configure.in: Define and substitute RELEASE as well as
3758         VERSION.
3759         * config.make.in: Add RELEASE and VERSION to be substituted.
3760         * Makeconfig: Delete all references to version.mk.
3761         * Make-dist: Likewise.
3762         * MakeTAGS: Likewise.
3763         * elf/Makefile: Likewise.
3765 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3767         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
3768         yp_get_default_domain.
3770 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3772         * sysdeps/posix/profil.c (__profil): Don't define act and timer
3773         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
3775 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3777         * malloc/malloc.c: Fix for NO_THREADS case.
3779 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
3781         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3782         Remove statfs and fstatfs.
3783         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
3784         and pwrite as EXTRA.
3785         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3787 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
3789         * libc.map: Add capget and capset.
3791 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3793         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3794         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
3795         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
3796         and Matt McLean <keys@brio.yikes.com>.
3798 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
3800         * misc/Makefile (tests): Add tst-mntent.
3801         * misc/tst-mntent.c: New file.
3803 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3805         * autolock.sh: Removed.
3806         * manual/move-if-change: Removed.
3808         * scripts: New directory.
3809         * =__ify: Moved to scripts.
3810         * config.guess: Likewise.
3811         * config.sub: Likewise.
3812         * gen-FAQ.pl: Likewise.
3813         * install-sh: Likewise.
3814         * mkinstalldirs: Likewise.
3815         * move-if-change: Likewise.
3816         * printsources: Likewise.
3817         * rellns.sh: Likewise.
3818         * test-installation.pl: Likewise.
3820         * configure.in: Look in scripts for config.guess, config.sub,
3821         install-sh.
3822         * Makefile: Distribute all above files in their
3823         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
3824         * manual/Makefile: Find mkinstalldirs and move-if-change in
3825         $(..)scripts.  Drop them from distribute.  Minor cleanups.
3826         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
3827         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
3828         * timezone/Makefile: Find rellns-sh in scripts.
3830 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3832         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
3833         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
3835 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3837         * Makefile (+subdir-inits): Delete variable.
3838         (+init_subdirs): Likewise.
3839         (aux): Likewise.
3840         (before-compile): Likewise.
3841         (libc-init): Delete stanza.
3842         (version-info.h): Delete rule and associated variable.
3843         (distribute): Don't distribute moved files.
3844         * Makerules (interp-obj): It lives in elf now.  Only use it
3845         if $(elf) is set.  Delete rule to build it.
3846         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
3847         version.o and version-info.h.  Minor cleanups.
3848         (routines): Add libc-init, sysdep, version.
3849         (generated): Add version-info.h.
3850         * elf/Makefile: Build interp.os.
3852         * interp.c: Moved to elf.
3853         * set-init.c: Moved to csu.
3854         * munch-init.c: Likewise.
3855         * munch.awk: Likewise.
3856         * version.c: Likewise.
3858         * Rules: Unconfuse syntax highlighting with a fake comment.
3860 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3862         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
3863         syscalls.
3865 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3867         * iconvdata/Makefile (generated): Set to *-generated-headers
3868         plus gconv-modules.
3869         (tests): Set to iconv-test.
3870         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
3871         * posix/Makefile (generated): Set to wordexp-test-result*.
3872         * sunrpc/Makefile (generated): Remove rpcsvc/*.
3873         (generated-dirs): Add rpcsvc.
3874         * libio/Makefile: Clean up.
3876 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
3878         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
3879         * Makerules: Likewise.
3880         (+depfiles): Also add sysdep-others.
3881         * Rules: Likewise.
3882         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
3883         * iconvdata/Makefile (distribute): Add TESTS.
3884         * localedata/Makefile (repertoires): Rename to repertoiremaps.
3885         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
3886         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
3887         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
3888         sysdep-others, not others.
3889         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3890         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
3892 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
3894         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
3895         cost_hi and cost_lo.
3896         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
3897         Cost parameter and set cost_lo to INT_MAX.
3898         (add_module): Take new parameter and use it to initialize cost_lo.
3899         (read_conf_file): Count modules being loaded and use counter for
3900         new parameter to add_module.
3901         * iconv/gconv_db.c (find_derivation): When look for cost examine
3902         cost_hi and cost_lo.
3904 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
3906         * string/bits/string2.h: Don't use unsigned char * unless really
3907         necessary since this disturbs C++.
3908         * sysdeps/i386/i486/bits/string.h: Likewise.
3909         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
3911 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3913         * malloc/malloc.c (top_check): Fix last change.
3915 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3917         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
3918         Patch by Matt McLean <keys@brio.yikes.com>.
3920 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3922         * Makerules (lib): Put back dependency on lib-noranlib.
3923         ($(subdirs-stamps)): Remove dependency on stamp.* again.
3925 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3927         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
3928         test in __pow2 implementation.
3930 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3932         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
3933         Still need *FLAGS-.o because we still sometimes build .o files.
3934         * db2/Makefile: Don't build libndbm.a if !build-static.
3936 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3938         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
3940 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3942         * configure.in: New test for broken gcc on PowerPC.
3943         * sysdeps/powerpc/atomicity.h: Use result of test.
3944         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
3946         * math/libm-test.c: Update many of the epsilon to match actual
3947         performance.
3949         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
3950         * sysdeps/libm-ieee754/e_expf.c: Likewise.
3951         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
3952         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
3954         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
3956         * sysdeps/powerpc/elf/libc-start.c: New file.
3957         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
3958         * sysdeps/powerpc/elf/start.c: Delete.
3960         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
3961         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
3963         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
3964         few patches.
3966 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
3968         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
3969         test for integer.
3971         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
3972         * sysdeps/libm-i387/e_powl.S: Likewise.
3974 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3976         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
3977         (malloc_check, free_check, realloc_check, memalign_check): Use
3978         them to improve overrun checking.  Overruns of a single byte and
3979         corruption of the top chunk are now detected much more reliably.
3981 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3983         * math/libm-test.c (pow_test): Add test for special value from PR
3984         libc/590.
3986 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
3988         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
3989         including linux/errno.h.
3991 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
3993         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
3994         Use correct types.
3995         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
3996         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
3998 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4000         * Makerules (elide-routines.*): Fix assignments.
4001         (do-makelib): Fix typo.
4002         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
4003         makefile.
4005 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4007         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
4008         $(objpfx)sysd-dirs): Move them...
4009         * Makeconfig: ... here.
4010         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
4011         (stubs): Fix circular depedency.
4012         (do-makelib): Clean up.
4013         (lib): Don't depend on lib-noranlib.
4014         ($(objpfx)stamp.oS): Remove special case for empty
4015         static-only-routines.
4016         (elide-routines.o): Add $(static-only-routines).
4017         (elide-routines$o): Define this instead of elide-routines.$o.
4018         * manual/Makefile (stubs): Fix circular dependency.
4020 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4022         * libio/Makefile (routines): Remove duplicate oldiofclose.
4024 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
4026         * string/strcoll.c: Use uint32_t instead of u_int32_t.
4028 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
4030         * libio/stdio.h: Fix typo in __REDIRECT.
4031         * io/sys/stat.h: Likewise.
4032         Reported by Myles Uyema <myles@uyema.nws.net>.
4034 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4036         * locale/programs/localedef.c (options): Fix help message.
4038 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
4040         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
4041         relocations.  Patch by Joe Keane <jgk@jgk.org>.
4043 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
4045         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
4046         ptmalloc_unlock_all, but re-initializes the mutexes instead.
4047         (ptmalloc_init): Use new function in thread_at_fork call.
4048         (thread_atfork_static): Likewise.
4049         Suggested by Wolfram Gloger and Xavier Leroy.
4051 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
4053         * signal/signal.h: Move definitions of struct sigstack and
4054         struct sigaltstack into separate file and include it.
4055         * sysdeps/generic/bits/sigstack.h: New file.
4056         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
4057         * signal/Makefile (headers): Add bits/sigstack.h.
4059 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4061         * elf/rtld.c (dl_main): Fix check for number of references to
4062         interpreter object.
4064 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4066         * elf/rtld.c (dl_main): Check has_interp after executing platform
4067         specific code.
4069 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4071         * iconvdata/run-iconv-test.sh: Fix typo.
4073 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4075         * Makerules (+depfiles): Add depfiles for $(tests-static).
4076         Simplified.
4078 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4080         * manual/terminal.texi (Special Characters): Fix description of
4081         c_cc indexes.
4083 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4085         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
4086         array.
4087         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
4088         of c_cc array.
4090 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4092         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
4094 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
4096         * intl/locale.alias: Update russian entry.
4098 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4100         * Makerules (static-only-routines): Reimplement in terms of
4101         elide-routines.os.
4102         (shared-only-routines): Reimplement in terms of
4103         elide-routines.X [where X is all object-suffixes except .os].
4105         (stubs): Create stubs file inside the subdir.
4106         (common-mostlyclean): Remove stubs file from inside the subdir.
4107         * Makefile (subdir-stubs): Look for stubs files inside the
4108         subdirs.
4109         * manual/Makefile (stubs): Create dummy stubs file inside the
4110         subdir.
4112 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4114         Build speed improvement: make ar less of a bottleneck.
4116         * Makerules (stamp$o): Just record the object list for later
4117         use.
4118         (libc_foo.a): New rule, depends on subdir stamp files; builds
4119         and ranlibs the library from the lists saved in those files.
4121         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
4122         (subdirs-stamp-o): Likewise.
4124         (ar-symtab-name): Delete variable.
4125         (lib%.a): Delete target.
4126         (libc_foo.a(bar.%)): Delete target.
4127         (libc_foo.a($(ar-symtab-name))): Delete target.
4129         (objects objs): Just depend on libobjs and extra-objs.
4130         (libobjs): Depend on the stamp files, not the objects.
4131         (extra-objs): New target, just depends on the extra-objs list.
4133         (CREATE_ARFLAGS): Kill the `ar S' hack.
4135         * config.make.in (have-ar-S): Deleted.
4136         * configure.in: Delete test for `ar S'.  Add test to determine
4137         whether ranlib does anything useful.
4139 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
4141         * inet/tst-ether_aton.c: Include <stdio.h>.
4143 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
4145         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
4147         * locale/Makefile (distribute): Add programs/repertoire.h.
4148         (localedef-modules): Add repertoire.
4149         (CPPFLAGS): Define REPERTOIREMAP_PATH.
4150         * locale/programs/repertoire.c: New file.
4151         * locale/programs/repertoire.h: New file.
4152         * locale/programs/charmap.c: Starting fixing character set handling
4153         to handle multi-byte encodings.
4154         * locale/programs/charset.c: Likewise.
4155         * locale/programs/charset.h: Likewise.
4156         * locale/programs/ld-collate.c: Likewise.
4157         * locale/programs/ld-ctype.c: Likewise.
4158         * locale/programs/linereader.c: Likewise.
4159         * locale/programs/localedef.c: Likewise.
4160         * locale/programs/locfile-kw.gperf: Likewise.
4161         * locale/programs/locfile-kw.h: Likewise.
4162         * locale/programs/locfile-token.h: Likewise.
4163         * locale/programs/locfile.h: Likewise.
4164         * locale/programs/stringtrans.c: Likewise.
4166         * locale/programs/locfile.c: Interpret I18NPATH value as base of
4167         path, extended with "/locales/".
4169 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
4171         * sysdeps/arm/memset.S: Fix off by one error.
4173         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
4174         __syscall_error rather than syscall_error directly.
4176 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
4178         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
4179         mmap() syscall for ARM.
4181         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
4182         binaries.
4184 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
4186         * locale/programs/localedef.c: Recognize repertoire-map option.
4188 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4190         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
4191         converting non-hex numbers.
4192         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
4194 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
4196         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
4197         check overflow.
4198         * resolv/Makefile (tests): New, add tst-aton.
4199         * resolv/tst-aton.c: New file.
4201 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4203         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
4204         semicolon.
4206 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
4208         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
4209         by letting the later modify the variable computing the total directly.
4210         * wcsmbs/mbsrtowcs.c: Likewise.
4211         * wcsmbs/wcsnrtombs.c: Likewise.
4212         * wcsmbs/wcsrtombs.c: Likewise.
4214         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
4215         it is not used.
4216         * wcsmbs/wctoc.c: Likewise.
4218         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
4219         * wcsmbs/wcsrtombs.c: Likewise.
4221         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
4223 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4225         * iconv/skeleton.c: Correct counting of actually converted
4226         characters.
4228         * intl/localealias.c (read_alias_file): Use unsigned char for
4229         local variables.  Remove unused variable tp.
4230         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
4231         for type of codeset.  For loosing Solaris systems.
4232         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
4233         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
4234         len if not needed.
4235         Patches by Jim Meyering.
4237         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
4238         wcsrtombs must put it into initial state.
4240 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4242         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
4243         argument of bswap_XX macro.
4245 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4247         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
4248         variable name.
4250 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
4252         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
4253         semun and use stdarg macros to get the value.
4254         * sysdeps/generic/semctl.c: Don't use union semun.
4256         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
4258         * string/basename.c [!_LIBC]: Define function as gnu_basename.
4260         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
4261         strings.h.
4263         * stdlib/grouping.h: Accept ungrouped numbers even if locale
4264         defines grouping.
4266         * intl/hash-string.h: Don't include values.h.
4268         * inet/Makefile (tests): Add tst-ether_aton.
4269         * inet/tst-ether_aton.c: New file.
4271         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
4272         in hex conversion.
4273         * inet/ether_aton.c (ether_aton): Declare result variable static.
4274         Reported by ahyung@unixg.ubc.ca.
4276         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
4277         Define macro _SEM_SEMUN_UNDEFINED instead.
4278         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
4280         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
4281         * stdio-common/Makefile (tests): Add tst-wc-printf.
4283 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
4285         * manual/stdio.texi (Variable Arguments Output): Correct variable
4286         name.  Patch from Ewan Mellor <em@nexus.co.uk>
4288 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
4290         * intl/dcgettext.c: Remove unneeded definition of
4291         internal_function.
4293 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4295         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
4296         instead of do-iconv-test.
4297         ($(objpfx)gconv-modules): Define rule only if objpfx is not
4298         empty.
4300 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4302         * string/string.h: Fix feature test.
4304 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4306         * iconvdata/iso646.c (BODY): Don't use character constants that
4307         depend on signedness of char.
4309 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
4311         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
4312         (sysdep_routines): Add s_pread64 and s_pwrite64.
4314 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
4316         * iconvdata/Makefile (distribute): Remove generated .h files.
4317         * iconvdata/koi8-r.h: Removed.
4318         * iconvdata/latin-greek-1.h: Removed.
4319         * iconvdata/latin-greek.h: Removed.
4321         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
4322         * iconvdata/KOI-8: Likewise.
4323         * iconvdata/KOI-8..UTF8: Likewise.
4324         * iconvdata/KOI8-R: Likewise.
4325         * iconvdata/KOI8-R..UTF8: Likewise.
4327 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4329         * streams/Makefile (headers): Add sys/stropts.h.
4330         * streams/sys/stropts.h: New file.
4332 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4334         * sysdeps/unix/sysv/linux/ttyname.c,
4335         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
4336         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
4338 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4340         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
4341         argument of _itoa_word.
4343 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4345         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
4346         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
4347         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
4348         sigprocmask, resp., instead of EXTRA.
4350         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4351         s_pread64 and s_pwrite64.
4353 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
4355         * iconvdata/Makefile: Correct rules to generate gap table.
4356         * iconvdata/gap.pl: Simplify.
4358         * iconvdata/TESTS: Name new tests.
4359         * iconvdata/testdata/CP1250: New file.
4360         * iconvdata/testdata/CP1250..UTF8: New file.
4361         * iconvdata/testdata/CP1251: New file.
4362         * iconvdata/testdata/CP1251..UTF8: New file.
4363         * iconvdata/testdata/CP1252: New file.
4364         * iconvdata/testdata/CP1252..UTF8: New file.
4365         * iconvdata/testdata/CP1253: New file.
4366         * iconvdata/testdata/CP1253..UTF8: New file.
4367         * iconvdata/testdata/CP1254: New file.
4368         * iconvdata/testdata/CP1254..UTF8: New file.
4369         * iconvdata/testdata/CP1255: New file.
4370         * iconvdata/testdata/CP1255..UTF8: New file.
4371         * iconvdata/testdata/CP1256: New file.
4372         * iconvdata/testdata/CP1256..UTF8: New file.
4373         * iconvdata/testdata/CP1257: New file.
4374         * iconvdata/testdata/CP1257..UTF8: New file.
4376 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
4378         * iconvdata/Makefile: Add rules for ISO-2022-KR.
4379         * iconvdata/iso-2022-kr.c: New file.
4381         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
4382         and ISO-2022-KR.
4384 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
4386         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
4387         iso8859-8 and iso8859-10.
4388         * iconvdata/iso8859-5.c: Change to use gap method.
4389         * iconvdata/iso8859-7.c: Likewise.
4390         * iconvdata/iso8859-8.c: Likewise.
4391         * iconvdata/iso8859-10.c: Likewise.
4393         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
4394         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
4395         end of the loop.
4396         * iconvdata/iso-2022-jp.c: New file.
4398         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
4399         * iconvdata/ksc5601.h: Unify function interfaces.
4400         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
4401         * iconvdata/uhc.c: Likewise.
4403         * iconvdata/gb2312.h: Use correct types.
4405         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
4406         size elements of data.
4408 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4410         * string/tst-svc.expect: Adapt for change in .input.
4411         * string/tst-svc.input: More tests.
4413 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
4415         * iconvdata/Makefile: Add rules for new modules.
4416         * iconvdata/gconv-modules: Likewise.
4417         * iconvdata/cp737.c: New file.
4418         * iconvdata/cp737.h: New file.
4419         * iconvdata/cp775.c: New file.
4420         * iconvdata/cp775.h: New file.
4421         * iconvdata/cp874.c: New file.
4422         * iconvdata/cp874.h: New file.
4424 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
4426         * iconvdata/Makefile: Create target directory before generating
4427         headers.
4429 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4431         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
4432         __USER_LABEL_PREFIX__.
4433         (__ASMNAME, __ASMNAME2): New macros.
4435 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4437         * elf/dl-load.c: Include sys/param.h for MAX.
4439 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
4441         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
4442         __ftruncate the strong symbol, and add weak alias.
4443         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4445 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4447         * termios/cfsetspeed.c: Make code cleaner and add missing const.
4448         Patch by Joe Keane <jgk@jgk.org>.
4450         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
4451         free()ing.
4453 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
4455         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
4456         Patch by Thomas Bushnell, n/BSG.
4458 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4460         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
4462 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4464         * iconvdata/Makefile: Put generated headers in build directory.
4466 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
4468         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
4469         strsep as current directory.
4471         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
4472         Java.  Add definitions for unicodelittle implementation.
4473         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
4474         * iconv/gconv_simple.c: Define unicodelittle functions.
4476         * iconv/iconv_prog.c: Make program print information about position
4477         of illegal character in input.
4479         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
4480         comparison of charset name.
4481         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
4482         * iconvdata/ebcdic-at-de-a.c: Likewise.
4483         * iconvdata/ebcdic-at-de.c: Likewise.
4484         * iconvdata/ebcdic-ca-fr.c: Likewise.
4485         * iconvdata/euccn.c: Likewise.
4486         * iconvdata/eucjp.c: Likewise.
4487         * iconvdata/euckr.c: Likewise.
4488         * iconvdata/euctw.c: Likewise.
4489         * iconvdata/hp-roman8.c: Likewise.
4490         * iconvdata/iso6937.c: Likewise.
4491         * iconvdata/iso8859-1.c: Likewise.
4492         * iconvdata/iso8859-10.c: Likewise.
4493         * iconvdata/iso8859-2.c: Likewise.
4494         * iconvdata/iso8859-3.c: Likewise.
4495         * iconvdata/iso8859-4.c: Likewise.
4496         * iconvdata/iso8859-5.c: Likewise.
4497         * iconvdata/iso8859-6.c: Likewise.
4498         * iconvdata/iso8859-7.c: Likewise.
4499         * iconvdata/iso8859-8.c: Likewise.
4500         * iconvdata/iso8859-9.c: Likewise.
4501         * iconvdata/johab.c: Likewise.
4502         * iconvdata/koi-8.c: Likewise.
4503         * iconvdata/koi8-r.c: Likewise.
4504         * iconvdata/latin-greek-1.c: Likewise.
4505         * iconvdata/latin-greek.c: Likewise.
4506         * iconvdata/sjis.c: Likewise.
4507         * iconvdata/t61.c: Likewise.
4508         * iconvdata/uhc.c: Likewise.
4510         * iconvdata/iso646.c: Add support for more ISO 646 variants.
4511         * iconvdata/TESTS: Add tests for ISO646 module.
4512         * iconvdata/gconv-modules: Add new modules.
4513         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
4514         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
4515         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
4516         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
4517         * iconvdata/testdate/DIN_66003: Likewise.
4518         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
4519         * iconvdata/testdate/DS_2089: Likewise.
4520         * iconvdata/testdate/DS_2089..UTF8: Likewise.
4521         * iconvdata/testdate/ES: Likewise.
4522         * iconvdata/testdate/ES..UTF8: Likewise.
4523         * iconvdata/testdate/ES2: Likewise.
4524         * iconvdata/testdate/ES2..UTF8: Likewise.
4525         * iconvdata/testdate/GB_1988-80: Likewise.
4526         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
4527         * iconvdata/testdate/IT: Likewise.
4528         * iconvdata/testdate/IT..UTF8: Likewise.
4529         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
4530         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
4531         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
4532         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
4533         * iconvdata/testdate/JUS_I.B1.002: Likewise.
4534         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
4535         * iconvdata/testdate/KSC5636: Likewise.
4536         * iconvdata/testdate/KSC5636..UTF8: Likewise.
4537         * iconvdata/testdate/MSZ_7795.3: Likewise.
4538         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
4539         * iconvdata/testdate/NC_NC00-10: Likewise.
4540         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
4541         * iconvdata/testdate/NF_Z_62-010: Likewise.
4542         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
4543         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
4544         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
4545         * iconvdata/testdate/NS_4551-1: Likewise.
4546         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
4547         * iconvdata/testdate/NS_4551-2: Likewise.
4548         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
4549         * iconvdata/testdate/PT: Likewise.
4550         * iconvdata/testdate/PT..UTF8: Likewise.
4551         * iconvdata/testdate/PT2: Likewise.
4552         * iconvdata/testdate/PT2..UTF8: Likewise.
4553         * iconvdata/testdate/SEN_850200_B: Likewise.
4554         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
4555         * iconvdata/testdate/SEN_850200_C: Likewise.
4556         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
4558         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
4559         * iconvdata/cns11643l1.h: Likewise.
4560         * iconvdata/latin-greek-1.h: Likewise.
4561         * iconvdata/latin-greek.h: Likewise.
4562         * iconvdata/koi8-r.h: Likewise.
4563         * iconvdata/jis0212.h: Likewise.
4564         * iconvdata/gb2312.h: Likewise.
4565         * iconvdata/ksc5601.h: Likewise.
4567         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
4569         * iconvdata/Makefile: Add rules for lots of more modules.
4570         * iconvdata/cp1250.c: New file.
4571         * iconvdata/cp1251.c: New file.
4572         * iconvdata/cp1252.c: New file.
4573         * iconvdata/cp1253.c: New file.
4574         * iconvdata/cp1254.c: New file.
4575         * iconvdata/cp1255.c: New file.
4576         * iconvdata/cp1256.c: New file.
4577         * iconvdata/cp1257.c: New file.
4578         * iconvdata/ebcdic-dk-no-a.c: New file.
4579         * iconvdata/ebcdic-dk-no.c: New file.
4580         * iconvdata/ebcdic-es-a.c: New file.
4581         * iconvdata/ebcdic-es-s.c: New file.
4582         * iconvdata/ebcdic-es.c: New file.
4583         * iconvdata/ebcdic-fi-se-a.c: New file.
4584         * iconvdata/ebcdic-fi-se.c: New file.
4585         * iconvdata/ebcdic-fr.c: New file.
4586         * iconvdata/ebcdic-is-friss.c: New file.
4587         * iconvdata/ebcdic-it.c: New file.
4588         * iconvdata/ebcdic-pt.c: New file.
4589         * iconvdata/ebcdic-uk.c: New file.
4590         * iconvdata/ebcdic-us.c: New file.
4591         * iconvdata/ibm037.c: New file.
4592         * iconvdata/ibm038.c: New file.
4593         * iconvdata/ibm1004.c: New file.
4594         * iconvdata/ibm1026.c: New file.
4595         * iconvdata/ibm1047.c: New file.
4596         * iconvdata/ibm256.c: New file.
4597         * iconvdata/ibm273.c: New file.
4598         * iconvdata/ibm274.c: New file.
4599         * iconvdata/ibm275.c: New file.
4600         * iconvdata/ibm277.c: New file.
4601         * iconvdata/ibm278.c: New file.
4602         * iconvdata/ibm280.c: New file.
4603         * iconvdata/ibm281.c: New file.
4604         * iconvdata/ibm284.c: New file.
4605         * iconvdata/ibm285.c: New file.
4606         * iconvdata/ibm290.c: New file.
4607         * iconvdata/ibm297.c: New file.
4608         * iconvdata/ibm420.c: New file.
4609         * iconvdata/ibm423.c: New file.
4610         * iconvdata/ibm424.c: New file.
4611         * iconvdata/ibm437.c: New file.
4612         * iconvdata/ibm500.c: New file.
4613         * iconvdata/ibm850.c: New file.
4614         * iconvdata/ibm851.c: New file.
4615         * iconvdata/ibm852.c: New file.
4616         * iconvdata/ibm855.c: New file.
4617         * iconvdata/ibm857.c: New file.
4618         * iconvdata/ibm860.c: New file.
4619         * iconvdata/ibm861.c: New file.
4620         * iconvdata/ibm862.c: New file.
4621         * iconvdata/ibm863.c: New file.
4622         * iconvdata/ibm864.c: New file.
4623         * iconvdata/ibm865.c: New file.
4624         * iconvdata/ibm868.c: New file.
4625         * iconvdata/ibm869.c: New file.
4626         * iconvdata/ibm870.c: New file.
4627         * iconvdata/ibm871.c: New file.
4628         * iconvdata/ibm875.c: New file.
4629         * iconvdata/ibm880.c: New file.
4630         * iconvdata/ibm891.c: New file.
4631         * iconvdata/ibm903.c: New file.
4632         * iconvdata/ibm904.c: New file.
4633         * iconvdata/ibm905.c: New file.
4634         * iconvdata/ibm918.c: New file.
4636         * locale/iso-4217.def: Update.
4637         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
4639         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
4640         formats.
4642 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4644         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
4645         LD_LIBRARY_PATH.
4647 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4649         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
4650         * Makefile: Likewise.
4651         * posix/Makefile: Likewise.
4652         * sysdeps/mach/hurd/Makefile: Likewise.
4654 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4656         * sysdeps/mach/hurd/bits/dirent.h: New file.
4657         * sysdeps/mach/hurd/readdir64.c: New file.
4658         * sysdeps/mach/hurd/readdir64_r.c: New file.
4660 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4662         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
4663         dprintf): Synchronize declarations with libio/stdio.h.
4665 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4667         * elf/dlerror.c (dlerror): Don't assume that
4668         __libc_internal_tsd_get is defined.  __libc_getspecific is already
4669         well-protected, so just use it directly.
4671 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4673         * io/ftw.h (ftw): Fix typo.
4675 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4677         * sysdeps/gnu/utmp_file.c: Fix typo.
4679 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4681         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
4682         one part of a test fails move on to the next test.
4684 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
4686         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4688 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4690         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
4691         as pointers, not signed integers.
4693 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4695         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4697 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4699         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
4700         asm symbol name of functions.
4701         * include/features.h: Kill redundant test.
4703         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
4704         * io/ftw.h: Likewise.
4705         * io/sys/stat.h: Likewise.
4706         * io/sys/statfs.h: Likewise.
4707         * io/sys/statvfs.h: Likewise.
4708         * libio/stdio.h: Likewise.
4709         * resource/sys/resource.h: Likewise.
4710         * rt/aio.h: Likewise.
4712         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
4713          __FAVOR_BSD.
4714         * signal/signal.h: Use new macros for BSD vs. SysV signal().
4716         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
4717         a dummy library.
4718         * misc/bsd-compat.c: Removed.
4720 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
4722         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
4723         function declaration.
4724         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
4725         and use them in conversion function.
4726         * iconvdata/Makefile (modules): Re-add ISO6446.
4727         * iconvdata/TEST: Add tests for ASCII variants.
4728         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
4729         * iconvdata/testdata/ANSI_X3.4-1968: New file.
4730         * iconvdata/testdata/BS_4730: New file.
4731         * iconvdata/testdata/BS_4730..UTF8: New file.
4733 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
4735         * iconv/gconv.h (struct gconv_step): Add element stateful.
4736         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
4737         to zero for all internal conversions.
4738         * iconv/skeleton.c: Initialize stateful depending on whether or not
4739         RESET_STATE is defined to one or zero respectively.
4740         * stdlib/mblen.c: Use stateful element of currently selected
4741         converter for result if S is NULL.
4742         * stdlib/mbtowc.c: Likewise.
4743         * stdlib/wctomb.c: Likewise.
4745 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
4747         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
4749         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
4751         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
4752         character in comparison with uint32_t.
4753         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
4754         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
4755         Optimize BODY a bit.
4757         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
4758         be defined.
4760         * iconv/skeleton.c: Also reset converted counter in case of an error.
4761         Call reset function using correct value for output buffer start.
4763         * iconvdata/Makefile: Re-enable tests.
4765         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
4766         value for to-conversion.
4768         * iconvdata/TESTS: Add new third column.
4769         * iconvdata/run-iconv-test.sh: Add support for charsets which are
4770         not ASCII based.
4771         * iconvdata/testdata/suntzus: New file.
4773         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
4774         while reading.  Correctly used base.  Little optimization.
4775         (__strtoul_internal): Likewise.
4777         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
4778         was wrong.  Use explicit variable.
4780 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4782         * configure.in: Check for awk.
4783         * config.make.in: Add AWK to be substituted.
4785         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
4786         * manual/users.texi: Fix typo exposed by above rewrite.
4788         * Makefile: Invoke awk using AWK variable.
4789         * csu/Makefile: Likewise.
4790         * elf/Makefile: Likewise.
4791         * mach/Makefile: Likewise.
4792         * manual/Makefile: Likewise.
4793         * sysdeps/gnu/Makefile: Likewise.
4794         * sysdeps/mach/hurd/Makefile: Likewise.
4795         * sysdeps/unix/Makefile: Likewise.
4796         * timezone/Makefile: Likewise.
4798 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4800         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
4801         array index translation.
4802         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
4803         these are defined.
4805         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
4807         * sysdeps/mach/hurd/errlist.c: New file.
4808         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
4809         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
4810         semantics, so rename it.
4812 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4814         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
4815         conversions.
4817 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
4819         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
4820         * wcsmbs/wcsnrtombs.c: Likewise.
4822 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
4824         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
4826         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
4828         * time/strftime.c (my_strftime): Initialize pad variable in
4829         declaration.
4831         * iconvdata/big5.c: Don't use character constants in comparisons
4832         with unsigned value.
4834 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
4836         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
4837         __libc_siglongjmp to GLIBC_2.1.
4839         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
4840         __strerror_r.
4842         * iconv/Makefile: Don't run tests now.
4844         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
4845         with correct output buffer.
4847         Major rewrite of the low-level gconv functionality.
4848         * iconv/gconv.c: Rewritten.
4849         * iconv/gconv.h: Likewise.
4850         * iconv/gconv_builtin.c: Likewise.
4851         * iconv/gconv_builtin.h: Likewise.
4852         * iconv/gconv_conf.c: Likewise.
4853         * iconv/gconv_int.h: Likewise.
4854         * iconv/gconv_open.c: Likewise.
4855         * iconv/gconv_simple.c: Likewise.
4856         * iconv/iconv.c: Likewise.
4857         * iconvdata/8bit-gap.c: Likewise.
4858         * iconvdata/8bit-generic.c: Likewise.
4859         * iconvdata/Makefile: Likewise.
4860         * iconvdata/big5.c: Likewise.
4861         * iconvdata/cns11643.c: Likewise.
4862         * iconvdata/cns11643.h: Likewise.
4863         * iconvdata/cns11643l1.c: Likewise.
4864         * iconvdata/cns11643l1.h: Likewise.
4865         * iconvdata/ebcdic-at-de-a.c: Likewise.
4866         * iconvdata/ebcdic-at-de.c: Likewise.
4867         * iconvdata/ebcdic-ca-fr.c: Likewise.
4868         * iconvdata/euccn.c: Likewise.
4869         * iconvdata/eucjp.c: Likewise.
4870         * iconvdata/euckr.c: Likewise.
4871         * iconvdata/euctw.c: Likewise.
4872         * iconvdata/gb2312.c: Likewise.
4873         * iconvdata/gb2312.h: Likewise.
4874         * iconvdata/hp-roman8.c: Likewise.
4875         * iconvdata/iso646.c: Likewise.
4876         * iconvdata/iso6937.c: Likewise.
4877         * iconvdata/iso8859-1.c: Likewise.
4878         * iconvdata/iso8859-10.c: Likewise.
4879         * iconvdata/iso8859-2.c: Likewise.
4880         * iconvdata/iso8859-3.c: Likewise.
4881         * iconvdata/iso8859-4.c: Likewise.
4882         * iconvdata/iso8859-5.c: Likewise.
4883         * iconvdata/iso8859-6.c: Likewise.
4884         * iconvdata/iso8859-7.c: Likewise.
4885         * iconvdata/iso8859-8.c: Likewise.
4886         * iconvdata/iso8859-9.c: Likewise.
4887         * iconvdata/jis0201.c: Likewise.
4888         * iconvdata/jis0201.h: Likewise.
4889         * iconvdata/jis0208.c: Likewise.
4890         * iconvdata/jis0208.h: Likewise.
4891         * iconvdata/jis0212.c: Likewise.
4892         * iconvdata/jis0212.h: Likewise.
4893         * iconvdata/johab.c: Likewise.
4894         * iconvdata/koi-8.c: Likewise.
4895         * iconvdata/koi8-r.c: Likewise.
4896         * iconvdata/ksc5601.c: Likewise.
4897         * iconvdata/ksc5601.h: Likewise.
4898         * iconvdata/latin-greek-1.c: Likewise.
4899         * iconvdata/latin-greek.c: Likewise.
4900         * iconvdata/run-iconv-test.sh: Likewise.
4901         * iconvdata/sjis.c: Likewise.
4902         * iconvdata/t61.c: Likewise.
4903         * iconvdata/uhc.c: Likewise.
4904         * wcsmbs/btowc.c: Likewise.
4905         * wcsmbs/mbrtowc.c: Likewise.
4906         * wcsmbs/mbsnrtowcs.c: Likewise.
4907         * wcsmbs/mbsrtowcs.c: Likewise.
4908         * wcsmbs/wcrtomb.c: Likewise.
4909         * wcsmbs/wcsmbsload.c: Likewise.
4910         * wcsmbs/wcsnrtombs.c: Likewise.
4911         * wcsmbs/wcsrtombs.c: Likewise.
4912         * wcsmbs/wctob.c: Likewise.
4913         * iconv/loop.c: New file.
4914         * iconv/skeleton.c: New file.
4916         * stdlib/mblen.c: Handle empty input string correctly.
4917         * stdlib/mbtowc.c: Likewise.
4919         * posix/getopt.c: Various cleanups.
4921         * sysdeps/arm/bits/setjmp.h: Add copyright text.
4922         * sysdeps/i386/bits/setjmp.h: Likewise.
4923         * sysdeps/m68k/bits/setjmp.h: Likewise.
4924         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4925         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
4927         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
4928         and make longjmp weak alias.
4930 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
4932         * iconv/Makefile (routines): Only include gconv_dl if building for
4933         an ELF system - dynamic linking is not available on a.out.
4934         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
4935         due to above check.
4936         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
4937         routines from gconv_dl.
4939 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
4941         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
4942         we can compile without libio.
4944 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
4946         * sysdeps/mach/hurd/Subdirs: Remove login.
4948 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
4950         * db2/compat.h: Include <errno.h>, to make sure we get the
4951         definition of EFTYPE before we define it ourselves.
4953 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4955         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
4956         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
4957         Fix typo to allow inclusion from sys/ioctl.h again.
4959 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4961         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
4963 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4965         * libc.map: Export __strerror_r.  Remove _strerror_internal.
4967 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4969         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
4970         Also undefine __strcasestr.
4972 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4974         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
4975         aliases do not work with global variables due to copy relocations.
4977 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
4979         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
4981 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
4983         * signal/sighold.c: Include stddef.h for NULL definition.
4984         * signal/sigrelse.c: Likewise.
4985         * sysdeps/posix/sigignore.c: Likewise.
4986         * sysdeps/posix/sigset.c: Likewise.
4987         * sysdeps/posix/waitid.c: Likewise.
4988         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
4989         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
4990         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4991         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
4992         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4994 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
4996         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
4997         * login/getutent.c (getutxent): Remove alias.
4998         * login/getutent_r.c (setutxent, pututxline, endutxent):
4999         Remove aliases.
5000         * login/getutid.c (getutxid): Remove alias.
5001         * login/getutline.c (getutxline): Remove alias.
5002         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
5003         __getutid, __getutline and __pututline.
5004         * login/utmpx.h: Moved to ...
5005         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
5006         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
5007         and updwtmpx.
5008         * login/updwtmp.c: Moved to ...
5009         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
5010         allowing file name transformation.
5011         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
5012         additional file name transformation.
5013         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
5014         * login/utmp_file.c: Moved to ...
5015         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
5016         Generalized by allowing file name transformation.  Do not
5017         print error message.  Library functions should not print them.
5018         Reported by Jim Meyering.
5019         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
5020         with additional file name transformation.
5021         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
5022         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
5023         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
5024         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
5025         and bits/utmpx.h.
5026         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
5027         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
5028         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
5029         Define if __USE_GNU.
5030         * sysdeps/generic/setutxent.c: New file.
5031         * sysdeps/generic/getutxent.c: New file.
5032         * sysdeps/generic/endutxent.c: New file.
5033         * sysdeps/generic/getutxid.c: New file.
5034         * sysdeps/generic/getutxline.c: New file.
5035         * sysdeps/generic/pututxline.c: New file.
5036         * sysdeps/generic/utmpxname.c: New file.
5037         * sysdeps/generic/updwtmpx.c: New file.
5038         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
5039         * sysdeps/generic/bits/utmpx.h: Remove.
5041 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
5043         * posix/wordexp-test.c (main): Initialize ifs element of ts for
5044         ~root test.
5046 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
5048         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
5050 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
5052         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
5053         variable using _G_stat64.
5054         * libio/fileops.c: Remove macro definition of fstat, it is in the
5055         global header.
5056         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
5058 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
5060         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
5061         <willy@odie.barnet.ac.uk>.
5063 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
5065         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
5066         required by IPv6 Basic API.
5067         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
5068         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
5069         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
5070         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
5072 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
5074         Don't name internal representation since it might be different from
5075         the external form (namely on little endian machines).
5076         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
5077         UCS4 into references to INTERNAL.
5078         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
5079         Add endianess support to UCS functions.  Change references to
5080         UCS4 into references to INTERNAL.
5081         * iconv/gconv_int.h: Change references to UCS4 into references to
5082         INTERNAL.
5083         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
5084         * iconvdata/gconv-modules: Change accordingly.
5085         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
5087         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
5088         overflow.
5089         * iconvdata/8bit-gap.c: Likewise.
5090         * iconvdata/8bit-generic.c: Likewise.
5091         * iconvdata/big5.c: Likewise.
5092         * iconvdata/euccn.c: Likewise.
5093         * iconvdata/eucjp.c: Likewise.
5094         * iconvdata/euckr.c: Likewise.
5095         * iconvdata/euctw.c: Likewise.
5096         * iconvdata/iso646.c: Likewise.
5097         * iconvdata/iso6937.c: Likewise.
5098         * iconvdata/iso8859-1.c: Likewise.
5099         * iconvdata/johab.c: Likewise.
5100         * iconvdata/sjis.c: Likewise.
5101         * iconvdata/t61.c: Likewise.
5102         * iconvdata/uhc.c: Likewise.
5104         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
5105         * iconvdata/8bit-generic.c: Likewise.
5107         * iconvdata/TESTS: Add more tests.
5109         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
5111 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
5113         * iconvdata/Makefile: Better rules to run tests.
5115         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
5116         * iconvdata/testdata/ISO-8859-10: Likewise.
5117         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
5118         * iconvdata/testdata/ISO-8859-2: Likewise.
5119         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
5120         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
5121         * iconvdata/testdata/ISO-8859-3: Likewise.
5122         * iconvdata/testdata/ISO-8859-4: Likewise.
5123         * iconvdata/testdata/ISO-8859-5: Likewise.
5124         * iconvdata/testdata/ISO-8859-6: Likewise.
5125         * iconvdata/testdata/ISO-8859-7: Likewise.
5126         * iconvdata/testdata/ISO-8859-8: Likewise.
5127         * iconvdata/testdata/ISO-8859-9: Likewise.
5129 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
5131         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
5132         intermediate result (if available).
5134         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
5135         last change.
5137         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
5138         (distribute): Add run-iconv-test.sh and testdata/*.
5140         * stdlib/testmb.c (main): Simplify mbc array handling.
5142 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5144         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
5145         return value on overflow.
5147 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5149         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
5150         bits.
5152 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5154         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
5155         of non-standard function setbuffer.
5157 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5159         * stdio-common/perror.c: Include <string.h> for __strerror_r.
5161 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
5163         * iconvdata/Makefile: Add rules to run tests.
5164         * iconvdata/TESTS: New file.
5165         * iconvdata/run-iconv-test.sh: New file.
5166         * iconvdata/testdata/ISO-8859-1: New file.
5168         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
5169         not stdout.
5171 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
5173         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
5174         counter element of step.
5176         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
5178         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
5179         termination test.
5180         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
5181         ACTUALLY.
5182         (__gconv_transform_utf8_ucs4): Correct test for empty input.
5184 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
5186         * Makefile: Include makeconfig before defining rule to regenerate
5187         configure files.
5189         * configure.in: Remove restriction on compiling without static
5190         libs.
5192 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
5194         * test-skeleton.c: Provide hook for initializing code before the fork.
5195         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
5196         removed.
5198         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
5199         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
5200         * libio/libioP.h: Adopt _IO_cleanup prototype.
5202         * stdlib/Makefile (tests): Add test-canon2.
5203         * stdlib/test-canon2.c: New file.
5204         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
5205         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
5206         symlink sequences.
5207         (__realpath): Make real function which checks RESOLVED parameter for
5208         not being NULL.
5210 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
5212         * catgets/open_catalog.c (__open_catalog): Fix problems with
5213         reading non-files.  Always close file.
5214         Reported by Cristian Gafton <gafton@redhat.com>.
5216         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
5218 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
5220         * libc.map: Add various low-level I/O functions.
5222 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
5224         * string/Makefile (routines): Remove strerror_r.
5225         * string/strerror_r.c: Removed.
5226         * string/strerror.c: Call __strerror_r for doing the real work.
5227         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
5228         add weak alias strerror_r.
5229         * sysdeps/mach/_strerror.c: Likewise.
5230         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
5231         * elf/dl-error.c (_dl_signal_error): Likewise.
5232         * elf/dl-profile.c (_dl_start_profile): Likewise.
5233         * gmon/gmon.c (write_gmon): Likewise.
5234         * stdio-common/perror.c: Likewise.
5235         * stdio-common/vfprintf.c: Likewise.
5237 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
5239         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
5240         (sysdep_headers): Add netatalk/at.h.
5242 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5244         * manual/socket.texi, manual/creature.texi, manual/time.texi:
5245         Formatting fixes.
5247 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5249         * posix/regex.c: Rename __re_syntax_options back to
5250         re_syntax_options, aliases do not work with global variables due
5251         to copy relocations.
5252         (regex_compile): Use syntax parameter instead of
5253         re_syntax_options.
5255 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5257         * configure.in: Document that enable-force-install is default.
5259 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
5261         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
5262         all needed 36 bits.
5263         * sysdeps/posix/mkstemp.c: Likewise.
5265 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
5267         * iconvdata/8bit-gap.c: Simplify step data handling.
5268         * iconvdata/8bit-generic.c: Likewise.
5269         * iconvdata/big5.c: Likewise.
5270         * iconvdata/euccn.c: Likewise.
5271         * iconvdata/eucjp.c: Likewise.
5272         * iconvdata/euckr.c: Likewise.
5273         * iconvdata/euctw.c: Likewise.
5274         * iconvdata/iso6937.c: Likewise.
5275         * iconvdata/iso8859-1.c: Likewise.
5276         * iconvdata/jis0208.h: Likewise.
5277         * iconvdata/jis0212.c: Likewise.
5278         * iconvdata/jis0212.h: Likewise.
5279         * iconvdata/johab.c: Likewise.
5280         * iconvdata/ksc5601.h: Likewise.
5281         * iconvdata/sjis.c: Likewise.
5282         * iconvdata/t61.c: Likewise.
5283         * iconvdata/uhc.c: Likewise.
5285 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
5287         * manual/texinfo.texi: Updated from last version.
5289 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
5291         * iconvdata/cns11643.c: New file.
5292         * iconvdata/cns11643.h: New file.
5293         * iconvdata/cns11643l1.c: New file.
5294         * iconvdata/cns11643l1.h: New file.
5295         * iconvdata/euctw.c: New file.
5296         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
5297         * iconvdata/gconv-modules: Likewise.
5299         * iconvdata/eucjp.c: Several bug fixes and improvements.
5300         * iconvdata/gb2312.h: Likewise.
5301         * iconvdata/jis0201.h: Likewise.
5302         * iconvdata/jis0208.h: Likewise.
5303         * iconvdata/jis0212.h: Likewise.
5305 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
5307         * iconvdata/eucjp.c: New file.
5308         * iconvdata/euccn.c: New file.
5309         * iconvdata/gb2312.h: New file.
5310         * iconvdata/gb2312.c: New file.
5311         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
5312         * iconvdata/gconv-modules: Likewise.
5314         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
5316 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
5318         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5319         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
5320         Patch by Mark Hatle <fray@kernel.crashing.org>.
5322 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
5324         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
5325         comment.
5326         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
5327         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
5329 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
5331         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
5333         * iconvdata/Makefile: Add rules for big5 conversion.
5334         * iconvdata/gconv-modules: Likewise.
5335         * iconvdata/big5.c: New file.
5337         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
5338         Patch by Jim Meyering.
5340 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
5342         * rt/tst-aio.c: Add test for aio_read and lio_listio.
5344         * rt/lio_listio.c: Correct total counter handling.
5346         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
5347         from request queue.
5349         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
5350         of signal on exit even more.
5352         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
5353         instead of call to pthread_cond_init.
5354         * rt/lio_listio.c (lio_listio): Likewise.
5355         * rt/lio_listio64.c (lio_listio64): Likewise.
5357         * nis/nis_findserv.c: Include sys/socket.h.
5359 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
5361         * Makeconfig (rtobjdir): New variable.
5362         (rpath-link): Add rtobjdir and thread directory, if available.
5364         * test-skeleton.c: Add support to remove temporary files.
5365         Always define test_dir.  Improve message about expected signal.
5367         * rt/Makefile (tests): Add tst-aio.
5368         Add rules for tst-aio to be linked with librt and thread library.
5369         * rt/aio_misc.c: Correct fundamental bugs.
5370         * rt/aio_suspend.c: Correct bug in test for available request.
5371         Initialize conditional variable.
5372         * rt/lio_listio.c: Initialize conditional variable.
5373         * rt/lio_listio64.c: Likewise.
5374         * rt/tst-aio.c: New file.
5376         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
5377         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
5378         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5379         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
5380         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
5381         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
5382         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
5384 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
5386         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
5388 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
5390         * elf/dl-load.c (open_path): Use correct name for test whether
5391         directory in load path exists.
5393         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
5394         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
5395         Patches by Tom Rini <trini@kernel.crashing.org>.
5397         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
5398         * wcsmbs/wcstod_l.c: Likewise.
5399         * wcsmbs/wcstold_l.c: Likewise.
5401         * include/byteswap.h: New file.
5403         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
5404         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
5406         * inet/getnameinfo.c (getnameinfo): Change parameter to match
5407         declaration.  Patch by Richard Henderson.
5409 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5411         * manual/process.texi (SIGCHLD example): Save errno.
5413 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
5415         * posix/regex.c: Define regerror really as __regerror.
5416         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
5417         regerror and regfree.
5419         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
5420         * stdlib/strtod_l.c: Likewise.
5421         * stdlib/strtold_l.c: Likewise.
5423         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
5425         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
5427         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
5428         Patch by Christian Gafton.
5430 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
5432         * manual/socket.texi (Interface Naming): Correct @deftypefun line
5433         for if_indextoname.
5435 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5437         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
5439         * manual/socket.texi (Interface Naming): Fix typo.
5441 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5443         * manual/examples/filesrv.c (main): Remove filename first.
5445         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
5446         ?F_UNIX.
5448         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
5449         instead of PF_UNIX.
5451         * manual/examples/filecli.c (main): Use AF_LOCAL
5452         instead of AF_UNIX.
5454 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
5456         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
5457         signgam weak alias.
5458         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
5459         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
5460         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
5461         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
5462         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5463         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
5465         * login/utmp_daemon.c (open_socket): Use __connect not connect.
5467 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5469         * configure.in: Add new option --enable-force-install.  Substitute
5470         force_install.
5471         * config.make.in (force-install): Set from configure.
5472         * Makerules (force-install): New phony target.
5473         * Makeconfig (+force): New variable.
5474         * Makefile: Use it in dependency list of installation targets.
5475         * db/Makefile: Likewise.
5476         * db2/Makefile: Likewise.
5477         * elf/Makefile: Likewise.
5478         * hurd/Makefile: Likewise.
5479         * iconv/Makefile: Likewise.
5480         * iconvdata/Makefile: Likewise.
5481         * intl/Makefile: Likewise.
5482         * localedata/Makefile: Likewise.
5483         * login/Makefile: Likewise.
5484         * po/Makefile: Likewise.
5485         * sunrpc/Makefile: Likewise.
5486         * sysdeps/mach/hurd/Makefile: Likewise.
5487         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
5488         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5489         * timezone/Makefile: Likewise.
5491 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5493         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
5494         alloc_size.  Pass return value of getcwd syscall to realloc.
5496 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5498         * manual/socket.texi: Spelling fixes.
5500 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5502         * elf/dl-load.c (print_search_path): Remove unused variable.
5504 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
5506         * login/utmp_file.c: use __ftruncate not ftruncate.
5507         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
5508         for system call and make ftruncate weak alias.
5509         * posix/unistd.h: Add prototype for __ftruncate.
5510         * login/utmp_daemon.c (open_socket): Use __socket not socket.
5511         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
5512         instead of snprintf and readv.
5513         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
5514         snprintf.
5515         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
5516         directly.
5518 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
5520         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
5521         * iconv/gconv_db.c: Use __ protected regex functions.
5522         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
5523         * posix/getopt_init.c: Use __getpid not getpid.
5524         * posix/regex.c: Rename all global functions to start with __ and
5525         make old names weak aliases.
5526         * posix/regex.h: Adopt prototypes for this.
5527         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
5528         a weak alias and use __getcwd instead of getcwd.
5529         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
5530         * stdlib/strtod.c: Use __btowc instead of btowc.
5531         * stdlib/strtol.c: Likewise.
5532         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
5533         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
5534         and sys_errlist are weak.
5535         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
5536         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
5537         * wcsmbs/mbsnrtowcs.c: Likewise.
5538         * wcsmbs/mbsrtowcs.c: Likewise.
5539         * wcsmbs/wcsnrtombs.c: Likewise.
5540         * wcsmbs/wcsrtombs.c: Likewise.
5541         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
5542         weak alias.
5543         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
5544         * wctype/wctype.c: Define function as __wctype and make wctype
5545         weak alias.
5546         * wctype/wctype.h: Declare __wctype.
5548 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
5550         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
5552 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5554         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
5555         stat64.
5556         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
5557         functions.
5558         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
5559         for __llseek.
5560         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5561         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5562         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
5563         make it a weak alias.
5564         * posix/unistd.h: Declare __lseek64.
5566         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
5567         (_IO_file_stat): Fix typo.
5568         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
5569         block size from the file.  Use __mempcpy if _LIBC.
5571 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
5573         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
5574         * wcsmbs/mbrtowc.c: Likewise.
5575         * wcsmbs/mbsnrtowcs.c: Likewise.
5576         * wcsmbs/mbsrtowcs.c: Likewise.
5577         * wcsmbs/wcrtomb.c: Likewise.
5578         * wcsmbs/wcsnrtombs.c: Likewise.
5579         * wcsmbs/wcsrtombs.c: Likewise.
5580         * wcsmbs/wctob.c: Likewise.
5582         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
5583         position of next output character correctly.
5584         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
5586         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
5588         * stdlib/strtod.c: Don't use mbtowc.
5590 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
5592         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
5593         what we want is smaller than a buffer.
5595 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
5597         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
5598         this function.
5600 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5602         * configure.in: Recognize --with-headers flag and determine
5603         commandline options to be used in compilation.
5604         * Makeconfig (+includes): Use $(sysincludes).
5605         * config.make.in (sysincludes): Define from SYSINCLUDES.
5606         * glibcbug.in: Use SYSINCLUDES information.
5607         Patches by Zack Weinberg.
5609 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5611         * glibcbug.in: On linux, report version of kernel headers seen
5612         by compiler.
5614 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
5616         * libc.map: Add __asprintf to GLIBC_2.1.
5617         * elf/dlerror.c: Use __asprintf, not asprintf.
5618         * libio/stdio.h: Declare __asprintf.
5619         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
5620         a weak alias.
5622         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
5623         to avoid inclusion from libc_pic.a.
5625         * elf/dl-runtime.c: Undo last patch.
5627         * stdlib/strtod.c: Don't use mbtowc, use btowc.
5629         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
5630         as default, use NULL.
5632 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5634         * resolv/Makefile: Include ../Makeconfig - needed for building
5635         static NSS module.
5637 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5639         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
5640         static-nss since we don't want hesiod in the static NSS.
5642         * nss/Makefile: Build only nss_files as static.
5644         * nss/function.def: Remove support for service db.
5646 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
5648         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
5650 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
5652         * posix/wordexp-test.c: Make IFS per test-case.
5654 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5656         * glibcbug.in: Report version of gcc in use.  Remove unused variable
5657         ENVIRONMENT.
5659 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
5661         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
5662         `-print-file-name' to find as and ld.
5664 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5666         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
5667         template is wrong.  Remove unused varaible `ignored'.
5669 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5671         * libc.map: Export __libc_sa_len.
5673         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
5675 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
5677         * iconv/gconv.c: Take care for NULL arguments.
5678         * iconv/gconv_dl.c: Make find_func function global.
5679         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
5680         Add prototypes for ASCII conversion functions.
5681         * iconv/gconv_simple.c: Add ASCII conversion functions.
5682         * locale/C-ctype.c: Correct charset name.
5684         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
5685         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
5686         wcsmbsload.
5687         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
5688         * wcsmbs/mbrtowc.c: Likewise.
5689         * wcsmbs/mbsnrtowcs.c: Likewise.
5690         * wcsmbs/mbsrtowcs.c: Likewise.
5691         * wcsmbs/wcrtomb.c: Likewise.
5692         * wcsmbs/wcsnrtombs.c: Likewise.
5693         * wcsmbs/wcsrtombs.c: Likewise.
5694         * wcsmbs/wctob.c: Likewise.
5695         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
5696         prototypes for wmemr*.
5697         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
5698         * wcsmbs/wcsnlen.c: New file.
5699         * wcsmbs/wcsmbsload.c: New file.
5700         * wcsmbs/wcsmbsload.h: New file.
5702         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
5704         * manual/install.texi: Describe some more critical points.
5706         * string/string.h: Add prototype for __strnlen.
5707         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
5709         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
5710         much less predictable names.
5711         * sysdeps/posix/mkstemp.c: Likewise.
5713 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5715         * manual/libc.texinfo (Top): Change "file namespace" to "local
5716         namespace".
5718         * manual/socket.texi: Change file namespace to local namespace.
5719         (Out-of-Band Data): Remove unneeded variable link.
5720         (Host Address Functions): Use uint32_t consequently and add a
5721         number of clarifications for IPv4/IPv6, classless addresses.
5722         (Internet Namespace): Added some paragraphs about IPv6.
5723         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5725 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5727         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
5729         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
5730         (NI_NUMERICHOST, et al.): Tidy up and add comments.
5731         (AI_NUMERICHOST): Define.
5732         (getnodebyname): New prototype.
5733         (AI_V4MAPPED, et al.): New constants.
5735         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
5736         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
5737         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
5738         for socket.
5739         * sysdeps/unix/sysv/linux/sa_len.c: New file.
5740         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
5742         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
5744         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
5745         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
5746         * socket/Makefile (headers): Add bits/sockunion.h.
5747         * socket/sys/socket.h: Include <bits/sockunion.h>
5748         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
5749         <sys/socket.h>, to avoid getting sockaddr_union defined.
5750         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
5751         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5752         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5754         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
5755         (2.2.x kernels won't have it).
5757 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
5759         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
5760         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
5761         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
5762         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
5764 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5766         * manual/socket.texi (Socket Addresses): Fix a typo.
5767         (Interface Naming): New section.
5769 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5771         * configure.in: Check for CC using $ac_tool_prefix, to handle
5772         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
5773         * config.make.in: Add MIG to be substituted.
5774         * mach/Machrules: Don't define MIG variable.
5776         Patch by Gordon Matzigkeit <gord@profitpress.com>.
5778 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
5780         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
5781         strdupa to copy rpath.
5783 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5785         * configure.in: Fix gcc version check.
5787         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
5788         confusing.
5790 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
5792         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
5793         of ptsname_r.
5795         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
5796         like ttyname_r.
5797         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
5798         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
5799         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
5800         of __ptsname_r accordingly.
5801         * login/openpty.c (openpty): Likewise.
5803 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
5805         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
5807 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5809         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
5811         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
5813 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5815         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
5816         return value for better error checking.
5818 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
5820         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
5821         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
5823         * elf/elf.h (EM_SPARC64): Remove.
5824         (EM_SPARC32PLUS, EM_SPARCV9): Add.
5825         (HWCAP_SPARC_V9): Add.
5827         * elf/ldsodefs.h (_dl_hwcap): Declare.
5828         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
5829         Weaken so dlopen from static progies works.
5830         (WEAKADDR): New macro.
5831         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
5832         (LD_SO_PRELOAD): New macro.
5833         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
5834         (elf_machine_rela): Weaken _dl_rtld_map.
5836         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
5837         to __clone, and remove the later's alias.
5838         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5840         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
5841         the kernel's structure.
5843         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
5844         Sparc needs a custom value of __KERNEL_NCCS.
5846 1998-04-06  Richard Henderson  <rth@cygnus.com>
5848         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
5850         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
5851         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5853 1998-04-06  Richard Henderson  <rth@cygnus.com>
5855         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
5856         as the buffer is not properly aligned.
5857         Reported by Juan Cespedes <cespedes@debian.org>.
5859 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5861         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
5862         instead of AF_FILE.
5864 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
5866         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
5867         and wc*tomb* functions.
5869 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
5871         * sysdeps/unix/start.c: Fix typo.
5873 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
5875         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
5877 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
5879         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
5880         expressions and using array variables.
5881         * sysdeps/libm-ieee754/e_asin.c: Likewise.
5882         * sysdeps/libm-ieee754/e_j0.c: Likewise.
5883         * sysdeps/libm-ieee754/e_j1.c: Likewise.
5884         * sysdeps/libm-ieee754/e_log.c: Likewise.
5885         * sysdeps/libm-ieee754/e_pow.c: Likewise.
5886         * sysdeps/libm-ieee754/k_cos.c: Likewise.
5887         * sysdeps/libm-ieee754/k_sin.c: Likewise.
5888         * sysdeps/libm-ieee754/k_tan.c: Likewise.
5889         * sysdeps/libm-ieee754/s_atan.c: Likewise.
5890         * sysdeps/libm-ieee754/s_erf.c: Likewise.
5891         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
5892         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
5893         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
5895 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
5897         * iconv/gconv.c: Rewrite of the low-level of gconv.
5898         * iconv/gconv.h: Likewise.
5899         * iconv/gconv_builtin.h: Likewise.
5900         * iconv/gconv_close.c: Likewise.
5901         * iconv/gconv_db.: Likewise.
5902         * iconv/gconv_dl.c: Likewise.
5903         * iconv/gconv_int.h: Likewise.
5904         * iconv/gconv_open.c: Likewise.
5905         * iconv/gconv_simple.c: Likewise.
5906         * iconvdata/8bit-gap.c: Adapt for rewrite.
5907         * iconvdata/8bit-generic.c: Likewise.
5908         * iconvdata/euckr.c: Likewise.
5909         * iconvdata/iso646.c: Likewise.
5910         * iconvdata/iso6937.c: Likewise.
5911         * iconvdata/iso8859-1.c: Likewise.
5912         * iconvdata/johab.c: Likewise.
5913         * iconvdata/sjis.c: Likewise.
5914         * iconvdata/t61.c: Likewise.
5915         * iconvdata/uhc.c: Likewise.
5917 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
5919         * iconv/gconv_int.h: New file.  Internal header.
5920         * iconv/Makefile (distribute): Add gconv_int.h.
5921         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
5922         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
5923         * iconv/gconv_close.c: Likewise.
5924         * iconv/gconv_conf.c: Likewise.
5925         * iconv/gconv_db.c: Likewise.
5926         * iconv/gconv_dl.c: Likewise.
5927         * iconv/gconv_int.h: Likewise.
5928         * iconv/gconv_open.c: Likewise.
5929         * iconv/iconv.c: Likewise.
5930         * iconv/iconv_close.c: Likewise.
5931         * iconv/iconv_open.c: Likewise.
5932         * iconv/iconv_prog.c: Likewise.
5934 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5936         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
5937         missing braces.
5939 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5941         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
5943 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5945         Based on patch from Pat Beirne:
5946         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
5947         PIC and non-PIC now.  Correctly negate error number.
5948         (errno): Use `%' not `@' in .type directives.
5950 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5952         * sysdeps/i386/strtok.S: Change to use single exit point.
5953         * sysdeps/i386/i686/strtok.S: Likewise.
5955 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5957         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
5958         default.
5960 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5962         * Makerules (installed-libcs): Fix typo.
5964 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5966         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
5967         (UHC-routines): Remove ksc5601.
5969 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5971         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
5972         introduced in last change.
5974 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
5976         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
5977         before 2.1.92.
5979 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5981         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
5983         * stdlib/isomac.c: Use -isystem instead of -I for system include
5984         dir.
5986 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
5988         * resolv/res_comp.c (underscorechar): New.
5989         (middlechar): Allow '_'.
5991 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5993         * intl/explodename.c (stdlib.h): Include that file only if
5994         STDC_HEADERS or _LIBC.
5995         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
5996         Patch by Philippe De Muyter <phdm@macqel.be>.
5998 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6000         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
6001         (AC_PROG_CHECK_VER): New macro.
6002         * configure.in: Use AC_PROG_CHECK_VER to check versions of
6003         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
6005 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
6007         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
6008         * sysdeps/i386/i686/strtok.S: New file
6009         * sysdeps/i386/i686/strtok_r.S: New file
6011 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
6013         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
6014         type to __off64_t.
6015         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
6016         parameter as __off64_t instead of __off_t.
6017         (ftello): Make alias for ftello64 instead of ftello.  Change
6018         return type to __off64_t.
6020 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6022         * sysdeps/i386/bits/string.h: Fix various typos.
6023         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
6025         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
6027 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6029         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
6030         lchown syscall correctly.  [PR libc/541].
6032 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
6034         * localedata/Makefile: Correct testsuite rules.
6036         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
6037         * iconvdata/iso646.c: Fix conversion from UCS4.
6039         * elf/ldsodefs.h: Mark internal function with internal_function.
6040         * elf/dl-addr.c: Likewise.
6041         * elf/dl-close.c: Likewise.
6042         * elf/dl-debug.c: Likewise.
6043         * elf/dl-deps.c: Likewise.
6044         * elf/dl-error.c: Likewise.
6045         * elf/dl-fini.c: Likewise.
6046         * elf/dl-init.c: Likewise.
6047         * elf/dl-load.c: Likewise.
6048         * elf/dl-lookup.c: Likewise.
6049         * elf/dl-object.c: Likewise.
6050         * elf/dl-open.c: Likewise.
6051         * elf/dl-profile.c: Likewise.
6052         * elf/dl-reloc.c: Likewise.
6053         * elf/dl-runtime.c: Likewise.
6054         * elf/dl-symbol.c: Likewise.
6055         * elf/dl-version.c: Likewise.
6056         * elf/dlerror.c: Likewise.
6057         * sysdeps/generic/dl-sysdep.c: Likewise.
6058         * sysdeps/i386/dl-machine.h: Likewise.
6059         * intl/finddomain.c: Likewise.
6060         * intl/gettextP.h: Likewise.
6061         * intl/loadmsgcat.c: Likewise.
6063 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
6065         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
6066         * iconv/gconv_builtin.h: Add definitions for new builtins.
6067         * iconv/gconv.h: Add prototypes for new builtins.
6069         * iconvdata/Makefile (modules): Add ISO646.
6070         Add rules for ISO646 module.
6071         (distribute): Add iso646.c.
6072         * iconvdata/gconv-modules: Add module and alias definition for
6073         ISO646 charsets.
6074         * iconvdata/iso646.c: New file.
6076 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
6078         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
6079         * iconv/iconv_prog.c: Implement --list option to print available
6080         coded character sets.
6082 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6084         Make fread() read large blocks straight to the user buffer.
6086         * libio/fileops.c (_IO_file_xsgetn): New function.
6087         (_IO_file_jumps): Use it.
6088         * libio/libioP.h: Prototype it.
6090 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
6092         * iconv/gconv_conf.c (builtin_aliases): New variable.
6093         (__gconv_read_conf): Add builtin aliases.
6094         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
6095         noop macro before including gconv_builtin.h.
6096         * iconv/gconv_builtin.h: Add alias names.
6098         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
6099         number of converted bytes correctly.
6101 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6103         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
6104         we only wait for a replay.
6106 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
6108         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
6109         EUC-KR modules.
6111 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
6113         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
6114         use PLTJMP() rather than explicit (PLT).
6116         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
6117         __libc_start_main().
6119         Based on patch from Pat Beirne:
6120         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
6121         Always define, not only #ifndef PIC.
6122         (DO_CALL): Pass fifth argument correctly in R4.
6123         (PSEUDO): Correct test for error, call syscall_error through PLT
6124         if PIC.
6126 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
6128         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
6129         definitions.
6131 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
6133         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
6134         JOHAB.so.
6136 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
6138         * io/Makefile (static-only-routines): Add stat64, fstat64 and
6139         lstat64.
6141 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6143         * manual/Makefile: Use object-suffixes-for-libc instead of
6144         object-suffixes.
6145         * rpm/Makefile (install-lib): Likewise.
6147 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6149         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
6151         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
6152         `m68*', not only `m68k'.
6154 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6156         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
6158         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
6159         install lddlibc4.
6161 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6163         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
6164         EUC-KR.
6166         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
6167         comment.
6169 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
6171         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
6172         the init stuff.
6174 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6176         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
6177         adjtimex syscall.
6178         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
6179         adjtimex.
6180         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
6182 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6184         * Makerules (install): Change comment for libc.so following the
6185         libc_nonshared changes.
6187 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6189         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
6191         * iconvdata/gap.pl: Avoid using %#06x.
6193 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6195         * Makerules: Use $? instead of S^ when invoking ar.
6197 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6199         * db2/compat.h: Allow EFTYPE being defined.
6200         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
6201         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
6202         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
6203         * sysdeps/mach/bits/libc-lock.h: Fix typo.
6204         (__libc_once): Correctly unlock semaphore.
6205         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
6206         * sysdeps/unix/bsd/getpt.c: Fix typo.
6207         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
6209 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6211         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
6212         macros.
6214 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
6216         * include/mntent.h: New file.
6218         * elf/Makefile (trusted-dirs.h): Append slash to filename.
6219         * elf/dl-load.c: Rewrite search path handling.
6220         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
6221         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
6222         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
6223         * elf/ldsodefs.h: Add prototype.
6225 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
6227         * nss/nsswitch.c (__nss_lookup): Adjust comment.
6229         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
6230         function.
6232         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
6234         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
6235         New function.
6236         (HWCAP_IMPORTANT): New definition.
6238 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
6240         * elf/dl-open.c (_dl_open): Fix a typo.
6241         (_dl_global_scope_alloc): Make it static.
6243 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
6245         * Makerules: Remove duplicate rules to handle stamp.oS.
6247 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6249         * manual/examples/inetsrv.c (main): Change prototype of
6250         make_socket following change in mkisock.c.
6252         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
6253         example host.
6254         (main): Change prototype of init_sockaddr following change in
6255         isockadd.c.
6257         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
6258         * manual/examples/isockad.c (init_sockaddr): Likewise.
6260         * manual/examples/mkfsock.c (make_named_socket): Removed blank
6261         lines for clarification.
6262         (make_named_socket): Use strncpy instead of strcpy.
6263         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
6265 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
6267         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
6268         determining libs to remove.
6269         (postclean): Add soversions.mk.
6270         * Makerules (common-mostlyclean): Add tests-static and generated
6271         files.
6273 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
6275         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
6276         scanning for \0.
6277         (__strncat_g): Add i686 specific code.
6279 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6281         * manual/install.texi (Reporting Bugs): Ask to include section
6282         names in reports.
6284 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6286         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
6287         guard against direct inclusion.
6289 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6291         Rework support for libc_nonshared.a:
6292         * Makeconfig (object-suffixes-for-libc): New variable.
6293         * Rules: Remove handling of static-only and shared-only routines.
6294         * Makerules: Handle them here instead.  Use
6295         object-suffixes-for-libc instead of object-suffixes when dealing
6296         with libc objects.
6297         (object-suffixes-for-rules): Remove variable.
6298         (elide-routines.oS): Elide all routines except static-only
6299         routines.
6300         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
6301         empty.
6302         (installed-libcs): Remove special case for .oS.
6303         (rmobjs): Likewise.
6305 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6307         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
6308         do-tst-rpmatch): New targets.
6309         (test): Use them.
6310         (install-locales): Ignore comment lines.
6312 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6314         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
6315         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
6316         ($(objpfx)rtldtbl.h): Likewise.
6317         (CPPFLAGS-dl-load.c): Fix reference to object directory.
6319 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
6321         * manual/string.texi (Finding Tokens in a String): Extend strsep
6322         description and correct example.
6324 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6326         * manual/socket.texi: Remove misguided explicit line breaks and
6327         fix the formatting problem instead by reformulating the
6328         paragraphs.
6329         * manual/filesys.texi: Likewise.
6330         * manual/conf.texi: Likewise.  Don't typeset table with index
6331         fonts, that looks worse than a minimally overfull line.
6333 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6335         * nscd/Makefile (nscd-modules): Move definition outside of
6336         conditional.
6338         * pwd/Makefile: Use have-thread-library to test for thread
6339         library.
6341 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6343         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
6345         * iconvdata/uhc.c (gconv): Remove unused variable idx.
6347 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
6349         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
6351 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
6353         * nss/getXXent_r.c: Correctly handle failing setXXent function.
6355         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
6356         Reported by Andreas Jaeger.
6358 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
6360         * elf/Makefile: Fix typo.
6361         (distribute): Add dl-librecon.h.
6362         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
6363         * elf/ldd.sh.in: Likewise.
6364         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
6365         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
6366         Use strsep correctly.
6367         (process_envvars): Allow platform specific variables.
6368         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
6369         (_dl_load_cache_lookup): Test cache IDs found against
6370         _dl_correct_cache_id.
6371         * sysdeps/generic/dl-librecon.h: New file.
6372         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
6374         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
6376 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
6378         * config.make.in (ldd-rewrite-script): New variable.
6379         * configure.in: Substitute ldd-rewrite-script.
6380         * elf/Makefile: Rewrite rules to generate ldd script.
6381         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
6382         * elf/ldd.sh.in: Likewise.
6383         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
6384         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
6385         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
6386         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
6387         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
6389 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6391         * inet/rcmd.c (iruserok): Remain setuid to the local user
6392         while .rhosts is actually read, to make .rhosts-over-NFS work
6393         (PR libc/524).  Use iruserfopen() for security checks on both
6394         hosts.equiv and .rhosts.  General cleanup.
6395         (iruserfopen): New function, performs careful checking on
6396         hosts.equiv/.rhosts files.  Disallows all the old forbidden
6397         stuff plus hard links to files.
6399 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
6401         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
6403         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
6405 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
6407         * sysdeps/i386/i486/bits/string.h: Fix typos.
6409 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
6411         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
6412         strong alias.
6414         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
6416         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
6417         Added.  Used by libm.so on alpha.
6419 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6421         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
6422         defined.
6424 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
6426         * Makerules (object-suffixes-for-rules): Add .oS only for
6427         building shared library.
6428         Add ranlib rule for nonshared library.
6429         (rmobjs): Fix typo.
6431         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
6432         into for shared library only.
6433         (CPPFLAGS-.oS): Add -DPIC.
6434         (libtypes): Use $(object-suffixes-for-rules) instead of
6435         $(object-suffixes).
6437 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
6439         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
6440         and install lddlibc4.
6442 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6444         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
6445         hash.
6446         * iconvdata/gaptab.pl: Likewise.
6448 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
6450         * Rules: Allow Makefiles to specify test-static for tests which
6451         cannot be linked dynamically.
6452         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
6453         tests-static.
6455         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
6457         * misc/error.c: Pretty print.
6459 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6461         * Makerules (libc_nonshared-name): Remove variable.
6462         (installed-libcs): Use libc-name instead.
6463         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
6464         dynamic linker.
6466         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
6467         libc.a.  Remove explicit reference to dynamic linker.
6469 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
6471         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
6472         to wchar_t.
6473         * iconv/iconv_prog.c: Correctly test for write failure.
6474         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
6475         * iconvdata/gconv-modules: Likewise.
6476         * iconvdata/euckr.c: New file.
6477         * iconvdata/johab.c: New file.
6478         * iconvdata/ksc5601.c: New file.
6479         * iconvdata/ksc5601.h: New file.
6480         * iconvdata/uhc.c: New file.
6481         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
6483         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
6484         * stdio/fopen.c: Correct handling of 'x' flag.
6485         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
6487 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6489         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
6490         * sunrpc/rpcsvc/key_prot.x: Likewise.
6491         * sunrpc/key_prot.c: Likewise.
6493 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
6495         * sysdeps/i386/bits/string.h: Correct things which never worked.
6496         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
6497         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
6499 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
6501         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
6502         defined.  Reported by Thorsten Kukuk.
6504 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
6506         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
6508 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6510         * manual/install.texi (Supported Configurations): Add
6511         arm-linuxaout and arm-none.
6513 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6515         * version.h (VERSION): Bump to 2.0.93.
6517 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
6519         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
6521         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
6523         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
6524         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
6526 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6528         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
6530 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6532         Put the static-only routines in a separate library.
6533         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
6534         variables.
6535         (all-object-suffixes): Add .oS.
6536         * Makerules (libc_static-name): New variable.
6537         (installed-libcs): Add libc_nonshared.a.
6538         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
6539         (object-suffixes-for-rules): New variable.  Use it instead of
6540         object-suffixes for generating compilation rules.
6541         (rmobjs): Also remove *.oS.
6542         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
6543         ($(objpfx)stamp.oS): New target.
6545 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6547         * Makefile (FAQ): Automatically check in regenerated FAQ.
6549 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6551         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
6553 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6555         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
6556         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
6558         * sysdeps/generic/stub_warning: Removed.
6560         * Makefile (distribute): Add include/des.h.
6562         * manual/Makefile (distribute): Change dir-add.texi to
6563         dir-add.texinfo.
6565         * glibcbug.in: Create files safely when mktemp is not available.
6567         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
6568         Patch by a sun <asun@saul1.u.washington.edu>.
6570 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6572         * libc.map: Rename getname to getnetname.
6574 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
6576         * manual/maint.texi: Use supported platform in examples.
6578         * manual/install.texi: Document some installation tips.
6580 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
6582         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
6583         Fix a bug so that it returns an error if a numeric parameter is
6584         unset and WRDE_UNDEF is set.
6585         Patch by Andreas Schwab and Tim Waugh.
6586         * posix/wordexp-test.c: Add new new test.
6588 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6590         * posix/regex.c (regex_compile): Last patch wasn't entirely
6591         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
6593 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6595         * manual/filesys.texi (Scanning Directory Content): Fix typo.
6597 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
6599         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
6600         clobbered registers don't appear as operands.
6602 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6604         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
6605         Solaris' sake.
6607         * posix/regex.c (regex_compile): Don't allow non-alphabet
6608         characters in character set name.
6610 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
6612         * posix/wordexp.c (w_newword): New function.
6613         (do_parse_glob): New function.
6614         (parse_glob): Use do_parse_glob.  Now handles the case where a
6615         variable expansion causes a field-split.
6616         (wordexp): Use w_newword.
6617         (parse_arith): Likewise.
6618         (exec_comm): Likewise.
6619         (parse_comm): Likewise.
6620         (parse_param): Likewise.
6621         (parse_backtick): Likewise.
6623 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
6625         * posix/wordexp-tst.sh: Another test.
6627         * posix/wordexp-test.c: Two new tests.
6629         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
6630         directly (the code using realloc was buggy).
6631         (parse_param): Fix typo in comment.
6633 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6635         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
6637 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6639         * libc.map: Add more rpc auth functions/variables.
6641         * nscd/nscd.c: Add -g option to argp options.
6643 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6645         * configure.in: Be prepared for gcc 2.9.10 and up.
6646         * configure.in: Add missing disabling of quote characters in
6647         compiler version check.  Reported by HJ Lu.
6649 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6651         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
6653 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6655         * intl/locale.alias: Fix spelling of romanian.
6657         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
6658         (distribute): Remove des.h.
6659         * include/des.h: New file.
6660         * sunrpc/des.h: Moved to ...
6661         * sunrpc/rpc/rpc_des.h: ...here.
6663 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
6665         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
6666         Fix paren.
6668 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6670         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
6671         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
6673 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6675         * elf/ldsodesf.h: New file.
6676         * elf/Makefile (distribute): Add ldsodefs.h.
6677         * elf/link.h: Separate internal information in exter header.
6678         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
6679         * elf/dl-minimal.c: Likewise.
6680         * sysdeps/generic/dl-sysdep.c: Likewise.
6681         * elf/sprof.c: Likewise.
6682         * elf/dlsym.c: Likewise.
6683         * elf/dlvsym.c: Likewise.
6684         * elf/dlerror.c: Likewise.
6685         * elf/dladdr.c: Likewise.
6686         * elf/dlclose.c: Likewise.
6687         * elf/dlopen.c: Likewise.
6688         * elf/dl-addr.c: Likewise.
6689         * elf/dl-close.c: Likewise.
6690         * elf/dl-debug.c: Likewise.
6691         * elf/dl-deps.c: Likewise.
6692         * elf/dl-error.c: Likewise.
6693         * elf/dl-fini.c: Likewise.
6694         * elf/dl-init.c: Likewise.
6695         * elf/dl-load.c: Likewise.
6696         * elf/dl-lookup.c: Likewise.
6697         * elf/dl-object.c: Likewise.
6698         * elf/dl-open.c: Likewise.
6699         * elf/dl-profile.c: Likewise.
6700         * elf/dl-reloc.c: Likewise.
6701         * elf/dl-runtime.c: Likewise.
6702         * elf/dl-support.c: Likewise.
6703         * elf/dl-symbol.c: Likewise.
6704         * elf/dl-version.c: Likewise.
6705         * sysdeps/generic/dl-cache.c: Likewise.
6706         * sysdeps/generic/libc-start.c: Likewise.
6707         * iconv/gconv_dl.c: Likewise.
6708         * nss/nsswitch.c: Likewise.
6710 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
6712         * manual/nss.texi: The database is not called network but networks.
6713         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
6715 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6717         * configure.in: Correct test for compiler version.
6718         Check that LD_LIBRARY_PATH doesn't contain current path.
6720 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
6722         * elf/dl-close.c (_dl_close): Fix byte count while removing
6723         the shared object from the global scope list and optimize
6724         a little bit.
6726 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6728         * manual/filesys.texi (Scanning Directory Content): Add missing
6729         closing brace.
6730         (Scanning Directory Content): Fix text.
6732 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6734         * manual/memory.texi (Heap Consistency Checking): Add paragraph
6735         explaining difference of -lmcheck and MALLOC_CHECK_.
6737 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6739         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
6740         typos in comments.
6742 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6744         * test-skeleton.c (main): Fix test for exit signal.
6746 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6748         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
6750 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6752         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
6753         appropriate.
6755 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6757         * libc.map: Export __strtok_r.
6759 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
6761         * posix/regex.c (re_compile_fastmap): Remove unused variable
6762         num_regs and adjust comment.
6763         Patch by Jim Meyering <meyering@ascend.com>.
6765         * math/math.h (M_*l): Extend long double constants to be usable
6766         for 128 bit floats.  Patch by Richard Henderson.
6768 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6770         * sysdeps/m68k/m68020/wordcopy.S: New file.
6772 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
6774         * posix/wordexp.c: Rewrite parse_param.
6775         Patch by Tim Waugh and Andreas Schwab.
6777 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6779         * Rules: Update timestamps on empty object files.
6781 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
6783         * manual/filesys.texi (Scanning Directory Content): Add description
6784         of 64 bits scandir function and friends.
6786 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6788         * glibcbug.in: Use mktemp to generate unique file name for
6789         temporary files.
6791         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
6792         ptsname_r.  Use cast for execve call.
6794 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
6796         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
6797         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
6798         * io/sys/statvfs.h: New file.
6799         * sysdeps/generic/fstatvfs.h: New file.
6800         * sysdeps/generic/statvfs.h: New file.
6801         * sysdeps/generic/fstatvfs64.h: New file.
6802         * sysdeps/generic/statvfs64.h: New file.
6803         * sysdeps/generic/bits/statvfs.h: New file.
6804         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
6805         * sysdeps/unix/sysv/linux/statvfs.c: New file.
6806         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
6808         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
6809         and f_ffree elements.
6811         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
6812         mount options in enum.
6814 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6816         * configure.in: Check for recent egcs/gcc.
6818 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6820         * libc.map: Add alphasort64, scandir64, versionsort64.
6821         * dirent/Makefile (routines): Add scandir64, alphasort64, and
6822         versionsort64.
6823         * dirent/alphasort64.c: New file.
6824         * dirent/scandir64.c: New file.
6825         * dirent/versionsort64.c: New file.
6826         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
6827         versionsort.
6828         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
6829         old name weak alias.
6830         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6832         * dirent/alphasort.c: Use strcoll instead of strcmp.
6834         * dirent/scandir.c: Optimize a bit.
6836         * dirent/versionsort.c: Pretty print.
6838 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6840         * string/string.h: Add prototype for __strtok_r.
6842 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6844         * posix/Makefile: Fix typo in last change.
6846 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6848         * dirent/dirent.h (scandir): Make argument of select function const.
6849         * dirent/scandir.c (scandir): Likewise.
6850         Reported by David.Faure@insa-lyon.fr [PR libc/512].
6852 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
6854         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
6855         weak alias.
6856         * sysdeps/i386/strtok_r.c: Likewise.
6858         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
6859         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
6860         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
6861         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
6862         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
6863         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
6865 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6867         * intl/localealias.c: Remove unneeded define for strdup.
6869 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
6871         * manual/argp.texi: Adjust for better TeX output.
6872         * manual/arith.texi: Likewise.
6873         * manual/conf.texi: Likewise.
6874         * manual/filesys.texi: Likewise.
6875         * manual/header.texi: Likewise.
6876         * manual/lgpl.texinfo: Likewise.
6877         * manual/math.texi: Likewise.
6878         * manual/message.texi: Likewise.
6879         * manual/pattern.texi: Likewise.
6880         * manual/process.texi: Likewise.
6881         * manual/signal.texi: Likewise.
6882         * manual/socket.texi: Likewise.
6883         * manual/startup.texi: Likewise.
6884         * manual/stdio.texi: Likewise.
6885         * manual/terminal.texi: Likewise.
6886         * manual/examples/rprintf.c: Likewise.
6887         * manual/examples/testopt.c: Likewise.
6888         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6890 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
6892         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
6893         parameter name after seeing a digit if it's enclosed in braces.
6895 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6897         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
6899 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6901         * manual/memory.texi (Heap Consistency Checking): Document
6902         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
6904 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6906         * manual/Makefile: Add missing rules.
6908 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6910         * timezone/Makefile (generated): Define to remove all stamp files.
6912         * sysdeps/generic/strsep.c: Also undefine __strsep.
6914         * string/strdup.c: Undefine __strdup and strdup first.
6915         * string/strndup.c: Likewise.
6917         * string/bits/string2.h: Correct strtok_r and strsep.
6918         Add strndup optimization.
6920         * sysdeps/generic/strsep.c: Little optimization.
6922 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
6924         * string/bits/string2.h: Add optimization for strdup.
6925         Always define __strsep and __strtok_r and make real names available
6926         when feature select macros are defined.
6928 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6930         * manual/install.texi (Installation): Use i486-linux as example
6931         instead of the unsupported sunos4.
6932         (Reporting Bugs): Mention glibcbug script.
6933         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
6935 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6937         * posix/wordexp-tst.sh: Make portable.  Add more tests.
6939         * posix/Makefile (do-globtest do-wordexp-test): New targets.
6941 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
6943         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
6944         * sysdeps/generic/libc-start.c: ...here, replacing former content.
6946         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
6947         netpacket/packet.h.
6949         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
6951 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6953         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
6954         in enumerator for strict standard compliance.
6955         * sysdeps/generic/bits/resource.h: Likewise.
6957 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
6959         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
6960         (PLTJMP): New macro.
6962         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
6963         longjmp() when floating point enabled.
6964         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
6965         * sysdeps/arm/__longjmp.S: Remove floating point code.
6966         * sysdeps/arm/setjmp.S: Likewise.
6968         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
6969         * sysdeps/arm/bsd-_setjmp.S: Likewise.
6971         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
6972         memset().
6974         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
6975         prototype.
6977 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
6979         Based on patches from Pat Beirne and Scott Bambrough:
6981         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
6983         * sysdeps/arm/bits/fenv.h: New file.
6985         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
6986         * sysdeps/arm/elf/setjmp.S: Likewise.
6987         * sysdeps/arm/elf/start.S: Likewise.
6988         * sysdeps/arm/init-first.c: Likewise.
6989         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
6990         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
6991         comment about floating point to reflect current reality.
6993         * sysdeps/unix/arm/brk.S: Support PIC.
6994         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
6995         re-entrant code.
6996         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
6997         return; call syscall_error through PLT.
6998         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
7000 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
7002         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
7003         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
7004         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
7006 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7008         * dirent/list.c (test): Return error value.
7009         (main): Exit with error value.
7011         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
7013         * Makefile (distribute): Add test-skeleton.c.
7014         * test-skeleton.c: New file.
7015         * dirent/Makefile (tests): Add opendir-tst1.
7016         * dirent/opendir-tst1.c: New file.
7018 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7020         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
7021         Optimize memory handling.
7022         * sysdeps/unix/closedir.c: Optmize memory handling.
7024 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
7026         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
7027         handling.  Optimize a bit.
7029 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
7031         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
7032         (parse_param): Fold in Andreas' fixes to do with when the end of
7033         the parameter name has been reached, and quoting inside ${...}.
7034         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
7035         $((echo);(ls)).
7037 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7039         * manual/maint.texi: Split out installation and contribution
7040         sections to their own appendices.  Misc cleanups.
7041         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
7042         * manual/contrib.texi: New file.
7043         * manual/libc.texinfo: Pull in new appendices.
7044         * manual/header.texi: Correct node pointer.
7046 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7048         * manual/process.texi (Process Completion): Clarify return value
7049         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
7051 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7053         * posix/wordexp-test.c: Add more tests.
7054         (testit): Fix logic.
7056         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
7057         /dev/null instead of closing it, close pipe.  Always chop off all
7058         trailing newlines.  Kill and reap child before returning error.
7059         (w_addword, parse_glob): Fix memory leak.
7060         (wordexp): Fix dangling pointer problem.
7062 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
7064         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
7066         * posix/wordexp-test.c (main): Fix little thinkos and typos.
7068         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
7069         directory index by only the language.
7071 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
7073         * posix/wordexp-tst.sh: Store test results in the
7074         ${common_objpfx}posix directory.
7076         * posix/wordexp-test.c: Remove temporary directory afterwards.
7078 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7080         * libc.map: Export internal versions of cancelable functions.
7082 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7084         * Makerules (MAKEFLAGS): Append `r'.
7086 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7088         * Makeconfig: Define have-thread-library, shared-thread-library
7089         and static-thread-library if a thread library is available.  Don't
7090         define rt.
7091         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
7092         nscd-routines to nscd-modules.  Use shared-thread-library and
7093         static-thread-library in dependencies.
7094         * rt/Makefile: Only compile librt if have-thread-library is
7095         defined.
7096         * Makefile (subdirs): Always include rt subdir.
7098 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7100         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
7102 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
7104         * configure.in: Recognize variations for 32 MIPS processors.
7105         Don't assume ELF systems always have .weak, test for .weakext.
7107 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
7109         * configure.in: Irix6 is an ELF platform.
7111 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
7113         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
7114         unmapping the last loaded segment.
7116 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
7118         * configure.in: Set base_os for Irix6.
7119         Correct test for .weakext.
7121 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7123         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
7124         (new_line) to _dl_debug_message call.
7126 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
7128         * posix/wordexp.c (parse_param): Perform field-splitting after
7129         expanding positional parameter.
7131         * posix/wordexp-tst.sh: Test that field-splitting is performed
7132         after expanding positional parameter.
7134         * posix/wordexp.c (parse_param): Fixed memory leak in
7135         field-splitting after parameter expansion.
7137 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
7139         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
7140         (get_toplvl_escape): Correctly terminate loop at EOF.
7141         Patch by Cristian Gafton <gafton@redhat.com>.
7143 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
7145         * string/tester.c (test_strpbrk): Add more strpbrk tests.
7146         (test_strsep): Likewise.  Correct horrible bugs.
7148         * string/bits/string2.h (strcspn): Optimize also reject string of
7149         length 2 and 3.
7150         (strspn): Likewise.
7151         (strpbrk): Likewise.
7152         (strsep): Likewise.  Correct bug with successive separators and
7153         separators at the end of the string.
7154         * sysdeps/generic/strsep.c: Correct bug with successive separators
7155         and separators at the end of the string.
7157 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
7159         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
7160         etc) now handled, as well as $$ (pid).
7162         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
7163         (distribute): Add wordexp-tst.sh.
7165         * posix/wordexp-tst.sh: New file.
7167         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
7168         number of positional parameters.  Renamed substitute_length to
7169         seen_hash.
7170         Don't free(env) is env is NULL.
7172 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
7174         * libc.map: Add pthread_attr_init to GLIBC_2.1.
7176 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
7178         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
7179         for output file replacing gmon.out.
7180         Patch by Dean Gaudet <dgaudet@arctic.org>.
7182 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7184         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
7185         up namespace.  Optimize finding end of line.
7187 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7189         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
7190         securely.  Optimized.
7191         (process_dl_debug): Add ':' to list of separators.  Optimized.
7193 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7195         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7196         isless, islessequal, islessgreater, isunordered): Return zero or
7197         one.
7199 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
7201         * posix/wordexp-test.c: More tests.
7202         (main): Set up arena for pathname expansion tests (in a temporary
7203         directory).
7204         (testit): Don't check word count or word vector if return value is
7205         non-zero.
7207         * posix/wordexp.c (exec_comm): Always chop off terminating
7208         linefeed (just like bash does).
7209         (parse_param): Change lots of occurrences of "if (!*env)" to "if
7210         (!env || !*env)".
7211         (parse_param): For assignment inside parameter expansion, use all
7212         expanded words in assignment rather than just the first.
7213         (parse_param): Corrected return value for parameter expansion of
7214         an unset variable when WRDE_UNDEF is in effect.
7215         (parse_dollars): Don't field-split if quoted.
7216         (wordexp): Opening brace character isn't allowed unquoted.
7218 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
7220         * elf/dlerror.c: Fix concurrency problems with error string and
7221         number.
7223         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
7224         filter/auxiliary are being loaded.
7226 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
7228         * elf/dlerror.c (last_object_name): Removed.
7229         (dlerror): Don't use last_object_name.
7230         (_dl_error_run): Omit second argument to _dl_catch_error.
7231         * elf/dl-error.c (struct catch): Remove objname member.
7232         (_dl_signal_error): Construct string including objname when given.
7233         (_dl_catch_error): Remove objname handling.
7234         * elf/link.h (_dl_catch_error): Fix prototype and comment.
7235         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
7236         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
7237         * nss/nsswitch.c (nss_dlerror_run): Likewise.
7238         * iconv/gconv_dl.c (dlerror_run): Likewise.
7239         [Corrects PR libc/501].
7241 1998-03-12  Matthias Urlichs <smurf@noris.de>
7243         * nscd/nscd.c: Ignore SIGPIPE.
7245 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
7247         * nscd/nscd_getgr_r.c: Use __ protected names.
7248         * nscd/nscd_getpw_r.c: Likewise.
7250 1998-03-12  Matthias Urlichs <smurf@noris.de>
7252         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
7253         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
7254         null bytes are not transmitted.
7256 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7258         * powerpc/syscalls.list: Correct typo.
7259         * alpha/syscalls.list: Likewise.
7260         * mips/syscalls.list: Likewise.
7262 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
7264         * socket/sys/socket.h: Add prototype for __socket.
7266 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7268         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
7270         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
7271         constants.
7273         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
7274         definition here.
7275         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
7276         definition here.
7278         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
7279         AF_* and PF_* constants.
7281         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
7283 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
7285         * elf/rtld.c: Update help message.
7286         Install link maps for preloaded objects using main_map as loader.
7288         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
7289         * elf/dl-profile.c: Likewise.
7291         * elf/dlsym.c: Little optimization.
7292         * elf/dlvsym.c: Likewise.
7294 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
7296         * posix/wordexp-test.c: Move test for parameter list at the very
7297         beginning.
7299 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
7301         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
7302         WRDE_REUSE flag is set.
7303         (parse_param): Allow `*', `@', and numbers in parameter names.
7304         (parse_dollars): Differentiate between arithmetic expansion and a
7305         command substitution that starts immediately with a sub-shell
7306         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
7307         (parse_param): Memory allocated with __alloca in a block was
7308         referenced outside that block.  Adjusted to use malloc/free.
7309         (parse_param): Adjusted field-splitting algorithm so that there is
7310         not necessarily a field split at the end of a parameter expansion.
7312 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
7314         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
7315         don't free words that have already been allocated.
7316         (parse_param): A dollar sign on its own will never have a pattern
7317         associated with it (like "${HOME%%/}" has), so don't try to free it.
7318         (parse_glob): Attempt to glob when an unquoted `[' is found
7319         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
7320         (parse_glob): Sorted out quoting in a glob-able word.
7321         (parse_param): Added $* and $@ handling.
7323 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
7325         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
7326         parsing it.
7328 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7330         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
7331         _dl_debug_message.
7333 1998-03-12  Matthias Urlichs  <smurf@noris.de>
7335         * elf/dl-misc.c: Default for debug output should be stderr.
7336         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
7337         * elf/dl-lookup.c: reference_name may be NULL or empty.
7339 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7341         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
7343 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
7345         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
7347         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
7349 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7351         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
7352         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
7354 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7356         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
7357         init stuff.
7359 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7361         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
7362         flag.
7364         * misc/syslog.c (vsyslog): Don't try to send if not connected to
7365         syslog daemon.
7366         (closelog_internal): Don't do anything if not connected.
7368 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
7370         * libc.map: Add _dl_debug_message.
7371         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
7372         before every line.
7373         * elf/fini.c: Correctly use new _dl_debug_message function.
7374         * elf/init.c: Likewise.
7375         * elf/dl-lookup.c: Likewise.
7376         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7377         * elf/dl-load.c: Likewise.  Add more debugging prints.
7378         * elf/dl-reloc.c: Likewise.
7379         * elf/dl-version.c: Likewise.
7380         * elf/dl-support.c: Add variables for debugging.
7381         * elf/rtld.c: Likewise.  Recognize new debug options.
7382         * elf/link.h: Declare new variables.
7384         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
7386 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7388         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
7389         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
7391 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
7393         * posix/wordexp-test.c (command_line_test): New function to allow
7394         testing of specific cases from the command-line.
7396 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7398         * elf/dl-init.c (_dl_init_next): Print nicer messages.
7399         * elf/dl-fini.c (_dl_fini): Likewise.
7400         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
7402         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
7403         symbol in debug message.
7404         (_dl_lookup_versioned_symbol_skip): Likewise.
7406 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
7408         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
7409         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
7410         * manual/filesys/texi: Document this.
7412 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
7414         * manual/filesys.texi: Document the change below.
7416 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7418         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
7419         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
7421 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
7423         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
7424         instead scope.  If debugging display information about symbol
7425         resolving.
7426         (_dl_lookup_symbol): Call do_lookup with correct parameters.
7427         (_dl_lookup_symbol_skip): Likewise.
7428         (_dl_lookup_versioned_symbol): Likewise.
7429         (_dl_lookup_versioned_symbol_skip): Likewise.
7430         * elf/dl-support.c: Define _dl_debug_symbols.
7431         * elf/link.h: Add declaration for _dl_debug_symbols.
7432         * elf/rtld.c: Define _dl_debug_symbols.
7433         (process_dl_debug): Recognize symbols option.
7435 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
7437         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
7438         in correct format.
7439         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
7440         with correct parameters.
7441         [!PIC]: Initialize __libc_multiple_libcs.
7443 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
7445         * elf/dl-support.c (_dl_debug_bindings): Add definition.
7446         * elf/rtld.c (_dl_debug_bindings): Add definition.
7447         (process_dl_debug): Recognize bindings option.  Update help message.
7448         * elf/link.h (struct link_map): Add l_versyms member.
7449         (_dl_debug_bindings): Add declaration.
7450         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
7451         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
7452         and l_reloc_result.
7453         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
7454         (sym_val): Remove a member, add m as link_map.
7455         (do_lookup): Return result appropriately.
7456         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
7457         Call do_lookup correctly.
7458         (_dl_lookup_symbol_skip): Likewise.
7459         (_dl_lookup_versioned_symbol): Likewise.
7460         (_dl_lookup_versioned_symbol_skip): Likewise.
7462 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
7464         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
7465         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
7467         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
7468         * libc.map: Add chown to GLIBC_2.1.
7469         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
7470         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
7472 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7474         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
7475         weak alias.
7476         * sysdeps/alpha/ffs.c: Likewise.
7477         * sysdeps/am29k/ffs.c: Likewise.
7478         * sysdeps/i386/ffs.c: Likewise.
7479         * sysdeps/i960/ffs.c: Likewise.
7480         * sysdeps/m68k/ffs.c: Likewise.
7481         * sysdeps/m88k/ffs.c: Likewise.
7482         * sysdeps/powerpc/ffs.c: Likewise.
7483         * sysdeps/rs6000/ffs.c: Likewise.
7484         * sysdeps/vax/ffs.s: Likewise.
7485         * string/string.h: Declare __ffs.
7486         * libc.map: Export it.
7487         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
7488         __builtin_ffs, which is not guaranteed to be namespace clean.
7490 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7492         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
7493         table, which is much more likely to exist than debugging symbols.
7494         (printsym): Remove const.
7495         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
7496         header table.
7498         * libc.map: Export __profile_frequency, used by elf/sprof, to
7499         avoid infinite recursion during startup.
7501 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7503         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
7504         Readd lost negate.
7506         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
7508 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
7510         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
7512 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
7514         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
7515         LD_PRELOAD, and LD_VERBOSE.
7516         (dl_main): Use global variables set by process_envvars instead of
7517         calling getenv.
7518         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
7519         LD_LIBRARY_PATH value, this comes with the parameter.
7520         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
7521         ("LD_LIBRARY_PATH") to _dl_init_paths.
7523 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
7525         * elf/rtld.c (dl_main): Delay initialization of path structure if
7526         the dynamically linker is invoked implicitly until we read the
7527         dynamic section.
7529 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
7531         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
7533 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7535         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
7536         Linux 2.0 and 2.1.
7538         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
7540 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
7542         * Makeconfig (nisobjdir): Set to path to nis directory.
7543         (rpath-link): Add nisobjdir.
7544         Patch by Sven Verdoolaege <skimo@kotnet.org>.
7546         * elf/Makefile: Pretty print.
7547         * elf/dl-lookup.c: Include unistd.h.
7548         * elf/dl-runtime.c: Likewise.
7550         * localedata/Makefile (test-srcs): Add tst-rpmatch.
7551         (distribute): Add tst-rpmatch.sh.
7552         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
7554         New tests for rpmatch function by
7555         Jochen Hein <jochen.hein@delphi.central.de>.
7556         * localedata/tst-rpmatch.c: New file.
7557         * localedata/tst-rpmatch.sh: New file.
7559         * localedata/locales/de_DE: Correct yesexpr and noexpr.
7560         * localedata/locales/de_AT: Likewise.
7562         * posix/getopt.c: Update contact address.
7563         * posix/getopt1.c: Pretty print.
7565         * sysdeps/generic/libc-start.c: Do most of the initialization now
7566         here instead of in start.S.
7567         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7568         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
7570         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
7571         profil_counter to be public.
7573 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
7575         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
7576         (parse_param): Coded parameter length expansion (${#var}).
7577         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
7578         (parse_param): Cleaned up (fixed) error handling.
7580         * posix/wordexp-test.c: IFS now includes non-whitespace character
7581         (comma).  Added more tests.
7583 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
7585         * elf/link.h: Fix typos.
7586         Reported by Andreas Jaeger.
7588         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
7589         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
7591 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7593         * argp/argp-help.c: Remove last bits of using gettext instead of
7594         dgettext.
7596 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
7598         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
7599         __libc_start_main.
7600         * csu/Makefile (routines): Add libc-start.
7601         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
7602         * elf/dl-lookup.c: Likewise.
7603         * elf/dl-version.c: Likewise.
7604         * sysdeps/i386/dl-machine.h: Likewise.
7605         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
7606         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
7607         _dl_sysdep_message macros which use _dl_sysdep_output.
7608         * elf/dl-fini.c: Write out which destructor is called while debugging.
7609         * elf/dl-init.c: Likewise for constructor.
7610         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
7611         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
7612         _dl_sysdep_message.  Add _dl_sysdep_output.
7613         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
7614         this file can be opened.
7615         For LD_DEBUG=libs also set _dl_debug_impcalls.
7616         * sysdeps/generic/dl-cache.c: Include unistd.h.
7617         * sysdeps/generic/libc-start.c: New file.
7618         * sysdeps/unix/sysv/linux/libc-start.c: New file.
7619         * sysdeps/i386/elf/start.S: Don't call main directly, call
7620         __libc_start_main instead.
7622         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
7624 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7626         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
7628 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
7630         * argp/argp.h (struct argp): Add new field domain.
7631         * argp/argp-help.c: Change all gettext calls to dgettext and use
7632         domain field from appropriate argp in call.
7633         * argp/argp-parse.c: Likewise.
7635 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
7637         * posix/wordexp-test.c: Change testsuite so that it can run even
7638         for ~root != /root.
7640 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7642         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
7644 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7646         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7647         Don't store into global errno if we already store through
7648         __errno_location.
7649         * sysdeps/unix/i386/sysdep.S: Likewise.
7650         * sysdeps/unix/alpha/sysdep.S: Likewise.
7651         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7652         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7653         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
7654         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
7655         PIC).
7657 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7659         * sysdeps/generic/sysdep.h (L): Remove definition.
7660         * sysdeps/i386/sysdep.h (L): Define it here instead.
7662 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7664         * nis/nis_call.c (__do_niscall): Safe and reset errno.
7666         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
7668 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7670         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
7671         declaration style to avoid warnings.
7673 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
7675         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
7676         "LD_DEBUG".
7678 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7680         * posix/Makefile (tests): Add wordexp-test.
7681         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
7682         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
7684 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
7686         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
7687         dependencies.
7689         * elf/link.h (struct r_search_path_elem): Add two new field for
7690         lib path debugging.
7691         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
7692         variable accordingly.
7693         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
7694         is considered next along with information about load paths.
7695         * sysdeps/generic/dl-cache.c: Likewise.
7696         * elf/dl-support.c: Define _dl_debug_libs.
7697         * elf/genrtldtbl.awk: Add initializers for two new field in
7698         struct r_search_path_elem.
7700 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7702         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
7703         * sysdeps/m68k/lshift.S: Likewise.
7704         * sysdeps/m68k/rshift.S: Likewise.
7705         * sysdeps/m68k/sub_n.S: Likewise.
7706         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
7707         * sysdeps/m68k/m68020/mul_1.S: Likewise.
7708         * sysdeps/m68k/m68020/submul_1.S: Likewise.
7710         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
7711         [_LIBC_REENTRANT]: Don't store into global errno.
7713         * sysdeps/m68k/sysdep.h: New file.
7714         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
7715         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
7716         (DO_CALL): Change to expect syscall name as argument.
7717         (PSEUDO): Pass syscall_name to DO_CALL.
7718         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
7719         errno.
7721 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7723         * elf/rtld.c: Speed up processing of environment variables.  Do
7724         only one run on the environment by avoiding to call getenv.
7725         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
7726         function.  Used by patch above.
7728 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7730         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
7731         running nscd.
7732         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
7733         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
7734         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
7736 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7738         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
7739         module cannot be found.  Reported by Andreas Jaeger.
7741 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7743         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
7744         on platforms which default to unsigned chars.
7745         * nscd/nscd_getpw_r.c: Likewise.
7746         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
7747         defining it.
7749 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7751         * elf/Makefile (install-bin): Change = to += for sprof to install
7752         ldd also.
7754 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
7756         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
7758 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
7760         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
7762 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7764         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
7765         that a failure to connect to nscd doesn't change errno.
7767 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7769         * manual/maint.texi (Reporting Bugs): Change
7770         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
7772         * locale/iso-4217.def: Likewise
7774 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
7776         * manual/texinfo.tex: Updated.
7778 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7780         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
7781         value.
7782         * sysdeps/posix/pathconf.c: Likewise.
7783         * posix/getconf.c: Print `undefined' if pathconf returns -1
7784         without setting errno.
7786 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
7788         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
7789         problem.
7790         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
7791         Patches by Elliot Lee <sopwith@cuc.edu>.
7793 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
7795         * elf/link.h (struct link_map): Add new field l_reloc_result.
7796         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
7797         of relocation for the object to be profiled.
7798         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
7799         to NULL.
7800         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
7801         array here.
7802         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
7803         contains a result from a previous run use this instead of computing
7804         the value again.
7805         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
7807 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7809         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
7810         offsets into the GOT.
7811         (RTLD_START): Likewise.
7813 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
7815         * elf/sprof.c: Cleanup a bit.
7817 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
7819         * sysdeps/generic/sysdep.h (L): New. Define.
7821         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
7823         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
7825         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
7826         to have only one exit point for functions.
7827         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7828         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
7829         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
7830         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7831         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7833 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7835         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
7836         reset errno so that errno isn't set to ENOSYS in the first call.
7837         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
7838         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7839         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7840         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7842 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
7844         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
7845         * sysdeps/i386/addmul_1.S: Likewise.
7846         * sysdeps/i386/lshift.S: Likewise.
7847         * sysdeps/i386/mul_1.S: Likewise.
7848         * sysdeps/i386/rshift.S: Likewise.
7849         * sysdeps/i386/sub_n.S: Likewise.
7850         * sysdeps/i386/submul_1.S: Likewise.
7851         * sysdeps/i386/i586/add_n.S: Likewise.
7852         * sysdeps/i386/i586/addmul_1.S: Likewise.
7853         * sysdeps/i386/i586/lshift.S: Likewise.
7854         * sysdeps/i386/i586/mul_1.S: Likewise.
7855         * sysdeps/i386/i586/rshift.S: Likewise.
7856         * sysdeps/i386/i586/sub_n.S: Likewise.
7857         * sysdeps/i386/i586/submul_1.S: Likewise.
7859         * sysdeps/i386/sysdep.h: Extend last change.
7861         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
7862         to have only one exit point for functions.
7864 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7866         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
7867         search.
7869 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
7871         * Makerules: Generate libc.so with absolute paths for the used
7872         shared objects.
7874         * config.make.in: Add MAKEINFO definition.
7876 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7878         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
7879         (ENTRY): Use STABS_FUN.
7880         (END): Use STABS_FUN_END.
7881         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
7883         * elf/Makefile: Add rules to build sprof program.
7884         * elf/sprof.c: New file.
7886 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7888         * misc/syslog.c (openlog_internal): Insert missing closing brace.
7890 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7892         * configure.in: Check for working msgfmt version (from GNU gettext
7893         0.10 or later).
7895 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7897         * configure.in: Avoid //s in sysdirs.
7898         Patch by Roland McGrath.
7900         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
7902 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
7904         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
7905         setting _dl_global_scope for RTLD_GLOBAL.
7907 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7909         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
7910         possible lists of object-suffixes are taken care of.
7912 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
7914         * timezone/private.h: Update from tzcode1998c.
7915         * timezone/zic.c: Likewise.
7916         * timezone/antarctica: Updated from tzdata1998c.
7917         * timezone/asia: Likewise.
7918         * timezone/australasia: Likewise.
7919         * timezone/europe: Likewise.
7920         * timezone/southamerica: Likewise.
7922 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7924         * posix/glob.c (glob_in_dir): Add support for cases insensitive
7925         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
7927 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
7929         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
7930         Changed type of TWO43, TWO52 from float to double.
7931         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
7932         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
7933         Changed type of TWO43 from float to double.
7934         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
7935         Use __isinff.
7937 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
7939         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
7940         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
7941         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
7943 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
7945         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
7946         kernel_termios.h.
7947         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
7948         Clean up random whitespace.
7949         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
7950         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
7951         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
7952         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
7954 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
7956         * shlib-versions: Match alpha*.
7957         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
7958         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
7960         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
7961         Implement copysign* with and without __ prefix.
7962         Likewise for fabs; use builtin for gcc 2.8.
7963         (floor*): New.
7964         (fdim*): New.
7966         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
7967         (R_SPARC*): Match current v9 ABI.
7969         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
7971         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
7972         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7973         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
7974         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
7975         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7976         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
7977         * sysdeps/unix/grantpt.c (argv): Fix consts.
7978         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
7979         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7981 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7983         * misc/syslog.c: Change to allow user the interpretation of the
7984         outcome even with syslog having no return value.
7986 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
7988         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
7989         that the number of program headers is >0 (which is wrong for the
7990         loader itself).
7992 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7994         * Makefile (distribute): Add README.libm.
7996 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7998         * time/clocktest.c (main): Correct typo: "--" -> "==".
8000 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
8002         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
8003         inline function.
8004         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
8005         inline functions.
8007         * math/libm.map (__atan2): Added.
8009 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8011         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
8012         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
8014         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
8015         bug.
8017 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8019         * manual/arith.texi (Old-style number conversion): Correct
8020         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
8022 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8024         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
8025         but does not require it.  Handle missing argv[] values gracefully.
8026         * posix/execl.c: Likewise.
8027         * posix/execle.c: Likewise.
8029 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8031         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
8032         bit.
8033         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
8035 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8037         * libc.map: Add __adjtimex.
8039 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8041         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
8042         Remove memset.
8044 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
8046         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
8047         to 64.
8049         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
8051         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
8052         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
8054         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
8055         for shared library.
8057         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
8059         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
8060         Added adjtimex and old_adjtimex.
8062         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
8063         New.
8064         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
8065         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
8067         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
8068         symbols only for shared library.
8069         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8070         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8071         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8072         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8073         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8074         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8075         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8077         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
8078         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8079         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8080         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8081         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8082         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8083         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8084         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8086         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
8087         rusage pointer.
8089         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
8090         New macros.
8091         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
8092         timex and __adjtimex, respectively.
8094         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
8096         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
8098 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
8100         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
8101         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
8103 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
8105         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
8107 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8109         * Makefile.in: Disable built-in rules.
8111 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8113         * sysdeps/i386/fpu/t_exp.c: Move to ...
8114         * sysdeps/libm-i387/t_exp.c: ... here.
8116 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
8118         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
8119         from __exp2_deltatable.
8121 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
8123         * nis/ypclnt.c (yp_master): Check result of strdup.
8124         Patch by Thorsten Kukuk.
8126 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8128         * nis/ypclnt.c: Give clnt handle after error checking free, change
8129         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
8131 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
8133         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
8134         Patch by Joe Keane <jgk@jgk.org>.
8136         * misc/fstab.h (struct fstab): Change fs_type member to be const.
8137         * misc/fstab.c: Remove casts in fs_type assignments.
8139 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8141         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
8142         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
8143         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
8144         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
8145         * sysdeps/powerpc/bits/fenv.h: Likewise.
8146         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
8147         * sysdeps/generic/bits/fenv.h: Likewise.
8148         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8149         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
8150         * sysdeps/powerpc/test-arith.c (main): Likewise.
8152 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
8154         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
8155         the comparison macros.
8157 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
8159         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
8160         (__log2): Fixed return values.
8161         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
8163 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
8165         * math/math.h (isunordered): Rename local variables to ensure
8166         correct code.  Reported by HJ Lu.
8168 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
8170         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
8171         isless, islessequal, islessgreater, isunordered): Fix syntax for
8172         fucompip instruction.
8173         (isless, islessequal): Fix logic.
8175 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8177         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
8178         (comparisons_test): New tests for comparison macros.
8180 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
8182         * Makeconfig: Filter out frame-pointer effecting options when
8183         compiling profiling or debugging code.
8184         * config.h.in (internal_function): Don't define here if PROF is
8185         defined.
8186         * gmon/gmon.c (__moncontrol): Don't change state if already in error
8187         state.
8188         (__monstartup): If calloc fails set error state and mark array as
8189         not allocated.
8190         (_mcleanup): Don't call write_gmon if in error state.  Don't try
8191         to free array if not  successfully allocated.
8193         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
8194         Include elf.h to get macro definitions.
8195         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
8197 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
8199         * elf/ldd.sh.in: Add compatibility for broken old shells.
8200         * elf/ldd.bash.in: Likewise.
8202 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
8204         * sunrpc/rpc_main.c (open_input): Check pipe return error.
8206         * time/clocktest.c (main): Check signal return error.
8208 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8210         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
8211         "/" and use do-install-program. Reported by Mark M. Kettenis.
8212         (subdir_install):  Likewise.
8214 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8216         * sunrpc/rpc_sample.c: Fix typo.
8218         * nscd/connections.c: Use locale.
8219         * nscd/grpcache.c: Add debug messages, gidtbl should get the
8220           calloc result.
8221         * nscd/nscd.c: Check if init functions fails.
8222         * nscd/nscd_conf.c: Allow disabling of group cache.
8223         * nscd/nscd_getgr_r.c: Fix return code if group not found.
8224         * nscd/pwdcache.c: Fix debug messages.
8226 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8228         * libc.map: Add __monstartup and _mcleanup for profiling support.
8230 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8232         * libc.map: Export __getpagesize, for binary compatibility with
8233         2.0.
8235 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8237         * posix/globtest.sh: Use --library-path instead of
8238         LD_LIBRARY_PATH.
8239         * localedata/sort-test.sh: Likewise.
8240         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
8242 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8244         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
8245         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
8246         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8248         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
8249         kernel_sigaction): Define.
8250         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
8251         kernel_sigaction): Define.
8253 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8255         * math/libm-test.c: Change epsilons for libm-ieee754.
8257 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
8259         * sysdeps/i386/__longjmp.S: Fix race condition.
8260         Reported by Bruno Haible <haible@ilog.fr>.
8262 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
8264         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
8265         * iconvdata/8bit-gap.c: Likewise.
8266         * iconvdata/8bit-generic.c: Likewise.
8267         * iconvdata/iso6937.c: Likewise.
8268         * iconvdata/iso8859-1.c: Likewise.
8269         * iconvdata/sjis.c: Likewise.
8270         * iconvdata/t61.c: Likewise.
8272 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8274         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
8275         feature tests by positive feature tests.
8277 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8279         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
8281 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
8283         * elf/dlvsym.c (dlvsym_doit): More corrections.
8284         Patch by Andreas Jaeger.
8286 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
8288         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
8290 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
8292         * libc.map: More reordering for GLIBC_2.1 symbols.
8294 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8296         * libc.map: Move some functions from version GLIBC_2.0 to
8297         GLIBC_2.1, reorder declarations.
8299 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
8301         * resolv/gethnamaddr.c (addrsort): Make this function extern.
8302         Patch by zab@thebrain.grumblesmurf.net.
8304 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8306         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
8307         NIS+ functions with version GLIBC_2.1.
8309 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
8311         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
8312         with 2.0 binaries.  Reported by Thorsten Kukuk.
8314 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8316         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
8318         * elf/dlsym.c (dlsym_doit): Likewise.
8320 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8322         * elf/link.h: Correct typos.
8324         * iconv/iconv_prog.c: Correct typo.
8326 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
8328         * iconv/Makefile: Add rules to build and install iconv program.
8329         * iconv/iconv_prog.c: New file.
8331 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
8333         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
8334         _dl_lookup_symbol_skip call.
8335         * elf/dlvsym.c (dlvsym_doit): Likewise.
8337 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
8339         * libio/iovsscanf.c: Do not include errno.h.
8341 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8343         * elf/dl-load.c (add_name_to_object): Don't translate strings.
8344         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
8345         pulling in the whole error list.
8346         (__dcgettext, dcgettext): Removed.
8347         * libc.map: Export _strerror_internal.
8349 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
8351         * sysdeps/i386/fpu/t_exp.c: New file.
8353 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8355         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
8356         everything with version GLIBC_2.1.
8357         * hesiod/libnss_hesiod.map: Likewise.
8359 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8361         * manual/arith.texi (Old-style number conversion): This node is a
8362         section, not a subsection.
8364 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8366         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
8368 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8370         * elf/rtld.c (dl_main): Make sure that the library search paths
8371         have been initialized before the first call to _dl_map_object.
8373 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8375         * Makerules (common-generated): Add libc_pic.os.
8377 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8379         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
8380         of the executable.
8382 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8384         * sysdeps/m68k/fpu/t_exp.c: New file.
8386 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8388         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
8389         to global errno variable anymore.
8391 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
8393         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
8394         If PRELOADED is nonzero check in case of an SUID application
8395         whether the shared object has the SUID bit set.
8396         Fix some other problems with handling shared objects in system
8397         specific directories.
8398         (_dl_map_object): Also take extra parameter and pass it to open_path.
8399         * elf/link.h (_dl_map_object): Correct prototype and comment.
8400         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
8401         * elf/dl-open.c (_dl_open): Likewise.
8402         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
8404         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
8406 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8408         * math/libm-test.c (modf_test): Add test for 1.5.
8410         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
8411         0 to get always an int.
8413 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8415         * math/libm.map: Move all symbols that are new in glibc 2.1 to
8416         version GLIBC_2.1.
8418 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8420         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
8421         trying to read another character.
8423 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8425         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
8426         name to lowercase.
8428         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
8429         name to lowercase, add test for big enough buffer.
8431 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8433         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
8434         Make compatible with older kernels.  Patch by Richard Henderson.
8436 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
8438         * elf/dl-load.c (open_path): Use __xstat instead of stat.
8440         * localedata/tst-locale.sh: Comment out first test for now.
8442 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
8444         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
8445         as 1.
8446         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8447         Likewise.
8449         * libio/iogetline.c (_IO_getline_info): Renamed from
8450         _IO_getline.
8451         (_IO_getline): Just call _IO_getline_info.
8453         * libio/libioP.h (_IO_getline_info): New declaration.
8455         * libc.map (_IO_getline_info, __write): Added.
8457 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8459         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
8460         const char* to shut up gcc.
8462 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
8464         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
8465         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
8467         * math/math.h: Define M_* constants always as `double' and add new
8468         macros M_*l which are of type `long double'.
8469         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
8470         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
8471         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
8472         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
8473         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
8474         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
8475         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
8476         * math/libm-tst.c: Likewise.
8478         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
8479         define as long double unconditionally.
8481 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8483         * manual/arith.texi (Old-style number conversion): Correct some
8484         typos.
8486 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
8488         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
8489         Restore.
8491         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
8493 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
8495         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
8496         on $(rtld-ldscript).
8498         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
8499         starting from 0 not only from `from'.
8500         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8502 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
8504         * elf/rtld.c (dl_main): Recognize --library-path parameter and
8505         pass value (or NULL) to _dl_init_paths.
8506         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
8507         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
8508         environment variable.
8509         * elf/link.h: Change prototype for _dl_init_paths.
8510         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
8512         * localedata/Makefile (distribute): Add test files.
8514 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8516         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
8517         test1.def, test2.def, test3.def, test4.def}: Simple input files
8518         for localedef. Contributed by Yung-Ching Hsiao
8519         <yhsiao@cae.wisc.edu>.
8521         * localedata/Makefile (tests): Call tst-locale.sh.
8523         * localedata/tst-locale.sh: New file, regression tests for some
8524         localedef problems.
8526 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8528         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
8530         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
8531         terminated.
8532         * nis/nss_nisplus/nisplus-network.c: Likewise.
8533         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8534         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8535         * nis/nss_nisplus/nisplus-service.c: Likewise.
8537         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
8538         and support generating thread safe RPC code.
8539         * sunrpc/rpc_main.c: Add changes.
8540         * sunrpc/rpc_clntout.c: Likewise.
8541         * sunrpc/rpc_cout.c: Likewise.
8542         * sunrpc/rpc_hout.c: Likewise.
8543         * sunrpc/rpc_parse.c: Likewise.
8544         * sunrpc/rpc_sample.c: Likewise.
8545         * sunrpc/rpc_scan.c: Likewise.
8546         * sunrpc/rpc_svcout.c: Likewise.
8547         * sunrpc/rpc_util.c: Likewise.
8548         * sunrpc/rpc_util.h: Add new structs and prototypes.
8549         * sunrpc/proto.h: Remove prototypes for static functions.
8551 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8553         * locale/programs/ld-messages.c (messages_finish): Don't skip
8554         error checking when being quiet.
8555         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
8556         (set_class_defaults): Likewise.
8557         * locale/programs/charmap.c (parse_charmap): Likewise.
8558         * locale/programs/ld-collate.c (collate_finish): Likewise.
8559         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
8560         * locale/programs/ld-time.c (time_finish): Likewise.
8561         * locale/programs/locfile.c (write_locale_data): Likewise.
8563         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
8564         unknown characters and empty ranges.
8565         * locale/programs/ld-collate.c (collate_order_elem): When
8566         processing an ellipsis properly form a linked list in the result
8567         table, fix typo when allocating ordering array.
8568         [PR libc/419]
8570 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8572         * elf/Makefile (ld-map): Define.
8573         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
8574         `$(rtld-ldscript)'.
8575         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
8576         on $(ld-map).
8577         (rtld-link): Combine the two versions of this definition.  Fixed
8578         to make it work when no symbol versioning is used.
8580 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
8582         * Makeconfig (build-program-cmd): Use --library-path parameter to
8583         ld.so instead of environment variable.
8585         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
8586         * sunrpc/rpc_main.c: Remove support for -$$ option again.
8588 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8590         * Make-dist: Respect with-cvs setting.
8591         * MakeTAGS (all-pot): Likewise.
8592         * sysdeps/sparc/sparc32/Makefile: Likewise.
8593         * sysdeps/mach/hurd/Makefile: Likewise.
8594         * stdlib/Makefile: Likewise.
8595         * posix/Makefile: Likewise.
8596         * intl/Makefile: Likewise.
8597         * po/Makefile (linguas): Likewise
8599 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8601         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
8603 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8605         * libc.map: Add __strcasecmp.
8607         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
8608         module.
8610         * nss/getXXent_r.c: If no more module is found don't try to call
8611         setXXent functions but leave unsuccessfully.
8613         * malloc/obstack.h: Cleanups.
8615         * sysdeps/wordsize-32/stdint.h: New file.
8616         * sysdeps/wordsize-64/stdint.h: New file.
8617         * sysdeps/generic/stdint.h: New file.
8618         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
8619         * sysdeps/wordsize-64/inttypes.h: Likewise.
8620         * stdlib/Makefile (headers): Add stdint.h.
8622 1998-02-03  Paul Eggert  <eggert@twinsun.com>
8624         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
8626 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8628         * timezone: New directory.
8629         * time/README, time/africa, time/antarctica, time/asia,
8630         time/australasia, time/backward, time/checktab.awk,
8631         time/etcetera, time/europe, time/factory, time/ialloc.c,
8632         time/iso3166.tab, time/leapseconds, time/northamerica,
8633         time/pacificnew, time/private.h, time/scheck.c,
8634         time/solar87, time/solar88, time/solar89, time/southamerica,
8635         time/systemv, time/test-tz.c, time/tzfile.h,
8636         time/tzselect.ksh, time/yearistype, time/zdump.c,
8637         time/zic.c, time/zone.tab: Moved to timezone.
8638         * time/tzfile.c: Include tzfile.h from timezone subdir.
8639         * time/tzset.c: Likewise.
8640         * time/Makefile: Cut out all code relating to timezones...
8641         * timezone/Makefile: ...and paste it in here.
8642         * Makefile (subdirs): Add timezone.
8644 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
8646         * libc.map (_sys_nerr): Added.
8648         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
8649         versioned symbol.
8651 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
8653         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
8654         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
8655         Reported by Craig Metz <cmetz@inner.net>.
8657 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8659         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
8660         instead of strcasecmp.
8661         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
8663         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
8665 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
8667         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
8668         Patch by Dean Gaudet <dgaudet@arctic.org>.
8670 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
8672         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
8674 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8676         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
8677         with no poll syscall, just include the BSD version.
8678         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
8679         kernel without the syscall, include the stub version.
8680         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
8681         * sysdeps/generic/getresuid.c: New file.
8682         * sysdeps/generic/getresgid.c: New file.
8684 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8686         * stdio-common/vfscanf.c: Correct last change a bit.
8688 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
8690         * elf/Makefile: Don't use --version-script parameter to link ld.so
8691         unconditionally.
8693 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
8695         * math/Makefile: Add t_exp.
8696         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
8697         constants.
8698         * math/test-reduce.c: Remove temporarily, it seems to be broken.
8699         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
8700         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
8701         better accuracy.
8702         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
8703         algorithm for very large/very small arguments.
8704         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
8705         correct algorithm for very large/very small arguments; adjust for
8706         new table.
8707         * sysdeps/libm-ieee754/t_exp.c: New file.
8708         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
8710         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
8711         back, with comment that explains what breaks when you remove it :-(.
8713         * localedata/xfrm-test.c: Avoid integer overflow.
8715         * stdlib/strfmon.c: char is unsigned, sometimes.
8717         * sysdeps/powerpc/Makefile: Remove quad float support.
8718         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
8719         * sysdeps/powerpc/quad_float.h: Likewise.
8720         * sysdeps/powerpc/test-arith.c: Likewise.
8721         * sysdeps/powerpc/test-arithf.c: Likewise.
8723         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
8724         * sysdeps/generic/s_exp2f.c: Likewise.
8726         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
8727         don't try anything if _SOFT_FLOAT.
8729 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8731         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
8732         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
8733         * wctype/wctype.c: Likewise.
8734         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
8735         changed.  They are incompatible with the _ISxxx values from
8736         <ctype.h> on little endian machines.
8737         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
8738         bit number.  This fixes the real bug and restores the integrity of
8739         the ctype locale file.
8740         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
8741         * wctype/wcfuncs_l.c: Likewise.
8742         * wctype/wcextra.c: Likewise.
8743         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
8744         byte swapping.
8746 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8748         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
8749         into .bss segment instead of .common, so that aliases on it work.
8751         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
8752         .size directives, put into .bss segment instead of initializing it
8753         to 4.
8755 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
8757         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
8759         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
8760         functions.
8761         Make names without __ weak aliases.
8762         (__libc_release, __libc_version): Make them static.
8764         * include/gnu/libc-version.h: New file.
8765         * Makefile (headers): Add gnu/libc-version.h.
8767 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
8769         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
8770         and use x for member name.
8771         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
8773         * stdlib/drand48.c: Change according to member name change.
8774         * stdlib/drand48_r.c: Likewise.
8775         * stdlib/lcong48_r.c: Likewise.
8776         * stdlib/lrand48.c: Likewise.
8777         * stdlib/lrand48_r.c: Likewise.
8778         * stdlib/mrand48.c: Likewise.
8779         * stdlib/mrand48_r.c: Likewise.
8780         * stdlib/seed48.c: Likewise.
8781         * stdlib/seed48_r.c: Likewise.
8782         * stdlib/srand48_r.c: Likewise.
8784 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8786         * nss/test-netdb.c: Add some more test cases.
8788 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
8790         * libio/iovsscanf.c: Undo last change modifying errno.
8792 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8794         * stdio-common/vfscanf.c: Never try to read another character
8795         after EOF.  Don't decrement read_in after EOF, it wasn't
8796         incremented in the first place.
8797         (NEXT_WIDE_CHAR): Set First, not first.
8799 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
8801         * db/Makefile ($(inst_libdir)/libndbm.a,
8802         $(inst_libdir)/libndbm.so): New targets.
8803         * db2/Makefile: Likewise.
8805 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
8807         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
8808         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
8810 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8812         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
8813         <streambuf.h>.
8814         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8816 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8818         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
8819         versioned symbols.
8821 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
8823         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
8824         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
8825         Added for libdl.so.
8827 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8829         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
8830         extra syscall.
8832         * grp/Makefile: Fix logic when checking for thread package.
8833         * pwd/Makefile: Likewise.
8835 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
8837         * elf/Makefile (rtld-map): Replaced by libc-map.
8839         * elf/rtld.map: Removed.
8841         * libc.map (__libc_enable_secure, _dl_catch_error,
8842         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
8843         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
8844         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
8845         _dl_object_relocation_scope, _dl_relocate_object,
8846         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
8847         _r_debug): Added for ld.so.
8849 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
8851         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
8852         DO_VERSIONING.
8853         * libio/iofdopen.c: Ditto.
8854         * libio/iofopen.c: Ditto.
8855         * libio/oldfileops.c: Ditto.
8857         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
8858         version GLIBC_2.1.
8860         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
8861         oldsiglist from sysdep_routines and shared-only-routines.
8863         * sysdeps/unix/sysv/linux/errlist.c: New.
8864         * sysdeps/unix/sysv/linux/errlist.h: New.
8865         * sysdeps/unix/sysv/linux/sizes.h: New.
8866         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
8867         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
8869         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
8871         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
8872         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
8873         directive.
8875         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
8877         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
8878         (oldsiglist.c): Removed.
8880         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
8881         (_sys_siglist): Use SYS_SIGLIST instead.
8882         (_sys_nerr): Use SYS_NERR instead.
8884         * sysdeps/gnu/errlist.c: Rebuilt.
8886 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
8888         * elf/Makefile (others-static): New, set to ldconfig.
8889         ($(objpfx)ldconfig): Removed.
8891         * Rules (binaries-all, binaries-static, binaries-shared): New.
8892         Create targets for $(binaries-static) and $(binaries-shared).
8894         * Makeconfig (+link-static, link-libc-static,
8895         link-extra-libs-static): New for static linking.
8897 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8899         * manual/memory.texi (Using the Memory Debugger): Fix typo.
8901         * math/libm-test.c (modf_test): Add one more test for modf.
8903 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
8905         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8906         Rename from __libc_have_rt_sigs and leave as COMMON data.
8908 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
8910         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
8911         of __finite.
8913 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
8915         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
8917 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
8919         * misc/tst-efgcvt.c: Add yet more tests.
8920         * misc/efgcvt_r.c: And correct for these tests again.
8921         Reported by HJ Lu.
8923         * isomac.c: Move to...
8924         * stdlib/isomac.c: ...here.
8925         * Makefile: Move rules for handling isomac...
8926         * stdlib/Makefile: ...to here.
8928 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8930         * misc/tst-efgcvt.c: Add more tests.
8931         * misc/efgcvt_r.c: Correct result for above new tests.
8933 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
8935         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
8936         NDIGIT <= 0.
8938 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
8940         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
8941         if the programs weren't built.
8943 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
8945         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
8946         FE_TONEAREST, soldier on regardless and do the best we can.
8947         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
8949 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
8951         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
8952         _STDIO_H, before including <bits/stdio_lim.h>.
8954         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
8956         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
8957         exist.
8959         * sysdeps/arm/sys/ucontext.h: New file.
8961 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
8963         * manual/stdio.texi (Formatted Output Functions): Explicitly say
8964         that the return value from snprintf() does not count the
8965         terminating NUL as a character.
8967 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8969         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
8970         add description for sete[ug]id and general cleanup.
8971         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8973 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8975         * Makefile (parent-clean): Don't remove makefile fragments here.
8976         (postclean): New variable.
8977         (clean): Remove makefile fragments here.
8978         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
8979         (generated): Add isomac and isomanc.out.
8980         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
8981         avoid-generated is set.
8982         (postclean-generated): Add soversion.mk.
8983         ($(common-objpfx)version.mk): Don't include if avoid-generated is
8984         set.
8985         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
8986         avoid-generated is set.
8987         (common-generated): Add libc.so and libc.so$(libc.so-version).
8988         (generated): Add versioned libraries.
8989         (common-mostlyclean): Also remove %.so and %_pic.a.
8990         * csu/Makefile (generated): Add abi-tag.h.
8991         * db2/Makefile (extra-objs): Add getlong.o.
8992         * elf/Makefile (generated): Add ld.so, ldd and
8993         $(rtld-installed-name).
8994         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
8995         * malloc/Makefile (generated): Add mtrace.
8996         * po/Makefile: Don't include version.mk, not needed any more.
8997         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
8998         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
8999         syscall.h -> sys/syscall.h.
9000         (common-generated): Add s-proto.d.
9001         (postclean-generated): Add sysd-syscalls.
9002         * localedata/Makefile (test-output): Add all output files.
9003         (generated): Add test-input and test-output.
9004         (generated-dirs): Add all the dirs.
9006 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9008         * Makefile (test-output, generated, generated-dirs): New
9009         variables.
9011 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
9013         * resolv/nss_dns/dns-host.c: Various code cleanups.
9015 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
9017         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
9018         From Philip Blundell <pb@nexus.co.uk>.
9019         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
9021 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9023         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
9024         Suggested by debian/sparc porters.
9026 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9028         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
9029         for ecvt and fcvt.
9031 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
9033         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
9034         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
9036         * signal/signal.h: Always define sigset_t if __need_sigset_t is
9037         defined even if __USE_POSIX is not defined.
9039 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9041         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
9042         to support obsolete tty major numbers correctly.
9044 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
9046         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
9047         directory first and ignore install error.
9049         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
9050         128 from ptyno and fix a typo for the BSD style pty.
9052 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9054         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
9055         syscalls.list's.
9057 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9059         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
9060         getresuid and getresgid.
9062         * sysdeps/unix/sysv/linux/getresuid.c: New file.
9063         * sysdeps/unix/sysv/linux/getresgid.c: New file.
9065         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
9066         s_getres[ug]id.
9068         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
9069         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9070         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
9071         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
9073 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
9075         * nscd/grpcache.c: Include <stdlib.h>.
9077 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
9079         * stdlib/atoll.c: Fix comments.
9081         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
9082         * sysdeps/posix/ttyname_r.c: Ditto.
9084 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9086         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
9087         __USE_MISC, independent of __USE_UNIX98.
9089 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
9091         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
9092         Rename from __libc_have_rt_sigs and leave as COMMON data.
9094 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
9096         * Makeconfig (CFLAGS-.os): Kill -fno-common.
9097         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
9099         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
9100         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
9101         version symbols.
9102         * include/libc-symbols.h (symbol_version, default_symbol_version):
9103         Provide asm versions and correct !DO_VERSIONING versions.
9104         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
9105         the weak symbol list.
9107         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
9108         Rename from __libc_have_rt_sigs and leave as COMMON data.
9109         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9110         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9111         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9113 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9115         * sunrpc/Makefile: Correct dependencies of rpcgen.
9117 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
9119         * nscd/Makefile: Fix test for available linuxthreads add-on.
9120         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
9122 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9124         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
9126 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9128         * sysdeps/gnu/Makefile: Respect with-cvs variable.
9130         * manual/errno.texi (Error Messages): Correct description of
9131         strerror_r.  Pointed out by jonas@bagge.se.
9133 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9135         * manual/socket.texi (Host Address Functions): Clarify description
9136         of inet_network.
9138 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9140         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
9141         (grantpt): Delete superfluous cast.
9143 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9145         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
9146         elf/ldso_install instead of elf/subdir_install.
9147         (elf/ldso_install): New target.
9149         * elf/Makefile (ldso_install): New target.
9151 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9153         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
9154         of 1998-01-06.
9156 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9158         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
9159         constant expressions.
9161 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9163         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
9164         for __nss_configure_lookup.
9165         (output_hostent): Remove unused variable.
9167 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9169         * string/tst-inlcall.c: Fix format string.
9171 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9173         * inet/netinet/in.h: Rename second parameter of bindresvport to
9174         avoid buggy gcc warning. [PR libc/412]
9176 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
9178         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
9179         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
9181         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
9182         Follow POSIX and make tv_sec a time_t.
9183         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
9184         new tv64 syscall as well as fall back to tv32.
9185         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
9186         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
9187         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
9188         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
9189         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
9190         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
9191         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
9192         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
9194         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
9195         * include/rpcsvc/nis_tags.h: Likewise.
9196         * include/rpcsvc/nislib.h: Likewise.
9198 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
9200         * libc.map: Add _h_errno.
9201         * inet/herrno.c: Make _h_errno weak alias.
9203         * login/Makefile (distribute): Add pty-internal.h.
9205         * nscd/Makefile (distribute): Add all the files missing.
9207         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
9208         are available.
9210         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
9211         and report status at the end.
9213         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
9215         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
9216         variable.
9217         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
9218         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
9219         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
9221 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
9223         * configure.in: Fix --enable-add-ons code.
9225 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9227         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
9228         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
9229         [PR libc/441]
9231         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
9232         occurence in cache.  Reported by Rudolf Leitgeb
9233         <leitgeb@leland.stanford.edu>.
9234         [PR libc/440]
9236 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
9238         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
9239         that it never is EINTR (which is tested for in _IO_vfscanf).
9241         * Makefile.in: Call sub-make with CVSOPTS.
9243         * elf/Makefile (distribute): Add dl-procinfo.h.
9245         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
9247 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
9249         * version.h (VERSION): Bump to 2.0.92.
9251 1998-01-31  Phil Blundell  <philb@gnu.org>
9253         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
9254         alias for __new_sys_siglist.
9256 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
9258         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
9259         getgrgid_r.c if thread package is available.
9260         * pwd/Makefile: Likewise.
9261         * grp/getgrnam_r.c: Remove USE_NSCD definition.
9262         * grp/getgrgid_r.c: Likewise.
9263         * pwd/getpwnam_r.c: Likewise.
9264         * pwd/getpwuid_r.c: Likewise.
9266 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
9268         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
9269         with error to allow user intervention.
9270         * nss/getXXent_r.c: Likewise.
9272 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
9274         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
9275         AT_PLATFORM string.  Pretty print AT_BASE info.
9277         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
9278         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
9279         * sysdeps/generic/dl-procinfo.h: New file.
9280         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
9282 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
9284         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
9286         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
9287         thread and not pthread_detach.
9289         * nscd/nscd.c: Rewrite to use argp instead of getopt.
9291 1998-01-31  Phil Blundell  <philb@gnu.org>
9293         * configure.in: Add --without-cvs option to suppress automatic
9294         checkin of regenerated files.
9295         * config.make.in: Likewise.
9296         * Makefile: Respect with-cvs setting.
9297         * Makerules: Likewise.
9299         * configure.in: Allow the standalone ARM port to be configured.
9301 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9303         * grp/getgrgid_r.c: Define USE_NSCD.
9304         * grp/getgrnam_r.c: Likewise.
9305         * pwd/getpwuid_r.c: Likewise.
9306         * pwd/getpwnam_r.c: Likewise.
9308         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
9310         * nss/getXXbyYY_r.c: Try at first nscd.
9312         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
9313         * nscd/connections.c: New file.
9314         * nscd/dbg_log.c: New file.
9315         * nscd/dbg_log.h: New file.
9316         * nscd/grpcache.c: New file.
9317         * nscd/nscd.c: New file.
9318         * nscd/nscd.h: New file.
9319         * nscd/nscd_conf.c: New file.
9320         * nscd/nscd_stat.c: New file.
9321         * nscd/pwdcache.c: New file.
9323         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
9324         * nscd/nscd_getpw_r.c: Likewise.
9325         * nscd/nscd_proto.h: New, prototypes for client functions.
9327         * nscd/nscd.conf: New, example for a configuration file.
9328         * nscd/nscd.init: New, example for a startup script.
9330         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
9331         avoid deadlocks.
9332         * nscd/getgrnam_r.c: Likewise.
9333         * nscd/getpwnam_r.c: Likewise.
9334         * nscd/getpwuid_r.c: Likewise.
9336 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
9338         * intl/Makefile: Use CVSOPTS in cvs invocation.
9339         * po/Makefile: Likewise.
9340         * posix/Makefile: Likewise.
9341         * stdlib/Makefile: Likewise.
9343 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
9345         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
9346         [PR libc/410]
9347         * misc/Makefile (tests): Add tst-efgcvt.
9348         * misc/tst-efgcvt.c: New file.
9350 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
9352         * posix/regex.c: Add some more cleanups by Akim Demaille.
9354 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
9356         * signal/signal.h: Revert last change.
9357         * string/strsignal.c: Regard signal number NSGI as illegal.
9358         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
9359         members.
9361 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
9363         * Makefile.in: Add comment about CVSOPTS Makefile variable.
9364         * Makerules: Use CVSOPTS in cvs invocation.
9365         * Makefile: Likewise.
9366         * MakeTAGS: Likewise.
9367         * Make-dist: Likewise.
9369 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
9371         * sysdeps/generic/memmem.c: Correct last change.
9373 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
9375         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
9376         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
9378 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9380         * nis/ypclnt.c: Try at first to use the binding file from ypbind
9381         before using RPC.
9383 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9385         * manual/memory.texi (Heap Consistency Checking): mcheck is
9386         declared in <mcheck.h>.
9387         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
9389 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9391         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
9392         beginning of haystack.
9394 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9396         * nss/nss_files/files-service.c: Correct last patch.
9398 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
9400         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
9401         __libc_have_rt_sigs.
9402         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
9403         including <bits/setjmp.h>.
9404         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
9405         Patch from the Debian glibc/SPARC package.
9407 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
9409         * sysdeps/alpha/bzero.S: Fix a typo.
9410         * sysdeps/alpha/htonl.S: Ditto.
9411         * sysdeps/alpha/htons.S: Ditto.
9413 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9415         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
9417 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
9419         * include/cpio.h: Move to ...
9420         * posix/cpio.h: ...here.
9422         * locale/programs/ld-collate.c: Fix typo.
9424         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
9426         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
9428         * login/utmp_file.c (pututline_file): Don't always report success
9429         if similar entry is found.  Patch by Mark M. Kettenis.
9431 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
9433         * manual/Makefile: Don't try to install the info files if makeinfo
9434         is not available.
9436 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
9438         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
9439         kernel's network ioctls, rather than using <linux/sockios.h> to
9440         get them.  This way we are sure of maintaining compatibility if
9441         the kernel interface should change.
9443 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
9445         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
9447 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
9449         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
9450         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
9452 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9454         Implement System V pseudoterminal handling.
9456         * login/Makefile
9457         (routines): Add getpt, grantpt, unlockpt, ptsname.
9458         (libutil-routines): Remove pty. Add openpty, forkpty.
9459         (distribute): New internal header pty-internal.h.
9460         (others): Add the helper program, pt_chown.
9461         (install-others): Install it, in $(libexecdir), mode 4755.
9463         * login/pty-internal.h: New file.
9464         * login/openpty.c: New file.
9465         * login/forkpty.c: New file.
9466         * login/programs/pt_chown.c: New file.
9468         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
9469         * stdlib/stdlib.h: Prototype them.
9471         * config.make.in: Define $(libexecdir).
9472         * Makeconfig: Define $(inst_libexecdir).
9474         * sysdeps/generic/pty.c: Removed.
9475         * sysdeps/unix/sysv/linux/pty.c: Removed.
9477         * sysdeps/generic/getpt.c: Stub out.
9478         * sysdeps/generic/grantpt.c: Likewise.
9479         * sysdeps/generic/ptsname.c: Likewise.
9480         * sysdeps/generic/unlockpt.c: Likewise.
9482         * sysdeps/unix/grantpt.c: New file.
9483         * sysdeps/unix/bsd/getpt.c: New file.
9484         * sysdeps/unix/bsd/unlockpt.c: New file.
9485         * sysdeps/unix/sysv/linux/getpt.c: New file.
9486         * sysdeps/unix/sysv/linux/ptsname.c: New file.
9487         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
9489 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
9491         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
9493 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9495         * nss/Makefile (tests): Add rule for test-netdb.c.
9497         * nss/test-netdb.c: New file.
9499 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
9501         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
9502         really kept as a variable.  Patch by Richard Henderson,
9503         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
9505         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
9506         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
9507         entries as not existing.
9509 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9511         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
9512         zero in alternate form with precision of zero, which must produce
9513         "0".  Add braces to avoid ambiguous `else'.
9515 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9517         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
9518         problem with strncpy.
9519         * nis/nss_compat/compat-pwd.c: Likewise.
9520         * nis/nss_compat/comapt-spwd.c: Likewise.
9522 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9524         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
9525         by uch@nop.or.jp. [PR libc/437]
9527 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9529         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
9531 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9533         * stdio-common/test-popen.c: Include <errno.h>.
9535         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
9536         close.
9538         * inet/getnetgrent_r.c: Include <errno.h>.
9540         * db2/db/db_conv.c: Include <string.h> for memcpy.
9542         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
9543         so that memcpy is declared.
9545         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
9547         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
9549 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9551         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
9552         overflow while reading line with fgets.
9553         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9555 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
9557         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
9558         unsigned short, not short.
9559         Reported by Andreas Jaeger.
9561 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9563         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
9564         (ccept->accept).
9566         * sysdeps/generic/inttypes.h: Fix spelling.
9568 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9570         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
9572         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
9574 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
9576         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
9577         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
9578         field for hh modifier.
9579         * stdio-common/vfprint.c: Use is_char field and do not depend in
9580         is_short having the value 2.
9581         Bug reported by Andreas Jaeger.
9583 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9585         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
9586         PIC && DO_VERSIONING.
9588 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9590         * Rules: Add rules for $(common-objpfx)dummy$o.
9592 1998-01-26  Richard Henderson  <rth@cygnus.com>
9594         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
9595         unimplemented OSF/1 definitions so that they are not accidentally seen.
9597         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
9598         of the trampoline function into the macro.
9599         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
9600         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
9601         kernel 2.1.82 has this fixed.
9603         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
9604         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
9606 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
9608         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
9609         support sigaction on kernels > 2.1.7x.
9611 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
9613         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
9614         if it is empty.
9616         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
9617         Patch by David Engel <david@sw.ods.com>.
9619         * configure.in: Fix another typo in --enable-add-ons code.
9621 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
9623         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
9625 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9627         * nss/nss_files/files-network.c: Correct order of parameters for
9628         getnetbyaddr.
9630 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
9632         * db2/Makefile (routines): Add os_alloc.
9633         * db2/db.h: Update from db-2.3.16.
9634         * db2/db_185.h: Likewise.
9635         * db2/db_int.h: Likewise.
9636         * db2/btree/bt_close.c: Likewise.
9637         * db2/btree/bt_cursor.c: Likewise.
9638         * db2/btree/bt_delete.c: Likewise.
9639         * db2/btree/bt_open.c: Likewise.
9640         * db2/btree/bt_page.c: Likewise.
9641         * db2/btree/bt_put.c: Likewise.
9642         * db2/btree/bt_rec.c: Likewise.
9643         * db2/btree/bt_recno.c: Likewise.
9644         * db2/btree/btree_auto.c: Likewise.
9645         * db2/common/db_appinit.c: Likewise.
9646         * db2/common/db_apprec.c: Likewise.
9647         * db2/common/db_err.c: Likewise.
9648         * db2/common/db_region.c: Likewise.
9649         * db2/common/db_shash.c: Likewise.
9650         * db2/db/db.c: Likewise.
9651         * db2/db/db_auto.c: Likewise.
9652         * db2/db/db_conv.c: Likewise.
9653         * db2/db/db_dispatch.c: Likewise.
9654         * db2/db/db_dup.c: Likewise.
9655         * db2/db/db_pr.c: Likewise.
9656         * db2/db/db_rec.c: Likewise.
9657         * db2/db185/db185.c: Likewise.
9658         * db2/dbm/dbm.c: Likewise.
9659         * db2/hash/hash.c: Likewise.
9660         * db2/hash/hash_auto.c: Likewise.
9661         * db2/hash/hash_dup.c: Likewise.
9662         * db2/hash/hash_page.c: Likewise.
9663         * db2/hash/hash_rec.c: Likewise.
9664         * db2/include/btree_ext.h: Likewise.
9665         * db2/include/clib_ext.h: Likewise.
9666         * db2/include/common_ext.h: Likewise.
9667         * db2/include/db.h.src: Likewise.
9668         * db2/include/db_185.h.src: Likewise.
9669         * db2/include/db_am.h: Likewise.
9670         * db2/include/db_ext.h: Likewise.
9671         * db2/include/db_int.h.src: Likewise.
9672         * db2/include/hash_ext.h: Likewise.
9673         * db2/include/lock_ext.h: Likewise.
9674         * db2/include/log.h: Likewise.
9675         * db2/include/log_auto.h: Likewise.
9676         * db2/include/log_ext.h: Likewise.
9677         * db2/include/mp.h: Likewise.
9678         * db2/include/mp_ext.h: Likewise.
9679         * db2/include/mutex_ext.h: Likewise.
9680         * db2/include/os_ext.h: Likewise.
9681         * db2/include/os_func.h: Likewise.
9682         * db2/include/txn_ext.h: Likewise.
9683         * db2/lock/lock.c: Likewise.
9684         * db2/lock/lock_util.c: Likewise.
9685         * db2/log/log.c: Likewise.
9686         * db2/log/log.src: Likewise.
9687         * db2/log/log_archive.c: Likewise.
9688         * db2/log/log_auto.c: Likewise.
9689         * db2/log/log_get.c: Likewise.
9690         * db2/log/log_put.c: Likewise.
9691         * db2/log/log_rec.c: Likewise.
9692         * db2/log/log_register.c: Likewise.
9693         * db2/mp/mp_bh.c: Likewise.
9694         * db2/mp/mp_fget.c: Likewise.
9695         * db2/mp/mp_fopen.c: Likewise.
9696         * db2/mp/mp_fput.c: Likewise.
9697         * db2/mp/mp_pr.c: Likewise.
9698         * db2/mp/mp_sync.c: Likewise.
9699         * db2/mutex/mutex.c: Likewise.
9700         * db2/os/os_alloc.c: Likewise.
9701         * db2/os/os_config.c: Likewise.
9702         * db2/os/os_stat.c: Likewise.
9703         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9704         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9705         * db2/progs/db_load/db_load.c: Likewise.
9706         * db2/progs/db_printlog/db_printlog.c: Likewise.
9707         * db2/progs/db_recover/db_recover.c: Likewise.
9708         * db2/progs/db_stat/db_stat.c: Likewise.
9709         * db2/txn/txn.c: Likewise.
9711         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
9712         Unmap memory blocks in reverse order of allocation.
9713         Call munmap with load address added to offset.
9714         Bug reported by Miguel de Icaza.
9716         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
9717         up weight array.
9719         * localedata/locales/cs_CZ: Update by Michael Mraka
9720         <michael@informatics.muni.cz>.
9722         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
9723         __USE_BSD.
9725         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
9726         reading line with fgets.
9727         * nis/nss_compat/compat-pwd.c: Likewise.
9728         * nis/nss_compat/compat-spwd.c: Likewise.
9729         * nss/nss_files/files-XXX.c: Likewise.
9730         * nss/nss_files/files-alias.c: Likewise.
9731         * shadow/fgetspent_r.c: Likewise.
9733         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
9735         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
9736         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
9737         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
9739         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
9740         FP register content in ucontext_t.
9742 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9744         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
9745         calculation.  Patch by Markus Schoder
9746         <Markus.Schoder@dresdner-bank.de>.
9748         * math/libm-test.c (modf_test): Add more tests for modf.
9750         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
9751         munlock according to Unix98.
9753 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9755         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
9756         AF_INET.
9758 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
9760         * sysdeps/posix/ttyname.c: Handle symbolic links.
9761         * sysdeps/posix/ttyname_r.c: Ditto.
9763 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
9765         * db2/makedb.c (process_input): Write terminating \0 for value.
9766         (print_database): Simply print value string, don't use length.
9768 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9770         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
9771         exit of loop.
9773 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9775         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
9776         close all sockets.
9778 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
9780         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
9781         sigset.
9782         * signal/sighold.c: New file.
9783         * signal/sigrelse.c: New file.
9784         * sysdeps/generic/sigignore.c: New file.
9785         * sysdeps/generic/sigset.c: New file.
9786         * sysdeps/posix/sigignore.c: New file.
9787         * sysdeps/posix/sigset.c: New file.
9788         * signal/signal.h: Add prototypes for new functions.
9790         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
9791         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
9792         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
9793         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
9795 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
9797         * posix/wordexp.c: Added IFS field-splitting in parameter and
9798         command substitution.  Fixed an IFS-related bug that caused an
9799         infinite loop.
9801 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
9803         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
9804         and swapcontext.
9805         * stdlib/ucontext.h: Correct prototypes.
9806         * sysdeps/generic/getcontext.c: New file.
9807         * sysdeps/generic/setcontext.c: New file.
9808         * sysdeps/generic/makecontext.c: New file.
9809         * sysdeps/generic/swapcontext.c: New file.
9810         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
9812 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
9814         * resource/sys/resource.h: Remove #include of ulimit.h which is
9815         not allowed by SUSv2 and not available on other systems.
9816         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
9818         * streams/Makefile: New file.
9819         * streams/stropts.h: New file.
9820         * sysdeps/generic/bits/stropts.h: New file.
9821         * sysdeps/generic/isastream.c: New file.
9822         * sysdeps/generic/getmsg.c: New file.
9823         * sysdeps/generic/getpmsg.c: New file.
9824         * sysdeps/generic/putmsg.c: New file.
9825         * sysdeps/generic/putpmsg.c: New file.
9826         * sysdeps/generic/fattach.c: New file.
9827         * sysdeps/generic/fdetach.c: New file.
9828         * sysdeps/unix/inet/Subdirs: Add streams.
9829         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
9830         __t_uscalar_t.
9831         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9832         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9833         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9834         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9836         * sysdeps/mach/_strerror.c: Follow changes of generic version to
9837         handle small buffers correctly.
9839 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
9841         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9842         Remove the 3rd arg and add declaration for _dl_runtime_resolve
9843         and _dl_runtime_profile.
9845 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
9847         * include/cpio.h: New file.  Mainly copied from GNU cpio.
9848         * posix/Makefile (headers): Add cpio.h.
9850 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9852         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
9853         to routines.
9854         * nis/nis_cache.c: New file.
9855         * nis/nis_cache2.h: New file.
9856         * nis/nis_cache2_xdr.c: New file.
9857         * nis/nis_call.c: Changes for cache2_info parameter.
9858         * nis/nis_checkpoint.c: Likewise.
9859         * nis/nis_intern.h: Likewise.
9860         * nis/nis_mkdir.c: Likewise.
9861         * nis/nis_ping.c: Likewise.
9862         * nis/nis_rmdir.c: Likewise.
9863         * nis/nis_server.c: Likewise.
9864         * nis/nis_util.c: Likewise.
9866 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9868         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
9869         return/errnop codes.
9870         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9871         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9872         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9873         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9874         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9875         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9876         * nis/nss_nisplus/nisplus-rpc.c: Likewise
9877         * nis/nss_nisplus/nisplus-service.c: Likewise.
9878         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9880 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9882         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
9883         * nis/nss_nis/nis-ethers.c: Likewise.
9884         * nis/nss_nis/nis-grp.c: Likewise.
9885         * nis/nss_nis/nis-hosts.c: Likewise.
9886         * nis/nss_nis/nis-network.c: Likewise.
9887         * nis/nss_nis/nis-proto.c: Likewise.
9888         * nis/nss_nis/nis-hosts.c: Likewise.
9889         * nis/nss_nis/nis-network.c: Likewise.
9890         * nis/nss_nis/nis-proto.c: Likewise.
9891         * nis/nss_nis/nis-publickey.c: Likewise.
9892         * nis/nss_nis/nis-pwd.c: Likewise.
9893         * nis/nss_nis/nis-rpc.c: Likewise.
9894         * nis/nss_nis/nis-service.c: Likewise.
9895         * nis/nss_nis/nis-spwd.c: Likewise.
9897 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
9899         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
9900         Added to follow latest kernel development.
9902 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
9904         * nss/db-Makefile: Handle empty and comment lines better.
9905         ($(VAR_DB)/services.db): Generate entries with missing protocol
9906         value.
9908 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9910         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
9911           NULL.
9912           (getservbyname): Allow proto == NULL.
9913           Pointed out by David N. Welton <davidw@gate.cks.com>.
9914           [PR libc/430].
9916 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
9918         * nis/nislib/nislib.h: Finally removed.
9920         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
9921         C compiler.  From Kaveh Ghazi.
9922         (TYPE_MINIMUM): Define.
9923         (TYPE_MAXIMUM): Define.
9924         (TIME_T_MIN): Use TYPE_MINIMUM.
9925         (TIME_T_MAX): Use TYPE_MAXIMUM.
9926         Patch by Jim Meyering <meyering@ascend.com>.
9928 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
9930         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
9931         __pread64, __pwrite64, and __getpid.
9933         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
9934         versions.
9936 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9938         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
9939         cancelable socket functions as __libc_xxx with __xxx as weak
9940         alias.
9941         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
9942         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9944         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
9945         redefined.
9946         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9947         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
9948         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
9949         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9951         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
9952         and __xxx a weak alias.
9953         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9954         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9955         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9956         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9957         * sysdeps/unix/sysv/linux/send.S: Likewise.
9958         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9959         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9961 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9963         * locale/langinfo.h: Add defines.
9965         * dirent/dirent.h: Add defines for DT_*, check also for
9966         _DIRENT_HAVE_D_TYPE.
9967         Suggested by Roland McGrath.
9969 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9971         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
9972         Update from Linux 2.1.73+79.
9974         * README.template: Update information about possible
9975         configurations.
9977         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
9978         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9979         [PR libc/417].
9981         * manual/time.texi (Priority): Correct description of
9982         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9983         [PR libc/416].
9985 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
9987         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
9988         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
9990 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
9992         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
9993         Andreas Jaeger.
9995 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
9997         * locale/programs/ld-collate.c: Little optimizations.
9999         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
10001         * string/Makefile (tests): Add tst-inlcall.
10002         * string/tst-inlcall.c: New file.
10004         * string/strsignal.c: Add support for real-time signals.
10006         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
10007         presense of small buffer.
10009         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
10011         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
10012         for i686.
10014         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
10015         _NSIG + 1.
10017 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
10019         * Rules: Add explicit rule for dummy.o; at least one library needs
10020           it and it isn't autogenerated by the default rules.
10022 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10024         * math/libm-test.c: Tweak epsilons.
10026 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10028         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
10029         child.
10030         (feenv_mask_test): Likewise.
10032 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10034         * Makeconfig: Don't export CPPFLAGS.
10036 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10038         * sunrpc/rpc_main.c (parseargs): Use perror to print error
10039         message.
10041 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10043         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
10044         terminating null in key size.
10046 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10048         * nss/nss_files/files-service.c: Fix allocation size to include
10049         length of PROTO.
10051         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
10052         applicable.  Fix return value and error checking.
10053         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
10054         unparsable lines.
10055         (DB_LOOKUP): Allocate space for terminating null byte.
10057         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
10058         uids specially.
10060         * db2/makedb.c (process_input): Continue processing if a duplicate
10061         key is encountered.
10063 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
10065         * time/tzfile.h: Updated from tzcode1998b.
10066         * time/zdump.c: Likewise.
10067         * time/zic.c: Likewise.
10068         * time/africa: Update from tzdata1998b.
10069         * time/antarctica: Likewise.
10070         * time/asia: Likewise.
10071         * time/australasia: Likewise.
10072         * time/etcetera: Likewise.
10073         * time/europe: Likewise.
10074         * time/leapseconds: Likewise.
10075         * time/northamerica: Likewise.
10076         * time/southamerica: Likewise.
10078 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10080         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
10081         lookups ignoring case.
10082         * nss/nss_files/files-network.c: Do network lookups ignoring
10083         case.
10084         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
10085         case.
10086         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
10087         case insensitive comparing.
10088         Patches by Cristian Gafton <gafton@redhat.com>.
10090 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10092         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
10093         by Roland McGrath. [PR libc/395]
10095 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10097         * manual/arith.texi (Parsing of Integers): Correct description of
10098         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
10099         [PR libc/396]
10101 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
10103         * misc/lsearch.c (lsearch): Return a pointer to the new element
10104         if one was "allocated".
10106 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10108         * string/strsignal.c: NSIG is not a valid index into
10109         _sys_siglist.  Don't zap the last character of the "Unknown
10110         signal" message.
10112 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
10114         * locale/programs/charmap.c (parse_charmap): Correct parsing of
10115         ellipsis expressions.
10117         * locale/programs/charset.c (insert_char): Correctly insert value
10118         of eliipsis expression.
10120 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
10122         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
10123         <bits/setjmp.h>.
10124         * sysdeps/powerpc/setjmp.S: Likewise.
10125         Patches by Matt McLean <keys@keys.got.net>.
10127         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
10129         * Makefile: Undo last patch.
10130         (distribute): Add test-installation.pl.
10132         * configure.in: Correct handling of --enable-add-ons without parameter.
10133         Correct address of WWW pages.
10135         * libc.map: Add _nl_domain_bindings.
10137         * db2/mutex/tsl_parisc.s: New file.
10139         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
10140         and extra-module.mk.
10142         * localedata/Makefile (distribute): New.  Add all the files.
10144         * stdlib/Makefile (headers): Add inttypes.h.
10145         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
10146         * sysdeps/generic/inttypes.h: New file.
10147         * sysdeps/generic/strtoimax.c: New file.
10148         * sysdeps/generic/strtoumax.c: New file.
10149         * sysdeps/generic/wcstoimax.c: New file.
10150         * sysdeps/generic/wcstoumax.c: New file.
10151         * sysdeps/wordsize-32/Dist: Removed.
10152         * sysdeps/wordsize-32/Makefile: Removed.
10153         * sysdeps/wordsize-64/Dist: Removed.
10154         * sysdeps/wordsize-64/Makefile: Removed.
10155         * sysdeps/generic/bits/environments.h: New file.
10157         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
10158         header is still not correct.
10160         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
10161         * posix/unistd.h: Likewise.
10162         * sysdeps/generic/sys/mman.h: Likewise.
10163         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
10165         * manual/arith.texi: Change definition of mul macro.
10166         * manual/math.texi: Likewise.
10168         * misc/Makefile (routines): Add mmap64.
10169         * sysdeps/generic/mmap64.c: New file.
10170         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
10171         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
10172         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
10173         aliases to mmap.
10174         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10176         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
10178         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
10180         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
10182         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
10183         FOPEN_MAX also when included by limits.h.
10184         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
10186         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
10187         and netrom/netrom.h.
10188         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
10189         oldsiglist to sysdep_routines, not aux.
10190         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
10192         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
10193         and SOL_NETROM definition.
10195         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
10197         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
10198         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
10200 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
10202         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
10204         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
10205         sa_handler with k_sa_handler.
10206         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
10207         strong alias.
10208         Reported by a sun.
10210         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
10211         __libc_have_rt_sigs here.
10212         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
10213         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10214         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
10215         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10217 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
10219         * sysdeps/powerpc/atomicity.h: New file.
10220         * sysdeps/mach/powerpc/machine-lock.h: New file.
10222         * Rules: Use -fpic to build anything that might end up in a users'
10223         shared library.
10225         * sysdeps/powerpc/s_fdim.c: New file.
10226         * sysdeps/powerpc/s_fdimf.c: New file.
10227         * sysdeps/powerpc/s_fmax.S: New file.
10228         * sysdeps/powerpc/s_fmaxf.S: New file.
10229         * sysdeps/powerpc/s_fmin.S: New file.
10230         * sysdeps/powerpc/s_fminf.S: New file.
10231         * sysdeps/powerpc/s_llrint.c: Now is for double.
10232         * sysdeps/powerpc/s_llrintf.c: New file.
10233         * sysdeps/powerpc/s_llround.c: Now is for double.
10234         * sysdeps/powerpc/s_llroundf.c: New file.
10235         * sysdeps/powerpc/s_lrint.c: Now is for double.
10236         * sysdeps/powerpc/s_lrintf.S: New file.
10237         * sysdeps/powerpc/s_lround.c: Now is for double.
10238         * sysdeps/powerpc/s_lroundf.c: New file.
10239         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
10240         lrintf, fdim, fdimf.
10242         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
10243         file directly, use its parent.
10245         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
10246         (for the third time).
10248 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
10250         * posix/sched.h: timespec is in <time.h>.
10252         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
10254 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
10256         * configure.in: Stop with error if --disable-static is used when
10257         the shared lib uses this library.
10259         * gen-FAQ.pl: I've perl installed in /usr/bin.
10261         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
10263         Fix Unix98 conformance problems in the headers.
10264         * catgets/nl_types.h: Define nl_item.
10265         * grp/grp.h: Define gid_t.
10266         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
10267         * include/nl_types.h: New file.
10268         * include/ulimit.h: New file.
10269         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
10270         constants in POSIX mode.
10271         * io/utime.h: Get definition for time_t.
10272         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
10273         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
10274         * libio/stdio.h: Define va_list.  Make snprintf also available is
10275         __USE_UNIX98.  Declare getopt function and variables.
10276         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
10277         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
10278         * math/math.h: Defined M_* constants as double for Unix98 mode.
10279         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
10280         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
10281         * posix/regex.h: Define REG_NOSYS.
10282         * posix/wordexp.h: Define WRDE_NOSYS.
10283         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
10284         500 for Unix98.
10285         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
10286         somewhere else as well.  Define clock_t for Unix98.
10287         * posix/sys/wait.h: Define pid_t.
10288         * pwd/pwd.h: Define gid_t, uid_t.
10289         * resource/Makefile (headers): Add ulimit.h.
10290         * resource/ulimit.h: New file.
10291         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
10292         instead of second argument.
10293         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
10294         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
10295         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
10296         * signal/signal.h: Define pid_t.
10297         * string/string.h: Don't declare BSD string functions in POSIX mode.
10298         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
10299         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
10300         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
10301         and POSIX.
10303         * inet/test_ifindex.c: Change test so that it does not fail for
10304         interface aliases.
10306         * locale/programs/locale.c (show_info): Use correct cast sequence
10307         for 64bit machines.
10309         * malloc/malloc.c: __malloc_initialized now signals three states:
10310         uninitialized, initializing, initialized.  Used in mcheck.
10311         * malloc/mcheck.c (mabort): Add '\n' to messages.
10312         (mcheck): Allow installation when malloc is uninitialized or is
10313         just initializing.
10315         * manual/memory.texi: Explain mtrace output a bit more.
10317         * math/libm-test.c: Add more epsilons.
10319         * misc/regexp.h (compile): Remove __ prefix from parameter names.
10321         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
10322         instead of strcpy for security.
10323         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
10324         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
10325         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
10327         * nss/digits_dots.c: Pretty print.
10329         * posix/getconf.c (vars): Add symbols for programming environment
10330         recognition.  Recognize --version.
10332         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
10333         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
10334         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
10336         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
10337         __need_FOPEN_MAX.
10338         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
10339         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
10340         __need_FOPEN_MAX.
10342         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
10343         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
10345         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
10346         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10347         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10348         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
10349         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10350         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
10352         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
10353         SCNu*.
10354         * sysdeps/wordsize-64/inttypes.h: Likewise.
10356         * time/africa: Update from tzdata1997j.
10357         * time/antarctica: Likewise.
10358         * time/asia: Likewise.
10359         * time/australasia: Likewise.
10360         * time/backward: Likewise.
10361         * time/etcetera: Likewise.
10362         * time/europe: Likewise.
10363         * time/factory: Likewise.
10364         * time/northamerica: Likewise.
10365         * time/pacificnew: Likewise.
10366         * time/southamerica: Likewise.
10368         * time/tzfile.h: Update from tzcode1997h.
10369         * time/zic.c: Likewise.
10371         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
10372         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
10373         isw*() functions for Unix98.
10374         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
10375         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
10376         is defined.
10378 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10380         * locale/duplocale.c: Increase usage_count only if less than
10381         MAX_USAGE_COUNT.
10382         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
10383         MAX_USAGE_COUNT.
10384         * locale/setlocale.c: Likewise.
10386 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10388         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
10389         dependency to make it easier to install it selectively.
10391         * Makerules (.SUFFIXES): Don't define any suffixes.
10393 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10395         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
10396         * sysdeps/generic/statfs64.c: Emulate using statfs.
10397         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
10398         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
10399         * sysdpes/generic/ftruncate64.c: New file.
10400         * sysdpes/generic/truncate64.c: New file.
10402         * sysdeps/generic/bits/stat.h: Add LFS support.
10403         * sysdeps/generic/bits/statfs.h: Likewise.
10405         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
10406         [__USE_FILE_OFFSET64]: Make long long constant.
10407         (RLIM64_INFINITY): Likewise.
10409         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
10410         for LFS support.
10411         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
10412         * sysdeps/generic/bits/resource.h: Likewise.
10414         * misc/Makefile (routines): Add truncate64 and ftruncate64.
10416         * include/features.h: Don't prevent LFS support from defining BSD
10417         and SYSV things.
10419         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
10420         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
10421         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
10423         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
10424         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
10425         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10427         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
10428         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
10429         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
10430         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
10431         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
10432         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
10433         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
10434         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
10435         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
10436         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
10437         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
10438         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
10439         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
10440         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
10441         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
10442         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
10443         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
10444         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
10445         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
10446         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
10448         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
10449         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
10450         * sysdeps/unix/sysv/linux/xstat64.c: New file.
10451         * sysdeps/unix/sysv/linux/readdir64.c: New file.
10452         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
10454         * sysdeps/unix/sysv/linux/getdents64.c: New file.
10455         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10456         [$(subdir)=dirent]: Add getdents64.
10457         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
10459         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
10461 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
10463         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
10465         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
10466         * sysdeps/generic/getrlimit64.c: Likewise.
10467         * sysdeps/generic/setrlimit.c: Likewise.
10468         * sysdeps/generic/setrlimit64.c: Likewise.
10470 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
10472         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
10473         using versioning.
10475         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
10477         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
10479 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10481         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
10482         after the codeset name.
10484 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10486         * libc.map: Add get_kernel_syms.
10488 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10490         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
10491         static.
10492         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
10493         Likewise.  Fix condition.
10495 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10497         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
10499 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10501         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
10502         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
10504 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10506         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
10507         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
10508         instead.  Oops.
10510 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10512         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
10514 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10516         * math/libm-test.c (catanh_test): Change epsilon.
10517         Reported by H.J. Lu.
10519 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
10521         * libc.map (__getpid): Added for linuxthreads.
10523 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
10525         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
10526         it if gcc uses static variable in DWARF2 unwind information
10527         for exception support.
10529         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
10531         * elf/soinit.c (__libc_global_ctors, _fini): Handle
10532         HAVE_DWARF2_UNWIND_INFO_STATIC.
10534         * libc.map (__register_frame*, __deregister_frame*): Make them
10535         global.
10537 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10539         * math/libm-test.c: Add more tests for "normal" values.
10541 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10543         * stdio-common/printf_fphex.c: Fix printing of long double number
10544         with a biased exponent of zero.  Fix rounding.
10546 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10548         * sunrpc/rpc_main.c: Accept new flag -$.
10549         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
10551 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10553         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
10554         dynamic linker first, in case the interface has changed.
10556 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10558         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
10559         order.
10561 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10563         * math/tgmath.h: Check for double first, for architectures where
10564         sizeof (long double) == sizeof (double).
10566 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10568         * math/libm-test.c: New tests for "normal" values added for most
10569         functions.
10571 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
10573         * version.h (VERSION): Bump to 2.0.91.
10575         * db2/makedb.c (process_input): Fix typo in message.
10576         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
10578         * elf/dynamic-link.h: Pretty print.
10580         * elf/rtld.c: Allow multiple preloading of a shared object.
10582         * include/limits.h: Prevent multiple inclusion.
10584         * malloc/Makefile (headers): Add mcheck.h.
10585         (distribute): Remove it here.
10586         * malloc/mcheck.h: Pretty print.
10587         * malloc/mtrace.c (mallenv): Make `const'.
10588         * malloc/mtrace.pl: Don't print table head for memory leaks if there
10589         are none.
10590         * manual/memory.texi: Update descriptor of malloc hooks.
10592         * posix/Makefile (routines): Add waitid.
10593         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
10594         on __id_t.
10595         * posix/sys/wait.h: Define idtype_t type.
10596         Add prototype for waitid.
10597         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
10598         * sysdeps/generic/waitid.c: Stub for waitid.
10599         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
10600         the __need_siginfo_t defined.
10601         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
10602         * sysdeps/generic/bits/types.h: Define __id_t.
10603         Correct definition of __FDMASK.
10604         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10605         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10606         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10608         * sysdeps/posix/waitid.c: New file.
10609         Provided by Zack Weinberg.
10611         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
10613         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10614         Add missing parameters.
10616         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
10617         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
10618         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
10619         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
10620         initialized.
10622         * sysdeps/i386/dl-machine.h: Little cleanup.
10624         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
10625         (__finite): Mark function as const.
10626         Add inline code for __ieee754_atan2.
10628         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
10629         (but don't use it now).
10630         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
10631         __atan.
10632         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
10633         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
10634         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
10635         real part.
10636         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
10637         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
10638         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
10639         __ieee754_atan2 to base 10.
10640         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
10641         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
10643         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
10644         old_kernel_sigaction.
10646         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
10648         * wctype/Makefile (routines): Add wctype_l.
10649         * wctype/wctype.h: Add declaration of __wctype_l.
10650         * wctype/wctype_l.c: New file.
10652 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
10654         * locale/C-ctype.c: Correct data for isw* functions.
10655         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
10656         byte order.
10657         * wctype/test_wctype.c: Add test for isw* functions.
10658         * wctype/wctype.c: Return value with expected byte order.
10660 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10662         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
10664 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
10666         * iconvdata/Makefile: Fix a typo.
10668         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
10669         oldsiglist for shared library.
10671         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
10672         sys_sigabbrev): Make them as the default version GLIBC_2.1.
10674         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
10675         sys_siglist, sys_sigabbrev): New file. Make them as the old
10676         version GLIBC_2.0.
10678         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
10679         to GLIBC_2.1.
10681 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
10683         * libio/iofgets.c (_IO_fgets): Return an error only if there
10684         is a new error.
10685         * libio/iogets.c (_IO_gets): Ditto.
10687 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
10689         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
10691         * libio/Makefile (routines, shared-only-routines): Add
10692         oldiofdopen.
10694         * libio/fileops.c: Don't use _IO_FILE_complete.
10695         * libio/iofdopen.c: Ditto.
10696         * libio/iofopen.c: Ditto.
10697         * libio/iofopen64.c: Ditto.
10698         * libio/iopopen.c: Ditto.
10699         * libio/iovdprintf.c: Ditto.
10701         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
10703         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
10704         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
10706         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
10707         _IO_old_fdopen, _IO_new_fdopen): New declaration.
10709         * libio/libio.h (_IO_FILE): Add more fields.
10710         (_IO_FILE_complete): Defined and make _IO_FILE be the old
10711         one if _IO_USE_OLD_IO_FILE is defined
10712         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
10713         them _IO_FILE_complete.
10715         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
10716         to adjust vtable.
10717         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
10718         _IO_JUMPS.
10719         (_IO_FILE_complete): Commented out.
10721         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
10722         * libio/oldiofclose.c: Ditto.
10723         * libio/oldiofopen.c: Ditto.
10724         * libio/oldstdfiles.c: Ditto.
10726         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
10727         for the old _IO_FILE.
10729         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
10730         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
10731         and stderr.
10733         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
10734         and remove INAME.
10736         * libio/stdio.c (stdin, stdout, stdin): Don't use
10737         _IO_FILE_complete.
10739         * libio/oldiofdopen.c: New.
10741         * stdio-common/vfprintf.c (buffered_vfprintf): Set
10742         hp->_vtable_offset to 0.
10744 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
10746         * libc.map (_IO_file_open): Added.
10748         * libio/libioP.h (_IO_file_open): Declared.
10750         * libio/fileops.c (_IO_file_open): New.
10751         (_IO_file_fopen): Call _IO_file_open ().
10753         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
10754         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10756 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10758         * signal/signal.h: Fix selection of signal semantics to match
10759         comment.
10761 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10763         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
10764         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
10765         rt_sigreturn.
10766         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10767         [$(subdir)=signal]: Remove rt_sigreturn.
10768         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
10769         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
10770         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
10772 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10774         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
10775         declarations.
10777 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10779         * iconvdata/extra-module.mk: Expand extra-objs now.
10781 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10783         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
10784         inline functions by feature tests to avoid warning about missing
10785         prototype declarations.
10787 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10789         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
10790         return code for non existent +name entries.
10791         * nis/nss_compat/compat-pwd.c: Likewise.
10792         * nis/nss_compat/compat-spwd.c: Likewise.
10794 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
10796         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
10797         (EIO): Likewise.
10798         (ENOSPC): Likewise.
10799         (EEXIST): Likewise.
10800         (__errno_location): Likewise.
10802         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
10804         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
10806 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10808         * sunrpc/publickey.c: Use new NSS interface.
10810 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
10812         * manual/malloc.texi: Document mtrace/muntrace and the concept.
10814 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10816         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
10817         value, to match spirit of the standard.
10818         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
10819         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
10820         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
10822 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10824         * manual/signal.texi (Signal Stack): Remove spurious @item.
10826 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10828         * rt/aio.h: Remove double semicolon.
10830         * rt/librt.map: Add aio_init.
10832 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
10834         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
10835         * Makefile (subdirs): Replace rt by $(rt).
10837         * shlib-versions: Use version .2 for NSS modules.
10839         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
10840         argument.
10841         * pwd/fgetpwent_r.c: Likewise.
10842         * spwd/fgetspent_r.c: Likewise.
10843         * spwd/sgetspent_r.c: Likewise.
10844         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
10845         Store error number in *ERRNOP.  Little optimization.
10846         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
10847         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
10848         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
10849         (__internal_getnetgrent_r): New argument.
10850         Call __internal_setnetgrent_reuse with new argument.
10851         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
10852         * inet/netgroup.h: Add argument to prototypes.
10853         * nis/nisplus-parser.h: Likewise.
10854         * nis/nss_compat/compat-grp.c: Change everything to store error
10855         code through provided pointer and not use errno.
10856         * nis/nss_compat/compat-pwd.c: Likewise.
10857         * nis/nss_compat/compat-spwd.c: Likewise.
10858         * nis/nss_nis/nis-alias.c: Likewise.
10859         * nis/nss_nis/nis-ethers.c: Likewise.
10860         * nis/nss_nis/nis-grp.c: Likewise.
10861         * nis/nss_nis/nis-hosts.c: Likewise.
10862         * nis/nss_nis/nis-netgrp.c: Likewise.
10863         * nis/nss_nis/nis-network.c: Likewise.
10864         * nis/nss_nis/nis-proto.c: Likewise.
10865         * nis/nss_nis/nis-publickey.c: Likewise.
10866         * nis/nss_nis/nis-pwd.c: Likewise.
10867         * nis/nss_nis/nis-rpc.c: Likewise.
10868         * nis/nss_nis/nis-service.c: Likewise.
10869         * nis/nss_nis/nis-spwd.c: Likewise.
10870         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10871         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10872         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10873         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10874         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
10875         * nis/nss_nisplus/nisplus-network.c: Likewise.
10876         * nis/nss_nisplus/nisplus-parser.c: Likewise.
10877         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10878         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10879         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10880         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10881         * nis/nss_nisplus/nisplus-service.c: Likewise.
10882         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10883         * nss/nss_db/db-XXX.c: Likewise.
10884         * nss/nss_db/db-alias.c: Likewise.
10885         * nss/nss_db/db-netgrp.c: Likewise.
10886         * nss/nss_files/files-XXX.c: Likewise
10887         * nss/nss_files/files-alias.c: Likewise
10888         * nss/nss_files/files-netgrp.c: Likewise
10889         * nss/nss_files/files-parse.c: Likewise
10890         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
10891         parameter of get functions.
10892         * nss/getXXent_r.c: Likewise.
10894         * localedata/tst-fmon.c: Print debug info if test fails.
10896         * rt/Makefile (routines): Add aio_notify.
10897         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
10898         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
10899         * rt/aio_fsync.c: Likewise.
10900         * rt/aio_misc.c: Likewise.
10901         * rt/aio_misc.h: Likewise.
10902         * rt/aio_read.c: Likewise.
10903         * rt/aio_read64.c: Likewise.
10904         * rt/aio_suspend.c: Likewise.
10905         * rt/aio_write.c: Likewise.
10906         * rt/aio_write64.c: Likewise.
10907         * rt/lio_listio.c: Likewise.
10908         * rt/lio_listio64.c: Likewise.
10909         * rt/aio_notify.c: New file.
10911         * sysdeps/generic/bits/sigset.h: Pretty print.
10913         * sysdeps/posix/pwrite.c: Define weak alias only if function is
10914         really defined as __pwrite.
10916         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
10917         instead of pread64.
10918         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10920         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10921         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
10922         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
10923         size in syscall.
10924         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10925         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10926         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
10927         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10928         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
10929         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10930         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
10931         for ACT being NULL.
10932         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
10933         RT signals.
10934         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
10935         __NR_pread is not defined.
10936         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
10937         __NR_pwrite is not defined.
10939 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10941         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
10942         handle for /etc/group back in some more cases.
10943         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
10944         handle for /etc/passwd back in some more cases.
10945         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
10946         handle for /etc/shadow back in some more cases.
10948 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
10950         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
10951         beyound its size.
10952         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
10953         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
10955 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
10957         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
10958         handling.  Don't use macros, we need functions.  Use inline functions
10959         for optimization.
10960         * sysdeps/wordsize-64/inttypes.h: Likewise.
10961         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
10962         and wcstoumax.
10963         * sysdeps/wordsize-64/Makefile: Likewise.
10964         * sysdeps/wordsize-32/Dist: Likewise.
10965         * sysdeps/wordsize-64/Dist: Likewise.
10966         * sysdeps/wordsize-32/strtoimax.c: New file.
10967         * sysdeps/wordsize-32/strtoumax.c: New file.
10968         * sysdeps/wordsize-32/wcstoimax.c: New file.
10969         * sysdeps/wordsize-32/wcstoumax.c: New file.
10970         * sysdeps/wordsize-64/strtoimax.c: New file.
10971         * sysdeps/wordsize-64/strtoumax.c: New file.
10972         * sysdeps/wordsize-64/wcstoimax.c: New file.
10973         * sysdeps/wordsize-64/wcstoumax.c: New file.
10975 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
10977         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
10978         that transparent union works.
10979         * sysdeps/generic/wait4.c (__wait4): Likewise.
10980         * sysdeps/generic/wait.c (__wait): Likewise.
10982         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
10983         size_t.
10985         * sysdeps/generic/syscall.c (syscall): Return value and arg are
10986         long, to match prototype.
10988         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
10989         have mremap() yet.
10991         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
10993         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
10995         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
10997         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
10998         __rlim_t.
11000         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
11002         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
11004         * io/sys/stat.h (S_ISLNK): Always false if we don't have
11005         __S_IFLNK.
11007         * sysdeps/standalone/close.c (_STDIO_H): Define before including
11008         <bits/stdio_lim.h>.
11009         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
11011 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
11013         * posix/sys/wait.h: Don't use transparent unions in C++.
11015 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11017         * time/time.h: Add strfxtime.
11019         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
11020         sysv_signal, strfxtime, pread64, pwrite64.
11022 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
11024         Alpha changes for EGCS:
11025         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
11026         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
11027         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
11028         (_start): Likewise.
11029         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
11031 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
11033         The kernel expects the arguments in a different order.
11034         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
11035         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
11037         * FAQ.in: New file.
11038         * gen-FAQ.pl: New file.
11039         * Makefile (FAQ): Add rule to generate from FAQ.in.
11041         * iconvdata/Makefile: Treat libJIS like the other modules.
11043         * rt/librt.map: New file.
11045         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
11046         inclusion.
11047         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
11048         comment.
11050 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
11052         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
11053         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
11054         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
11055         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
11057 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11059         * string/bits/string2.h: Fix spellings.
11061         * string/string.h: Fix spellings.
11063 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11065         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
11066         declaration to __syscall_rt_sigaction.
11068         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
11069         non-existant <sigcontext.h>.
11071 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11073         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
11074         typo.
11076 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11078         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
11080         * Makeconfig (shared-thread-library): Correct spelling.
11082         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
11083         <asm/pci.h>.
11085 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11087         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
11088         constants from Linux headers. Pointed out by
11089         csmall@scooter.o.i.net. [PR libc/369]
11091 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11093         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
11095 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11097         * configure.in: If --enable-add-ons is given without an
11098         argument, set the addons list to all subdirs with a configure
11099         script.
11101 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
11103         * Makeconfig: Add shared-thread-library variable.
11105         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
11106         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
11107         here.
11108         * sysdeps/m68k/fpu/e_acos.c: Likewise.
11109         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11110         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11111         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11112         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11113         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11114         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11115         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11116         * sysdeps/m68k/fpu/s_atan.c: Likewise.
11117         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11118         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11119         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11120         * sysdeps/m68k/fpu/s_csin.c: Likewise.
11121         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11122         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11123         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11124         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11125         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11126         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11127         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11128         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11129         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11130         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11131         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11132         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11134         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
11135         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
11136         * signal/Makefile (headers): Add bits/siginfo.h.
11137         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
11138         (distribute): Add testrtsig.h.
11139         * signal/allocrtsig.c: New file.
11140         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
11141         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
11142         __libc_current_sigrtmax.
11143         * sysdeps/generic/sigqueue.c: New file.
11144         * sysdeps/generic/sigtimedwait.c: New file.
11145         * sysdeps/generic/sigwaitinfo.c: New file.
11146         * sysdeps/generic/testrtsig.h: New file.
11147         * sysdeps/generic/bits/siginfo.h: New file.
11148         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
11149         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
11150         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
11151         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
11152         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
11153         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
11154         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
11155         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
11156         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
11157         * sysdeps/unix/sysv/linux/sigpending.c: New file.
11158         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
11159         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
11160         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
11161         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
11162         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
11163         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
11164         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
11165         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
11166         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
11167         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
11168         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
11169         and _POSIX_REALTIME_SIGNALS.
11170         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
11171         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
11172         update _NSIG.
11173         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
11174         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
11175         definitions.
11177         * Makefile (subdirs): Add rt.
11178         * shlib-versions: Add entry for librt.
11179         * rt/Makefile: New file.
11180         * rt/aio.h: New file.
11181         * rt/aio_cancel.c: New file.
11182         * rt/aio_error.c: New file.
11183         * rt/aio_fsync.c: New file.
11184         * rt/aio_misc.c: New file.
11185         * rt/aio_misc.h: New file.
11186         * rt/aio_read.c: New file.
11187         * rt/aio_read64.c: New file.
11188         * rt/aio_return.c: New file.
11189         * rt/aio_suspend.c: New file.
11190         * rt/aio_write.c: New file.
11191         * rt/aio_write64.c: New file.
11192         * rt/lio_listio.c: New file.
11193         * rt/lio_listio64.c: New file.
11194         * sysdeps/generic/aio_sigqueue.c: New file.
11195         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
11196         * sysdeps/unix/sysv/linux/Dist: Add new files
11197         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
11198         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
11199         rt_sigqueueinfo, rt_sigaction.
11201         * posix/Makefile (headers): Add bits/environments.h.
11202         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
11203         and _CS_LFS_CFLAGS on 64bit platforms.
11204         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
11205         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
11206         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
11207         compilation modules.
11208         * sysdeps/wordsize-32/bits/environments.h: New file.
11209         * sysdeps/wordsize-64/bits/environments.h: New file.
11211         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
11212         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
11213         __libc_pid.
11214         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
11215         0xf00baa.
11217         * string/string.h: Add declaration of __strverscmp.
11218         * string/strverscmp.c: Rename function ot __strverscmp and make old
11219         name weak alias.
11221         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
11222         * sysdeps/generic/enbl-secure.c: Likewise.
11223         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11225         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
11227         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
11229 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
11231         * posix/sys/wait.h: Use __transparent_union__ instead of
11232         transparent_union.  Reported by Roland McGrath.
11234 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11236         * resolv/inet_neta.c (inet_neta): Change type of first parameter
11237         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
11238         [PR libc/366].
11240         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
11242         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
11244 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11246         * grp/initgroups.c: Increase buffer if it is too small.
11248 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
11250         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
11251         fields, this is no ISO C.  Reported by Andreas Jaeger.
11253 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11255         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
11257 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
11259         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
11260         _SYS_UTSNAME_H not _UTSNAME_H.
11262 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11264         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
11265         computing s_scale.
11267 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11269         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
11270         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
11271         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
11273         * math/libm-test.c (csqrt_test): Add testcase.
11275 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
11277         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
11278         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
11279         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
11281 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11283         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
11285 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11287         * math/libm-test.c (acos_test): Add more tests.
11288         (asin_test): Likewise.
11289         (atan_test): Likewise.
11290         (exp_test): Likewise.
11291         (sin_test): Likewise.
11292         (sqrt_test): Likewise.
11293         (cpow_test): Likewise.
11294         (csqrt_test): Likewise.
11295         (cexp_test): Correct typo in gcc version test.
11297 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
11299         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
11300         <bits/setjmp.h>.
11301         * sysdeps/arm/setjmp.S: Likewise.
11303         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
11305 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
11307         * stdio/stdio.h: Add prototype for tmpfile64().
11309 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
11311         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
11312         prototype to keep in step with libio version.
11314         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
11316 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
11318         * sysdeps/generic/Makefile: Don't try to use make_siglist if
11319         cross-compiling.
11321 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
11323         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
11324         load GOT ptr before jumping to _exit.
11325         Reported by Xavier Leroy.
11327 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
11329         * Makefile (subdirs): Add iconvdata and localedata.
11331         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
11333         * iconv/gconv_conf.c (read_conf_file): Little optimization.
11335         * iconvdata/8bit-gap.c: New file.
11336         * iconvdata/8bit-generic.c: Renamed from ...
11337         * iconvdata/iso8859-generic.c: ...this.
11338         * iconvdata/configure: Removed.
11339         * iconvdata/Makefile: Add new modules and better rules.
11340         * iconvdata/iso6937.c: Minor bug fixes.
11341         * iconvdata/iso8859-1.c: Likewise.
11342         * iconvdata/t61.c: Likewise.
11343         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
11344         Minor bug fixes.
11345         * iconvdata/iso8859-3.c: Likewise.
11346         * iconvdata/iso8859-4.c: Likewise.
11347         * iconvdata/iso8859-5.c: Likewise.
11348         * iconvdata/iso8859-6.c: Likewise.
11349         * iconvdata/iso8859-7.c: Likewise.
11350         * iconvdata/iso8859-8.c: Likewise.
11351         * iconvdata/iso8859-9.c: Likewise.
11352         * iconvdata/iso8859-10.c: Likewise.
11353         * iconvdata/ebcdic-at-de-a.c: New file.
11354         * iconvdata/ebcdic-at-de.c: New file.
11355         * iconvdata/ebcdic-ca-fr.c: New file.
11356         * iconvdata/hp-roman8.c: New file.
11357         * iconvdata/koi-8.c: New file.
11358         * iconvdata/koi8-r.c: New file.
11359         * iconvdata/koi8-h.c: New file.
11360         * iconvdata/latin-greek-1.c: New file.
11361         * iconvdata/latin-greek-1.h: New file.
11362         * iconvdata/latin-greek.c: New file.
11363         * iconvdata/latin-greek.h: New file.
11364         * iconvdata/jis0201.c: New file.
11365         * iconvdata/jis0201.h: New file.
11366         * iconvdata/jis0208.c: New file.
11367         * iconvdata/jis0208.h: New file.
11368         * iconvdata/jis0212.c: New file.
11369         * iconvdata/jis0212.h: New file.
11370         * iconvdata/sjis.c: New file.
11371         * iconvdata/gap.pl: New file.  Script to generate table header.
11372         * iconvdata/gaptab.pl: New file.
11373         * iconvdata/gconv-modules: Add info about new modules.
11375         * locale/programs/charmap.c: Also examine alias names given in charmap
11376         files.
11378         * localedata/*: Add to here from add-on.  We need the information
11379         to generate tables for iconv.
11381         Update from db-2.3.14.
11382         * db2/Makefile: Updated.
11383         * db2/config.h: Likewise.
11384         * db2/db.h: Likewise.
11385         * db2/db_int.h: Likewise.
11386         * db2/btree/bt_cursor.c: Likewise.
11387         * db2/btree/bt_delete.c: Likewise.
11388         * db2/btree/bt_put.c: Likewise.
11389         * db2/btree/bt_search.c: Likewise.
11390         * db2/btree/bt_split.c: Likewise.
11391         * db2/btree/btree_auto.c: Likewise.
11392         * db2/common/db_appinit.c: Likewise.
11393         * db2/common/db_apprec.c: Likewise.
11394         * db2/common/db_err.c: Likewise.
11395         * db2/common/db_region.c: Likewise.
11396         * db2/db/db_auto.c: Likewise.
11397         * db2/db/db_dispatch.c: Likewise.
11398         * db2/db/db_ret.c: Likewise.
11399         * db2/dbm/dbm.c: Likewise.
11400         * db2/hash/hash_auto.c: Likewise.
11401         * db2/include/btree_ext.h: Likewise.
11402         * db2/include/common_ext.h: Likewise.
11403         * db2/include/db.h.src: Likewise.
11404         * db2/include/db_cxx.h: Likewise.
11405         * db2/include/db_ext.h: Likewise.
11406         * db2/include/db_int.h.src: Likewise.
11407         * db2/include/lock.h: Likewise.
11408         * db2/include/log.h: Likewise.
11409         * db2/include/mp.h: Likewise.
11410         * db2/include/mp_ext.h: Likewise.
11411         * db2/include/os_ext.h: Likewise.
11412         * db2/include/os_func.h: Likewise.
11413         * db2/lock/lock.c: Likewise.
11414         * db2/lock/lock_deadlock.c: Likewise.
11415         * db2/log/log.c: Likewise.
11416         * db2/log/log_archive.c: Likewise.
11417         * db2/log/log_auto.c: Likewise.
11418         * db2/log/log_get.c: Likewise.
11419         * db2/log/log_put.c: Likewise.
11420         * db2/mp/mp_bh.c: Likewise.
11421         * db2/mp/mp_fget.c: Likewise.
11422         * db2/mp/mp_fopen.c: Likewise.
11423         * db2/mp/mp_fput.c: Likewise.
11424         * db2/mp/mp_fset.c: Likewise.
11425         * db2/mp/mp_open.c: Likewise.
11426         * db2/mp/mp_pr.c: Likewise.
11427         * db2/mp/mp_region.c: Likewise.
11428         * db2/mp/mp_sync.c: Likewise.
11429         * db2/mutex/README: Likewise.
11430         * db2/mutex/mutex.c: Likewise.
11431         * db2/os/os_open.c: Likewise.
11432         * db2/os/os_func.c: Removed.
11433         * db2/os/os_config.c: New file.
11434         * db2/os/os_spin.c: New file.
11435         * db2/txn/txn.c: Likewise.
11436         * db2/txn/txn_auto.c: Likewise.
11438 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
11440         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
11441         __typeof for C++ since this fails for class members.
11442         Reported by Neal Becker <neal@ctd.comsat.com>.
11444 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11446         * configure.in: Check for a working makeinfo (3.11 or better).
11447         * config.make.in: Add MAKEINFO to be substituted.
11448         * manual/Makefile: Don't update info if makeinfo is too old.
11450 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
11452         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
11453         * sysdeps/alpha/__longjmp.S: Likewise.
11454         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
11455         not <bits/termios.h>.
11457         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
11458         __llseek and make llseek and lseek64 weak aliases.
11459         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
11460         Patches by a sun <asun@zoology.washington.edu>.
11462 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11464         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
11465         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11466         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11467         * misc/sys/syslog.h: Clean up BSD header.
11469 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11471         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
11473         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
11474         for ctan(+-inf,x).
11475         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
11476         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
11478         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
11479         csqrt (-1), ctanh(i*pi/4).
11481 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11483         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
11485 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
11487         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
11489 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11491         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
11493 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
11495         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
11496         and use.  Define GETCWD_RETURN_TYPE instead and use it.
11497         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
11498         of GETCWD_STORYGE_CLASS and put the return type and the
11499         `internal_function' in the right order for gcc 2.7.2.
11501 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11503         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
11504         incompatible with Linux 2.1.x.  Packages using modules
11505         (e.g. modutils) should/do provide their own version.  Suggested by
11506         Richard Henderson.
11508         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
11510         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11511         [$(subdir)=socket]: Remove sys/module.h.
11513 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
11515         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
11516         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
11518         * iconv/gconv_close.c: Correct freeing of descriptor data.
11519         * iconv/gconv_simple.c: Return correct error values for illegal or
11520         incomplete characters.
11522         * Makefile (iconvdata/%): Special goal to simplify iconvdata
11523         development.
11524         * iconvdata/Makefile: New file.
11525         * iconvdata/configure: Likewise.
11526         * iconvdata/extra-module.mk: Likewise.
11527         * iconvdata/gconv-modules: Likewise.
11528         * iconvdata/iso6937.c: Likewise.
11529         * iconvdata/iso8859-1.c: Likewise.
11530         * iconvdata/iso8859-10.c: Likewise.
11531         * iconvdata/iso8859-10.h: Likewise.
11532         * iconvdata/iso8859-2.c: Likewise.
11533         * iconvdata/iso8859-2.h: Likewise.
11534         * iconvdata/iso8859-3.c: Likewise.
11535         * iconvdata/iso8859-3.h: Likewise.
11536         * iconvdata/iso8859-4.c: Likewise.
11537         * iconvdata/iso8859-4.h: Likewise.
11538         * iconvdata/iso8859-5.c: Likewise.
11539         * iconvdata/iso8859-5.h: Likewise.
11540         * iconvdata/iso8859-6.c: Likewise.
11541         * iconvdata/iso8859-6.h: Likewise.
11542         * iconvdata/iso8859-7.c: Likewise.
11543         * iconvdata/iso8859-7.h: Likewise.
11544         * iconvdata/iso8859-8.c: Likewise.
11545         * iconvdata/iso8859-8.h: Likewise.
11546         * iconvdata/iso8859-9.c: Likewise.
11547         * iconvdata/iso8859-9.h: Likewise.
11548         * iconvdata/iso8859-generic.c: Likewise.
11549         * iconvdata/t61.c: Likewise.
11551         * string/Makefile (routines): Add strcasestr.
11552         * string/string.h: Add prototype for strcasestr.
11553         * sysdeps/generic/strcasestr.c: New file.
11554         * wcsmbs/mbrtowc.c: Simplify special case a bit.
11555         * wcsmbs/wcrtomb.c: Likewise.
11556         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
11557         * wcsmbs/wcsnrtombs.c: Likewise.
11558         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
11559         partial character is read.
11560         * wcsmbs/wcsrtombs.c: Likewise.
11561         * wcsmbs/wmemrtombs.c: Likewise.
11562         * wcsmbs/wmemrtowcs.c: Likewise.
11564         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
11565         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
11566         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
11567         * sysdeps/i386/elf/setjmp.S: Likewise.
11568         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
11569         <bits/termios.h>.
11571         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
11572         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
11574         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
11575         * sysvipc/sys/ipc.h: Likewise.
11576         * sysvipc/sys/msg.h: Likewise.
11577         * sysvipc/sys/sem.h: Likewise.
11578         * sysvipc/sys/shm.h: Likewise.
11580         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
11581         used directly.
11582         * sysdeps/alpha/bits/setjmp.h: Likewise.
11583         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
11584         * sysdeps/arm/bits/endian.h: Likewise.
11585         * sysdeps/arm/bits/setjmp.h: Likewise.
11586         * sysdeps/generic/bits/byteswap.h: Likewise.
11587         * sysdeps/generic/bits/confname.h: Likewise.
11588         * sysdeps/generic/bits/dirent.h: Likewise.
11589         * sysdeps/generic/bits/dlfcn.h: Likewise.
11590         * sysdeps/generic/bits/endian.h: Likewise.
11591         * sysdeps/generic/bits/fenv.h: Likewise.
11592         * sysdeps/generic/bits/huge_val.h: Likewise.
11593         * sysdeps/generic/bits/in.h: Likewise.
11594         * sysdeps/generic/bits/ioctl-types.h: Likewise.
11595         * sysdeps/generic/bits/ioctls.h: Likewise.
11596         * sysdeps/generic/bits/ipc.h: Likewise.
11597         * sysdeps/generic/bits/msq.h: Likewise.
11598         * sysdeps/generic/bits/poll.h: Likewise.
11599         * sysdeps/generic/bits/resource.h: Likewise.
11600         * sysdeps/generic/bits/sched.h: Likewise.
11601         * sysdeps/generic/bits/sem.h: Likewise.
11602         * sysdeps/generic/bits/setjmp.h: Likewise.
11603         * sysdeps/generic/bits/shm.h: Likewise.
11604         * sysdeps/generic/bits/sigaction.h: Likewise.
11605         * sysdeps/generic/bits/sigcontext.h: Likewise.
11606         * sysdeps/generic/bits/socket.h: Likewise.
11607         * sysdeps/generic/bits/stat.h: Likewise.
11608         * sysdeps/generic/bits/statfs.h: Likewise.
11609         * sysdeps/generic/bits/stdio_lim.h: Likewise.
11610         * sysdeps/generic/bits/termios.h: Likewise.
11611         * sysdeps/generic/bits/time.h: Likewise.
11612         * sysdeps/generic/bits/uio.h: Likewise.
11613         * sysdeps/generic/bits/utmp.h: Likewise.
11614         * sysdeps/generic/bits/utmpx.h: Likewise.
11615         * sysdeps/generic/bits/utsname.h: Likewise.
11616         * sysdeps/generic/bits/waitflags.h: Likewise.
11617         * sysdeps/generic/bits/waitstatus.h: Likewise.
11618         * sysdeps/gnu/bits/utmp.h: Likewise.
11619         * sysdeps/gnu/bits/utmpx.h: Likewise.
11620         * sysdeps/i386/bits/byteswap.h: Likewise.
11621         * sysdeps/i386/bits/endian.h: Likewise.
11622         * sysdeps/i386/bits/huge_val.h: Likewise.
11623         * sysdeps/i386/bits/setjmp.h: Likewise.
11624         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11625         * sysdeps/ieee754/bits/huge_val.h: Likewise.
11626         * sysdeps/m68k/bits/byteswap.h: Likewise.
11627         * sysdeps/m68k/bits/endian.h: Likewise.
11628         * sysdeps/m68k/bits/setjmp.h: Likewise.
11629         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
11630         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
11631         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
11632         * sysdeps/mach/hurd/bits/stat.h: Likewise.
11633         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
11634         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
11635         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
11636         * sysdeps/mips/bits/dlfcn.h: Likewise.
11637         * sysdeps/mips/bits/endian.h: Likewise.
11638         * sysdeps/mips/bits/setjmp.h: Likewise.
11639         * sysdeps/mips/dec/bits/endian.h: Likewise.
11640         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
11641         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
11642         * sysdeps/mips/p40/bits/endian.h: Likewise.
11643         * sysdeps/powerpc/bits/endian.h: Likewise.
11644         * sysdeps/powerpc/bits/fenv.h: Likewise.
11645         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11646         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
11647         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
11648         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
11649         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
11650         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
11651         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
11652         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11653         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
11654         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
11655         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
11656         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
11657         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
11658         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
11659         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
11660         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
11661         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
11662         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
11663         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
11664         * sysdeps/unix/common/bits/dirent.h: Likewise.
11665         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
11666         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11667         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11668         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11669         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
11670         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
11671         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
11672         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
11673         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
11674         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
11675         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
11676         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
11677         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
11678         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
11679         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11680         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
11681         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
11682         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11683         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11684         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
11685         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11686         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11687         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11688         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11689         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
11690         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
11691         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11692         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11693         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
11694         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
11695         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
11696         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11697         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
11698         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
11699         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
11700         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11701         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
11702         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
11703         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
11704         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
11705         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
11706         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
11707         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11708         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
11709         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
11710         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
11711         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
11712         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
11713         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
11714         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
11715         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11716         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11717         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
11718         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
11719         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
11720         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11721         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
11722         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
11723         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
11724         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
11725         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
11726         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
11727         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
11728         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
11729         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
11730         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
11731         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
11732         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
11733         * sysdeps/vax/bits/huge_val.h: Likewise.
11734         * sysdeps/vax/bits/setjmp.h: Likewise.
11735         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
11736         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
11738 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11740         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
11742 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
11744         * strftime.c (strftime):
11745         No longer any need to undef or declare if emacs is defined.
11746         (my_strftime): When checking a -1 returned by mktime, don't blow up
11747         if localtime_r returns NULL.
11749 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11751         * README.template: Fix spelling.
11753 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11755         * configure.in: Enhance --enable-add-ons description a wee bit.
11757 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11759         * glibcbug.in: Add more information of build environment and flags.
11761 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11763         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
11764         it into ENOENT.
11766 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
11768         * elf/dl-support.c: Call __libc_init_secure to make sure
11769         __libc_enable_secure is defined early.
11770         * sysdeps/generic/enbl-secure.c: Change function name to
11771         __libc_init_secure and make it global instead of a constructor.
11773         * iconv/gconv.c: Fix lots of bugs.
11774         * iconv/gconv.h: Likewise.
11775         * iconv/gconv_builtin.h: Likewise.
11776         * iconv/gconv_close.c: Likewise.
11777         * iconv/gconv_conf.c: Likewise.
11778         * iconv/gconv_db.c: Likewise.
11779         * iconv/gconv_dl.c: Likewise.
11780         * iconv/gconv_open.c: Likewise.
11781         * iconv/gconv_simple.c: Likewise.
11782         * iconv/iconv.c: Likewise.
11783         * iconv/iconv_close.c: Likewise.
11784         * iconv/iconv_open.c: Likewise.
11786         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
11787         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
11788         * wcsmbs/wmemrtombs.c: New file.
11789         * wcsmbs/wmemrtowcs.c: New file.
11791 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
11793         * iconv/gconv_simple.c: Fix lots of bugs.
11794         * iconv/iconv_open.c: Normalize names before passing them to
11795         __gconv_open.
11797         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
11799         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
11800         * stdio-common/test-popen.c: Add test for above change.
11802         * math/libm-test.c: Print test results also using %a format,
11803         specified in PRINTF_XEXPR macro.
11804         * math/test-double.c: Define PRINTF_XEXPR.
11805         * math/test-float.c: Likewise.
11806         * math/test-ldouble.c: Likewise.
11807         * math/test-idouble.c: Likewise.
11808         * math/test-ifloat.c: Likewise.
11809         * math/test-ildoubl.c: Likewise.
11811         * stdio-common/vfscanf.c: Recognize a in format specifier only as
11812         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
11813         FP number format.
11815         * stdlib/strtod.c: Little code cleanup.
11817         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
11818         compiling in math subdir.
11820         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
11821         instead of __LIBC_M81_MATH_INLINES.
11822         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11823         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11824         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11825         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11826         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11827         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11828         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11829         * sysdeps/m68k/fpu/s_atan.c: Likewise.
11830         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11831         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11832         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11833         * sysdeps/m68k/fpu/s_csin.c: Likewise.
11834         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11835         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11836         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11837         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11838         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11839         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11840         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11841         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11842         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11843         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11844         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11845         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11846         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
11847         __LIBC_INTERNAL_MATH_INLINES is defined.
11849         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
11850         of compare macros from ISO C 9X.  Optimize generic versions a bit.
11851         Define __signbit inline functions and __ieee754_sqrt which can be
11852         used if the ompiler is fixed.
11854         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
11856 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11858         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
11859         sysdeps/generic in the whole dep file, not only in the first line.
11861 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11863         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
11865 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11867         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
11868         place.
11870 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11872         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
11873         is non-empty.
11875 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
11877         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
11878         return value.
11880 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
11882         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
11883         readlink succeeds but the return value is too long.
11885         * stdio-common/printf_fphex.c: Determine sign of number correctly.
11887 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
11889         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
11890         __remqu for Alpha.
11892 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
11894         * sysdeps/generic/sys/ucontext.h: Stub context file.
11896         * libio/iofprintf.c: Removed.  We use the stdio-common version.
11898         * manual/Makefile (distribute): Add stdio-fp.c.
11900         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
11902         * db2/Makefile (distribute): Add include/os_func.h, README and
11903         mutex/tsl_parisc.s.
11905         * hesiod/Makefile (distribute): Add README.hesiod.
11907 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
11909         * iconv/gconv.c: Correctly call transformation function.
11911         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
11913 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11915         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
11916         wrong results for e.g. remquo (3,2, &x)).
11917         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
11918         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
11920 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11922         * configure.in (ld --version-script): Test if the same symbol
11923         maybe defined in all versions (needed by recent changes to
11924         libc.map and supported with binutils 2.8.1.0.17) and issue warning
11925         if versioning is not supported/enabled.
11926         (bash test): Correct test case.
11928         * math/libm-test.c: Added counting/reporting of number of test cases.
11930         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
11931         use awk instead.
11933         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
11935 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11937         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
11939 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
11941         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
11942         Replace revoke call by use of REVOKE.
11943         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
11944         empty and #include generic version.
11945         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11947 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
11949         * libc.map: Add socket functions with __libc_* names.
11950         Reported by Andreas Jaeger.
11952 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11954         * libc.map: Tidy up (remove duplicates, sort entries).
11956 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11958         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
11960 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
11962         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
11963         again after successful call.
11964         Patch by Marc Lehmann <pcg@goof.com>.
11966 1997-11-17  Paul Eggert  <eggert@twinsun.com>
11968         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
11969         as some hosts need this to declare localtime_r properly.
11971 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
11973         * libc.map: Add iconv_open, iconv, and iconv_close.
11975 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
11977         * iconv/Makefile: New file.
11978         * iconv/gconv.c: New file.
11979         * iconv/gconv.h: New file.
11980         * iconv/gconv_builtin.c: New file.
11981         * iconv/gconv_builtin.h: New file.
11982         * iconv/gconv_close.c: New file.
11983         * iconv/gconv_conf.c: New file.
11984         * iconv/gconv_db.c: New file.
11985         * iconv/gconv_dl.c: New file.
11986         * iconv/gconv_open.c: New file.
11987         * iconv/gconv_simple.c: New file.
11988         * iconv/iconv.c: New file.
11989         * iconv/iconv.h: New file.
11990         * iconv/iconv_close.c: New file.
11991         * iconv/iconv_open.c: New file.
11992         * include/gconv.h: New file.
11994         * Makeconfig: Define gconvdir.
11995         * Makefile (subdirs): Add iconv.
11997         * string/bits/string2.h: Add optimization for strtok_r.
11999         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
12000         for NULL.
12001         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
12002         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
12004         * configure.in: Correct test for bash2.
12005         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
12007         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
12008         (CFLAGS-locfile.c): Likewise.
12009         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
12011         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
12012         non-existing entry if the table is full.
12014         * posix/regex.h: Pretty print.
12016         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
12018         * sysdeps/posix/ctermid.c: Simplify a bit.
12020         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
12022 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12024         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
12025         <sys/types.h> instead of <asm/types.h>.
12027 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12029         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
12031 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
12033         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
12034         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
12035         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
12036         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
12037         fclose): Added to GLIBC_2.1.
12039         * libio/Makefile (routines, shared-only-routines): Add
12040         oldiofclose.  Remove oldfreopen.
12042         * libio/freopen.c (freopen): When PIC is defined, call
12043         _IO_old_freopen () for old stdio.
12045         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
12046         (_IO_fclose, fclose): Use _IO_new_fclose as default version
12047         for GLIBC_2.1.
12049         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
12050         instead of _IO_file_close_it.
12052         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
12053         to _IO_2_1_stdxxx_.
12054         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
12055         is defined.
12057         * libio/libioP.h (_IO_old_do_flush): New.
12059         * libio/oldfileops.c (_IO_old_file_close_it,
12060         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
12061         Call _IO_old_do_flush () instead of _IO_do_flush ().
12062         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
12063         _IO_do_write ().
12065         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
12066         instead of _IO_file_init ().
12067         Bind old symbols to version GLIBC_2.0.
12069         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
12070         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
12071         _IO_stdxxx_.
12072         (_IO_check_libio): New function in .init.
12074         * libio/oldiofclose.c: New file.
12076         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
12077         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
12078         (DEF_STDFILE): Don't use default_symbol_version.
12080         * libio/stdio.c (stdin, stdout, stderr): Set to
12081         _IO_2_1_stdxxx_._
12082         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
12083         stdxxx.
12085         * csu/Makefile (distribute): Add init.c.
12086         (extra-objs): Add init.o for ELF.
12087         (start-installed-name): Add $(objpfx)init.o.
12089         * csu/init.c: New file.
12091 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
12093         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
12094         definition as the default.
12096 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
12098         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
12100 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12102         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
12103         (PR 351).
12105 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
12107         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
12108         to preserve condition codes on function call.
12110 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12112         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
12114 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12116         * math/libm-test.c (asin_test): Add epsilon for float.
12117         (tan_test): Add epsilon for float.
12118         (log1p_test): Add epsilon for float.
12119         (inverse_functions): Add epsilons.
12121         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
12122         net/if_packet.h.
12124         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
12126 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12128         * md5-crypt/Makefile (extra-objs): Make recursively expanded
12129         variable, since $(object-suffixes) is not defined yet.
12131 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12133         * db2/Makefile (distribute): db185/db185_int.src ->
12134         db185/db185_int.h.
12136 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12138         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
12139         exactly one.
12141 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12143         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
12144         name.
12145         * sysdeps/generic/e_acosl.c: Likewise.
12146         * sysdeps/generic/e_asinl.c: Likewise.
12147         * sysdeps/generic/e_atan2l.c: Likewise.
12148         * sysdeps/generic/e_expl.c: Likewise.
12149         * sysdeps/generic/e_fmodl.c: Likewise.
12150         * sysdeps/generic/e_j0l.c: Likewise.
12151         * sysdeps/generic/e_j1l.c: Likewise.
12152         * sysdeps/generic/e_jnl.c: Likewise.
12153         * sysdeps/generic/e_lgammal_r.c: Likewise.
12154         * sysdeps/generic/e_log10l.c: Likewise.
12155         * sysdeps/generic/e_logl.c: Likewise.
12156         * sysdeps/generic/e_powl.c: Likewise.
12157         * sysdeps/generic/e_sqrtl.c: Likewise.
12158         * sysdeps/generic/e_exp2l.c: Likewise.
12160 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12162         * Make-dist (+sysdep-names): Remove extra paren.
12163         * Makefile (distribute): Add stub-tag.h.
12164         * elf/Makefile (distribute): Add atomicity.h.
12165         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
12166         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
12167         [$(subdir)=socket]: Add net/if_packet.h.
12168         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
12169         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
12170         net/if_packet.h, scsi/sg.h.
12172 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12174         * Makefile (install): Quote $(CC) expansion.
12176 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12178         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
12179         working /proc cwd and no restrictions on path length.  Following
12180         some ideas from Andi Kleen <ak@muc.de> (PR 350).
12182 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
12184         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
12185         * nis/nss_compat/compat-pwd.c: Likewise.
12186         * nis/nss_compat/compat-spwd.c: Likewise.
12188 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
12190         * sysdeps/libm-i387/s_fdim.S: New file.
12191         * sysdeps/libm-i387/s_fdimf.S: New file.
12192         * sysdeps/libm-i387/s_fdiml.S: New file.
12193         * sysdeps/libm-i387/i686/s_fdim.S: New file.
12194         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
12195         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
12197 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12199         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
12200         pointer to unsigned char.
12202 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12204         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
12206         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
12208         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
12210 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12212         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
12213         ilogb(0/NaN).
12214         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
12215         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
12217 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
12219         * sysdeps/libm-i387/s_fmin.S: New file.
12220         * sysdeps/libm-i387/s_fminf.S: New file.
12221         * sysdeps/libm-i387/s_fminl.S: New file.
12222         * sysdeps/libm-i387/s_fmax.S: New file.
12223         * sysdeps/libm-i387/s_fmaxf.S: New file.
12224         * sysdeps/libm-i387/s_fmaxl.S: New file.
12225         * sysdeps/libm-i387/i686/s_fmin.S: New file.
12226         * sysdeps/libm-i387/i686/s_fminf.S: New file.
12227         * sysdeps/libm-i387/i686/s_fminl.S: New file.
12228         * sysdeps/libm-i387/i686/s_fmax.S: New file.
12229         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
12230         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
12232 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
12234         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
12235         * sysdeps/unix/sysv/linux/send.S: Likewise.
12236         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12237         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12238         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12239         * sysdeps/unix/sysv/linux/recv.S: Likewise.
12240         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12241         * sysdeps/unix/sysv/linux/connect.S: Likewise.
12242         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
12244 See ChangeLog.7 for earlier changes.